/* ==========================================================================
   MUFAKAT - Monitoring & Evaluasi Forum Pembauran Kebangsaan Terintegrasi
   Design System & Public Styles
   Ref: PRD Aplikasi MUFAKAT & Metis Bootstrap 5.3 Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* Google Material Symbols (Material Design 3 - Latest 2026 Icon System) */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 1.22em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.15em;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    user-select: none;
}

.material-symbols-outlined.fill,
.material-symbols-outlined.fill-1,
.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

:root {
    /* Brand Color Tokens */
    --mfk-bg: #F4F7FB;
    --mfk-surface: #FFFFFF;
    --mfk-text: #1B2433;
    --mfk-text-muted: #5B6678;
    --mfk-border: #DCE3EE;
    --mfk-border-focus: #0C54B4;

    /* Primary Colors - MUFAKAT Official Blue */
    --mfk-blue-dark: #0B2A6B;
    /* Header, hero, footer, dark sections */
    --mfk-blue: #0C54B4;
    /* Buttons, links, primary accents, Terjadwal */
    --mfk-blue-light: #EBF2FD;
    /* Soft backgrounds */

    /* Barito Utara Regional Identity - Green & Gold */
    --mfk-green: #0C6C3C;
    /* Lambang Barito Utara Green, status Selesai */
    --mfk-green-hover: #09532E;
    --mfk-green-light: #E8F5EE;
    --mfk-gold: #F2B705;
    /* Lambang Barito Utara Gold, aksen utama */
    --mfk-gold-hover: #D49E00;
    --mfk-gold-light: #FEF8E6;
    --mfk-red: #B3261E;
    /* Danger / warnings */
    --mfk-red-flag: #E40C24;
    /* Bendera aksen */
    --mfk-red-light: #FCECEB;
    --mfk-gray: #6C757D;
    /* Dibatalkan */
    --mfk-gray-light: #F1F3F5;

    /* Typography - Roboto Unified Design System */
    --mfk-font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mfk-font-serif: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mfk-font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --bs-font-sans-serif: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --bs-body-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    /* Elevation & Shadows */
    --mfk-shadow-sm: 0 2px 6px rgba(11, 42, 107, 0.04);
    --mfk-shadow-md: 0 8px 24px rgba(11, 42, 107, 0.08);
    --mfk-shadow-lg: 0 16px 40px rgba(11, 42, 107, 0.12);
    --mfk-radius-sm: 8px;
    --mfk-radius-md: 12px;
    --mfk-radius-lg: 16px;
    --mfk-radius-full: 9999px;

    /* Fixed Header Heights & Subpage Spacing Tokens (Mobile-First Architecture) */
    --mfk-header-h: 64px;
    --mfk-subpage-spacing: 1.5rem;
}

@media (max-width: 991.98px) {
    :root {
        --mfk-header-h: 58px;
        --mfk-subpage-spacing: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --mfk-header-h: 53px;
        --mfk-subpage-spacing: 1rem;
    }
}

/* Base Reset & Typography (Roboto Google Fonts) */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: var(--mfk-font-sans);
    color: var(--mfk-text);
    background-color: var(--mfk-bg);
    line-height: 1.65;
    font-weight: 400;
    font-feature-settings: 'tnum' 1, 'cv01' 1;
    font-variant-numeric: tabular-nums;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--mfk-font-heading);
    color: var(--mfk-text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1,
.h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

h2,
.h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

h3,
.h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h4,
.h4 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

h5,
.h5 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
}

h6,
.h6 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

p {
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: normal;
    margin-bottom: 1rem;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--mfk-text-muted);
}

.font-serif {
    font-family: var(--mfk-font-heading) !important;
}

.text-mfk-blue-dark {
    color: var(--mfk-blue-dark) !important;
}

.text-mfk-blue {
    color: var(--mfk-blue) !important;
}

.text-mfk-green {
    color: var(--mfk-green) !important;
}

.text-mfk-gold {
    color: var(--mfk-gold) !important;
}

.text-mfk-muted {
    color: var(--mfk-text-muted) !important;
}

.bg-mfk-blue-dark {
    background-color: var(--mfk-blue-dark) !important;
}

.bg-mfk-blue {
    background-color: var(--mfk-blue) !important;
}

.bg-mfk-green {
    background-color: var(--mfk-green) !important;
}

.bg-mfk-surface {
    background-color: var(--mfk-surface) !important;
}

.bg-mfk-soft {
    background-color: var(--mfk-bg) !important;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--mfk-radius-full);
    letter-spacing: 0.01em;
}

.status-badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-selesai {
    background-color: var(--mfk-green-light);
    color: var(--mfk-green);
    border: 1px solid rgba(12, 108, 60, 0.2);
}

.status-selesai::before {
    background-color: var(--mfk-green);
}

.status-proses {
    background-color: var(--mfk-gold-light);
    color: #996F00;
    border: 1px solid rgba(242, 183, 5, 0.3);
}

.status-proses::before {
    background-color: var(--mfk-gold);
}

.status-terjadwal {
    background-color: var(--mfk-blue-light);
    color: var(--mfk-blue);
    border: 1px solid rgba(12, 84, 180, 0.2);
}

.status-terjadwal::before {
    background-color: var(--mfk-blue);
}

.status-dibatalkan {
    background-color: var(--mfk-gray-light);
    color: var(--mfk-gray);
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.status-dibatalkan::before {
    background-color: var(--mfk-gray);
}

/* Decorative Flag Swipe Accent */
.flag-sweep {
    position: relative;
}

.flag-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--mfk-red-flag) 50%, #FFFFFF 100%);
    pointer-events: none;
}

/* ==========================================================================
   Header & Public Navbar (PROSPERUM Transparent Floating & Sticky on Scroll)
   ========================================================================== */
.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 42, 107, 0.08);
    box-shadow: 0 4px 20px -2px rgba(11, 42, 107, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 6px 0;
}

.public-header.is-scrolled,
.public-header.header-solid {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 42, 107, 0.12);
    box-shadow: 0 8px 30px -5px rgba(11, 42, 107, 0.10);
    padding: 4px 0;
}

.main-padded {
    padding-top: var(--mfk-header-h);
}

.public-navbar {
    background: transparent !important;
    padding: 0 !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .public-navbar .container {
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

.public-navbar .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0 !important;
}

@media (min-width: 992px) {
    .public-navbar .navbar-brand {
        margin-right: 16px !important;
    }
}

@media (min-width: 1200px) {
    .public-navbar .navbar-brand {
        margin-right: 22px !important;
    }
}

@media (min-width: 1366px) {
    .public-navbar .navbar-brand {
        margin-right: 28px !important;
    }
}

.brand-logos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logos img.logo-kab {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(11, 42, 107, 0.08));
    transition: transform 0.25s ease;
}

.brand-logos img.logo-app {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(11, 42, 107, 0.08));
    transition: transform 0.25s ease;
}

.navbar-brand:hover .brand-logos img {
    transform: scale(1.03);
}

.public-navbar .navbar-collapse {
    flex-shrink: 0;
}

/* Sticky Navbar Offset for In-Page Section Scrolling (Scroll Spy) */
html {
    scroll-behavior: smooth;
}

#beranda,
#tentang,
#kegiatan,
#susunan,
#galeri,
#anggaran,
section[id] {
    scroll-margin-top: 80px;
}

.public-navbar .navbar-nav {
    display: flex !important;
    position: relative;
    gap: 4px;
}

@media (min-width: 992px) {
    .public-navbar .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap !important;
        align-items: center;
    }
}

.public-navbar .nav-item {
    flex-shrink: 0 !important;
}

.public-navbar .nav-link {
    font-weight: 600;
    font-size: 0.885rem;
    color: #334155;
    padding: 0.38rem 0.65rem;
    border-radius: 8px;
    transition: color 0.22s ease, background 0.22s ease;
    position: relative;
    line-height: 1.4;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    word-break: keep-all !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .public-navbar .nav-link {
        font-size: 0.8125rem;
        padding: 0.32rem 0.45rem;
    }
}

.public-navbar .nav-link:hover {
    color: var(--mfk-blue);
    background: rgba(12, 84, 180, 0.06);
}

.public-navbar .nav-link.active {
    color: var(--mfk-blue-dark);
    font-weight: 700;
}

/* Static & Subpage Golden Underline Indicator */
.public-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.65rem;
    right: 0.65rem;
    height: 3px;
    background: var(--mfk-gold);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(242, 183, 5, 0.55);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease;
    pointer-events: none;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .public-navbar .nav-link::after {
        left: 0.45rem;
        right: 0.45rem;
    }
}

.public-navbar .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Sliding Golden Glider Indicator for Desktop */
.public-navbar.has-glider .nav-link::after {
    opacity: 0 !important;
    visibility: hidden;
}

.public-navbar .nav-indicator-glider {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--mfk-gold);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(242, 183, 5, 0.65);
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
    opacity: 0;
    z-index: 2;
    transform: translateX(0);
    width: 0;
}

.navbar-actions {
    flex-shrink: 0 !important;
}

