/* =================================================== Keanggotaan ============== */
/* ===============================
   BANNER KEANGGOTAAN
================================ */
.banner-keanggotaan {
    position: relative;
    min-height: 460px;
    background-image: url('/2026/img/Anggota MPR RI.png');
    /* ganti */
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.banner-keanggotaan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Breadcrumb */
.banner-keanggotaan-breadcrumb {
    position: absolute;
    top: 30px;
    left: 60px;
    z-index: 2;
    font-size: 13px;
    text-transform: uppercase;
    opacity: 0.9;
    font-family: 'Kollektif', Arial, sans-serif;
} 

.banner-keanggotaan-breadcrumb .sep {
    margin: 0 8px;
}

/* Title */
.banner-keanggotaan-title {
    position: relative;
    z-index: 2;
    margin-top: 110px;
    margin-left: 60px;
    font-size: 40px;
    font-weight: 700;
}

/* ===============================
   FORM SEARCH
================================ */

.banner-keanggotaan-form {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    margin-left: 60px;
    max-width: 1000px;
}

/* Search utama */
.banner-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 6px 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.banner-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 50px;
}

.banner-search-box button {
    background: #b31313;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.banner-search-box button:hover {
    background: #8e0f0f;
}

.icon-search {
    padding-left: 14px;
    color: #999;
}

/* ===============================
   FILTER
================================ */
.banner-filter-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.banner-filter-item {
    display: flex;
    align-items: center;
    background: #fff;
    color: #333;
    padding: 12px 18px;
    border-radius: 40px;
    min-width: 220px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.banner-filter-item .icon {
    margin-right: 10px;
    color: #b31313;
}

.banner-filter-item select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    width: 100%;
}

/* Reset */
.banner-filter-reset {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    .banner-keanggotaan-title,
    .banner-keanggotaan-form,
    .banner-keanggotaan-breadcrumb {
        margin-left: 20px;
        margin-right: 20px;
    }

    .banner-keanggotaan-title {
        font-size: 28px;
    }
}

/* =============================
   CONTENT KEANGGOTAAN
============================= */
.content-keanggotaan {
    background: #f7f5f1;
    padding: 60px 0;
}

.keanggotaan-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

/* =============================
   HEADER
============================= */
.keanggotaan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.keanggotaan-header h2 {
    color: #b31313;
    font-size: 18px;
    font-weight: 700;
}

.view-toggle span {
    margin-left: 10px;
    cursor: pointer;
    color: #aaa;
}

.view-toggle .active {
    color: #b31313;
}

/* =============================
   TABLE LIST
============================= */
.keanggotaan-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.table-head {
    display: grid;
    grid-template-columns: 1fr 200px;
    background: #e3a20b;
    color: #fff;
    font-weight: 600;
    padding: 14px 20px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.anggota-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.anggota-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.anggota-info strong {
    display: block;
    font-size: 14px;
}

.anggota-info small {
    font-size: 12px;
    color: #777;
}

.fraksi-info strong {
    display: block;
    font-size: 16px;
}

.fraksi-info small {
    font-size: 12px;
    color: #777;
}

/* =============================
   PAGINATION (PIXEL PERFECT)
============================= */
.pagination-mpr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 35px 0;
}

/* Reset semua link */
.pagination-mpr a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

/* ANGKA HALAMAN */
.page-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* ACTIVE (LINGKARAN MERAH) */
.page-number.active {
    background: #b31313;
    color: #fff;
    font-weight: 600;
}

/* Hover ringan */
.page-number:hover:not(.active) {
    color: #b31313;
}

/* PANAH */
.page-arrow {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.page-arrow:hover {
    color: #b31313;
}

/* =============================
   SIDEBAR
============================= */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.sidebar-title {
    background: #b31313;
    color: #fff;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    place-content: center;

}

.sidebar-menu .active {
    font-weight: 700;
}

/* =============================
   SUBSCRIBE
============================= */
.subscribe-card p {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.subscribe-card input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

.subscribe-card button {
   max-width: 70%;
background: #fbf0d2;
color: #000000;
border: 1px solid #000000;
padding: 12px;
border-radius: 20px;
font-weight: 700;
font-size: 12px;
cursor: pointer;

}

.banner-fraksi {
    position: relative;
    height: 300px;
    background: url("img/fraksi banner.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fraksi-list {
    flex: 1;
}

/* GRID */
.fraksi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* CARD */
.fraksi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    /* PENTING */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */
.fraksi-logo img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 18px;
    /* jarak ke tombol */
}

/* BUTTON */
.fraksi-btn {
    background: #b51212;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}