/* =========================================================
   PA BUNTOK — STANDAR OPERASIONAL PROSEDUR
   COMPACT INSTITUTIONAL
   SYNC WITH SK SURAT KEPUTUSAN
========================================================= */


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

.pa-sop {
    width: 100%;
    box-sizing: border-box;
}

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

.pa-sop-hero {
    position: relative;

    width: 100%;
    max-width: 900px;

    min-height: 160px;

    margin: 0 auto 25px;
    padding: 22px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    text-align: center;
    overflow: hidden;

    border-radius: 16px;

    background: #0b5f3a;
    color: #fff;

    box-shadow:
        0 14px 32px rgba(11, 95, 58, 0.14);
}

/* =========================================================
   HERO DECORATION
========================================================= */

.pa-sop-hero::before,
.pa-sop-hero::after {

    content: "";

    position: absolute;

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

    border-radius: 50%;

    pointer-events: none;
}

.pa-sop-hero::before {

    width: 150px;
    height: 150px;

    right: -50px;
    top: -65px;
}

.pa-sop-hero::after {

    width: 100px;
    height: 100px;

    left: -35px;
    bottom: -65px;
}


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

.pa-sop-eyebrow {

    position: relative;
    z-index: 2;

    display: inline-block;

    margin-bottom: 7px;
    padding: 4px 12px;

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

    border-radius: 50px;

    color: #f4d77d;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


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

.pa-sop-hero h2 {

    position: relative;
    z-index: 2;

    margin: 0;

    color: #fff;

    font-size: 27px;
    line-height: 1.2;

    font-weight: 800;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.pa-sop-hero p {

    position: relative;
    z-index: 2;

    margin: 5px 0 0;

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

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   GOLD ACCENT
========================================================= */

.pa-sop-line {

    position: relative;
    z-index: 2;

    width: 45px;
    height: 3px;

    margin: 11px auto 0;

    background: #d4af37;

    border-radius: 5px;
}




/* =========================================================
   CONTENT WRAPPER
========================================================= */

.pa-sop-content {

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   YEAR TABS
========================================================= */

.pa-sop-tabs {

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    width: fit-content;

    margin: 0 auto 25px;

    padding: 5px;

    background: #f1f6f3;

    border: 1px solid #dfe9e4;

    border-radius: 999px;

    box-sizing: border-box;
}


/* TAB */

.pa-sop-tab {

    appearance: none;
    -webkit-appearance: none;

    border: 0;

    background: transparent;

    padding: 9px 24px;

    border-radius: 999px;

    color: #527066;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


/* HOVER */

.pa-sop-tab:not(.is-active):hover {

    background: #e3eee8;

    color: #0f5132;
}


/* ACTIVE */

.pa-sop-tab.is-active {

    background: #0f5132;

    color: #fff;

    box-shadow:
        0 4px 12px rgba(15,81,50,.18);
}


/* =========================================================
   YEAR PANEL
========================================================= */

.pa-sop-panel {

    display: none;

    width: 100%;

    box-sizing: border-box;
}


.pa-sop-panel.is-active {

    display: block;
}


/* =========================================================
   YEAR INTRO
   SENGAJA TIDAK LAGI CARD BESAR
========================================================= */

.pa-sop-year-intro {

    margin: 0 0 22px;

    padding: 0 2px;

    box-sizing: border-box;
}


/* LABEL */

.pa-sop-section-label {

    display: inline-block;

    margin-bottom: 6px;

    color: #0f5132;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

    line-height: 1.2;

    text-transform: uppercase;
}


/* TITLE */

.pa-sop-year-intro h2 {

    margin: 0 0 6px;

    color: #123f32;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 800;
}


/* DESCRIPTION */

.pa-sop-year-intro p {

    max-width: 700px;

    margin: 0;

    color: #687872;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   LEGACY INTRO
   Jika masih digunakan template lama
========================================================= */

.pa-sop-intro {

    margin-bottom: 22px;

    padding: 14px 18px;

    background: #f8faf9;

    border-left: 3px solid #e7b92e;

    border-radius: 9px;

    box-sizing: border-box;
}


.pa-sop-intro-label {

    display: block;

    margin-bottom: 5px;

    color: #08783f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.pa-sop-intro p {

    margin: 0;

    color: #596b64;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CARD GRID
========================================================= */

.pa-sop-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}


/* =========================================================
   DOCUMENT CARD
========================================================= */

.pa-sop-card {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 24px 20px;

    background: #fff;

    border: 1px solid #e1e9e5;

    border-radius: 14px;

    text-align: center;

    box-sizing: border-box;

    box-shadow:
        0 7px 20px rgba(20,70,50,.055);

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


.pa-sop-card:hover {

    transform: translateY(-3px);

    border-color: #c8ddd3;

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


/* =========================================================
   DOCUMENT ICON
========================================================= */

.pa-sop-card-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin-bottom: 15px;

    border-radius: 16px;

    background: #f1f7f4;

    border: 1px solid #dce9e2;

    color: #0f5132;

    box-shadow:
        inset 0 0 0 5px rgba(255,255,255,.65);
}


.pa-sop-card-icon span {

    font-size: 30px;

    line-height: 1;
}


/* =========================================================
   CARD LABEL
========================================================= */

.pa-sop-card-label {

    display: block;

    margin-bottom: 7px;

    color: #08783f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================================================
   CARD TITLE
========================================================= */

.pa-sop-card h3 {

    margin: 0 0 8px;

    color: #123f32;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 800;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.pa-sop-card p {

    max-width: 430px;

    margin: 0 auto 18px;

    color: #687872;

    font-size: 12px;

    line-height: 1.65;
}


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

.pa-sop-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: auto;

    padding: 9px 15px;

    border-radius: 8px;

    background: #0f5132;

    color: #fff !important;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background .2s ease,
        transform .2s ease;
}


.pa-sop-button:hover {

    background: #08783f;

    color: #fff !important;

    transform: translateY(-1px);
}


.pa-sop-arrow {

    font-size: 13px;

    line-height: 1;
}


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

.pa-sop-footer {

    margin-top: 28px;

    padding-top: 16px;

    border-top: 1px solid #e2e9e6;

    color: #7a8883;

    font-size: 10px;

    line-height: 1.6;

    text-align: center;
}


.pa-sop-footer span {

    color: #08783f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.pa-sop-footer p {

    margin: 5px 0 0;

    color: #7a8883;

    font-size: 11px;

    line-height: 1.6;
}

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

@media (max-width: 768px) {

    .pa-sop {

        width: 100%;
    }


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

    .pa-sop-hero {

        min-height: 135px;

        margin-bottom: 20px;

        padding: 20px 18px;

        border-radius: 12px;
    }


    .pa-sop-hero h2 {

        font-size: 20px;

        line-height: 1.2;
    }


    .pa-sop-hero p {

        font-size: 11px;

        line-height: 1.45;
    }


    /* =====================================================
       CONTENT
    ===================================================== */

    .pa-sop-content {

        width: 100%;
    }


    /* =====================================================
       TABS
    ===================================================== */

    .pa-sop-tabs {

        width: 100%;

        margin-bottom: 20px;

        overflow-x: auto;

        justify-content: flex-start;

        scrollbar-width: none;
    }


    .pa-sop-tabs::-webkit-scrollbar {

        display: none;
    }


    .pa-sop-tab {

        flex: 0 0 auto;

        min-width: 100px;

        padding: 8px 18px;

        font-size: 11px;
    }


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

    .pa-sop-year-intro {

        margin-bottom: 18px;
    }


    .pa-sop-year-intro h2 {

        font-size: 19px;
    }


    .pa-sop-year-intro p {

        font-size: 12px;
    }


    /* =====================================================
       GRID
    ===================================================== */

    .pa-sop-grid {

        grid-template-columns: 1fr;

        gap: 13px;
    }


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

    .pa-sop-card {

        padding: 20px 18px;
    }


    .pa-sop-card-icon {

        width: 64px;

        height: 64px;

        border-radius: 15px;
    }


    .pa-sop-card-icon span {

        font-size: 28px;
    }


    .pa-sop-card h3 {

        font-size: 16px;
    }


    .pa-sop-card p {

        font-size: 12px;
    }

}


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

@media (max-width: 600px) {

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

    .pa-sop-hero {

        min-height: 125px;

        margin-bottom: 18px;

        padding: 17px 15px;

        border-radius: 11px;
    }


    .pa-sop-hero::before {

        width: 110px;

        height: 110px;

        top: -62px;

        right: -38px;
    }


    .pa-sop-hero::after {

        width: 100px;

        height: 100px;

        bottom: -62px;

        left: -38px;
    }


    .pa-sop-eyebrow {

        padding: 5px 9px;

        margin-bottom: 6px;

        font-size: 7px;
    }


    .pa-sop-hero h2 {

        font-size: 19px;

        line-height: 1.2;

        max-width: 300px;
    }


    .pa-sop-hero p {

        font-size: 10px;

        line-height: 1.4;
    }


    .pa-sop-line {

        width: 32px;

        height: 2px;

        margin-top: 8px;
    }


    /* =====================================================
       TABS
    ===================================================== */

    .pa-sop-tabs {

        margin-bottom: 18px;
    }


    .pa-sop-tab {

        padding: 8px 16px;

        font-size: 10.5px;
    }


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

    .pa-sop-year-intro {

        margin-bottom: 17px;

        padding: 0 2px;
    }


    .pa-sop-section-label {

        font-size: 8px;
    }


    .pa-sop-year-intro h2 {

        font-size: 19px;
    }


    .pa-sop-year-intro p {

        font-size: 11.5px;

        line-height: 1.55;
    }


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

    .pa-sop-card {

        padding: 18px 15px;

        border-radius: 12px;
    }


    .pa-sop-card-icon {

        width: 60px;

        height: 60px;

        margin-bottom: 12px;

        border-radius: 14px;
    }


    .pa-sop-card-icon span {

        font-size: 26px;
    }


    .pa-sop-card h3 {

        font-size: 15px;
    }


    .pa-sop-card p {

        font-size: 11.5px;

        line-height: 1.55;
    }


    .pa-sop-button {

        padding: 8px 13px;

        font-size: 10.5px;
    }

}


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

@media (max-width: 480px) {

    .pa-sop-hero {

        min-height: 120px;

        padding: 16px 14px;
    }


    .pa-sop-hero h2 {

        font-size: 18px;

        max-width: 280px;
    }


    .pa-sop-hero p {

        font-size: 10px;
    }


    .pa-sop-tabs {

        width: 100%;
    }


    .pa-sop-tab {

        min-width: 88px;

        padding: 7px 13px;

        font-size: 10px;
    }


    .pa-sop-year-intro h2 {

        font-size: 18px;
    }


    .pa-sop-year-intro p {

        font-size: 11px;
    }


    .pa-sop-card {

        padding: 17px 14px;
    }


    .pa-sop-card-icon {

        width: 58px;

        height: 58px;

        border-radius: 14px;
    }


    .pa-sop-card-icon span {

        font-size: 25px;
    }


    .pa-sop-card h3 {

        font-size: 14.5px;
    }


    .pa-sop-card p {

        font-size: 11px;
    }

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .pa-sop-hero {

        width: calc(100% - 32px);

        min-height: 140px;

        margin-bottom: 22px;

        padding: 20px 18px;

        border-radius: 14px;
    }

    .pa-sop-hero h2 {

        font-size: 22px;
        line-height: 1.25;
    }

    .pa-sop-hero p {

        font-size: 12px;
        line-height: 1.5;
    }

    .pa-sop-eyebrow {

        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .pa-sop-line {

        margin-top: 9px;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .pa-sop-hero {
	display: none;
	
    }

    .pa-sop-hero h2 {

	display: none;
    }

    .pa-sop-hero p {

	display: none;
    }

    .pa-sop-eyebrow {

	display: none;
    }

    .pa-sop-line {

	display: none;
    }
}
