/* =========================================================
   PROFIL HAKIM
========================================================= */

.pa-hakim {
    max-width: 100%;
    margin: 0 auto;
}


/* =========================================================
   TAB
========================================================= */

.pa-hakim-tabs > input {
    display: none;
}

.pa-hakim-tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    padding: 5px;

    background: #f3f7f4;
    border: 1px solid #e1ebe4;
    border-radius: 14px;
}

.pa-hakim-tab-nav label {
    flex: 1;

    padding: 13px 18px;

    text-align: center;

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

    color: #537060;

    border-radius: 10px;

    cursor: pointer;

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


/* TAB AKTIF */

#hakim-risky:checked ~ .pa-hakim-tab-nav label[for="hakim-risky"],
#hakim-fandik:checked ~ .pa-hakim-tab-nav label[for="hakim-fandik"],
#hakim-novia:checked ~ .pa-hakim-tab-nav label[for="hakim-novia"] {

    background: #0b7a3b;

    color: #fff;

    box-shadow:
        0 5px 14px rgba(11,122,59,.18);
}


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

.pa-hakim-tab-content {
    display: none;
}

#hakim-risky:checked ~ .pa-hakim-tab-nav ~ #content-risky,
#hakim-fandik:checked ~ .pa-hakim-tab-nav ~ #content-fandik,
#hakim-novia:checked ~ .pa-hakim-tab-nav ~ #content-novia {
    display: block;
}


/* =========================================================
   PROFILE HEADER
========================================================= */

.pa-hakim-profile {

    display: grid;

    grid-template-columns: 260px 1fr;

    gap: 35px;

    align-items: center;

    padding: 28px;

    margin-bottom: 30px;

    background: #f7fbf8;

    border: 1px solid #dcebe1;

    border-radius: 20px;

}


/*═══════════════════════════════════════
    PHOTO PROFIL HAKIM
═══════════════════════════════════════*/

.pa-hakim-photo {
    width: 180px;
    overflow: hidden;
    border-radius: 18px;
    background: #e8f2eb;
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
}

.pa-hakim-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .45s ease;
}

.pa-hakim-photo:hover img {
    transform: scale(1.025);
}
/* =========================================================
   PROFILE INFO
========================================================= */

.pa-hakim-label {

    display: inline-block;

    margin-bottom: 10px;

    padding: 6px 11px;

    background: #e5f4eb;

    color: #08753a;

    border-radius: 999px;

    /*font-size: 11px; */

	font-size: .67rem;

    font-weight: 800;

    letter-spacing: .08em;

}

.pa-hakim-profile-info h2 {

    margin: 0 0 8px;

    color: #123b28;

    font-size: clamp(16px, 2vw, 18px);

    line-height: 1.2;

}

.pa-hakim-jabatan {

    margin: 0 0 22px;

    color: #5b7181;

    font-size: 15px;

}


/* =========================================================
   META
========================================================= */

.pa-hakim-meta {

    display: grid;

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

    gap: 16px;

}

.pa-hakim-meta > div {

    padding: 14px 16px;

    background: #fff;

    border: 1px solid #e2ebe5;

    border-radius: 12px;

}

.pa-hakim-meta span {

    display: block;

    margin-bottom: 5px;

    color: #91a19a;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .05em;

}

.pa-hakim-meta strong {

    display: block;

    color: #193c2b;

    font-size: 13px;

    line-height: 1.5;

}


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

.pa-hakim-section {

    margin-bottom: 28px;

    padding: 24px;

    background: #fff;

    border: 1px solid #e5ece7;

    border-radius: 16px;

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

}


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

.pa-hakim-section-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    color: #163c29;

    font-size: 17px;

    font-weight: 800;

}

.pa-hakim-section-title span {

    display: inline-flex;

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

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    background: #e7f4eb;

    color: #0b7a3b;

    border-radius: 10px;

    font-size: 11px;

}


/* =========================================================
   PENDIDIKAN
========================================================= */

.pa-hakim-list > div {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #506477;

    font-size: 14px;

    line-height: 1.7;

}

.pa-hakim-dot {

    width: 7px;
    height: 7px;

    margin-top: 8px;

    flex-shrink: 0;

    background: #0b7a3b;

    border-radius: 50%;

}


/* =========================================================
   TIMELINE
========================================================= */

.pa-hakim-timeline {

    position: relative;

    padding-left: 25px;

}

.pa-hakim-timeline::before {

    content: "";

    position: absolute;

    left: 5px;
    top: 7px;
    bottom: 7px;

    width: 1px;

    background: #cfe0d5;

}

.pa-hakim-timeline > div {

    position: relative;

    padding: 0 0 20px 20px;

}

.pa-hakim-timeline > div:last-child {

    padding-bottom: 0;

}

