/* =========================================================
   PA BUNTOK — STATISTIK PERKARA
   COMPACT INSTITUTIONAL
========================================================= */


/* =========================================================
   MAIN WRAPPER
========================================================= */

.pa-perkara-stat {

    width: calc(100% - 48px);
    max-width: 900px;

    margin: 0 auto;

    box-sizing: border-box;
}

/* =========================================================
   HERO — COMPACT
========================================================= */

.pa-perkara-stat-hero {

    position: relative;

    width: 100%;

    min-height: 160px;

    margin: 0 auto 25px;

    padding: 22px 30px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    border-radius: 16px;

    background: #0b633f;

    color: #fff;

    box-shadow:
        0 14px 35px rgba(0, 80, 50, .14);
}


/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.pa-perkara-stat-hero::before,
.pa-perkara-stat-hero::after {

    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    pointer-events: none;
}


.pa-perkara-stat-hero::before {

    top: -72px;
    right: -42px;

}


.pa-perkara-stat-hero::after {

    bottom: -88px;
    left: -52px;

}


/* =========================================================
   HERO EYEBROW
========================================================= */

.pa-perkara-stat-eyebrow {

    position: relative;

    z-index: 1;

    display: inline-flex;

    align-items: center;

    padding: 4px 12px;

    margin-bottom: 7px;

    border:
        1px solid rgba(255,255,255,.28);

    border-radius: 999px;

    color: #f4c542;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
========================================================= */

.pa-perkara-stat-hero h2 {

    position: relative;

    z-index: 1;

    margin: 0;

    color: #fff;

    font-size: 27px;

    line-height: 1.2;

    font-weight: 800;
}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.pa-perkara-stat-hero p {

    position: relative;

    z-index: 1;

    margin: 5px 0 0;

    color: rgba(255,255,255,.88);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   GOLD LINE
========================================================= */

.pa-perkara-stat-line {

    position: relative;

    z-index: 1;

    width: 48px;

    height: 3px;

    margin-top: 11px;

    background: #e7b92e;

    border-radius: 10px;
}

/* =========================================================
   INTRO
========================================================= */

.pa-perkara-intro {

    margin-bottom: 28px;
}


.pa-perkara-section-label {

    display: block;

    margin-bottom: 6px;

    color: #08783f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.pa-perkara-intro h3 {

    margin: 0;

    color: #123f32;

    font-size: 20px;

    line-height: 1.3;

    font-weight: 800;
}


.pa-perkara-intro p {

    margin: 8px 0 16px;

    color: #64746e;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   SIPP BUTTON
========================================================= */

.pa-perkara-stat-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border: 1px solid #d9e7e0;

    border-radius: 8px;

    background: #f5f8f6;

    color: #08783f;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.pa-perkara-stat-button span {

    font-size: 15px;

    line-height: 1;
}


.pa-perkara-stat-button:hover {

    background: #0b633f;

    border-color: #0b633f;

    color: #fff;

    transform: translateY(-1px);
}


/* =========================================================
   CARD HEADER
========================================================= */

.pa-perkara-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    border-bottom: 1px solid #e4ebe7;
}


.pa-perkara-card-label {

    display: block;

    margin-bottom: 5px;

    color: #08783f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.pa-perkara-card-header h3 {

    margin: 0;

    color: #123f32;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 800;
}


/* =========================================================
   BADGE
========================================================= */

.pa-perkara-card-badge {

    flex: 0 0 auto;

    padding: 6px 10px;

    border-radius: 999px;

    background: #edf6f1;

    color: #08783f;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CHART CARD
========================================================= */

.pa-perkara-chart-card {

    width: 100%;

    margin-bottom: 28px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e1e9e5;

    border-radius: 14px;

    box-shadow:
        0 10px 28px rgba(20,70,50,.07);
}


/* =========================================================
   FLOURISH
========================================================= */

.pa-perkara-chart {

    position: relative;

    width: 100%;

    min-height: 520px;

    overflow: hidden;

    background: #fff;
}


.pa-perkara-chart iframe {

    display: block;

    width: 100%;

    height: 520px;

    max-width: 100%;

    border: 0;
}


/* =========================================================
   SIPP CARD
========================================================= */

.pa-perkara-sipp-card {

    width: 100%;

    margin-bottom: 22px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e1e9e5;

    border-radius: 14px;

    box-shadow:
        0 10px 28px rgba(20,70,50,.07);
}


/* =========================================================
   SIPP LINK
========================================================= */

.pa-perkara-card-link {

    flex: 0 0 auto;

    color: #08783f;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: color .2s ease;
}


.pa-perkara-card-link:hover {

    color: #0b633f;
}


/* =========================================================
   SIPP FRAME
========================================================= */

.pa-perkara-sipp-frame {

    position: relative;

    width: 100%;

    height: 720px;

    background: #fff;

    overflow: hidden;
}


.pa-perkara-sipp-frame iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.pa-perkara-stat-footer {

    margin-top: 8px;

    padding: 14px 16px;

    border-left: 3px solid #e7b92e;

    border-radius: 0 8px 8px 0;

    background: #f7f9f8;

    color: #64746e;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .pa-perkara-stat {

        width: calc(100% - 28px);

        max-width: none;
    }


    .pa-perkara-stat-hero {

        min-height: 175px;

        margin-bottom: 26px;

        padding: 28px 20px;

        border-radius: 14px;
    }


    .pa-perkara-stat-hero h2 {

        font-size: 25px;
    }


    .pa-perkara-stat-hero p {

        font-size: 13px;
    }


    .pa-perkara-stat-eyebrow {

        font-size: 10px;

        padding: 7px 13px;
    }


    .pa-perkara-intro h3 {

        font-size: 19px;
    }


    .pa-perkara-card-header {

        padding: 16px;
    }


    .pa-perkara-card-header h3 {

        font-size: 18px;
    }


    .pa-perkara-chart {

        min-height: 430px;
    }


    .pa-perkara-chart iframe {

        height: 430px;
    }


    .pa-perkara-sipp-frame {

        height: 600px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .pa-perkara-stat {

        width: calc(100% - 28px);

        max-width: none;
    }


    .pa-perkara-stat-hero {

        min-height: 0;

        margin-bottom: 20px;

        padding: 16px 18px;

        border-radius: 12px;
    }


    .pa-perkara-stat-hero h2 {

        font-size: 21px;

        line-height: 1.15;
    }


    .pa-perkara-stat-hero p {

        margin-top: 5px;

        font-size: 11px;

        line-height: 1.45;
    }

    .pa-perkara-stat-eyebrow {

        font-size: 9px;

        padding: 6px 11px;

    }
	
    .pa-perkara-intro h3 {

        font-size: 18px;
    }


    .pa-perkara-card-header {
        padding: 15px;
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .pa-perkara-card-header h3 {

        font-size: 18px;

    }
    .pa-perkara-card-badge {

        align-self: flex-start;
    }


    .pa-perkara-chart {

        min-height: 380px;
    }


    .pa-perkara-chart iframe {

        height: 380px;
    }


    .pa-perkara-sipp-frame {

        height: 520px;
    }

}