/* ==========================================================================
   DESIGN SYSTEM PORTAL EKSEKUTIF PENGADILAN AGAMA (FULL-WIDTH & DARK UI v5.1)
   ========================================================================== */

:root {
    --pa-obsidian: #011f16;
    --pa-dark: #033a29;
    --pa-primary: #056e4f;
    --pa-primary-soft: #e8f5f0;
    --pa-gold: #ff9900;
    --pa-gold-hover: #e68a00;
    --pa-gold-soft: #fff8eb;
    --pa-navy: #0f172a;
    --pa-slate: #475569;
    --pa-bg: #f4f7f6;
    --pa-surface: #ffffff;
    --pa-surface-2: #f8fafc;
    --pa-border: rgba(15, 23, 42, 0.08);
    --pa-radius-lg: 1.25rem;
    --pa-radius-md: 0.85rem;
    --pa-shadow-sm: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
    --pa-shadow-md: 0 14px 34px -10px rgba(2, 35, 25, 0.10);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--pa-bg);
    color: var(--pa-navy);
    line-height: 1.65;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    transition: background-color 0.22s ease, color 0.22s ease;
}

/* Kontainer Lebar Penuh (Full-Width Proporsional di Resolusi 100% Tanpa Geser Kiri-Kanan) */
.gov-topbar > .container-xl,
.gov-navbar > .container-xl,
main#mainContent .container-xl,
footer.gov-footer > .container-xl {
    width: 100% !important;
    max-width: 1680px !important;
    padding-left: clamp(1rem, 2.6vw, 2.75rem) !important;
    padding-right: clamp(1rem, 2.6vw, 2.75rem) !important;
    margin-left: auto;
    margin-right: auto;
}

main#mainContent,
footer.gov-footer {
    overflow-x: clip;
    width: 100%;
}