.btn-login-admin {
    background: linear-gradient(135deg, #F2B705 0%, #E5A800 100%);
    color: #081B45;
    border: 1px solid rgba(242, 183, 5, 0.5);
    font-weight: 700;
    border-radius: 8px;
    padding: 0.4rem 1.05rem;
    font-size: 0.835rem;
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(242, 183, 5, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.btn-login-admin:hover {
    background: #FFD233;
    border-color: #FFD233;
    color: #081B45;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(242, 183, 5, 0.45);
}

/* Tablet Responsiveness */
@media (max-width: 991.98px) {
    .public-header {
        padding: 5px 0;
    }

    .public-navbar .container {
        flex-wrap: wrap;
    }

    .brand-logos {
        gap: 10px;
    }

    .brand-logos img.logo-kab {
        height: 44px;
    }

    .brand-logos img.logo-app {
        height: 48px;
    }

    .public-navbar .navbar-collapse {
        width: 100%;
        order: 3;
        flex-basis: 100%;
        background: #FFFFFF;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(220, 227, 238, 0.9);
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 20px 45px rgba(11, 42, 107, 0.12);
    }

    .public-navbar .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        width: 100%;
    }

    .public-navbar .nav-link {
        color: #1E293B;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        font-size: 0.925rem;
        font-weight: 500;
        transition: all 0.2s ease;
        display: block;
        width: 100%;
    }

    .public-navbar .nav-link:hover {
        background: #F1F5F9;
        color: var(--mfk-blue);
    }

    .public-navbar .nav-link.active {
        color: var(--mfk-blue-dark) !important;
        background: rgba(12, 84, 180, 0.08) !important;
        font-weight: 700 !important;
        border-left: 4px solid var(--mfk-gold) !important;
        border-radius: 4px 10px 10px 4px !important;
        padding-left: calc(1rem - 4px) !important;
    }

    .public-navbar .nav-link::after,
    .public-navbar .nav-indicator-glider {
        display: none !important;
    }
}

/* Mobile-First Standard (max-width: 575.98px) */
@media (max-width: 575.98px) {
    .public-header {
        padding: 4px 0;
    }

    .brand-logos {
        gap: 8px;
    }

    .brand-logos img.logo-kab {
        height: 40px;
    }

    .brand-logos img.logo-app {
        height: 44px;
        max-width: calc(100vw - 120px);
    }

    .public-navbar .navbar-toggler {
        padding: 3px;
    }

    .public-navbar .navbar-toggler i {
        font-size: 1.75rem !important;
    }
}

/* Ultra-Compact Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .public-header {
        padding: 3px 0;
    }

    .brand-logos {
        gap: 6px;
    }

    .brand-logos img.logo-kab {
        height: 35px;
    }

    .brand-logos img.logo-app {
        height: 38px;
        max-width: calc(100vw - 105px);
    }
}

/* ==========================================================================
   Expandable Search Bar (PROSPERUM Pill Rounded with Smooth Transition)
   ========================================================================== */
.expandable-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.expandable-search-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    height: 38px;
    width: 38px;
    border-radius: 9999px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(11, 42, 107, 0.04);
}

.expandable-search-bar:hover:not(.is-open) {
    background: #FFFFFF;
    border-color: var(--mfk-blue);
    box-shadow: 0 4px 14px rgba(12, 84, 180, 0.15);
}

.expandable-search-bar:hover:not(.is-open) .expandable-search-btn {
    color: var(--mfk-blue);
}

.expandable-search-bar.is-open {
    width: 175px;
    background: #FFFFFF;
    border-color: var(--mfk-blue);
    box-shadow: 0 8px 24px rgba(11, 42, 107, 0.12), 0 0 0 1px rgba(12, 84, 180, 0.15);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .expandable-search-bar.is-open {
        width: 145px;
    }
}

@media (min-width: 1366px) {
    .expandable-search-bar.is-open {
        width: 195px;
    }
}

.expandable-search-input {
    flex-grow: 1;
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
    font-family: var(--mfk-font-sans);
    color: #1B2433;
    font-weight: 500;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.expandable-search-bar.is-open .expandable-search-input {
    width: 100%;
    opacity: 1;
    padding: 0.35rem 0.3rem 0.35rem 1rem;
    pointer-events: auto;
}

.expandable-search-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.expandable-search-clear {
    border: none;
    background: transparent;
    color: #94A3B8;
    cursor: pointer;
    padding: 0 4px;
    font-size: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.expandable-search-clear:hover {
    color: #1B2433;
}

.expandable-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #0B2A6B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 4px;
    margin-left: 2px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* On open: transforms to solid navy circle with white icon */
.expandable-search-bar.is-open .expandable-search-btn {
    background: var(--mfk-blue-dark);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(11, 42, 107, 0.25);
}

.expandable-search-bar.is-open .expandable-search-btn:hover {
    background: var(--mfk-gold);
    color: #081B45;
    transform: scale(1.06);
}

/* Live Search Suggestions Dropdown */
.search-live-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    max-width: 90vw;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(11, 42, 107, 0.18), 0 0 0 1px rgba(220, 227, 238, 0.8);
    z-index: 1070;
    overflow: hidden;
    animation: searchDropdownFade 0.2s ease;
}

@keyframes searchDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header-sm {
    padding: 10px 14px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    background: #F8FAFD;
    border-bottom: 1px solid #EDF2F7;
}

.dropdown-results-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #1B2433;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.15s ease;
}

.search-result-item:hover,
.search-result-item.active {
    background-color: #F1F5F9;
    color: var(--mfk-blue);
}

.search-result-item .item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #EBF2FD;
    color: var(--mfk-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-result-item .item-title {
    font-weight: 600;
    line-height: 1.25;
    display: block;
    color: #1B2433;
}

.search-result-item .item-category {
    font-size: 0.72rem;
    color: #64748B;
}

.dropdown-footer-sm {
    padding: 8px 14px;
    background: #F8FAFD;
    border-top: 1px solid #EDF2F7;
    font-size: 0.75rem;
    text-align: center;
}

.dropdown-footer-sm kbd {
    background: #E2E8F0;
    color: #1B2433;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Mobile Responsiveness for Search Bar */
@media (max-width: 991.98px) {
    .expandable-search-wrapper.mobile-expanded {
        position: absolute;
        top: 50%;
        left: 14px;
        right: 14px;
        transform: translateY(-50%);
        z-index: 1060;
        width: auto;
    }

    .expandable-search-wrapper.mobile-expanded .expandable-search-bar.is-open {
        width: 100%;
        height: 44px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 0 1000px rgba(8, 26, 68, 0.55);
    }

    .search-live-dropdown {
        width: 100%;
        right: 0;
        left: 0;
    }
}

/* ==========================================================================
/* ==========================================================================
   Hero Section — Professional Visual Animated Hero (MUFAKAT Identity)
   Layout: Centered Hero, Natural Composition, Image Backdrop with Blue Overlay
   ========================================================================== */
.hero-prosperum-section {
    position: relative;
    min-height: 82vh;
    padding-top: calc(var(--mfk-header-h, 64px) + 3.25rem);
    padding-bottom: 7.25rem;
    background-color: #071E4A;
    background: linear-gradient(180deg, #061B42 0%, #08265E 50%, #051A42 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Media & Professional Overlay */
.hero-backdrop-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.38;
    filter: brightness(0.92) contrast(1.04);
    animation: heroBackdropEnter 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-backdrop-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 65% at 50% 40%, rgba(12, 84, 180, 0.30) 0%, transparent 75%),
        linear-gradient(180deg, rgba(6, 27, 66, 0.86) 0%, rgba(8, 38, 94, 0.72) 45%, rgba(5, 23, 58, 0.94) 100%);
}

@keyframes heroBackdropEnter {
    0% {
        opacity: 0;
        transform: scale(1.035);
        filter: brightness(0.85) contrast(1.02) blur(3px);
    }
    100% {
        opacity: 0.38;
        transform: scale(1);
        filter: brightness(0.92) contrast(1.04) blur(0);
    }
}

/* Subtle, Soft Divider Line Between Hero and Body */
.hero-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(0, 130, 250, 0) 0%,
            rgba(241, 245, 250, 0.18) 25%,
            rgba(240, 184, 36, 0.35) 50%,
            rgba(241, 245, 250, 0.18) 75%,
            rgba(0, 130, 250, 0) 100%);
    z-index: 4;
    pointer-events: none;
}

.hero-content-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-centered-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Teks Kecil di Atas ("SELAMAT DATANG DI" - Mepet ke MUFAKAT, Bersih & Elegan) */
.hero-lead-kicker {
    font-family: var(--mfk-font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(241, 245, 250, 0.92);
    margin: 0 0 0.25rem 0;
    text-shadow: 0 1px 4px rgba(2, 10, 30, 0.65);
    animation: heroCinematicFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

/* 2. Judul Utama Besar ("MUFAKAT" - Putih Kristal / Biru Es Sangat Terang dengan Depth & Soft Glow) */
.hero-title-mufakat {
    font-family: var(--mfk-font-heading);
    font-size: clamp(3.2rem, 8.8vw, 6.35rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 1.15rem 0;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFFFFF 25%, #EBF4FF 70%, #D4E8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 2px 3px rgba(3, 14, 42, 0.85))
        drop-shadow(0 8px 18px rgba(0, 130, 250, 0.26))
        drop-shadow(0 16px 36px rgba(1, 51, 138, 0.35));
    animation: heroCinematicFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
    user-select: none;
}

/* 3. Subjudul di Bawah MUFAKAT (Lebih Jelas, Tegas, Hidup dengan Shadow Halus) */
.hero-subtitle-lead {
    font-family: var(--mfk-font-heading);
    font-size: clamp(1.12rem, 2.35vw, 1.45rem);
    font-weight: 500;
    line-height: 1.45;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin: 0 auto 0.85rem auto;
    text-shadow: 0 2px 8px rgba(3, 14, 42, 0.8), 0 0 18px rgba(12, 84, 180, 0.22);
    animation: heroCinematicFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

/* 4. Slogan Kecil ("Merajut Kebersamaan, Menguatkan Persatuan" - Aksen Emas Elegan & Halus) */
.hero-slogan-wrap {
    margin-bottom: 2.25rem;
    animation: heroCinematicFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.hero-slogan-text {
    font-family: var(--mfk-font-sans);
    font-size: clamp(0.94rem, 1.7vw, 1.1rem);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #F2C138;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-shadow: 0 1px 6px rgba(2, 10, 32, 0.6), 0 0 14px rgba(242, 193, 56, 0.22);
}

.hero-slogan-text::before,
.hero-slogan-text::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 193, 56, 0.65));
}

.hero-slogan-text::after {
    background: linear-gradient(90deg, rgba(242, 193, 56, 0.65), transparent);
}

/* 5. Tombol Aksi Hero (Centered CTA - Emas Hangat & Glass Halus) */
.hero-cta-group {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
    align-items: center;
    animation: heroCinematicFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.60s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #F0B824 0%, #D4900A 100%);
    color: #061B42;
    font-family: var(--mfk-font-sans);
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.82rem 2.2rem;
    font-size: 0.95rem;
    border: 1px solid rgba(240, 184, 36, 0.5);
    box-shadow: 0 6px 20px rgba(212, 144, 10, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #F8C33E 0%, #DF9B14 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(212, 144, 10, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    color: #061B42;
}

.btn-hero-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-family: var(--mfk-font-sans);
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.82rem 2rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-glass:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 130, 250, 0.28);
}

/* Smooth Cinematic Entrance (Fade-in + Subtle Translate + Blur-to-Clear) */
@keyframes heroCinematicFadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Respect Prefers-Reduced-Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-backdrop-img,
    .hero-lead-kicker,
    .hero-title-mufakat,
    .hero-subtitle-lead,
    .hero-slogan-wrap,
    .hero-cta-group {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    .hero-prosperum-section {
        min-height: auto;
        padding-top: calc(var(--mfk-header-h, 58px) + 2.75rem);
        padding-bottom: 6.5rem;
    }

    .hero-lead-kicker {
        margin-bottom: 0.2rem;
    }

    .hero-title-mufakat {
        font-size: clamp(2.7rem, 10vw, 4.4rem);
        margin-bottom: 0.95rem;
    }

    .hero-subtitle-lead {
        font-size: clamp(1.05rem, 3vw, 1.28rem);
    }

    .overlapping-cards-wrap {
        margin-top: -3.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-prosperum-section {
        padding-top: calc(var(--mfk-header-h, 53px) + 2.25rem);
        padding-bottom: 5.5rem;
    }

    .hero-backdrop-img {
        object-position: center 25%;
        opacity: 0.32;
    }

    .hero-lead-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.15rem;
    }

    .hero-title-mufakat {
        font-size: clamp(2.4rem, 12.5vw, 3.35rem);
        letter-spacing: -0.02em;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle-lead {
        font-size: 0.98rem;
        line-height: 1.45;
        padding: 0 0.5rem;
        margin-bottom: 0.65rem;
    }

    .hero-slogan-wrap {
        margin-bottom: 1.75rem;
    }

    .hero-slogan-text {
        font-size: 0.85rem;
        gap: 0.45rem;
    }

    .hero-slogan-text::before,
    .hero-slogan-text::after {
        width: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-glass {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .overlapping-cards-wrap {
        margin-top: -2.5rem;
    }
}

/* ==========================================================================
   Overlapping Cards Section (PROSPERUM Concept)
   ========================================================================== */
.overlapping-cards-wrap {
    margin-top: -4.5rem;
    position: relative;
    z-index: 25;
    margin-bottom: 3.5rem;
}

.prosperum-stat-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(220, 227, 238, 0.8);
    box-shadow: 0 20px 45px -15px rgba(11, 42, 107, 0.1), 0 0 0 1px rgba(220, 227, 238, 0.45);
    padding: 1.85rem 1.6rem 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.prosperum-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.prosperum-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(11, 42, 107, 0.18), 0 0 0 1px rgba(12, 84, 180, 0.28);
    border-color: rgba(12, 84, 180, 0.25);
}

.prosperum-stat-card:hover::before {
    background: var(--mfk-gold);
}

.stat-icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.tile-blue {
    background: #EBF2FD;
    color: #0C54B4;
}

.tile-green {
    background: #E8F5EE;
    color: #0C6C3C;
}

.tile-gold {
    background: #FEF8E6;
    color: #B38600;
}

.tile-cyan {
    background: #E0F2FE;
    color: #0284C7;
}

.stat-value-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1B2433;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-badge-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0C54B4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
}

.stat-desc-text {
    font-size: 0.875rem;
    color: #5B6678;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.stat-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    background: #F4F7FB;
    border: 1px solid #DCE3EE;
    color: #1B2433;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.stat-card-btn i {
    transition: transform 0.2s ease;
}

.stat-card-btn:hover,
.prosperum-stat-card:hover .stat-card-btn {
    background: var(--mfk-gold);
    border-color: var(--mfk-gold);
    color: #1B2433;
    box-shadow: 0 4px 15px rgba(242, 183, 5, 0.3);
}

.stat-card-btn:hover i,
.prosperum-stat-card:hover .stat-card-btn i {
    transform: translateX(4px);
}


/* Section Common Styling */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--mfk-radius-full);
    background: var(--mfk-blue-light);
    color: var(--mfk-blue);
    font-size: 0.78125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--mfk-font-heading);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--mfk-blue-dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--mfk-text-muted);
    font-size: 1rem;
    max-width: 650px;
}

