/* =========================================================
   PA BUNTOK — CALK
   Catatan Atas Laporan Keuangan
========================================================= */


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

.pa-calk {
    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    padding: 10px 0 35px;

    box-sizing: border-box;

    color: #334155;
}

/* =========================================================
   HERO
   Mengikuti pakem DIPA
========================================================= */

.pa-calk-hero {
    position: relative;

    margin-bottom: 25px;

    padding: 22px 20px 18px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #0f5132,
            #176b45
        );

    border-radius: 16px;

    color: #fff;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(15,81,50,.15);
}


.pa-calk-hero::after {
    content: "";

    position: absolute;

    right: -55px;
    top: -75px;

    width: 190px;
    height: 190px;

    background: rgba(255,255,255,.055);

    border-radius: 50%;
}


.pa-calk-hero-inner {
    position: relative;

    z-index: 1;

    text-align: center;
}


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

.pa-calk-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;
}


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

.pa-calk-hero h2 {
    position: relative;

    z-index: 2;

    margin: 0;

    color: #fff;

    font-size: 27px;

    line-height: 1.2;
}


.pa-calk-hero p {
    position: relative;

    z-index: 2;

    margin: 5px 0 0;

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

    font-size: 14px;
}


/* =========================================================
   ACCENT LINE
========================================================= */

.pa-calk-line {
    width: 42px;

    height: 3px;

    margin: 16px auto 0;

    background: #f2c94c;

    border-radius: 999px;
}

.pa-calk-line::after {

    content: "";

    position: relative;

    z-index: 2;

    display: block;

    width: 45px;

    height: 3px;

    margin: 11px auto 0;

    background: #d4af37;

    border-radius: 5px;
}
/* =========================================================
   ACCORDION — CALK
   Mengikuti desain RKA
========================================================= */

.pa-calk-about {
    margin: 0 0 28px;

    background: #f7fbf8;

    border: 1px solid #dcebe1;
    border-left: 3px solid #e2b21a;

    border-radius: 10px;

    overflow: hidden;
}


/* =========================================================
   TOGGLE
========================================================= */

.pa-calk-about-toggle {

    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    margin: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    color: #003f2b;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    text-align: left;

    cursor: pointer;
}


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

.pa-calk-about-icon {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

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

    background: #e5f4eb;

    border-radius: 10px;

    color: #08753a;

    font-size: 18px;
    font-weight: 700;
}


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