.pa-hakim-timeline > div::before {

    content: "";

    position: absolute;

    left: -24px;
    top: 5px;

    width: 9px;
    height: 9px;

    background: #0b7a3b;

    border: 3px solid #e7f4eb;

    border-radius: 50%;

}

.pa-hakim-timeline strong {

    display: block;

    color: #173d2a;

    font-size: 14px;

    line-height: 1.5;

}

.pa-hakim-timeline span {

    display: block;

    margin-top: 4px;

    color: #8a9a94;

    font-size: 12px;

}


/* =========================================================
   AWARDS
========================================================= */

.pa-hakim-award {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 14px;

    background: #f7fbf8;

    border: 1px solid #e3ece6;

    border-radius: 12px;

}

.pa-hakim-award > div {

    display: flex;

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

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    background: #e5f4eb;

    color: #0b7a3b;

    border-radius: 10px;

    font-size: 11px;

    font-weight: 800;

}

.pa-hakim-award > div:last-child strong {
    display: block;
    color: #1a3d2b;
    font-size: 13px;
}

.pa-hakim-award > div:last-child span {
    display: block;
    margin-top: 3px;
    color: #94a39c;
    font-size: 11px;
}

.pa-hakim-award section span {

    display: block;

    margin-top: 3px;

    color: #94a39c;

    font-size: 11px;

}


/* =========================================================
   DOKUMEN
========================================================= */

.pa-hakim-documents {

    display: grid;

    gap: 10px;

}

.pa-hakim-documents a {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    text-decoration: none;

    background: #f7fbf8;

    border: 1px solid #e1ebe4;

    border-radius: 12px;

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

}

.pa-hakim-documents a:hover {

    transform: translateX(4px);

    background: #edf8f1;

    border-color: #b9dac5;

}

.pa-hakim-pdf {

    display: flex;

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

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    background: #e8f2eb;

    color: #0b7a3b;

    border-radius: 10px;

    font-size: 10px;

    font-weight: 800;

}

.pa-hakim-documents a div {

    flex: 1;

}

.pa-hakim-documents strong {

    display: block;

    color: #193c2b;

    font-size: 13px;

}

.pa-hakim-documents a div span {

    display: block;

    margin-top: 3px;

    color: #8c9b95;

    font-size: 11px;

}

.pa-hakim-documents b {

    color: #0b7a3b;

    font-size: 20px;

}


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


/* =========================================================
   TABLET
   701px — 1024px
========================================================= */

@media (max-width: 1024px) and (min-width: 701px) {

    /* =====================================================
       TAB NAVIGATION
    ===================================================== */

    .pa-hakim-tab-nav {
        overflow-x: auto;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pa-hakim-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .pa-hakim-tab-nav label {
        flex: 0 0 auto;

        white-space: nowrap;

        font-size: 13px;

        padding: 12px 16px;
    }


    /* =====================================================
       PROFILE
    ===================================================== */

    .pa-hakim-profile {
        grid-template-columns: 1fr;

        gap: 24px;

        padding: 24px;

        text-align: center;
    }


    /* =====================================================
       PHOTO
    ===================================================== */

    .pa-hakim-photo {
        width: 200px;
        max-width: 60%;

        margin: 0 auto;
    }


    /* =====================================================
       PROFILE INFO
    ===================================================== */

    .pa-hakim-profile-info {
        text-align: center;
    }

    .pa-hakim-profile-info h2 {
        max-width: 620px;

        margin-left: auto;
        margin-right: auto;

        font-size: 18px;
    }


    /* =====================================================
       META
    ===================================================== */

    .pa-hakim-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        max-width: 620px;

        margin: 0 auto;

        gap: 14px;

        text-align: left;
    }


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

    .pa-hakim-section {
        padding: 22px;

        border-radius: 16px;
    }

    .pa-hakim-section-title {
        font-size: 16px;
    }

}


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

@media (max-width: 700px) {

    /* =====================================================
       TAB NAVIGATION
    ===================================================== */

    .pa-hakim-tab-nav {
        overflow-x: auto;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pa-hakim-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .pa-hakim-tab-nav label {
        flex: 0 0 auto;

        white-space: nowrap;

        font-size: 12px;

        padding: 11px 14px;
    }


    /* =====================================================
       PROFILE
    ===================================================== */

    .pa-hakim-profile {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 20px;

        text-align: center;
    }


    /* =====================================================
       PHOTO
    ===================================================== */

    .pa-hakim-photo {
        width: 65%;
        max-width: 210px;

        margin: 0 auto;
    }


    /* =====================================================
       PROFILE INFO
    ===================================================== */

    .pa-hakim-profile-info {
        text-align: center;
    }


    /* =====================================================
       META
    ===================================================== */

    .pa-hakim-meta {
        grid-template-columns: 1fr;

        gap: 12px;

        text-align: left;
    }


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

    .pa-hakim-section {
        padding: 19px;

        border-radius: 15px;
    }

    .pa-hakim-section-title {
        font-size: 15px;
    }

}