/* ==========================================================================
   Section: Profil Lembaga (2-Column Modern Reference Design)
   Ref: Layered Photo Collage (Left) & Elegant Content Presentation (Right)
   ========================================================================== */
.section-profil-modern {
    padding: 6.5rem 0 5.5rem;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Sisi Kiri: Layered Photo Collage */
.profile-media-stack {
    position: relative;
    padding-right: 1.5rem;
    padding-bottom: 2.5rem;
}

.profile-img-primary-wrap {
    position: relative;
    width: 86%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -12px rgba(11, 42, 107, 0.14), 0 0 0 1px rgba(220, 227, 238, 0.6);
    background: #0B2A6B;
}

.profile-img-primary {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-img-primary-wrap:hover .profile-img-primary {
    transform: scale(1.04);
}

/* Card Aksen Dekoratif Melayang (Ref: 25+ Years Experience -> 14+ Paguyuban Etnis) */
.profile-accent-badge {
    position: absolute;
    top: 35px;
    right: 0;
    z-index: 10;
    background: linear-gradient(135deg, #0C6C3C 0%, #084E2A 100%);
    color: #FFFFFF;
    padding: 1.35rem 1.5rem;
    border-radius: 22px 22px 22px 4px;
    box-shadow: 0 18px 40px -8px rgba(12, 108, 60, 0.45);
    border: 3.5px solid #FFFFFF;
    min-width: 175px;
    text-align: left;
    transition: all 0.3s ease;
}

.profile-accent-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 48px -8px rgba(12, 108, 60, 0.55);
}

.profile-accent-badge .badge-accent-val {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
    color: #FFFFFF;
    font-family: var(--mfk-font-sans);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.profile-accent-badge .badge-accent-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F2B705;
    line-height: 1.25;
}

.profile-accent-badge .badge-accent-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
    margin-top: 3px;
}

/* Foto Pendukung Overlapping */
.profile-img-secondary-wrap {
    position: relative;
    width: 68%;
    margin-top: -115px;
    margin-left: auto;
    border-radius: 24px;
    overflow: hidden;
    border: 6px solid #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(11, 42, 107, 0.22);
    z-index: 8;
    background: #0B2A6B;
}

.profile-img-secondary {
    width: 100%;
    height: 255px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-img-secondary-wrap:hover .profile-img-secondary {
    transform: scale(1.05);
}

/* Subtle background ambient glow behind photos */
.profile-media-stack::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(12, 108, 60, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.profile-media-stack::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 15px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(11, 42, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Sisi Kanan: Konten Teks */
.profile-content-wrap {
    padding-left: 1.25rem;
}

.profile-kicker {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mfk-green);
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-main-title {
    font-family: var(--mfk-font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1.35rem;
}

.profile-title-highlight {
    font-style: italic;
    font-weight: 600;
    color: var(--mfk-blue-dark);
}

.profile-lead-text {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.profile-legal-text {
    font-size: 0.9375rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* Dua Card Mini: Wawasan Kebangsaan & Kerukunan Sosial */
.profile-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.profile-feature-card {
    display: flex;
    gap: 14px;
    padding: 1.15rem;
    background: #F8FAFD;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-feature-card:hover {
    background: #FFFFFF;
    border-color: rgba(12, 84, 180, 0.35);
    box-shadow: 0 10px 24px -6px rgba(11, 42, 107, 0.08);
    transform: translateY(-2px);
}

.feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.badge-blue {
    background: #EBF2FD;
    color: #0C54B4;
}

.badge-green {
    background: #E8F5EE;
    color: #0C6C3C;
}

.profile-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.profile-feature-card p {
    font-size: 0.8125rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* Poin Struktur & Tata Kelola FPK */
.profile-checklist-section {
    margin-bottom: 2rem;
    padding-top: 0.25rem;
}

.checklist-heading {
    font-size: 0.825rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.25rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.45;
}

.checklist-item i {
    font-size: 1.05rem;
    color: var(--mfk-green);
    flex-shrink: 0;
    margin-top: 1px;
}

.checklist-item strong {
    color: #1E293B;
}

/* Tombol CTA Pill (Ref: "GET A QUOTE ->") */
.profile-action-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0C6C3C 0%, #09532E 100%);
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.85rem 2.15rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(12, 108, 60, 0.42);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-profile-pill:hover {
    background: linear-gradient(135deg, #0E7B45 0%, #0C6C3C 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(12, 108, 60, 0.55);
}

.btn-profile-pill i {
    transition: transform 0.2s ease;
}

.btn-profile-pill:hover i {
    transform: translateX(4px);
}

.btn-profile-link {
    color: #0C54B4;
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-profile-link:hover {
    color: #0B2A6B;
    transform: translateX(2px);
}

/* Responsivitas Media Queries */
@media (max-width: 991.98px) {
    .section-profil-modern {
        padding: 4.5rem 0;
    }

    .profile-media-stack {
        padding-right: 0;
        margin-bottom: 3.5rem;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile-content-wrap {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .section-profil-modern {
        padding: 3.75rem 0;
    }

    .profile-cards-row {
        grid-template-columns: 1fr;
    }

    .profile-checklist-grid {
        grid-template-columns: 1fr;
    }

    .profile-accent-badge {
        top: 20px;
        min-width: 145px;
        padding: 0.9rem 1.15rem;
    }

    .profile-accent-badge .badge-accent-val {
        font-size: 1.65rem;
    }

    .profile-img-primary {
        height: 260px;
    }

    .profile-img-secondary {
        height: 190px;
    }

    .profile-img-secondary-wrap {
        margin-top: -75px;
        width: 76%;
    }

    .btn-profile-pill {
        width: 100%;
        justify-content: center;
    }

    .profile-action-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-profile-link {
        justify-content: center;
    }
}

/* ==========================================================================
   Modern Scoop Card Design (Compact, Proportional, & Harmonious with MUFAKAT)
   ========================================================================== */
.mfk-modern-card,
.activity-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #0A225C 0%, #06173B 100%);
    text-decoration: none !important;
    box-shadow: 0 6px 18px -4px rgba(11, 42, 107, 0.12), 0 0 0 1px rgba(220, 227, 238, 0.35);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    min-height: 295px;
    cursor: pointer;
}

.mfk-modern-card:hover,
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -6px rgba(11, 42, 107, 0.2), 0 0 0 1px rgba(12, 84, 180, 0.35);
}

/* Card Media / Image Area (Compact Hero Photo) */
.mfk-card-media,
.activity-img-wrapper {
    position: relative;
    height: 152px;
    width: 100%;
    overflow: hidden;
    background: #0B2A6B;
    flex-shrink: 0;
}

.mfk-card-media img,
.activity-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.mfk-modern-card:hover .mfk-card-media img,
.activity-card:hover .activity-img-wrapper img {
    transform: scale(1.06);
}

/* Badges on Media */
.mfk-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.mfk-badge-category {
    background: rgba(8, 26, 68, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.675rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.status-badge {
    font-size: 0.675rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
}

/* Card Info / Bottom Container */
.mfk-card-info-wrap,
.activity-body {
    position: relative;
    background: transparent;
    color: #FFFFFF;
    padding: 0.9rem 1rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mfk-card-date-meta,
.activity-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mfk-gold);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.25rem;
}

.mfk-card-title,
.activity-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: #FFFFFF !important;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    padding-right: 42px;
    /* Leave breathing room for scoop notch */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.activity-title a {
    color: #FFFFFF !important;
    text-decoration: none;
}

.mfk-card-desc,
.activity-desc {
    font-size: 0.76rem;
    color: rgba(220, 227, 238, 0.82) !important;
    line-height: 1.45;
    margin-bottom: 0;
    padding-right: 44px;
    /* Do not overlap the scoop button */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    display: none;
}

/* The Scoop / Cutout Notch at Bottom-Right Corner (Scaled Down & Proportional) */
.mfk-card-notch {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: var(--mfk-notch-bg, #F4F7FB);
    border-top-left-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.25s ease;
}

/* Inverted Concave Curve Top of Notch */
.mfk-card-notch::before {
    content: '';
    position: absolute;
    top: -14px;
    right: 0;
    width: 14px;
    height: 14px;
    background: transparent;
    border-bottom-right-radius: 14px;
    box-shadow: 4px 4px 0 0 #06173B;
    pointer-events: none;
}

/* Inverted Concave Curve Left of Notch */
.mfk-card-notch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -14px;
    width: 14px;
    height: 14px;
    background: transparent;
    border-bottom-right-radius: 14px;
    box-shadow: 4px 4px 0 0 #06173B;
    pointer-events: none;
}

/* Circular Action Button with Arrow inside Scoop Notch */
.mfk-card-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mfk-gold);
    color: #081B45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(242, 183, 5, 0.4);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfk-modern-card:hover .mfk-card-btn,
.activity-card:hover .mfk-card-btn {
    transform: scale(1.08);
    background: #FFD233;
    color: #000;
    box-shadow: 0 5px 14px rgba(242, 183, 5, 0.5);
}

.mfk-card-btn i {
    transition: transform 0.25s ease;
}

.mfk-modern-card:hover .mfk-card-btn i,
.activity-card:hover .mfk-card-btn i {
    transform: translateX(2px);
}

/* Card in White Background Sections (Notch color adaptation) */
.bg-white .mfk-card-notch,
.section-white .mfk-card-notch {
    background: #FFFFFF;
}

/* ==========================================================================
   Horizontal Card Carousel Component (Responsive 4-Cards on Desktop)
   ========================================================================== */
.mfk-card-carousel {
    position: relative;
    width: 100%;
}

.mfk-carousel-track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 4px 14px;
    margin: -6px -4px -14px;
}

.mfk-carousel-track-wrap::-webkit-scrollbar {
    display: none;
}

.mfk-carousel-track {
    display: flex;
    gap: 1.15rem;
}

.mfk-carousel-item {
    flex: 0 0 calc((100% - 3.45rem) / 4);
    /* 4 compact cards on desktop >= 1200px */
    min-width: 250px;
    scroll-snap-align: start;
}

@media (max-width: 1199.98px) {
    .mfk-carousel-item {
        flex: 0 0 calc((100% - 2.3rem) / 3);
        /* 3 cards on laptop */
        min-width: 240px;
    }
}

@media (max-width: 991.98px) {
    .mfk-carousel-item {
        flex: 0 0 calc((100% - 1.15rem) / 2);
        /* 2 cards on tablet */
        min-width: 230px;
    }
}

@media (max-width: 575.98px) {
    .mfk-carousel-item {
        flex: 0 0 82%;
        /* 1 card visible on mobile with preview peek */
        min-width: 220px;
    }
}

/* Carousel Footer Controls & Indicator Dots */
.mfk-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.25rem;
}

.mfk-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfk-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfk-carousel-dot.active {
    background: #0C54B4;
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(12, 84, 180, 0.35);
}

.mfk-carousel-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #DCE3EE;
    color: #0B2A6B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11, 42, 107, 0.08);
    transition: all 0.25s ease;
}

.mfk-carousel-arrow:hover {
    background: var(--mfk-gold);
    color: #0B2A6B;
    border-color: var(--mfk-gold);
    transform: scale(1.06);
}

.mfk-carousel-arrow:hover {
    background: var(--mfk-gold);
    color: #0B2A6B;
    border-color: var(--mfk-gold);
    transform: scale(1.08);
}

/* Forum Table & Paguyuban */
.forum-box {
    background: var(--mfk-surface);
    border: 1px solid var(--mfk-border);
    border-radius: var(--mfk-radius-md);
    box-shadow: var(--mfk-shadow-sm);
    overflow: hidden;
}

.forum-table-toolbar {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--mfk-border);
    background: #FAFCFE;
}

.mfk-table {
    margin-bottom: 0;
    width: 100%;
}

.mfk-table th {
    background: #F4F7FB;
    color: var(--mfk-text);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.9rem 1.25rem;
    border-bottom: 2px solid var(--mfk-border);
    white-space: nowrap;
}

.mfk-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--mfk-border);
}

.mfk-table tbody tr:hover {
    background-color: #F8FAFD;
}

.paguyuban-pill {
    display: inline-block;
    padding: 3px 10px;
    background: #F0F4F9;
    color: #2D3748;
    border-radius: var(--mfk-radius-full);
    font-size: 0.78125rem;
    font-weight: 500;
    border: 1px solid #E2E8F0;
}

/* Composition Chart Bar */
.composition-widget {
    background: var(--mfk-surface);
    border: 1px solid var(--mfk-border);
    border-radius: var(--mfk-radius-md);
    padding: 1.5rem;
    box-shadow: var(--mfk-shadow-sm);
}

.comp-bar-container {
    height: 18px;
    display: flex;
    border-radius: 9px;
    overflow: hidden;
    margin: 1rem 0;
    background: #E2E8F0;
}

.comp-segment {
    height: 100%;
    transition: width 0.4s ease;
}

/* Gallery Grid & Lightbox */
.gallery-card {
    position: relative;
    border-radius: var(--mfk-radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--mfk-shadow-sm);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 42, 107, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #FFFFFF;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.gallery-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #FFFFFF;
}

.gallery-sub {
    font-size: 0.78125rem;
    color: var(--mfk-gold);
}

/* ==========================================================================
   Budget Transparency Dashboard (Ref: Gambar 1 UI & Gambar 2 Data)
   Modern, Clean, Elegant, Executive Dashboard Theme with Full Responsiveness
   ========================================================================== */
.budget-dashboard-section {
    background-color: #F4F7FB;
    padding: 5.5rem 0 6rem;
    position: relative;
}

.budget-dashboard-section.budget-detail-page {
    padding-top: var(--mfk-subpage-spacing);
    padding-bottom: 5rem;
    min-height: calc(100vh - var(--mfk-header-h));
}

.budget-breadcrumb-wrap {
    margin-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
    .budget-breadcrumb-wrap {
        margin-bottom: 0.85rem;
    }
}

.budget-breadcrumb-wrap .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

.budget-breadcrumb-wrap .breadcrumb-item a {
    color: #0C54B4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.budget-breadcrumb-wrap .breadcrumb-item a:hover {
    color: #061B48;
    text-decoration: underline;
}

.budget-breadcrumb-wrap .breadcrumb-item.active {
    color: #64748B;
    font-weight: 600;
}

/* Beranda Specific Budget Summary Section & CTA Card */
.budget-beranda-summary-section {
    position: relative;
}

.budget-beranda-cta-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem 1.85rem;
    box-shadow: 0 4px 18px -4px rgba(11, 42, 107, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.budget-beranda-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -4px rgba(11, 42, 107, 0.09);
    border-color: rgba(12, 84, 180, 0.28);
}

.budget-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EBF3FC;
    color: #0C54B4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.budget-cta-title {
    font-size: 1.025rem;
    font-weight: 700;
    color: #0F172A;
}

.budget-cta-desc {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.45;
}

/* Header Banner (Ref: Gambar 1 - Deep Blue Banner with Pattern & Source Dropdown) */
.budget-dashboard-header {
    background: linear-gradient(135deg, #061B48 0%, #0A2F77 50%, #08225C 100%);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    position: relative;
    overflow: visible;
    color: #FFFFFF;
    box-shadow: 0 16px 36px -10px rgba(11, 42, 107, 0.22);
    margin-bottom: 2rem;
}

/* Decorative Watermark & Motif */
.budget-banner-pattern-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    background-image: radial-gradient(circle at 20% 50%, rgba(242, 183, 5, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 60% 80%, rgba(12, 108, 60, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.budget-banner-pattern-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 380px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.budget-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.budget-banner-title {
    font-family: var(--mfk-font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.budget-banner-desc {
    color: rgba(220, 227, 238, 0.90);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 0;
}

/* Source Dana Card (Top Right in Gambar 1) */
.budget-source-card {
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1050;
}

.source-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.source-card-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #1E293B;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-decoration: none;
    border: none;
}

.source-card-pill:hover,
.source-card-pill:focus {
    background: #FFFFFF;
    color: #1E293B;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.source-card-pill.dropdown-toggle::after {
    display: none !important;
}

.source-card-text {
    font-weight: 700;
    font-size: 0.875rem;
    color: #0F172A;
}

.budget-source-card .dropdown-menu {
    border-radius: 16px;
    padding: 0.6rem;
    min-width: 290px;
    box-shadow: 0 16px 36px -4px rgba(11, 42, 107, 0.25), 0 0 1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1060;
    transform-origin: top right;
}

.budget-source-card .dropdown-menu.show {
    animation: budgetDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes budgetDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.budget-source-card .dropdown-item {
    border-radius: 10px;
    transition: all 0.15s ease-in-out;
}

.budget-source-card .dropdown-item:hover {
    background-color: #F1F5F9;
    transform: translateX(2px);
}

.budget-source-card .dropdown-item.active {
    background-color: #0C54B4;
    color: #FFFFFF;
}

/* Empty State Card (Ketika Data Tahun Tertentu Belum Tersedia) */
.budget-empty-state-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px -4px rgba(11, 42, 107, 0.06);
    padding: 3rem 1.5rem;
}

.budget-empty-state-card .empty-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(12, 84, 180, 0.08);
    color: #0C54B4;
}

.budget-empty-state-card .empty-icon-wrapper i {
    font-size: 42px;
}

.budget-empty-state-card .empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F172A;
}

.budget-empty-state-card .empty-desc {
    max-width: 540px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 4 Summary Stat Cards (Ref: Gambar 1) */
.budget-summary-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px -4px rgba(11, 42, 107, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.25s ease;
}

.budget-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(11, 42, 107, 0.10);
    border-color: rgba(12, 84, 180, 0.28);
}

.budget-summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
}

.icon-pagu {
    background: #EBF3FF;
    color: #1E60D5;
}

.icon-realisasi {
    background: #E8F8F0;
    color: #10B981;
}

.icon-sisa {
    background: #FFF4E5;
    color: #F59E0B;
}

.icon-kegiatan {
    background: #F3E8FF;
    color: #8B5CF6;
}

.budget-summary-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 3px;
}

.budget-summary-val {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 3px;
    font-feature-settings: 'tnum' 1;
}

.budget-summary-sub {
    font-size: 0.76rem;
    color: #64748B;
    margin: 0;
}

.text-warning-dark {
    color: #D97706 !important;
}

/* Card Progress Bar Serapan (Ref: Gambar 1) */
.budget-progress-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem 1.85rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px -4px rgba(11, 42, 107, 0.05);
    margin-bottom: 1.75rem;
}

.budget-progress-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}

.budget-progress-pct {
    font-size: 1.65rem;
    font-weight: 800;
    color: #10B981;
    line-height: 1;
    font-feature-settings: 'tnum' 1;
}

.progress-main-track {
    height: 14px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0.95rem 0 0.8rem;
}

.progress-main-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981 0%, #22C55E 70%, #84CC16 100%);
    border-radius: 9999px;
    transition: width 0.8s ease;
}

/* Card Tabel Rincian Pemanfaatan Dana Hibah (Ref: Gambar 1 & Gambar 2) */
.budget-table-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 22px -4px rgba(11, 42, 107, 0.06);
    overflow: hidden;
}