.font-display {
    font-family: 'Montserrat', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Utilitas Identitas Warna */
.bg-pa-primary { background-color: var(--pa-primary) !important; color: #ffffff !important; }
.bg-pa-secondary { background-color: var(--pa-gold) !important; color: #0f172a !important; }
.text-pa-primary { color: var(--pa-primary) !important; }
.text-pa-secondary { color: var(--pa-gold) !important; }
.border-pa-primary { border-color: var(--pa-primary) !important; }
.border-pa-secondary { border-color: var(--pa-gold) !important; }

/* Tombol Ramah Sentuhan */
.btn-pa-primary {
    background: linear-gradient(135deg, #056e4f 0%, #034d37 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    border-radius: 50rem;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(5, 110, 79, 0.40);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-pa-primary:hover {
    background: linear-gradient(135deg, #045c42 0%, #023828 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(5, 110, 79, 0.52);
}

.btn-pa-secondary {
    background: linear-gradient(135deg, #ffb32c 0%, #ff9900 100%);
    color: #0f172a !important;
    border: none;
    font-weight: 700;
    border-radius: 50rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -6px rgba(255, 153, 0, 0.42);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-pa-secondary:hover {
    background: linear-gradient(135deg, #ff9900 0%, #e08600 100%);
    color: #000000 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   1. TOPBAR & FIXED NAVBAR ADAPTIF ANTI-TERPOTONG
   ========================================================================== */
.gov-topbar {
    background: linear-gradient(90deg, #011c14 0%, #033324 50%, #011c14 100%);
    border-bottom: 1px solid rgba(255, 153, 0, 0.2);
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.42rem 0;
    width: 100%;
}
.gov-topbar a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.18s ease;
}
.gov-topbar a:hover { color: var(--pa-gold); }

.verified-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
    display: inline-block;
    flex-shrink: 0;
}

.gov-navbar {
    position: relative;
    z-index: 1030;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--pa-border);
    box-shadow: 0 4px 20px -10px rgba(2, 35, 25, 0.08);
    padding: 0.5rem 0;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gov-brand-link {
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
    max-width: clamp(185px, 20vw, 290px);
}
@media (max-width: 1199.98px) {
    .gov-brand-link { max-width: calc(100vw - 170px); }
}

.brand-emblem-wrap {
    width: 42px;
    height: 42px;
    border-radius: 0.72rem;
    background: linear-gradient(145deg, #ffffff, #ecfdf5);
    border: 1px solid rgba(5, 110, 79, 0.18);
    box-shadow: 0 4px 12px rgba(5, 110, 79, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}
.brand-title-text {
    font-size: clamp(0.74rem, 1.05vw, 0.88rem);
    color: #022b1f;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.brand-sub-text {
    font-size: clamp(0.63rem, 0.82vw, 0.71rem);
    line-height: 1.2;
}

/* Menu Horizontal Desktop Fleksibel */
.desktop-gov-nav-wrap {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.desktop-gov-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(0.08rem, 0.25vw, 0.28rem);
}
.desktop-nav-item {
    position: relative;
}
.nav-link-gov {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #1e293b !important;
    font-size: clamp(0.78rem, 0.86vw, 0.86rem);
    font-weight: 600;
    padding: 0.54rem clamp(0.44rem, 0.68vw, 0.76rem);
    border-radius: 0.45rem;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link-gov:hover,
.desktop-nav-item:hover > .nav-link-gov {
    color: var(--pa-primary) !important;
    background-color: #f3f8f6;
}
.nav-link-gov.active {
    color: var(--pa-primary) !important;
    font-weight: 700;
}
.nav-link-gov.active::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0.55rem;
    right: 0.55rem;
    height: 2.5px;
    border-radius: 2px;
    background-color: var(--pa-gold);
}

.gov-dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1035;
    min-width: 235px;
    margin: 0 !important;
    padding: 0.4rem 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.16);
}
.desktop-nav-item:nth-last-child(-n+2) > .gov-dropdown-menu {
    left: auto !important;
    right: 0 !important;
}
.desktop-nav-item:hover > .gov-dropdown-menu,
.desktop-nav-item:focus-within > .gov-dropdown-menu {
    display: block;
}
.gov-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.52rem 1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.gov-dropdown-item:hover,
.gov-dropdown-item:focus {
    background-color: #f0f7f4;
    color: var(--pa-primary);
}

.btn-search-trigger {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.81rem;
    font-weight: 600;
    border-radius: 50rem;
    min-height: 38px;
    padding: 0.36rem 0.85rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.18s ease;
}
.btn-search-trigger:hover {
    border-color: var(--pa-primary);
    background: var(--pa-primary-soft);
    color: var(--pa-primary);
}

/* Tombol Pengalih Mode Gelap / Terang */
.btn-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.96rem;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.btn-theme-toggle:hover {
    border-color: var(--pa-primary);
    background: var(--pa-primary-soft);
    color: var(--pa-primary);
    transform: translateY(-1px);
}
.theme-icon-light { display: none !important; }
.theme-icon-dark { display: inline-block !important; color: #056e4f; }

html[data-bs-theme="dark"] .theme-icon-dark { display: none !important; }
html[data-bs-theme="dark"] .theme-icon-light { display: inline-block !important; color: #fbbf24; }

.btn-mobile-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.72rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.18s ease;
}
.btn-mobile-icon:active {
    background: var(--pa-primary-soft);
    border-color: var(--pa-primary);
    color: var(--pa-primary);
}

/* Laci Menu Mobile & Tablet */
.mobile-nav-drawer {
    width: min(88vw, 360px) !important;
    border-left: none !important;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0.95rem;
    border-radius: 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.18s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--pa-primary-soft);
    color: var(--pa-primary);
}
.mobile-sub-list {
    padding-left: 0.85rem;
    margin: 0.25rem 0 0.5rem 0.95rem;
    border-left: 2px solid rgba(5, 110, 79, 0.2);
}
.mobile-sub-link {
    display: block;
    padding: 0.58rem 0.75rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
}
.mobile-sub-link:hover {
    background: #f1f5f9;
    color: var(--pa-primary);
}

.a11y-voice-card {
    background: #f4fbf8;
    border: 1px solid #b7dfd2;
}

/* ==========================================================================
   2. HERO SLIDER PROPORSIONAL DI LAYAR LAPTOP 100%
   ========================================================================== */
.hero-exec-section {
    background-color: var(--pa-obsidian);
    position: relative;
    overflow: hidden;
    width: 100%;
}
.hero-mesh-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 153, 0, 0.20) 0%, transparent 38%),
        radial-gradient(circle at 18% 85%, rgba(16, 185, 129, 0.22) 0%, transparent 45%),
        linear-gradient(120deg, #011f16 0%, #044f38 55%, #022b1f 100%);
}
.hero-arch-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(ellipse at center, black 45%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 90%);
    pointer-events: none;
}

.hero-inner-container {
    min-height: clamp(360px, 48vh, 455px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-top: 2.1rem;
    padding-bottom: 3.6rem;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.88rem;
    border-radius: 50rem;
    background: rgba(255, 153, 0, 0.14);
    border: 1px solid rgba(255, 153, 0, 0.45);
    color: #ffbe4d;
    font-size: clamp(0.68rem, 1.4vw, 0.74rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(1.5rem, 2.9vw, 2.55rem);
    line-height: 1.2;
}
.hero-subheadline {
    font-size: clamp(0.9rem, 1.35vw, 1.02rem);
    max-width: 42rem;
    line-height: 1.65;
}

.hero-glass-widget {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 3px solid var(--pa-gold);
    border-radius: 1.25rem;
    padding: 1.35rem;
    color: #ffffff;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.45);
}
.hero-glass-widget a {
    white-space: nowrap;
}

.hero-mobile-status-strip {
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin-top: 1.35rem;
}

/* ==========================================================================
   3. PINTASAN LAYANAN & GRID BERANDA RESPONSIF
   ========================================================================== */
.shortcut-dock-wrap {
    margin-top: -2.4rem;
    position: relative;
    z-index: 15;
    padding-bottom: 0.85rem;
}
.shortcut-luxury-card {
    background: var(--pa-surface);
    border: 1px solid var(--pa-border);
    border-radius: 1.1rem;
    padding: 1.1rem 0.85rem;
    text-decoration: none;
    color: var(--pa-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px -10px rgba(2, 35, 25, 0.10);
    transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.shortcut-luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pa-primary), var(--pa-gold));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.shortcut-luxury-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 110, 79, 0.28);
    box-shadow: 0 20px 36px -12px rgba(5, 110, 79, 0.20);
    color: var(--pa-primary);
}
.shortcut-luxury-card:hover::before { opacity: 1; }

.shortcut-icon-squircle {
    width: 48px;
    height: 48px;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #e8f5f0 0%, #d1fae5 100%);
    color: var(--pa-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
    transition: all 0.26s ease;
}
.shortcut-luxury-card:hover .shortcut-icon-squircle {
    background: linear-gradient(135deg, #ffad1f 0%, #ff9900 100%);
    color: #011f16;
    transform: scale(1.06);
}

.sinova-home-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .sinova-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.15rem;
    }
    .sinova-grid-cell {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    .sinova-grid-cell[data-w="1"],
    .sinova-grid-cell[data-w="2"],
    .sinova-grid-cell[data-w="3"],
    .sinova-grid-cell[data-w="4"],
    .sinova-grid-cell[data-w="5"],
    .sinova-grid-cell[data-w="6"] {
        grid-column: span 1 !important;
    }
}

@media (max-width: 767.98px) {
    .sinova-home-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem;
    }
    .sinova-grid-cell {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
}

/* ==========================================================================
   4. KARTU KONTEN, TABEL RESPONSIF HP & ARTIKEL
   ========================================================================== */
.bento-panel {
    background: var(--pa-surface);
    border: 1px solid var(--pa-border);
    border-radius: var(--pa-radius-lg);
    box-shadow: var(--pa-shadow-sm);
    max-width: 100%;
    transition: box-shadow 0.25s ease, background-color 0.22s ease, border-color 0.22s ease;
}
.bento-panel:hover { box-shadow: var(--pa-shadow-md); }

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pa-primary);
    background: var(--pa-primary-soft);
    padding: 0.26rem 0.7rem;
    border-radius: 50rem;
}

.news-editorial-card {
    background: var(--pa-surface);
    border: 1px solid var(--pa-border);
    border-radius: 1.05rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.26s ease;
}
.news-editorial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 110, 79, 0.25);
    box-shadow: 0 16px 32px -12px rgba(2, 35, 25, 0.14);
}
.news-img-frame {
    position: relative;
    height: 185px;
    overflow: hidden;
    background: #022b1f;
}
.news-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.news-editorial-card:hover .news-img-frame img { transform: scale(1.05); }

.page-hero-banner {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 153, 0, 0.22), transparent 40%),
        linear-gradient(125deg, #011f16 0%, #056e4f 68%, #033a29 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--pa-gold);
}
.breadcrumb-gov { flex-wrap: wrap; row-gap: 0.25rem; }
.breadcrumb-gov .breadcrumb-item a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.82rem; }
.breadcrumb-gov .breadcrumb-item.active { color: #ffffff; font-weight: 600; font-size: 0.82rem; }
.breadcrumb-gov .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.45); }