.pa-calk-about-title {

    flex: 1;

    color: #003f2b;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   ARROW
========================================================= */

.pa-calk-about-arrow {

    flex: 0 0 auto;

    color: #08753a;

    font-size: 20px;
    line-height: 1;

    transition: transform .25s ease;
}


/* =========================================================
   OPEN STATE
========================================================= */

.pa-calk-about-toggle[aria-expanded="true"]
.pa-calk-about-arrow {

    transform: rotate(180deg);
}


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

.pa-calk-about-content {

    padding: 0 14px 16px 56px;

    margin: 0;

    background: transparent;

    border: 0;

    color: #587083;

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


.pa-calk-about-content p {

    margin: 0 0 12px;
}

/* =========================================================
   OPEN STATE
========================================================= */

.pa-calk-about-toggle[aria-expanded="true"]
.pa-calk-about-arrow {
    transform: rotate(180deg);
}

.pa-calk-about-content p:last-child {

    margin-bottom: 0;
}


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

@media (max-width: 700px) {

    .pa-calk-about {

        margin-bottom: 22px;
    }


    .pa-calk-about-toggle {

        min-height: 58px;

        padding: 9px 12px;

        border-radius: 10px;
    }


    .pa-calk-about-icon {

        flex: 0 0 34px;

        width: 34px;
        height: 34px;

        margin-right: 12px;

        border-radius: 9px;

        font-size: 16px;
    }


    .pa-calk-about-title {

        font-size: 12px;
    }


    .pa-calk-about-arrow {

        font-size: 17px;
    }


    .pa-calk-about-content {

        padding: 15px;

        margin-top: 7px;

        font-size: 12px;

        line-height: 1.65;
    }

}

/* =========================================================
   SECTION HEADER
   Mengikuti pakem DIPA
========================================================= */

.pa-calk-section-header {
    margin-bottom: 20px;

    padding-left: 13px;

    border-left: 3px solid #0b7a3b;
}


.pa-calk-section-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #0b7a3b;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;
}


.pa-calk-section-header h3 {
    margin: 0 0 5px;

    color: #163c29;

    font-size: 20px;

    font-weight: 800;

    line-height: 1.25;
}


.pa-calk-section-header p {
    margin: 0;

    color: #7d8e86;

    font-size: 13px;

    line-height: 1.6;
}

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

.pa-calk-year-tabs {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 18px;

    padding: 5px;

    background: #f1f7f3;

    border: 1px solid #dfeae3;

    border-radius: 12px;

    overflow-x: auto;

    scrollbar-width: none;
}

.pa-calk-year-tabs::-webkit-scrollbar {
    display: none;
}

.pa-calk-year-tab {
    flex: 0 0 auto;

    min-width: 72px;

    padding: 9px 15px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #71827a;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

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

.pa-calk-year-tab:hover {
    color: #0b7a3b;
}

.pa-calk-year-tab.is-active {
    background: #fff;

    color: #0b7a3b;

    box-shadow:
        0 2px 8px rgba(15,23,42,.06);
}


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

.pa-calk-year-panel {
    display: none;

    padding: 22px;

    background: #fff;

    border: 1px solid #e1ebe4;

    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(15,23,42,.035);
}

.pa-calk-year-panel.is-active {
    display: block;
}


/* =========================================================
   YEAR HEADING
========================================================= */

.pa-calk-year-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 17px;

    margin-bottom: 18px;

    border-bottom: 1px solid #e8eee9;
}

.pa-calk-year-heading span {
    display: block;

    margin-bottom: 4px;

    color: #91a19a;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;
}

.pa-calk-year-heading h4 {
    margin: 0;

    color: #193c2b;

    font-size: 16px;

    font-weight: 800;
}

.pa-calk-year-heading > strong {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    background: #e7f4eb;

    color: #0b7a3b;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 800;
}


/* =========================================================
   DIPA LIST
========================================================= */

.pa-calk-dipa-list {
    display: grid;

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

    gap: 16px;
}


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

.pa-calk-dipa {
    padding: 16px;

    background: #f7fbf8;

    border: 1px solid #e1ebe4;

    border-radius: 13px;
}


/* =========================================================
   DIPA HEADER
========================================================= */

.pa-calk-dipa-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 13px;
}

.pa-calk-dipa-header > div {
    display: flex;

    align-items: baseline;

    gap: 7px;
}

.pa-calk-dipa-header span:first-child {
    color: #91a19a;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;
}

.pa-calk-dipa-header strong {
    color: #193c2b;

    font-size: 16px;

    font-weight: 800;
}