.budget-table-header-bar {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    flex-wrap: wrap;
    gap: 1rem;
}

.budget-table-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.btn-unduh-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EBF3FC;
    color: #0C54B4;
    border: 1px solid rgba(12, 84, 180, 0.22);
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-unduh-pdf:hover {
    background: #0C54B4;
    color: #FFFFFF;
    border-color: #0C54B4;
    box-shadow: 0 4px 12px rgba(12, 84, 180, 0.25);
    transform: translateY(-1px);
}

/* Modern Budget Table */
.budget-modern-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.budget-modern-table thead th {
    background: #F0F5FA;
    color: #475569;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.95rem 1.15rem;
    border-top: none;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
    line-height: 1.35;
}

.budget-modern-table tbody td {
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid #F1F5F9;
    color: #1E293B;
    font-size: 0.875rem;
    vertical-align: middle;
}

/* Parent Rows */
.budget-modern-table tbody tr.parent-row {
    background: #FFFFFF;
    transition: background-color 0.2s ease;
}

.budget-modern-table tbody tr.parent-row:hover {
    background: #F8FAFD;
}

.budget-modern-table tbody tr.talkshow-parent-row {
    cursor: pointer;
    background: #FDFEFE;
}

.budget-modern-table tbody tr.talkshow-parent-row:hover {
    background: #F1F6FC;
}