.prose-gov {
    font-size: clamp(0.93rem, 2vw, 0.99rem);
    line-height: 1.8;
    color: var(--pa-navy);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.prose-gov h2, .prose-gov h3, .prose-gov h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #022b1f;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
}
.prose-gov img,
.prose-gov iframe,
.prose-gov video {
    max-width: 100% !important;
    height: auto;
    border-radius: 0.75rem;
}
.prose-gov table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 1.15rem 0;
}

.doc-item-card {
    background: var(--pa-surface);
    border: 1px solid var(--pa-border);
    border-radius: 0.95rem;
    padding: 0.95rem 1.15rem;
    transition: all 0.2s ease;
}
.doc-item-card:hover { border-color: var(--pa-primary); }
.doc-pdf-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feed-item {
    display: block;
    padding: 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid var(--pa-border);
    background: var(--pa-surface);
    text-decoration: none;
    transition: all 0.2s ease;
}
.feed-item:hover {
    background: var(--pa-primary-soft);
    border-color: rgba(5, 110, 79, 0.25);
}

@media (max-width: 575.98px) {
    .table-mobile-stack thead { display: none; }
    .table-mobile-stack tbody tr {
        display: block;
        border: 1px solid var(--pa-border);
        border-radius: 0.8rem;
        padding: 0.65rem 0.85rem;
        margin-bottom: 0.65rem;
        background: var(--pa-surface);
    }
    .table-mobile-stack tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        border: none;
        padding: 0.3rem 0;
        text-align: right;
    }
    .table-mobile-stack tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.74rem;
        color: #64748b;
        text-align: left;
    }
    .table-mobile-stack tbody td[colspan] {
        display: block;
        text-align: center;
    }
    .table-mobile-stack tbody td[colspan]::before { display: none; }
}

