/* ================================
   BANNER PIMPINAN MPR RI
================================ */

.pimpinan-banner {
    position: relative;
    min-height: 420px;
    background: url('img/pimpinan.png') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 40px 60px;
    color: #fff;
    overflow: hidden;
}

/* overlay gelap + gradasi */
.pimpinan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.1)
    );
    z-index: 1;
}

/* content */
.pimpinan-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

/* breadcrumb */
.pimpinan-breadcrumb {
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
    opacity: 0.9;
}

.pimpinan-breadcrumb .sep {
    margin: 0 6px;
}

/* title */
.pimpinan-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 28px;
}

/* ================================
   SEARCH BAR
================================ */
.pimpinan-search {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 14px;
    border-radius: 40px;
    align-items: center;
    max-width: 820px;
}

.pimpinan-search input,
.pimpinan-search select {
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 30px;
    font-size: 14px;
    flex: 1;
    background: #f5f5f5;
}

.pimpinan-search select {
    max-width: 220px;
    cursor: pointer;
}

.pimpinan-search button {
    background: #b51212;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.pimpinan-search button:hover {
    background: #8f0e0e;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .pimpinan-banner {
        padding: 30px 20px;
        min-height: 360px;
    }

    .pimpinan-title {
        font-size: 28px;
    }

    .pimpinan-search {
        flex-direction: column;
        border-radius: 20px;
    }

    .pimpinan-search input,
    .pimpinan-search select,
    .pimpinan-search button {
        width: 100%;
    }
}
/* ================================
   SECTION WRAPPER
================================ */
.pimpinan-wrapper {
    background: #f6f5f2;
    padding: 40px 0 80px;
}

.pimpinan-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    /* grid-template-columns: 1fr 320px; */
    gap: 30px;
    padding: 0 20px;
}

/* ================================
   CARD PROFIL
================================ */
.pimpinan-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    gap: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.pimpinan-photo img {
    width: 210px;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

/* INFO */
.pimpinan-info {
    position: relative;
    flex: 1;
}

.pimpinan-badge {
    display: inline-block;
    background: #b51212;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.pimpinan-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;

}

.pimpinan-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 4px;
}

/* BUTTON */
.pimpinan-btn-detail {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f2a900;
    color: #fff;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(242,169,0,0.4);
}

.pimpinan-btn-detail:hover {
    background: #d89400;
}


 
/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .pimpinan-container {
        grid-template-columns: 1fr;
    }

    .pimpinan-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pimpinan-btn-detail {
        position: static;
        margin-top: 20px;
    }
}
/* ===============================
   SECTION WAKIL KETUA
================================ */
.pimpinan-wakil {
    padding: 60px 0;
    background: #fff;
}

.pimpinan-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: .5px;
}

/* GRID */
.pimpinan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px; /* jarak antar card */
}

/* CARD */
.pimpinan-item {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 22px 18px 24px;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);

    display: flex;
    flex-direction: column;
    height: 100%;
}

/* FOTO */
.pimpinan-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

/* NAMA */
.pimpinan-item h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* META */
.pimpinan-item p {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* PUSH BUTTON KE BAWAH */
.pimpinan-item p:last-of-type {
    margin-bottom: 18px;
}

.pimpinan-item a {
    margin-top: auto;
}

/* BUTTON */
.pimpinan-btn-red {
    display: inline-block;
    background: #b00000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.pimpinan-btn-red:hover {
    background: #8e0000;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .pimpinan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pimpinan-grid {
        grid-template-columns: 1fr;
    }
}
/* =============================
   WAKIL KETUA – FINAL FIX
============================= */
.wakil-v2 {
    background: #fff;
    padding: 50px 0 70px;
}

/* ikuti container utama */
.wakil-v2 > .wakil-v2-grid,
.wakil-v2-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.wakil-v2-title {
    font-size: 18px;
    font-weight: 700;
    color: #b00000;
    margin-bottom: 32px;
}