.chevron-toggle {
    font-size: 0.85rem;
    color: #0C54B4;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.chevron-toggle:hover {
    transform: scale(1.15);
}

.item-title {
    font-size: 0.875rem;
    color: #0F172A;
    line-height: 1.35;
}

.item-subtitle {
    font-size: 0.76rem;
    margin-top: 2px;
}

/* Numeric alignment */
.font-numeric {
    font-family: var(--mfk-font-sans);
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Sub-rows with dotted tree line (Ref: Gambar 1) */
.budget-modern-table tbody tr.sub-row {
    background: #FBFDFF;
    transition: background-color 0.2s ease;
}

.budget-modern-table tbody tr.sub-row:hover {
    background: #EFF6FD;
}

.tree-branch-cell {
    position: relative;
    padding: 0 !important;
}

.tree-line {
    position: absolute;
    left: 28px;
    top: -14px;
    bottom: 50%;
    width: 14px;
    border-left: 1.5px dashed #CBD5E1;
    border-bottom: 1.5px dashed #CBD5E1;
    border-bottom-left-radius: 4px;
}

.tree-dot {
    position: absolute;
    left: 42px;
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94A3B8;
}

.sub-code {
    font-weight: 700;
    color: #475569;
    margin-right: 2px;
}

/* Progress bar inside table cell */
.table-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-mini-bar {
    height: 8px;
    width: 85px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
}

.table-bar-fill {
    height: 100%;
    border-radius: 9999px;
}

.fill-green {
    background: #10B981;
}

.fill-blue {
    background: #2563EB;
}

.fill-orange {
    background: #F59E0B;
}

.fill-gray {
    background: #CBD5E1;
}

.pct-text {
    font-size: 0.8125rem;
    font-weight: 700;
    font-feature-settings: 'tnum' 1;
}

/* Status Badges (Ref: Gambar 1) */
.status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.775rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.status-badge-modern.status-selesai {
    background: #E8F8F0;
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-modern.status-proses {
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-badge-modern.status-belum {
    background: #FFF7ED;
    color: #EA580C;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

/* Table Footer / Summary Total Row */
.budget-modern-table tfoot td {
    background: #EBF3FC;
    color: #0B2A6B;
    padding: 1.1rem 1.15rem;
    border-top: 2px solid #CBD5E1;
    font-size: 0.95rem;
    vertical-align: middle;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
}

/* Print Styles for Unduh PDF */
@media print {
    body * {
        visibility: hidden;
    }

    #anggaran,
    #anggaran * {
        visibility: visible;
    }

    #anggaran {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        background: #FFFFFF !important;
    }

    .budget-dashboard-header {
        background: #0B2A6B !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: #FFFFFF !important;
    }

    .btn-unduh-pdf {
        display: none !important;
    }

    .budget-subrow {
        display: table-row !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    .budget-dashboard-section {
        padding: 4rem 0 4.5rem;
    }

    .budget-dashboard-header {
        padding: 2rem 1.5rem;
    }

    .budget-summary-card {
        padding: 1.15rem 1rem;
    }

    .budget-summary-val {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .budget-dashboard-header {
        padding: 1.75rem 1.25rem;
    }

    .budget-source-card {
        width: 100%;
    }

    .source-card-pill {
        width: 100%;
        justify-content: space-between;
    }

    .budget-progress-pct {
        font-size: 1.35rem;
    }

    .table-mini-bar {
        width: 50px;
    }
}

/* Lightbox Modal */
.mfk-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 24, 50, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mfk-lightbox.active {
    display: flex;
}

.mfk-lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--mfk-radius-md);
    overflow: hidden;
    position: relative;
    background: #000;
}

.mfk-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain;
}

.mfk-lightbox-caption {
    background: rgba(0, 0, 0, 0.75);
    color: #FFF;
    padding: 12px 18px;
    font-size: 0.9rem;
}

.mfk-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Multi-Photo Album Lightbox with Navigation */
.mfk-album-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 24, 50, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mfk-album-lightbox.active {
    display: flex;
    opacity: 1;
}

.mfk-album-lightbox-inner {
    max-width: 95vw;
    width: 1080px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    background: #0B192C;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    transform: scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfk-album-lightbox.active .mfk-album-lightbox-inner {
    transform: scale(1);
}

.mfk-album-lightbox-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(11, 24, 50, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
}

.mfk-album-info-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.mfk-album-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #94A3B8;
}

.mfk-album-meta-badge .badge {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
}

.mfk-album-title-header {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.mfk-lightbox-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mfk-album-counter-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F172A;
    background: #FDC60F;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(253, 198, 15, 0.3);
}

.mfk-album-lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mfk-album-lightbox-close:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: #FFFFFF;
    transform: scale(1.08);
}

.mfk-album-lightbox-viewport {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 60vh;
    overflow: hidden;
    background: #050B14;
}

.mfk-lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.mfk-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 58vh;
    object-fit: contain;
    user-select: none;
    border-radius: 8px;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.mfk-lightbox-img-wrap img.fading {
    opacity: 0;
    transform: scale(0.98);
}

.mfk-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 24, 50, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.mfk-lightbox-nav:hover {
    background: #0082FA;
    border-color: #0082FA;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 130, 250, 0.45);
}

.mfk-lightbox-prev {
    left: 16px;
}

.mfk-lightbox-next {
    right: 16px;
}

.mfk-album-lightbox-bottom {
    padding: 16px 22px;
    background: rgba(11, 24, 50, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mfk-lightbox-caption-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mfk-lightbox-photo-title {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfk-lightbox-photo-desc {
    color: #CBD5E1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Horizontal thumbnail strip */
.mfk-lightbox-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 4px;
    padding-bottom: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.mfk-lightbox-thumb {
    width: 56px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    opacity: 0.55;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mfk-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfk-lightbox-thumb:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.mfk-lightbox-thumb.active {
    opacity: 1;
    border-color: #FDC60F;
    box-shadow: 0 0 10px rgba(253, 198, 15, 0.5);
    transform: scale(1.05);
}

/* Mobile Responsiveness for Lightbox */
@media (max-width: 767.98px) {
    .mfk-album-lightbox {
        padding: 0;
    }
    .mfk-album-lightbox-inner {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .mfk-album-lightbox-top {
        padding: 10px 14px;
    }
    .mfk-album-title-header {
        font-size: 0.92rem;
    }
    .mfk-album-lightbox-viewport {
        flex: 1;
        max-height: none;
        min-height: 240px;
    }
    .mfk-lightbox-img-wrap img {
        max-height: calc(100vh - 220px);
    }
    .mfk-lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .mfk-lightbox-prev {
        left: 8px;
    }
    .mfk-lightbox-next {
        right: 8px;
    }
    .mfk-album-lightbox-bottom {
        padding: 12px 14px;
        max-height: 160px;
        overflow-y: auto;
    }
    .mfk-lightbox-photo-title {
        font-size: 0.95rem;
    }
    .mfk-lightbox-photo-desc {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Public Footer (Navy-Teal Ocean Gradient with Crisp Organic Top Wave)
   Ref: Smooth Organic Wave Transition, Ocean Navy Palette, Circular Social Buttons
   ========================================================================== */
.public-footer {
    position: relative;
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Wave Shape Container (Physical top of footer - zero straight dividing line) */
.footer-wave-shape {
    position: relative;
    width: 100%;
    height: 110px;
    margin-bottom: -4px;
    /* Seamless overlap to eliminate subpixel gap */
    line-height: 0;
    pointer-events: none;
    z-index: 2;
}

.footer-wave-shape svg {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

.footer-wave-layer-soft {
    opacity: 0.95;
}

.footer-wave-layer-main {
    opacity: 1;
}

/* Footer Content Body (Directly connects to bottom of wave with matching gradient) */
.footer-content-body {
    position: relative;
    background: linear-gradient(180deg, #0B3558 0%, #082845 42%, #051A2E 100%);
    color: #CBD5E1;
    z-index: 1;
    border: none !important;
    border-top: none !important;
}

/* Ambient Radial Glow inside content body */
.footer-content-body::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 72, 112, 0.28) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Footer Main Content */
.footer-main-content {
    position: relative;
    z-index: 3;
    padding-top: 2rem;
    padding-bottom: 3.25rem;
}

.public-footer h5 {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.public-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 28px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--mfk-gold) 0%, #FFD037 100%);
    border-radius: 2px;
}

/* ==========================================================================
   Illuminated Brand Presentation (Clear, bright, premium government branding)
   Ref: Luminous Ambient Aura & High-Contrast Light Plate
   ========================================================================== */
.footer-brand-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.35rem;
}

/* Radiant Ambient Glow behind the logo plate to illuminate the surrounding area */
.footer-brand-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.35) 0%, rgba(255, 255, 255, 0.16) 42%, transparent 75%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
}

/* Crisp Luminous Brand Plate (Ensures logos are bright and highly legible) */
.footer-brand-wrap {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.94) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.3), 0 0 35px rgba(255, 255, 255, 0.35), inset 0 1px 1px rgba(255, 255, 255, 1);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.35), 0 0 45px rgba(255, 255, 255, 0.45);
}

.footer-brand-divider {
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 84, 180, 0.25) 50%, transparent 100%);
}

.footer-brand-wrap img.logo-kab {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(11, 42, 107, 0.12));
    transition: transform 0.25s ease;
}