/* ==========================================================================
   5. FOOTER & TOMBOL MELAYANG ADAPTIF
   ========================================================================== */
.gov-footer {
    background: linear-gradient(180deg, #02261b 0%, #011710 100%);
    color: rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--pa-gold);
}
.footer-link {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
    transition: all 0.18s ease;
}
.footer-link:hover { color: var(--pa-gold); transform: translateX(3px); }

.floating-a11y-btn {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 1038;
    background: linear-gradient(135deg, #ffad1f 0%, #ff9900 100%);
    color: #0f172a;
    border: 2px solid #ffffff;
    border-radius: 50rem;
    min-height: 44px;
    padding: 0.48rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}
.floating-a11y-btn:hover { transform: translateY(-3px); }

.floating-wa-btn {
    position: fixed;
    left: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 1038;
    background: #10b981;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 50rem;
    min-height: 44px;
    padding: 0.48rem 0.98rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.36);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}
.floating-wa-btn:hover { transform: translateY(-3px); background: #059669; }

@media (max-width: 991.98px) {
    .hero-inner-container {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2.35rem;
    }
    .shortcut-dock-wrap {
        margin-top: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .bento-panel {
        border-radius: 1rem;
        padding: 1.15rem !important;
    }
    .shortcut-luxury-card {
        padding: 0.95rem 0.65rem;
        border-radius: 0.95rem;
    }
    .shortcut-icon-squircle {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        margin-bottom: 0.55rem;
    }
    .news-img-frame { height: 165px; }

    .floating-wa-btn,
    .floating-a11y-btn {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 50%;
    }
    .floating-wa-btn { left: 0.85rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }
    .floating-a11y-btn { right: 0.85rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }

    .gov-footer {
        padding-bottom: 5rem !important;
    }
}

/* ==========================================================================
   6. MODE GELAP MENYELURUH (TEKS KONTEN, BERITA & TAUTAN PUTIH BERSIH)
   ========================================================================== */
html[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-body-bg: #0b131e;
    --bs-body-color: #ffffff;
    --bs-border-color: rgba(148, 163, 184, 0.16);
    --pa-bg: #0b131e;
    --pa-surface: #111d2b;
    --pa-surface-2: #162436;
    --pa-navy: #ffffff;
    --pa-slate: #e2e8f0;
    --pa-primary-soft: rgba(16, 185, 129, 0.15);
    --pa-border: rgba(148, 163, 184, 0.16);
    --pa-shadow-sm: 0 8px 24px -8px rgba(0, 0, 0, 0.48);
    --pa-shadow-md: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
}

html[data-bs-theme="dark"] body:not(.a11y-contrast) {
    background-color: #0b131e !important;
    color: #ffffff !important;
}

/* Topbar, Header, Logo, Menu & Dropdown Mode Gelap */
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-topbar {
    background: linear-gradient(90deg, #060d15 0%, #091d17 50%, #060d15 100%) !important;
    border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-navbar,
html[data-bs-theme="dark"] body:not(.a11y-contrast) #mainGovHeader.is-fixed-top {
    background: rgba(11, 19, 30, 0.96) !important;
    border-bottom-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.65) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .brand-emblem-wrap {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .brand-title-text {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .brand-sub-text {
    color: #cbd5e1 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .nav-link-gov {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .nav-link-gov:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .desktop-nav-item:hover > .nav-link-gov {
    color: #34d399 !important;
    background-color: rgba(16, 185, 129, 0.12) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .nav-link-gov.active {
    color: #34d399 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-dropdown-menu {
    background-color: #111d2b !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.7) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-dropdown-item {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-dropdown-item:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .gov-dropdown-item:focus {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-search-trigger,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-theme-toggle,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-mobile-icon {
    background: #162436 !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-search-trigger:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-theme-toggle:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-mobile-icon:hover {
    background: rgba(16, 185, 129, 0.16) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}

/* Hero & Banner Halaman di Mode Gelap */
html[data-bs-theme="dark"] body:not(.a11y-contrast) .hero-exec-section,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .page-hero-banner,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-hero-banner {
    background-color: #07121c !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .hero-mesh-backdrop {
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 153, 0, 0.16) 0%, transparent 38%),
        radial-gradient(circle at 18% 85%, rgba(16, 185, 129, 0.16) 0%, transparent 45%),
        linear-gradient(125deg, #061019 0%, #08291f 55%, #06131c 100%) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .hero-glass-widget {
    background: rgba(15, 25, 38, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    border-top-color: var(--pa-gold) !important;
}

/* Permukaan Kartu & Kontainer */
html[data-bs-theme="dark"] body:not(.a11y-contrast) .shortcut-luxury-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .bento-panel,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-panel,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-filter-shell,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-selamat-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .bg-white:not(.badge),
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .mobile-nav-drawer,
html[data-bs-theme="dark"] body:not(.a11y-contrast) #a11yDrawer {
    background: #111d2b !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-selamat-card { border-top: 4px solid #d4af37 !important; }
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-panel { border-top: 4px solid #10b981 !important; }

html[data-bs-theme="dark"] body:not(.a11y-contrast) .news-editorial-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .doc-item-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .feed-item,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .list-group-item,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-btn-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-drive-btn-card,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .bg-light:not(.badge),
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content .bg-light,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .offcanvas .bg-light,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .a11y-voice-card {
    background-color: #162436 !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .news-editorial-card:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .doc-item-card:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .feed-item:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-btn-card:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-drive-btn-card:hover {
    background-color: #1c2e44 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

html[data-bs-theme="dark"] body:not(.a11y-contrast) .shortcut-icon-squircle,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .section-pill-tag,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-icon,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-drive-icon-box {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-area-tag { color: #34d399 !important; }
html[data-bs-theme="dark"] body:not(.a11y-contrast) .snv-zi-subtitle { color: #e2e8f0 !important; }

/* TEKS ISI KONTEN, BERITA, HALAMAN STATIS & TABEL -> PUTIH BERSIH (#FFFFFF) */
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .prose-gov,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent article,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent :is(p, li, ul, ol, dl, dt, dd, h1, h2, h3, h4, h5, h6, strong, b, em, blockquote, figcaption, td, th, label):not(.btn):not(.btn *):not(.badge):not(.badge *):not(.text-warning):not(.hero-badge-pill):not(.hero-badge-pill *):not(.section-pill-tag):not(.section-pill-tag *) {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent :is(.prose-gov, article) :is(span, div, p, li, strong, b, em, i, u, font):not(.btn):not(.btn *):not(.badge):not(.badge *) {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent :is(.prose-gov, article) :is(p, span, li, strong, em, b, i, u, font):not(.btn):not(.btn *):not(.badge):not(.badge *) {
    background-color: transparent !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .prose-gov [style*="#e8f5f0"],
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .prose-gov [style*="232, 245, 240"] {
    background-color: rgba(16, 185, 129, 0.14) !important;
}

/* SELURUH TAUTAN (LINK) DI KONTEN, BERITA, MODAL & LACI -> PUTIH BERSIH */
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent a:not(.btn):not(.badge):not(.text-warning),
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent a:not(.btn):not(.badge):not(.text-warning) :is(strong, span, small, h1, h2, h3, h4, h5, h6):not(.snv-zi-area-tag):not(.zi-drive-cta-pill):not(.zi-drive-cta-pill *):not(.badge),
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content a:not(.btn):not(.badge),
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content a:not(.btn):not(.badge) *,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .mobile-nav-link,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .mobile-sub-link {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .prose-gov a:not(.btn):not(.badge),
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent article a:not(.btn):not(.badge) {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #34d399 !important;
    text-underline-offset: 3px;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent a:not(.btn):not(.badge):hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .prose-gov a:not(.btn):not(.badge):hover {
    color: #ffbe4d !important;
    text-decoration-color: #ffbe4d !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-drive-cta-pill,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-drive-cta-pill * {
    color: #ffffff !important;
}

/* Metadata, Lencana (Waktu Baca, Kategori), Tombol Sekunder & Pagination */
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .text-dark:not(.badge):not(.btn),
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content .text-dark,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .offcanvas .text-dark {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .text-secondary,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .text-muted,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .modal-content .text-secondary,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .offcanvas .text-secondary {
    color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .text-pa-primary {
    color: #34d399 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .badge.bg-light,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .badge.bg-white {
    background-color: #162436 !important;
    color: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .badge.bg-warning.bg-opacity-25.text-dark {
    background-color: rgba(245, 158, 11, 0.22) !important;
    color: #fde68a !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .badge.bg-success.bg-opacity-10.text-success {
    background-color: rgba(16, 185, 129, 0.18) !important;
    color: #6ee7b7 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-year-pill,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-area-chip {
    background: #162436 !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-year-pill.is-active {
    background: #056e4f !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .zi-area-chip.is-active {
    background: rgba(245, 158, 11, 0.24) !important;
    border-color: #f59e0b !important;
    color: #fde68a !important;
}

html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-light,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .btn.bg-white {
    background-color: #162436 !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-light:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) main#mainContent .btn.bg-white:hover {
    background-color: #1f324a !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-success {
    border-color: #34d399 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-success:hover {
    background-color: #056e4f !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-dark,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-secondary {
    border-color: rgba(148, 163, 184, 0.32) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-dark:hover,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .btn-outline-secondary:hover {
    background-color: rgba(16, 185, 129, 0.16) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .pagination .page-link {
    background-color: #162436 !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .pagination .page-item.active .page-link {
    background-color: #056e4f !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .table {
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
    --bs-table-border-color: rgba(148, 163, 184, 0.16);
    --bs-table-hover-bg: rgba(16, 185, 129, 0.08);
    --bs-table-hover-color: #ffffff;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .table-light {
    --bs-table-bg: #162436;
    --bs-table-color: #ffffff;
    --bs-table-border-color: rgba(148, 163, 184, 0.22);
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .form-control,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .form-select,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .input-group-text {
    background-color: #0e1824 !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .form-control::placeholder {
    color: #94a3b8 !important;
}
html[data-bs-theme="dark"] body:not(.a11y-contrast) .form-control:focus,
html[data-bs-theme="dark"] body:not(.a11y-contrast) .form-select:focus {
    border-color: #10b981 !important;
    color: #ffffff !important;
}

/* Mode Aksesibilitas WCAG */
html.a11y-lg { font-size: 17.5px !important; }
html.a11y-xl { font-size: 19px !important; }
body.a11y-grayscale main#mainContent,
body.a11y-grayscale footer.gov-footer,
body.a11y-grayscale .gov-topbar,
body.a11y-grayscale .gov-navbar {
    filter: grayscale(100%) !important;
}
body.a11y-contrast { background-color: #000000 !important; color: #ffffff !important; }
body.a11y-contrast .bento-panel,
body.a11y-contrast .shortcut-luxury-card,
body.a11y-contrast .news-editorial-card,
body.a11y-contrast .gov-navbar,
body.a11y-contrast #mainGovHeader.is-fixed-top {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #ffdd00 !important;
}
body.a11y-contrast a,
body.a11y-contrast h1,
body.a11y-contrast h2,
body.a11y-contrast h3,
body.a11y-contrast strong { color: #ffdd00 !important; }
body.a11y-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
}