.pa-calk-dipa-code {
    padding: 5px 8px;

    background: #e8f2eb;

    color: #0b7a3b;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   SEMESTER
========================================================= */

.pa-calk-semesters {
    display: grid;

    gap: 8px;
}

.pa-calk-document {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    min-width: 0;

    padding: 11px 12px;

    background: #fff;

    border: 1px solid #e2ebe5;

    border-radius: 9px;

    text-decoration: none;

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

.pa-calk-document:hover {
    background: #edf8f1;

    border-color: #b9dac5;

    transform: translateX(3px);
}

.pa-calk-document-period {
    min-width: 0;

    color: #425c4e;

    font-size: 12px;

    font-weight: 700;
}

.pa-calk-document-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    flex-shrink: 0;

    color: #0b7a3b;

    font-size: 10px;

    font-weight: 800;
}

.pa-calk-document-link span {
    font-size: 15px;

    line-height: 1;
}


/* =========================================================
   UNAVAILABLE
========================================================= */

.pa-calk-document.is-unavailable {
    cursor: default;

    background: #f4f6f5;

    border-color: #e6ebe8;
}

.pa-calk-document.is-unavailable
.pa-calk-document-period {
    color: #8a9992;
}

.pa-calk-document-status {
    flex-shrink: 0;

    color: #a0aaa5;

    font-size: 10px;

    font-style: italic;
}


/* =========================================================
   EMPTY
========================================================= */

.pa-calk-empty {
    padding: 25px 20px;

    text-align: center;

    background: #f7fbf8;

    border: 1px dashed #d5e3da;

    border-radius: 12px;

    color: #8a9a94;

    font-size: 13px;
}


/* =========================================================
   MOBILE
   ≤ 700px
========================================================= */

@media (max-width: 700px) {

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

    .pa-calk {
        padding: 8px 0 30px;
    }


.pa-calk-hero {
        width: 100%;

        min-height: 0;

        height: auto;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 7px;

        margin-bottom: 18px;

        padding: 16px 14px 15px;

        box-sizing: border-box;

        border-radius: 12px;
}

    /* EYEBROW */

    .pa-calk-hero .pa-calk-eyebrow {

        margin: 0;

        padding: 5px 12px;

        font-size: 9px;

        line-height: 1.2;

        letter-spacing: 1.2px;

        border-radius: 20px;
    }


.pa-calk-hero h2 {
       margin: 0;

        font-size: 19px;

        line-height: 1.1;

        text-align: center;
}


.pa-calk-hero p {
        margin: 0;

        font-size: 11px;

        line-height: 1.35;

        text-align: center;
}


    .pa-calk-line::after {

        margin-top: 3px;

        width: 50px;

        height: 3px;

        border-radius: 3px;
    }
}

/* =====================================================
   SECTION HEADER
===================================================== */

.pa-calk-section-header {
    margin-bottom: 15px;

    padding-left: 11px;
}


.pa-calk-section-header h3 {
    font-size: 18px;
}


    /* ABOUT */

    .pa-calk-about {
        margin-bottom: 28px;
    }

    .pa-calk-about-content {
        padding: 0 16px 16px 53px;
    }


    /* YEAR TABS */

    .pa-calk-year-tabs {
        margin-right: -2px;
    }

    .pa-calk-year-tab {
        min-width: 64px;

        padding: 9px 13px;

        font-size: 11px;
    }


    /* PANEL */

    .pa-calk-year-panel {
        padding: 17px;

        border-radius: 14px;
    }


    /* YEAR HEADING */

    .pa-calk-year-heading {
        align-items: flex-start;

        margin-bottom: 15px;
    }

    .pa-calk-year-heading h4 {
        font-size: 15px;
    }

    .pa-calk-year-heading > strong {
        width: 42px;
        height: 42px;

        border-radius: 10px;

        font-size: 11px;
    }


    /* DIPA */

    .pa-calk-dipa-list {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .pa-calk-dipa {
        padding: 14px;
    }


    /* DOCUMENT */

    .pa-calk-document {
        padding: 11px;

        gap: 8px;
    }

    .pa-calk-document-period {
        font-size: 11px;
    }

    .pa-calk-document-link {
        font-size: 9px;
    }

}

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

@media (max-width: 420px) {

    .pa-calk-hero {

        gap: 6px;

        padding: 15px 13px 14px;

        margin-bottom: 17px;
    }


    .pa-calk-hero .pa-calk-eyebrow {

        padding: 5px 11px;

        font-size: 8.5px;
    }


    .pa-calk-hero h2 {

        font-size: 17px;

        line-height: 1.1;
    }


    .pa-calk-hero p {

        font-size: 10.5px;

        line-height: 1.3;
    }


    .pa-calk-line::after {

        width: 45px;

        height: 3px;
    }
}