.footer-brand-wrap img.logo-app {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(11, 42, 107, 0.12));
    transition: transform 0.25s ease;
}

.footer-brand-wrap:hover img {
    transform: scale(1.03);
}

.footer-mandate-text {
    font-size: 0.865rem;
    color: rgba(220, 227, 238, 0.85);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.footer-mandate-text strong {
    color: #FFFFFF;
}

.footer-badge-sk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 183, 5, 0.12);
    border: 1px solid rgba(242, 183, 5, 0.35);
    color: #FFE58F;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.885rem;
    transition: all 0.22s ease;
    padding: 2px 0;
}

.footer-nav-link i {
    font-size: 0.75rem;
    color: #38BDF8;
    transition: transform 0.22s ease, color 0.22s ease;
}

.footer-nav-link:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-nav-link:hover i {
    color: var(--mfk-gold);
    transform: translateX(2px);
}

/* Contact List with Modern Icon Badges */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: #CBD5E1;
}

.footer-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38BDF8;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.footer-icon-badge i {
    color: #38BDF8;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.25s ease;
}

.footer-contact-item:hover .footer-icon-badge {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
    transform: scale(1.05);
}

.footer-contact-item:hover .footer-icon-badge i {
    color: #FFFFFF;
}

.footer-contact-item a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--mfk-gold);
}

/* Bottom Copyright & Social Media Bar (Matching Reference Style) */
.footer-bottom-bar {
    position: relative;
    z-index: 3;
    background: rgba(5, 23, 40, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.85);
}

.footer-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #E2E8F0;
}

/* Circular Social Buttons (Exact Match to Reference Style) */
.footer-social-wrap {
    flex-shrink: 0;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
    background: #0C54B4;
    color: #FFFFFF;
    border-color: #38BDF8;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(12, 84, 180, 0.45);
}

/* Footer Responsive Breakpoints */
@media (max-width: 991.98px) {
    .public-footer {
        margin-top: 0 !important;
    }

    .footer-wave-shape {
        height: 78px;
    }

    .footer-main-content {
        padding-top: 1.75rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .public-footer {
        margin-top: 0 !important;
    }

    .footer-wave-shape {
        height: 54px;
    }

    .footer-brand-container {
        margin-bottom: 1.2rem;
    }

    .footer-brand-wrap {
        padding: 9px 16px;
        gap: 12px;
    }

    .footer-brand-divider {
        height: 30px;
    }

    .footer-brand-wrap img.logo-kab {
        height: 40px;
    }

    .footer-brand-wrap img.logo-app {
        height: 36px;
    }

    .footer-main-content {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .footer-bottom-bar {
        padding: 1.25rem 0;
    }

    .footer-social-wrap {
        width: 100%;
        justify-content: center;
    }
}

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mfk-blue);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(11, 42, 107, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--mfk-gold);
    color: #081736;
    border-color: var(--mfk-gold);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 30px rgba(242, 183, 5, 0.4);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   SUSUNAN FORUM PEMBAURAN KEBANGSAAN (FPK)
   1. BERANDA RINGKASAN EKSEKUTIF (#susunan)
   2. HALAMAN KHUSUS STRUKTUR LENGKAP (/susunan - REF: GAMBAR 1, 2, & 3)
   ========================================================================== */

/* --- 1. BERANDA PREVIEW (#susunan - KONSISTEN DENGAN /susunan) --- */
.forum-quick-stat-pill {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px -3px rgba(11, 42, 107, 0.05);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.forum-quick-stat-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 84, 180, 0.3);
    box-shadow: 0 10px 22px -4px rgba(11, 42, 107, 0.1);
}

.stat-pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-pill-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.stat-pill-lbl {
    font-size: 0.73rem;
    color: #64748B;
    font-weight: 500;
}

/* Mini Komposisi Bar di Beranda (Matching /susunan) */
.mfk-mini-comp-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 4px 16px -4px rgba(11, 42, 107, 0.05);
    transition: all 0.28s ease;
}

.mfk-mini-comp-card:hover {
    border-color: rgba(12, 84, 180, 0.25);
    box-shadow: 0 8px 20px -4px rgba(11, 42, 107, 0.08);
}

.mini-comp-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FEF3C7;
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mini-comp-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.mini-comp-desc {
    font-size: 0.76rem;
    color: #64748B;
}

.mini-comp-bar-wrapper {
    height: 16px;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    margin: 0.75rem 0;
    background: #F1F5F9;
}

.mini-comp-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.mini-comp-segment:hover {
    filter: brightness(1.12);
}

.mini-comp-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.75rem;
    color: #334155;
}

/* Group Headers */
.preview-group-wrap {
    margin-bottom: 2rem;
}

.preview-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #EDF2F7;
}

.preview-group-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-group-subtitle {
    font-size: 0.78rem;
    color: #64748B;
}

/* Card Susunan Mini (Exact Miniature of /susunan Table Cards) */
.mfk-mini-forum-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 16px -4px rgba(11, 42, 107, 0.05);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    overflow: hidden;
}

.mfk-mini-forum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -6px rgba(11, 42, 107, 0.12), 0 0 0 1px rgba(12, 84, 180, 0.2);
    border-color: rgba(12, 84, 180, 0.35);
}

/* Highlight Card for Ketua FPK */
.mfk-mini-forum-card.card-leader-highlight {
    border-color: rgba(12, 84, 180, 0.4);
    box-shadow: 0 6px 20px -4px rgba(12, 84, 180, 0.12);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFD 100%);
}

.mfk-mini-forum-card.card-leader-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0C54B4 0%, #F2B705 100%);
}

/* Top Meta Row (Badge Kategori + No Badge) */
.mini-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mini-card-header .badge-kategori {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 7px;
}

.mini-card-header .no-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Center Avatar & Info */
.mini-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.85rem;
}