/* GRID */
.wakil-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

/* ITEM */
.wakil-v2-item {
    display: flex;
    flex-direction: column;
}

/* FOTO */
.wakil-v2-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 22px;
}

/* NAMA */
.wakil-v2-item h4 {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* META (RATA KIRI) */
.wakil-v2-meta {
    font-size: 13px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 28px;
}

/* PUSH BUTTON KE BAWAH (SEJAJAR) */
.wakil-v2-item {
    min-height: 520px;
}

.wakil-v2-btn {
    margin-top: auto;
    align-self: center;
    background: #b00000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .wakil-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .wakil-v2-grid {
        grid-template-columns: 1fr;
    }

    .wakil-v2-item {
        min-height: auto;
    }

    .wakil-v2-item img {
        height: 260px;
    }
}
/* ================= MASA JABATAN ================= */
.masa-jabatan {
    padding: 40px 0;
    background: #f7f5f2;
}

.masa-header {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 92%;
    margin: 0 auto 30px;
}

.masa-header h2 {
    font-size: 20px;
    font-weight: 800;
}

.masa-line {
    flex: 1;
    height: 2px;
    background: #666;
}

/* SCROLL AREA */
.masa-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 4%;
}

.masa-scroll::-webkit-scrollbar {
    height: 6px;
}

.masa-scroll::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* CARD */
.masa-card {
    position: relative;
    min-width: 340px;
    background: #a81616;
    color: #fff;
    border-radius: 18px;
    padding: 40px 25px 25px;
    text-decoration: none;
    transition: .3s;
}

.masa-card:hover {
    transform: translateY(-4px);
}

/* ACTIVE */
.masa-card.active {
    background: #8f0f0f;
}

/* YEAR BADGE */
.masa-year {
    position: absolute;
    top: -16px;
    left: 25px;
    background: #fff;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 30px;
}

/* CONTENT */
.masa-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.masa-content img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.masa-content h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.masa-content p {
    font-size: 12px;
    opacity: .9;
}
 
 .wakil-wrapper {
    position: relative;
    padding-top: 20px;
}

/* label merah */
.wakil-label {
    display: inline-block;
    background: #b31313;
    color: #fff;
    padding: 7px 20px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: -14px;
    position: relative;
    z-index: 3;
}

/* card krem */
.wakil-card-box {
    background: #fbf2d6;
    border-radius: 16px;
    padding: 26px 24px 22px;
}

/* grid 4 kolom */
.wakil-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* item */
.wakil-item {
    text-align: center;
}

/* foto */
.wakil-photo {
    background: radial-gradient(circle, #b53131 0%, #7d0f0f 75%);
    padding: 8px;
    border-radius: 14px;
    position: relative;
}

.wakil-photo img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

/* tombol kecil */
.wakil-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f4a51c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

/* nama */
.wakil-item h4 {
    margin-top: 18px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    color: #000;
}
.komisi-wrapper {
    background: #f6f5f2; 
}
.anggota-komisi-box{
    position: relative;
    overflow: hidden;
}
.anggota-komisi-slider{
    display: flex !important;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.anggota-komisi-slider::-webkit-scrollbar{
    display: none;
}

.anggota-komisi-slider .wakil-item{
    flex: 0 0 180px;
}

.wakil-card-box{
    overflow: hidden;
    max-width: calc((220px * 4) + (18px * 3));
    margin: auto;
}

.anggota-komisi-box{
    position: relative;
}

/* tombol panah */
.anggota-komisi-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;

    background: #f4a51c;
    color: #fff;
    font-size: 24px;
    font-weight: bold;

    cursor: pointer;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    transition: .3s;
}

.anggota-komisi-nav:hover{
    background: #d89210;
}

/* posisi */
.anggota-komisi-nav.prev{
    left: 10px;
}

.anggota-komisi-nav.next{
    right: 10px;
}