.mini-card-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.mfk-mini-forum-card:hover .mini-card-avatar {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.avatar-pembina {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: #F8FAFC;
}

.avatar-ketua {
    background: linear-gradient(135deg, #0C54B4 0%, #1D4ED8 100%);
    color: #FFFFFF;
}

.avatar-wakil {
    background: linear-gradient(135deg, #0C6C3C 0%, #15803D 100%);
    color: #FFFFFF;
}

.avatar-sekretaris {
    background: linear-gradient(135deg, #F2B705 0%, #D97706 100%);
    color: #0F172A;
}

.avatar-bendahara {
    background: linear-gradient(135deg, #7E22CE 0%, #9333EA 100%);
    color: #FFFFFF;
}

.mfk-mini-forum-card .jabatan-forum-text {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0C54B4 !important;
    line-height: 1.25;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.mfk-mini-forum-card .nama-lengkap {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 4px;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mfk-mini-forum-card .jabatan-pokok {
    font-size: 0.74rem;
    color: #64748B;
    line-height: 1.35;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Footer Tag */
.mini-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #E2E8F0;
    display: flex;
    justify-content: center;
}

.mini-card-footer .paguyuban-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Callout Box at bottom of Beranda Susunan */
.forum-preview-callout {
    background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 18px -4px rgba(11, 42, 107, 0.05);
    transition: all 0.28s ease;
}

.forum-preview-callout:hover {
    border-color: rgba(12, 84, 180, 0.3);
    box-shadow: 0 8px 24px -4px rgba(11, 42, 107, 0.08);
}

.callout-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(12, 84, 180, 0.1);
    color: #0C54B4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* --- 2. HALAMAN KHUSUS (/susunan - REF: GAMBAR 1) --- */
.susunan-page-section {
    padding-top: var(--mfk-subpage-spacing);
    padding-bottom: 5rem;
    background-color: #F8FAFC;
    min-height: calc(100vh - var(--mfk-header-h));
}

.susunan-breadcrumb-wrap {
    margin-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
    .susunan-breadcrumb-wrap {
        margin-bottom: 0.85rem;
    }
}

.susunan-breadcrumb-wrap .breadcrumb {
    font-size: 0.85rem;
}

.susunan-breadcrumb-wrap .breadcrumb-item a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.susunan-breadcrumb-wrap .breadcrumb-item a:hover {
    color: var(--mfk-blue);
}

.susunan-breadcrumb-wrap .breadcrumb-item.active {
    color: #0F172A;
    font-weight: 600;
}

/* Banner Header (Ref: Gambar 1) */
.susunan-header-banner {
    position: relative;
    background: linear-gradient(135deg, #071D49 0%, #0B2A6B 45%, #0C54B4 100%);
    border-radius: 24px;
    padding: 2.8rem 2.8rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(11, 42, 107, 0.28);
}

.susunan-banner-pattern-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-image: radial-gradient(rgba(242, 183, 5, 0.15) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.45;
    pointer-events: none;
}

.susunan-banner-pattern-right {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(12, 108, 60, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.susunan-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.susunan-banner-title {
    font-family: var(--mfk-font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.susunan-banner-desc {
    color: rgba(220, 227, 238, 0.90);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 0;
}

.susunan-sk-card {
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.sk-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.sk-card-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: #1E293B;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sk-card-text {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0F172A;
    line-height: 1.2;
}

.sk-card-sub {
    font-size: 0.7rem;
    color: #64748B;
}

/* Bagan Komposisi Etnis Card (Exact Ref: Gambar 1) */
.susunan-composition-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1.65rem 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px -4px rgba(11, 42, 107, 0.06);
}

.comp-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FEF3C7;
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.comp-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.comp-desc {
    font-size: 0.825rem;
    color: #64748B;
}

.comp-badge-total {
    background: #EEF4FF;
    color: #0C54B4;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    font-size: 0.835rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid rgba(12, 84, 180, 0.16);
    box-shadow: 0 2px 6px rgba(12, 84, 180, 0.06);
    transition: all 0.2s ease;
}

.comp-badge-total:hover {
    background: #E0EDFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(12, 84, 180, 0.12);
}

.comp-badge-total .material-symbols-outlined {
    font-size: 19px;
    line-height: 1;
}

.comp-badge-total strong {
    font-weight: 800;
    color: #0B2A6B;
}

/* Multi-Segment Bar */
.comp-bar-wrapper {
    height: 24px;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.comp-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
    transform-origin: bottom center;
}

.comp-segment:hover {
    opacity: 1 !important;
    filter: brightness(1.12);
    transform: scaleY(1.12);
    z-index: 2;
}

.segment-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.comp-legend-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    font-size: 0.8rem;
    color: #334155;
    padding-top: 4px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.legend-item:hover {
    background: #F1F5F9;
    color: #0C54B4;
    transform: translateY(-1px);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.legend-item:hover .legend-dot {
    transform: scale(1.3);
}

/* Card Tabel Direktori Lengkap */
.susunan-table-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 22px -4px rgba(11, 42, 107, 0.06);
    overflow: hidden;
}

.susunan-toolbar {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.toolbar-label {
    font-size: 0.835rem;
    font-weight: 700;
    color: #1E293B;
}

/* Modern Pill Segmented Filter Toolbar */
.susunan-filter-nav {
    display: flex;
    align-items: center;
}

.susunan-filter-pills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
}

.btn-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 50px !important;
    padding: 0.38rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    line-height: 1.3;
}

.btn-filter-pill .pill-icon {
    font-size: 17px;
    line-height: 1;
}

.btn-filter-pill .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: #334155;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    min-width: 22px;
    height: 18px;
    transition: all 0.2s ease;
}

.btn-filter-pill:hover {
    background: #FFFFFF;
    color: #0C54B4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-filter-pill:hover .pill-count {
    background: #EBF3FF;
    color: #0C54B4;
}

/* Active State for Filter Pills */
.btn-filter-pill.active {
    background: #0C54B4;
    color: #FFFFFF;
    border-color: #0C54B4;
    box-shadow: 0 4px 12px rgba(12, 84, 180, 0.28);
}

.btn-filter-pill.active .pill-icon {
    color: #FFFFFF !important;
}

.btn-filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* Special Executive Navy accent for Dewan Pembina when active */
.btn-filter-pill.pill-pembina.active {
    background: #0B2A6B;
    border-color: #0B2A6B;
    box-shadow: 0 4px 12px rgba(11, 42, 107, 0.35);
}

.btn-filter-pill.pill-pembina.active .pill-icon {
    color: var(--mfk-gold) !important;
}

.susunan-perpage-select {
    width: 95px;
    border-radius: 20px;
}

.susunan-search-box {
    min-width: 270px;
}

.susunan-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
    font-size: 0.9rem;
}

.susunan-search-input {
    border-radius: 50px;
    padding-left: 38px;
    padding-right: 36px;
    font-size: 0.85rem;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    transition: all 0.2s ease;
}

.susunan-search-input:focus {
    background: #FFFFFF;
    border-color: #0C54B4;
    box-shadow: 0 0 0 3px rgba(12, 84, 180, 0.12);
}

.btn-clear-search {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    display: flex;
}

.btn-clear-search:hover {
    color: #475569;
}

/* Tabel Styling (Ref: Gambar 1) */
.susunan-table {
    margin-bottom: 0;
}

.susunan-table thead th {
    background: #F8FAFC;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #E2E8F0;
    border-top: none;
    white-space: nowrap;
}

.fs-xs {
    font-size: 0.65rem;
}

.susunan-table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #F1F5F9;
}

.susunan-table tbody tr:hover {
    background-color: #F8FAFC;
}

.susunan-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.no-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F1F5F9;
    color: #475569;
    font-weight: 700;
    font-size: 0.825rem;
    transition: all 0.15s ease;
}

.susunan-table tbody tr:hover .no-badge {
    background: #EBF3FF;
    color: #0C54B4;
}

.nama-lengkap {
    font-size: 0.925rem;
    color: #0F172A;
    line-height: 1.3;
}

.jabatan-pokok {
    font-size: 0.76rem;
    color: #64748B;
    margin-top: 2px;
}

/* Badge Kategori - Single-Line, Symmetrical, Modern & Clean */
.col-kategori {
    width: 180px !important;
    min-width: 175px !important;
    white-space: nowrap !important;
}

.badge-kategori {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.775rem;
    font-weight: 700;
    white-space: nowrap !important;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badge-kategori i {
    font-size: 15px;
    line-height: 1;
}

/* Dewan Pembina: Executive Dark Navy Pill with Gold Shield Icon */
.badge-pembina {
    background: linear-gradient(135deg, #0B2A6B 0%, #081B45 100%);
    color: #FFFFFF;
    border: 1px solid rgba(242, 183, 5, 0.4);
    box-shadow: 0 2px 6px rgba(11, 42, 107, 0.18);
}

.badge-pembina i {
    color: #F2B705 !important;
}

.badge-pembina:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 42, 107, 0.28);
}

/* Pengurus: Refined Soft Blue Pill with Badge Icon */
.badge-pengurus {
    background: #EBF3FF;
    color: #0C54B4;
    border: 1px solid rgba(12, 84, 180, 0.2);
}

.badge-pengurus i {
    color: #0C54B4 !important;
}

.badge-pengurus:hover {
    background: #DCEAFE;
    transform: translateY(-1px);
}

.jabatan-forum-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0C54B4 !important;
}

/* Paguyuban Pill in Table Rows */
.col-suku {
    min-width: 220px;
}

.paguyuban-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.775rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
    transition: all 0.15s ease;
}

.paguyuban-tag i {
    font-size: 15px;
    line-height: 1;
}

.tag-exofficio {
    background: #F8FAFC;
    color: #475569;
    border: 1px solid #E2E8F0;
    font-style: normal;
}

.tag-etnis {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.18);
}

.tag-etnis:hover {
    background: #DCFCE7;
    transform: translateY(-1px);
}

/* Pagination Bar Dinamis */
.susunan-pagination-bar {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.btn-page-nav {
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-page-nav:hover:not(:disabled) {
    background: #F8FAFC;
    color: #0C54B4;
    border-color: #CBD5E1;
}

.btn-page-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-page-number {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #FFFFFF;
    color: #475569;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-page-number:hover {
    background: #F1F5F9;
    color: #0C54B4;
}

.btn-page-number.active {
    background: #0C54B4;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(12, 84, 180, 0.25);
}

/* Decree Banner */
.susunan-decree-banner {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 14px -4px rgba(11, 42, 107, 0.04);
}

.decree-seal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FEF3C7;
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .susunan-header-banner {
        padding: 2rem 1.5rem;
    }

    .susunan-composition-card {
        padding: 1.25rem 1.25rem;
    }

    .susunan-toolbar {
        padding: 1rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .susunan-header-banner {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .comp-bar-wrapper {
        height: 20px;
    }

    .segment-label {
        font-size: 0.65rem;
    }

    .susunan-search-box {
        min-width: 100%;
    }

    .susunan-filter-group {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

/* ==========================================================================
   KEGIATAN PAGE - FILTER & SEARCH BAR COMPONENT
   Refined Modern, Clean, Symmetrical & Mobile-First Design
   ========================================================================== */

.kegiatan-filter-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(11, 42, 107, 0.04), 0 1px 3px rgba(11, 42, 107, 0.02);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.kegiatan-filter-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 24px rgba(11, 42, 107, 0.06), 0 1px 3px rgba(11, 42, 107, 0.03);
}

.kegiatan-filter-grid {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    width: 100%;
}

.filter-col {
    display: flex;
    flex-direction: column;
}

.filter-col-search {
    flex: 1.6;
    min-width: 0;
}

.filter-col-select {
    flex: 1;
    min-width: 0;
}

.filter-col-btn {
    flex: 0 0 auto;
    align-self: flex-end;
}

.filter-label {
    font-family: var(--mfk-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.25;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

/* Input & Select Box Wrappers (Unified Height: 42px) */
.filter-input-wrap,
.filter-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    height: 42px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-input-wrap:hover,
.filter-select-wrap:hover {
    border-color: #94A3B8;
}

.filter-input-wrap:focus-within,
.filter-select-wrap:focus-within {
    border-color: var(--mfk-blue);
    box-shadow: 0 0 0 3px rgba(12, 84, 180, 0.15);
}

/* Search Icon inside Input */
.filter-search-icon {
    position: absolute;
    left: 12px;
    font-size: 20px;
    color: #64748B;
    pointer-events: none;
    line-height: 1;
}

.filter-input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 40px;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--mfk-font-sans);
    font-size: 0.875rem;
    color: #1E293B;
    border-radius: 10px;
}

.filter-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

/* Select Dropdown */
.filter-select {
    width: 100%;
    height: 100%;
    padding: 0 34px 0 14px;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--mfk-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: #1E293B;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 10px;
}

.filter-select option {
    color: #1E293B;
    background: #FFFFFF;
    padding: 8px;
}

.select-chevron {
    position: absolute;
    right: 10px;
    font-size: 20px;
    color: #64748B;
    pointer-events: none;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.filter-select-wrap:focus-within .select-chevron {
    color: var(--mfk-blue);
    transform: rotate(180deg);
}

/* Reset Button */
.btn-filter-reset {
    height: 42px;
    padding: 0 1.35rem;
    background: var(--mfk-blue);
    color: #FFFFFF;
    border: 1px solid var(--mfk-blue);
    border-radius: 10px;
    font-family: var(--mfk-font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(12, 84, 180, 0.18);
    user-select: none;
}

.btn-filter-reset i {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-filter-reset:hover {
    background: #094392;
    border-color: #094392;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 84, 180, 0.28);
}

.btn-filter-reset:hover i {
    transform: rotate(-90deg);
}

.btn-filter-reset:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(12, 84, 180, 0.2);
}

.btn-filter-reset:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 84, 180, 0.35);
}

/* Tablet Responsiveness (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .kegiatan-filter-card {
        padding: 1.25rem;
    }

    .kegiatan-filter-grid {
        flex-wrap: wrap;
        gap: 14px;
    }

    .filter-col-search {
        flex: 1 1 100%;
        width: 100%;
    }

    .filter-col-select {
        flex: 1 1 calc(50% - 75px);
        min-width: 160px;
    }

    .filter-col-btn {
        flex: 0 0 auto;
        align-self: flex-end;
    }

    .btn-filter-reset {
        min-width: 110px;
    }
}

/* Mobile Responsiveness (< 768px) */
@media (max-width: 767.98px) {
    .kegiatan-filter-card {
        padding: 1.15rem 1rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .kegiatan-filter-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-col-search,
    .filter-col-select,
    .filter-col-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .filter-input-wrap,
    .filter-select-wrap,
    .btn-filter-reset {
        height: 42px;
    }

    .btn-filter-reset {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
}

/* ==========================================================================
   UNIFIED SUBPAGE HERO BANNER (Kegiatan, Galeri, Detail Kegiatan)
   Standardized compact spacing connecting directly to fixed navbar
   ========================================================================== */
.subpage-hero-banner {
    background-color: var(--mfk-blue-dark);
    color: #FFFFFF;
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
}

@media (max-width: 991.98px) {
    .subpage-hero-banner {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .subpage-hero-banner {
        padding-top: 1.25rem;
        padding-bottom: 1.75rem;
    }
}

/* ==========================================================================
   GALERI DOKUMENTASI DIGITAL - MODERN PREMIUM REDESIGN
   ========================================================================== */

/* 1. Header Filter Controls */
.gallery-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-filter-scroller {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 3px 2px;
}

.gallery-filter-scroller::-webkit-scrollbar {
    display: none;
}

.gallery-segmented-control {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 5px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(11, 42, 107, 0.04);
}

.gallery-filter-tab {
    background: transparent;
    border: none;
    border-radius: 9999px;
    padding: 7px 16px;
    font-family: var(--mfk-font-sans);
    font-size: 0.835rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.gallery-filter-tab:hover {
    background: #F1F5F9;
    color: var(--mfk-blue);
}

.gallery-filter-tab.active {
    background: linear-gradient(135deg, #0B2A6B 0%, #0C54B4 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(11, 42, 107, 0.22);
}

.gallery-filter-tab.active i {
    color: var(--mfk-gold);
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    background: #E2E8F0;
    color: #475569;
    line-height: 1;
    transition: all 0.2s ease;
}

.gallery-filter-tab.active .filter-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.gallery-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.825rem;
    color: #475569;
    box-shadow: 0 2px 6px rgba(11, 42, 107, 0.03);
}

/* 2. Gallery Card Architecture */
.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(11, 42, 107, 0.05), 0 1px 3px rgba(11, 42, 107, 0.02);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: #CBD5E1;
    box-shadow: 0 16px 32px -4px rgba(11, 42, 107, 0.12), 0 0 0 1.5px rgba(12, 84, 180, 0.2);
}

/* Media / Photo Area */
.gallery-card-media {
    position: relative;
    width: 100%;
    height: 172px;
    overflow: hidden;
    background: #0B2A6B;
    flex-shrink: 0;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 42, 107, 0.15) 0%, transparent 40%, rgba(11, 42, 107, 0.45) 100%);
    pointer-events: none;
}

/* Floating Badges on Photo */
.gallery-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.gallery-badge-category {
    background: rgba(11, 42, 107, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.675rem;
    font-weight: 700;
    padding: 3.5px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gallery-badge-type {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0B2A6B;
    font-size: 0.675rem;
    font-weight: 700;
    padding: 3.5px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Hover Quick Zoom Overlay Icon */
.gallery-hover-action {
    position: absolute;
    inset: 0;
    background: rgba(11, 42, 107, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-card:hover .gallery-hover-action {
    opacity: 1;
}

.gallery-hover-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #0B2A6B;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(6px);
    transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-hover-btn {
    transform: translateY(0);
}

/* Card Body / Information */
.gallery-card-body {
    padding: 1.05rem 1.15rem 0.95rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.gallery-meta-row {
    font-size: 0.76rem;
    font-weight: 600;
    color: #0C54B4;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.35rem;
}

.gallery-meta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
    transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card-title {
    color: var(--mfk-blue);
}

.gallery-card-desc {
    font-size: 0.8125rem;
    color: #64748B;
    line-height: 1.48;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.95em;
}

/* Card Footer / Action Row */
.gallery-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #F1F5F9;
    margin-top: auto;
}

.gallery-footer-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.gallery-card:hover .gallery-footer-hint {
    color: var(--mfk-blue);
}

.gallery-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EBF2FD;
    color: var(--mfk-blue);
    border: 1px solid rgba(12, 84, 180, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(11, 42, 107, 0.08);
}

.gallery-card:hover .gallery-action-btn,
.gallery-action-btn:hover {
    background: var(--mfk-blue);
    color: #FFFFFF;
    border-color: var(--mfk-blue);
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(12, 84, 180, 0.3);
}

/* Gallery Item Transition when Filtering */
.gallery-item {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.gallery-item.filtering-out {
    opacity: 0;
    transform: scale(0.95);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .gallery-controls-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .gallery-status-badge {
        align-self: flex-start;
    }

    .gallery-card-media {
        height: 165px;
    }
}

@media (max-width: 575.98px) {
    .gallery-controls-bar {
        margin-bottom: 1.25rem;
    }

    .gallery-filter-scroller {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .gallery-segmented-control {
        display: inline-flex;
        min-width: max-content;
        gap: 5px;
    }

    .gallery-filter-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .gallery-card-media {
        height: 185px;
    }

    .gallery-card-body {
        padding: 1rem;
    }

    .gallery-card-title {
        font-size: 0.925rem;
    }
}

/* ==========================================================================
   ALBUM DETAIL - MODERN & CLEAN REDESIGN
   ========================================================================== */

/* 1. Header Banner */
.album-detail-hero {
    background: linear-gradient(135deg, #071C49 0%, #0B2A6B 55%, #0E3B8E 100%);
    padding: 18px 0 22px 0;
    color: #FFFFFF;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.album-hero-top {
    margin-bottom: 10px;
}

/* Breadcrumb */
.album-breadcrumb-nav .breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0;
    align-items: center;
}

.album-breadcrumb-nav .breadcrumb-item a {
    color: #F2B705;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.album-breadcrumb-nav .breadcrumb-item a:hover {
    color: #FFE082;
    text-decoration: underline;
}

.album-breadcrumb-nav .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.72);
    max-width: 360px;
}

.album-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "/";
    padding: 0 8px;
}

/* Compact Back Button */
.btn-album-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-album-back:hover {
    background: #FFFFFF;
    color: #0B2A6B;
    border-color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Category & Photo Count Badges */
.album-tag-category {
    display: inline-flex;
    align-items: center;
    padding: 3.5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #071C49;
    background: #F2B705;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(242, 183, 5, 0.22);
}

.album-tag-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3.5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
}

.album-tag-meta i {
    font-size: 0.875rem;
    color: #F2B705;
}

/* Title & Description */
.album-hero-title {
    font-size: clamp(1.25rem, 2.2vw, 1.68rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
}

.album-hero-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin-bottom: 10px;
}

/* Meta Row (Date, Location, Activity Link) */
.album-meta-row {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
}

.album-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.album-meta-item i {
    color: #F2B705;
    font-size: 1rem;
}

.album-link-kegiatan {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.album-link-kegiatan:hover {
    background: #F2B705;
    color: #071C49;
    border-color: #F2B705;
}

/* 2. Photo Grid Section */
.album-photos-section {
    padding: 28px 0 44px 0;
    background: var(--mfk-bg, #F8FAFC);
}

.album-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.album-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.album-section-subtitle {
    font-size: 0.8125rem;
    color: #64748B;
    margin-bottom: 0;
}

/* 3. Minimalist Photo Card */
.photo-card-minimal {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(11, 42, 107, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.photo-card-minimal:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 10px 22px -4px rgba(11, 42, 107, 0.12);
}

.photo-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0B2A6B;
}

.photo-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card-minimal:hover .photo-card-media img {
    transform: scale(1.05);
}

.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 42, 107, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-card-minimal:hover .photo-card-overlay {
    opacity: 1;
}

.photo-zoom-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #0B2A6B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card-minimal:hover .photo-zoom-icon {
    transform: scale(1);
}

.photo-card-caption {
    padding: 10px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
}

.photo-card-minimal:hover .photo-card-caption {
    color: #0C54B4;
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .album-detail-hero {
        padding: 16px 0 20px 0;
    }

    .album-hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .album-breadcrumb-nav .breadcrumb-item.active {
        max-width: 220px;
    }

    .btn-album-back {
        align-self: flex-start;
    }

    .album-hero-title {
        font-size: 1.25rem;
    }

    .album-meta-row {
        gap: 10px !important;
    }

    .mfk-lightbox-kegiatan-info {
        padding: 12px 16px;
    }

    .mfk-lightbox-kegiatan-title {
        font-size: 1rem;
    }

    .mfk-lightbox-kegiatan-desc {
        font-size: 0.8rem;
    }
}
/* ==========================================================================
   Panel Info Kegiatan Terkait (Lightbox Galeri Publik & Detail Album)
   Reuses dark-blue palette #0B192C + .album-link-kegiatan button pattern.
   ========================================================================== */
.mfk-lightbox-kegiatan-info {
    margin-top: 6px;
    padding: 14px 16px;
    background: rgba(11, 25, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #1E88E5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mfk-lightbox-kegiatan-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E88E5;
}

.mfk-lightbox-kegiatan-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.mfk-lightbox-kegiatan-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-size: 0.82rem;
}

.mfk-lightbox-kegiatan-info-row .material-symbols-outlined {
    font-size: 1rem;
    color: #94A3B8;
}

.mfk-lightbox-kegiatan-desc {
    margin: 2px 0 0;
    color: #CBD5E1;
    font-size: 0.85rem;
    line-height: 1.45;
}

.mfk-lightbox-kegiatan-link {
    align-self: flex-start;
    margin-top: 4px;
    text-decoration: none;
    background: rgba(30, 136, 229, 0.18);
    border-color: rgba(30, 136, 229, 0.55);
}

.mfk-lightbox-kegiatan-link:hover,
.mfk-lightbox-kegiatan-link:focus {
    background: rgba(30, 136, 229, 0.32);
    border-color: #1E88E5;
    color: #FFFFFF;
}
/* Artikel kegiatan dari CMS (Rich Text) */
.kegiatan-artikel { color: var(--mfk-text-muted); font-size: 1rem; line-height: 1.85; }
.kegiatan-artikel > *:last-child { margin-bottom: 0; }
.kegiatan-artikel p { margin-bottom: 1rem; }
.kegiatan-artikel h2,
.kegiatan-artikel h3,
.kegiatan-artikel h4 { color: var(--mfk-blue-dark); font-weight: 700; line-height: 1.35; margin: 1.75rem 0 0.75rem; }
.kegiatan-artikel h2 { font-size: 1.35rem; }
.kegiatan-artikel h3 { font-size: 1.15rem; }
.kegiatan-artikel h4 { font-size: 1.02rem; }
.kegiatan-artikel ul,
.kegiatan-artikel ol { margin: 0 0 1rem 1.25rem; padding-left: 0.75rem; }
.kegiatan-artikel li { margin-bottom: 0.4rem; }
.kegiatan-artikel blockquote { border-left: 4px solid var(--mfk-green); background: var(--mfk-green-light); border-radius: 0 0.5rem 0.5rem 0; color: var(--mfk-text); margin: 1.25rem 0; padding: 0.9rem 1.1rem; font-style: italic; }
.kegiatan-artikel a { color: var(--mfk-green); font-weight: 600; text-decoration: underline; }
.kegiatan-artikel a:hover { color: var(--mfk-green-hover); }
.kegiatan-artikel strong { color: var(--mfk-text); }

