/* ==========================================================================
   PORTAL MANGROVE KELAPAPATI LAUT BENGKALIS - MODERN DESIGN SYSTEM & TOKENS
   Lead Frontend UI/UX Architect - High-Fidelity Pixel-Matched System v2.1
   ========================================================================== */

:root {
    /* Color Palette - Deep Organic Forest & Emerald */
    --forest-950: #0f281e;
    --forest-900: #143d2b;
    --forest-800: #1b4332;
    --forest-700: #2d6a4f;
    --forest-600: #40916c;
    --forest-500: #52b788;
    --mint-300:   #74c69d;
    --mint-200:   #95d5b2;
    --mint-100:   #b7e4c7;
    --mint-50:    #d8f3dc;
    --mint-pastel:#eaf5ee;

    /* Marine & Coastal Accents */
    --ocean-900: #0c4a6e;
    --ocean-600: #0284c7;
    --ocean-100: #e0f2fe;

    /* Clean Surfaces & Slate */
    --surface-bg: #f8faf8;
    --surface-card: #ffffff;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-100: #f1f5f9;

    /* Status Badges */
    --amber-soft: #f59e0b;
    --amber-bg:   #fef3c7;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-script: 'Caveat', cursive, serif;

    /* Radii Tokens */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-pill: 9999px;

    /* Multi-Layer Organic Drop-Shadows */
    --shadow-subtle: 0 4px 14px rgba(15, 40, 30, 0.04);
    --shadow-organic: 0 10px 30px -4px rgba(15, 40, 30, 0.07), 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 16px 36px -4px rgba(15, 40, 30, 0.14), 0 6px 16px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 18px 45px rgba(10, 30, 20, 0.32);
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--surface-bg);
    overflow-x: hidden;
    padding-bottom: 74px; /* Space for mobile bottom bar */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Typography Helpers */
.font-script {
    font-family: var(--font-script);
}

.text-forest {
    color: var(--forest-800) !important;
}

.text-forest-dark {
    color: var(--forest-900) !important;
}

.bg-forest-dark {
    background-color: var(--forest-900) !important;
}

.bg-forest-light {
    background-color: var(--mint-pastel) !important;
}

/* ==========================================================================
   HEADER & MEGA-NAVBAR (DESKTOP MULTI-LEVEL HOVER)
   ========================================================================== */
.portal-navbar {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(20, 61, 43, 0.06);
    z-index: 1030;
    transition: all 0.3s ease;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--forest-900);
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--forest-700);
    letter-spacing: 2px;
}

.portal-navbar .nav-link {
    font-weight: 600;
    color: #334155 !important;
    padding: 0.55rem 0.8rem !important;
    font-size: 0.91rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.portal-navbar .nav-link:hover,
.portal-navbar .nav-link.active {
    color: var(--forest-800) !important;
    background-color: var(--mint-pastel);
}

.nav-badge-soon {
    background-color: var(--amber-soft);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Multi-Tier Nested Dropdowns on Desktop */
@media (min-width: 992px) {
    .portal-navbar .dropdown-menu {
        border: 1px solid rgba(20, 61, 43, 0.08);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(15, 40, 30, 0.12);
        padding: 0.5rem;
        background: #ffffff;
        min-width: 225px;
        margin-top: 0.35rem;
        animation: fadeInSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .portal-navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .portal-navbar .dropdown-item {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--slate-800);
        padding: 0.52rem 0.75rem;
        border-radius: 10px;
        transition: all 0.18s ease;
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    /* Icon wrapper box — mint circle on idle, forest on hover */
    .dropdown-icon-box {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        background: var(--mint-pastel);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        flex-shrink: 0;
        color: var(--forest-700);
        transition: all 0.18s ease;
    }

    .portal-navbar .dropdown-item:hover {
        background-color: var(--mint-pastel);
        color: var(--forest-900);
        transform: translateX(3px);
    }

    .portal-navbar .dropdown-item:hover .dropdown-icon-box {
        background: var(--forest-700);
        color: #ffffff;
    }

    /* Chevron for submenu items — push to right */
    .portal-navbar .dropdown-item .submenu-chevron {
        margin-left: auto;
        font-size: 0.65rem;
        color: var(--slate-400);
        transition: transform 0.18s ease;
    }

    /* Nested Submenu (.dropdown-submenu) */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: 4px;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* ── LAPTOP SCALE-DOWN: 1366px–1440px (992px–1399.98px) ──
   Prevents 8 nav items from crowding at container-xxl widths */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .portal-navbar .nav-link {
        padding: 0.42rem 0.5rem !important;
        font-size: 0.83rem !important;
    }
    .brand-title {
        font-size: 0.95rem !important;
    }
    .btn-visit {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.82rem !important;
    }
    .nav-badge-soon {
        font-size: 0.58rem !important;
        padding: 0.12rem 0.38rem !important;
    }
}

/* Poin 7: Perkecil brand text di mobile (<768px) */
@media (max-width: 767.98px) {
    .brand-title {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
    }
    .brand-subtitle {
        font-size: 0.62rem !important;
        letter-spacing: 1px !important;
    }
    .navbar-logo-img {
        height: 36px !important;
    }
    .navbar-toggler {
        padding: 0.3rem !important;
    }
    .navbar-toggler .fa-lg {
        font-size: 1rem !important;
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Action Pill Button (Kunjungan) */
.btn-visit {
    background-color: #2d6a4f;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: var(--radius-pill);
    padding: 0.52rem 1.35rem;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.32);
}

.btn-visit:hover {
    background-color: #1b4332;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.4);
}

/* ==========================================================================
   HERO SECTION & FLOATING WEATHER WIDGET (GLASSMORPHISM)
   ========================================================================== */
.hero-wrapper {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    margin: 1.25rem 0;
    background: var(--forest-950);
    box-shadow: 0 16px 42px rgba(15, 40, 30, 0.25);
}

.hero-slider-item {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-slider-item {
        min-height: 330px; /* Poin 14: Kurangi tinggi agar weather strip terlihat tanpa scroll */
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 40, 30, 0.94) 0%, rgba(20, 61, 43, 0.82) 55%, rgba(20, 61, 43, 0.42) 100%);
}

.hero-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--mint-100);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    padding: 0.38rem 0.95rem;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.6px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem;
    }
}

.hero-script-word {
    font-family: var(--font-script);
    color: #a7f3d0;
    font-size: 1.38em;
    font-weight: 700;
    display: inline-block;
    transform: rotate(-3deg);
    margin-left: 0.35rem;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 530px;
}

.btn-hero-cta {
    background-color: #52b788;
    color: #0f281e !important;
    font-weight: 800;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.65rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 18px rgba(82, 183, 136, 0.35);
}

.btn-hero-cta:hover {
    background-color: #74c69d;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(82, 183, 136, 0.5);
}

.btn-hero-video {
    background-color: rgba(15, 30, 23, 0.78);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.btn-hero-video:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* Floating Weather Card (Modern Glassmorphism & Frosted Glass) */
.weather-card {
    background: linear-gradient(135deg, rgba(15, 40, 30, 0.78) 0%, rgba(27, 67, 50, 0.65) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 1.35rem;
    box-shadow: var(--shadow-glass);
}

.weather-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 0.65rem;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.weather-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* ==========================================================================
   MENU CEPAT (QUICK ACCESS BAR) & UNIVERSAL MOBILE HORIZONTAL SCROLL
   ========================================================================== */
.quick-access-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-organic);
    border: 1px solid rgba(20, 61, 43, 0.05);
    margin-bottom: 2rem;
}

.quick-menu-card {
    background: transparent;
    border-radius: 14px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    height: 100%;
}

.quick-menu-card:hover {
    background-color: var(--mint-pastel);
    transform: translateY(-3px);
}

.quick-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--mint-pastel);
    color: var(--forest-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.55rem;
    transition: all 0.25s ease;
}

.quick-menu-card:hover .quick-menu-icon {
    background: var(--forest-700);
    color: #ffffff;
}

.quick-menu-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.25;
}

/* UNIVERSAL MOBILE HORIZONTAL SCROLL UTILITY (Tahan Banting & Anti-Pecah) */
.mobile-horizontal-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-horizontal-scroll > * {
    flex-shrink: 0 !important;
    scroll-snap-align: start;
}

/* ==========================================================================
   MOBILE QUICK MENU HORIZONTAL SCROLL CAROUSEL
   ========================================================================== */
.quick-menu-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.65rem !important;
    padding: 0.25rem 0.25rem 0.65rem 0.25rem !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE/Edge */
}
.quick-menu-scroll-container::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
}
.quick-menu-scroll-item {
    flex: 0 0 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    scroll-snap-align: start !important;
}
.quick-menu-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(82, 183, 136, 0.2);
    border-radius: 16px;
    min-height: 94px !important;
    height: auto !important;
    padding: 0.65rem 0.35rem 0.55rem 0.35rem !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}
.quick-menu-item-link:active,
.quick-menu-item-link:hover {
    transform: translateY(-2px);
    border-color: var(--forest-500, #40916c);
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.1);
}
.quick-menu-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--mint-pastel, #eaf5ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}
.quick-menu-text-sm {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--forest-900, #143d2b) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: visible !important;
    min-height: 1.8rem !important;
}

/* ==========================================================================
   BAR STATISTIK KAWASAN (PASTEL CONTAINER #EAF5EE)
   ========================================================================== */
.stats-pastel-bar {
    background: var(--mint-pastel);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(45, 106, 79, 0.14);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2.5rem;
}

.stat-item-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.stat-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--forest-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.08);
    flex-shrink: 0;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest-900);
    line-height: 1.15;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--slate-600);
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-pastel-bar {
        padding: 1rem;
    }
    .stat-item-box {
        gap: 0.65rem;
    }
    .stat-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .stat-value {
        font-size: 1.1rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   MOBILE STATS HORIZONTAL SCROLL CAROUSEL
   ========================================================================== */
.stats-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.75rem !important;
    padding: 0.25rem 0.25rem 0.65rem 0.25rem !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE/Edge */
}
.stats-scroll-container::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
}
.stats-scroll-item {
    flex: 0 0 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    scroll-snap-align: start !important;
    background: #ffffff;
    border: 1px solid rgba(82, 183, 136, 0.22);
    border-radius: 16px;
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 3px 10px rgba(20, 61, 43, 0.04);
}
.stat-icon-wrapper-sm {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--mint-pastel, #eaf5ee);
    color: var(--forest-700, #2d6a4f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.stat-content-sm {
    min-width: 0;
    overflow: hidden;
}
.stat-value-sm {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--forest-900, #143d2b);
    line-height: 1.15;
    white-space: nowrap;
}
.stat-label-sm {
    font-size: 0.72rem;
    color: var(--slate-600, #4a5568);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   SECTION HEADER COMPONENT
   ========================================================================== */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--forest-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.section-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest-700);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.section-link:hover {
    color: var(--forest-900);
    gap: 0.55rem;
}

/* ==========================================================================
   FEATURE CARDS (ROW 1: TENTANG, DESTINASI, PETA)
   ========================================================================== */
.custom-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-organic);
    border: 1px solid rgba(20, 61, 43, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(45, 106, 79, 0.2);
}

.card-img-holder {
    height: 165px;
    overflow: hidden;
    position: relative;
}

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

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

.card-arrow-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--forest-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.custom-card:hover .card-arrow-btn {
    background: var(--forest-700);
    color: #ffffff;
}


.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.4rem;
}

/* ==========================================================================
   ROW 2: LAYANAN PENGUNJUNG & AGENDA KEGIATAN
   ========================================================================== */
.service-portal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
    box-shadow: var(--shadow-organic);
    border: 1px solid rgba(20, 61, 43, 0.06);
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--forest-500);
}

.badge-coming-soon {
    background: var(--amber-bg);
    color: #92400e;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Agenda Kegiatan Vertical Date Items */
.event-row-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(20, 61, 43, 0.06);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.event-row-card:hover {
    transform: translateX(4px);
    border-color: var(--forest-500);
    box-shadow: var(--shadow-organic);
}

.event-date-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--mint-pastel);
    border: 1px solid var(--mint-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-date-day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--forest-800);
    line-height: 1;
}

.event-date-month {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--forest-700);
    text-transform: uppercase;
}

.event-content-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

/* ==========================================================================
   ROW 3: BERITA, GALERI, AJAKAN PARTISIPASI
   ========================================================================== */
.news-horizontal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(20, 61, 43, 0.06);
    transition: all 0.25s ease;
    text-decoration: none !important;
    display: block;
    margin-bottom: 0.75rem;
}

.news-horizontal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--mint-200);
}

/* Call to Action Banner */
.cta-banner-wrapper {
    background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 50%, var(--forest-800) 100%);
    border-radius: var(--radius-xl);
    color: #ffffff;
    padding: 2.4rem 2rem;
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-glass);
}

.btn-cta-green {
    background-color: var(--forest-500);
    color: #0f281e !important;
    font-weight: 800;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.7rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(82, 183, 136, 0.35);
}

.btn-cta-green:hover {
    background-color: #74c69d;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(82, 183, 136, 0.5);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION (11. BOTTOM NAV)
   ========================================================================== */
.mobile-bottom-nav {
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    height: 64px;
    z-index: 1050;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    text-decoration: none !important;
    font-size: 0.68rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--forest-700);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.portal-footer {
    background: var(--forest-950);
    color: #cbd5e1;
    padding-top: 1.5rem;  /* Poin 8: kurangi padding atas */
    padding-bottom: 1.25rem; /* Poin 8: kurangi padding bawah */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-heading {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.85rem; /* Poin 8: kurangi margin bawah heading */
    letter-spacing: -0.2px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.45rem; /* Poin 8: kurangi margin antar link footer */
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--mint-100);
    transform: translateX(3px);
}

.social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.social-circle-btn:hover {
    background: var(--forest-600);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand-title {
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.footer-brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .portal-footer,
    .footer-mobile-clearance {
        padding-top: 1.5rem !important;
        padding-bottom: 95px !important;
    }

    .portal-footer .social-circle-btn {
        width: 38px;
        height: 38px;
        margin-right: 0;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   BADGE COMING SOON TERPADU (NAVBAR & SERVICE CARDS)
   ========================================================================== */
.badge-coming-soon {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #fde68a;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

/* ==========================================================================
   MAP PREVIEW CARD - SPATIAL IMAGE OVERLAY & LEGEND
   ========================================================================== */
.map-preview-card {
    background: linear-gradient(145deg, #0f281e 0%, #143d2b 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-organic);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.map-spatial-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.65;
    display: block;
}

.map-legend-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 25, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    min-width: 160px;
}

.map-card-footer {
    padding: 1rem;
}

/* ==========================================================================
   TENTANG KAWASAN CARD - VIDEO THUMBNAIL + PILL TAGS
   ========================================================================== */
.about-video-thumb {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 175px;
    cursor: pointer;
    display: block;
}

.about-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-video-thumb:hover img {
    transform: scale(1.05);
}

.play-circle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-800);
    font-size: 1.1rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 1);
}

.about-video-thumb:hover .play-circle-btn {
    background: var(--forest-500);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

.pill-tag-green {
    background: rgba(82, 183, 136, 0.12);
    color: var(--forest-700);
    border: 1px solid rgba(82, 183, 136, 0.25);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
}

.btn-selengkapnya {
    background: var(--forest-700);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28);
}

.btn-selengkapnya:hover {
    background: var(--forest-800);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.38);
}

/* ==========================================================================
   STATS BAR - SEPARATOR LINES BETWEEN ITEMS
   ========================================================================== */
.stats-pastel-bar .col + .col {
    border-left: 1px solid rgba(45, 106, 79, 0.14);
}

@media (max-width: 768px) {
    .stats-pastel-bar .col + .col {
        border-left: none;
    }
}

/* ==========================================================================
   GALLERY TAB PILLS - REFINED (FOTO / VIDEO SWITCHER)
   ========================================================================== */
.gallery-pill-tabs {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 2px;
    border: 1px solid rgba(20, 61, 43, 0.08);
}

.gallery-pill-tabs .nav-link {
    border-radius: var(--radius-pill) !important;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate-600) !important;
    padding: 0.35rem 1rem !important;
    transition: all 0.2s ease;
    border: none !important;
    background: transparent;
}

.gallery-pill-tabs .nav-link.active {
    background: var(--forest-700) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(45, 106, 79, 0.28);
}

.gallery-photo-thumb {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 135px;
    display: block;
}

.gallery-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.gallery-photo-thumb .thumb-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(10, 25, 18, 0.82), transparent);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 600;
    padding: 0.5rem 0.5rem 0.35rem;
    line-height: 1.2;
}

/* ==========================================================================
   BERITA TERBARU - HORIZONTAL CARD POLISHED
   ========================================================================== */
.berita-card-wrapper {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.8rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(20, 61, 43, 0.06);
    transition: all 0.25s ease;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
}

.berita-card-wrapper:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-organic);
    border-color: var(--mint-100);
}

.berita-thumb {
    width: 80px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.berita-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-date {
    font-size: 0.72rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   CTA BANNER - DECORATIVE BACKGROUND OVERLAY
   ========================================================================== */
.cta-banner-wrapper {
    background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 50%, var(--forest-800) 100%);
    border-radius: var(--radius-xl);
    color: #ffffff;
    padding: 2.6rem 2.2rem;
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-glass);
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-wrapper::after {
    content: '';
    position: absolute;
    left: 55%;
    bottom: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(116, 198, 157, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-leaf-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.07;
    font-size: 8rem;
    color: #ffffff;
    pointer-events: none;
    line-height: 1;
}

@media (max-width: 991px) {
    .cta-leaf-icon {
        display: none;
    }
    .cta-banner-wrapper {
        padding: 1.75rem 1.4rem;
        margin: 1.5rem 0;
    }
}

/* ==========================================================================
   ROW 3 LAYOUT - BERITA (col-4), GALERI (col-4), CTA BANNER (col-4)
   ========================================================================== */
.cta-col-banner {
    background: linear-gradient(145deg, var(--forest-950) 0%, var(--forest-800) 100%);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-organic);
}

.cta-col-banner::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-col-banner .cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.cta-col-banner .cta-desc {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin-bottom: 1.35rem;
    flex-grow: 1;
}

.btn-cta-pill {
    background: var(--forest-500);
    color: #0f281e !important;
    font-weight: 800;
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.5rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(82, 183, 136, 0.32);
    align-self: flex-start;
}

.btn-cta-pill:hover {
    background: var(--mint-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 183, 136, 0.45);
}

/* ==========================================================================
   SECTION OUTER CARD WRAPPER - UNIFIED FRAME FOR EACH ROW SECTION
   ========================================================================== */
.section-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-organic);
    border: 1px solid rgba(20, 61, 43, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   AGENDA KEGIATAN - DATE BOX ACCENT
   ========================================================================== */
.event-date-box {
    background: linear-gradient(145deg, var(--mint-pastel) 0%, #d8f3dc 100%);
    border: 1px solid rgba(45, 106, 79, 0.15);
}

.event-date-day {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest-800);
    line-height: 1;
}

/* ==========================================================================
   LAYANAN PENGUNJUNG - SERVICE ICON BOX REFINEMENT
   ========================================================================== */
.service-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--mint-pastel);
    color: var(--forest-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.service-portal-card:hover .service-icon-box {
    background: var(--forest-700);
    color: #ffffff;
}

/* ==========================================================================
   QUICK MENU IMPROVED ACTIVE STATE
   ========================================================================== */
.quick-menu-card.active,
.quick-menu-card:focus {
    background-color: var(--mint-pastel);
}

/* ==========================================================================
   HERO SECTION SPACING REFINEMENTS
   ========================================================================== */
.hero-wrapper {
    margin-top: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-slider-item {
    min-height: 520px;
}

@media (max-width: 768px) {
    .hero-slider-item {
        min-height: 400px;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-slider-item {
        min-height: 340px;
    }
    .hero-title {
        font-size: 1.65rem;
    }
}

/* ==========================================================================
   MOBILE WEATHER CARD (SECTION 3)
   ========================================================================== */
.mobile-weather-strip {
    background: linear-gradient(135deg, #0f281e 0%, #1b4332 100%);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(15, 40, 30, 0.22);
    margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE CONTENT VISIBILITY FIXES
   ========================================================================== */
@media (min-width: 992px) {
    .mobile-cta-banner {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .desktop-only-cta {
        display: none !important;
    }
}

/* ==========================================================================
   PRINT / ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   POIN 4: Hero buttons compact & 1-row on mobile
   ========================================================================== */
@media (max-width: 767.98px) {
    .btn-hero-cta,
    .btn-hero-video {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
    }
}

/* ==========================================================================
   POIN 9: Quick menu icon & label lebih kecil di mobile
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Peniadaan double-clearance pada body (clearance ditangani penuh oleh .portal-footer) */
    body {
        padding-bottom: 0 !important;
    }

    .mobile-quick-icon-sm {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
    }
    .mobile-quick-text-sm {
        font-size: 0.72rem !important;
    }

    /* Perampingan Mobile Footer & Kalibrasi Safe Clearance */
    .portal-footer {
        padding-top: 1rem !important;
        padding-bottom: calc(64px + 12px) !important; /* 64px bottom nav + 12px buffer nyaman */
    }
    .portal-footer .row {
        margin-bottom: 0.25rem !important;
    }
    .portal-footer hr {
        margin-top: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }
    .footer-logo-img {
        height: 36px !important;
        width: auto;
    }
    .footer-brand-title {
        font-size: 0.92rem !important;
    }
    .footer-brand-sub {
        font-size: 0.62rem !important;
    }
    .social-circle-btn-sm {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        margin-left: 0.35rem;
        font-size: 0.82rem;
        transition: all 0.2s ease;
    }
    .social-circle-btn-sm:hover {
        background: var(--forest-600);
        color: #ffffff;
    }
}

/* ==========================================================================
   PENGUNCIAN KETINGGIAN & ARSITEKTUR SCROLL BOTTOM SHEET (EMERALD)
   ========================================================================== */
.offcanvas-bottom.mobile-nav-offcanvas {
    height: 85vh !important;
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    border-top: 1px solid rgba(82, 183, 136, 0.25) !important;
    box-shadow: 0 -10px 40px rgba(20, 61, 43, 0.25) !important;
    background: #fbfdfc !important;
    z-index: 1060 !important; /* Wajib di atas .mobile-bottom-nav (1050) */
}

/* Header tetap diam di atas (Sticky) */
.mobile-nav-offcanvas .offcanvas-header {
    flex-shrink: 0 !important;
    padding: 0.75rem 1.25rem 0.5rem 1.25rem !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(20, 61, 43, 0.08) !important;
}

/* Area isi menu dengan touch-scrolling lancar & padding aman di bawah */
.mobile-nav-offcanvas .offcanvas-body {
    flex: 1 1 auto !important;
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain !important;
    padding: 1rem 1.25rem 6.5rem 1.25rem !important; /* Memberikan clearance aman di atas bottom nav */
}

/* Scrollbar ramping bertema emerald */
.mobile-nav-offcanvas .offcanvas-body::-webkit-scrollbar {
    width: 4px;
}
.mobile-nav-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(45, 106, 79, 0.25);
    border-radius: 4px;
}

.bottom-sheet-handle-bar {
    width: 42px;
    height: 4.5px;
    background: #cbd5e1;
    border-radius: 9999px;
    margin: 8px auto 6px auto;
}

/* Akses Cepat (Direct Links Grid) */
.mobile-quick-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}

.mobile-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    background: #ffffff;
    border: 1px solid rgba(82, 183, 136, 0.2);
    border-radius: 14px;
    text-decoration: none !important;
    color: var(--forest-900, #143d2b);
    transition: all 0.2s ease;
}

.mobile-quick-card:active {
    background: #eaf5ee;
    transform: scale(0.97);
}

.mobile-quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eaf5ee;
    color: #2d6a4f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 4px;
}

.mobile-quick-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
}

/* Override Eliminasi Warna Biru Accordion */
#mobileNavAccordion {
    --bs-accordion-active-color: #143d2b;
    --bs-accordion-active-bg: #eaf5ee;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-border-color: rgba(20, 61, 43, 0.08);
}

#mobileNavAccordion .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(20, 61, 43, 0.08);
    border-radius: 14px !important;
    margin-bottom: 8px;
    overflow: hidden;
}

#mobileNavAccordion .accordion-button {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2c3e50;
    padding: 12px 14px;
    box-shadow: none !important;
}

#mobileNavAccordion .accordion-button:not(.collapsed) {
    background-color: #eaf5ee !important;
    color: #143d2b !important;
    border-left: 4px solid #2d6a4f !important;
    box-shadow: none !important;
}

/* Sub-menu Tree Hierarchy Line */
.mobile-subnav-list {
    border-left: 2px solid #b7e4c7;
    margin-left: 20px;
    padding-left: 10px;
    margin-top: 6px;
    margin-bottom: 10px;
}

.mobile-subnav-link {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.mobile-subnav-link:hover,
.mobile-subnav-link:active {
    background: #eaf5ee;
    color: #1b4332;
    padding-left: 14px;
}

/* ==========================================================================
   CUSTOM INTERACTIVE DROPDOWN FILTER - SPESIES MANGROVE
   Context7 Standard & WCAG AA/AAA Tri-Color Contrast Palette
   ========================================================================== */
.mangrove-dropdown-filter-wrapper {
    width: 100%;
    max-width: 460px;
}

.mangrove-custom-dropdown {
    position: relative;
    width: 100%;
}

.mangrove-dropdown-trigger {
    background: #ffffff;
    border: 1.5px solid rgba(27, 67, 50, 0.2);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(15, 40, 30, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mangrove-dropdown-trigger:hover,
.mangrove-dropdown-trigger:focus,
.mangrove-dropdown-trigger[aria-expanded="true"] {
    background: #ffffff;
    border-color: #2d6a4f;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
}

/* Warna 2: Emerald Mint Icon Box */
.mangrove-dropdown-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf5ee;
    color: #10b981;
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.mangrove-dropdown-trigger:hover .mangrove-dropdown-icon-box {
    transform: scale(1.08);
}

/* Warna 1: Forest Deep Label */
.mangrove-dropdown-selected-label {
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f3323;
}

/* Warna 3: Sunlit Amber Badge Counter */
.mangrove-dropdown-badge-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 9999px;
    line-height: 1;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.mangrove-dropdown-chevron {
    font-size: 0.85rem;
    color: #64748b;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mangrove-dropdown-trigger[aria-expanded="true"] .mangrove-dropdown-chevron {
    transform: rotate(180deg);
    color: #2d6a4f;
}

/* Floating Popover Menu */
.mangrove-dropdown-menu {
    border-radius: 16px !important;
    border: 1px solid rgba(27, 67, 50, 0.12) !important;
    box-shadow: 0 16px 40px -8px rgba(15, 40, 30, 0.18), 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    margin-top: 8px !important;
    animation: dropdownSlideFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mangrove-dropdown-item {
    color: #2d4a3e;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}
.mangrove-dropdown-item:hover {
    background: #f0fdf4;
    color: #065f46;
    transform: translateX(3px);
}

/* Item Aktif: Warna 1 (Forest Deep) */
.mangrove-dropdown-item.active {
    background: linear-gradient(135deg, #0f3323 0%, #1b4332 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 51, 35, 0.22);
}
.mangrove-dropdown-item.active .mangrove-item-icon {
    color: #6ee7b7 !important;
}

.mangrove-item-icon {
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 0.95rem;
}

/* Badge di Dropdown Menu */
.mangrove-item-badge.badge-amber-inactive {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.25);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2.5px 7.5px;
    border-radius: 9999px;
}
.mangrove-item-badge.badge-amber-active {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2.5px 7.5px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.mangrove-item-check {
    color: #6ee7b7 !important;
    font-size: 0.85rem;
}

/* ==========================================================================
   DESKTOP SEGMENTED TAB BAR - SPESIES MANGROVE (3-COLOR CONTRAST SYSTEM)
   ========================================================================== */
.mangrove-desktop-filter-wrapper {
    width: 100%;
}

.mangrove-segmented-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #eef5f0;
    border-radius: 9999px;
    border: 1px solid rgba(27, 67, 50, 0.12);
    box-shadow: inset 0 1px 3px rgba(15, 40, 30, 0.05);
    width: max-content;
}

.mangrove-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 9999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    color: #2d4a3e;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.mangrove-tab-item:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0f3323;
    transform: translateY(-1px);
}

.mangrove-tab-item:active {
    transform: scale(0.97);
}

/* Tab Aktif (Warna 1: Forest Deep) */
.mangrove-tab-item.active {
    background: linear-gradient(135deg, #0f3323 0%, #1b4332 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 51, 35, 0.28), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Ikon Tab (Warna 2: Fresh Emerald Mint) */
.mangrove-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    color: #10b981;
    transition: transform 0.2s ease;
}
.mangrove-tab-item.active .mangrove-tab-icon {
    color: #6ee7b7;
}
.mangrove-tab-item:hover .mangrove-tab-icon {
    transform: scale(1.12);
}

/* Badge Counter (Warna 3: Sunlit Amber) */
.mangrove-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2.5px 7.5px;
    border-radius: 9999px;
    line-height: 1;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.25);
    transition: all 0.2s ease;
}

.mangrove-tab-badge.badge-active {
    background: #f59e0b;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   DIGITAL HERBARIUM MODAL - SWIPEABLE CAROUSEL (6 MORFOLOGI)
   ========================================================================== */
.herbarium-carousel {
    position: relative;
    user-select: none;
}

/* 1. Foto Morfologi Carousel Frame */
.herbarium-carousel-photo-frame {
    height: 280px;
    background: #f8fafc;
    border: 1px solid rgba(27, 67, 50, 0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .herbarium-carousel-photo-frame {
        height: 380px;
    }
}

/* 2. Floating Navigation Arrows (Centered over photo frame) */
.herbarium-carousel-arrow {
    width: 48px;
    height: 280px;
    top: 0;
    bottom: auto;
    opacity: 1 !important;
    z-index: 5;
    transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
    .herbarium-carousel-arrow {
        height: 380px;
        width: 56px;
    }
}

.carousel-control-prev.herbarium-carousel-arrow {
    left: 8px;
}

.carousel-control-next.herbarium-carousel-arrow {
    right: 8px;
}

.carousel-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #1b4332;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.90rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(27, 67, 50, 0.12);
}

@media (min-width: 768px) {
    .carousel-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

.herbarium-carousel-arrow:hover .carousel-nav-btn {
    background: #1b4332;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.25);
    border-color: #1b4332;
}

/* 3. Mini Pill Indicators (Numbered Dots 1..N) */
.herbarium-carousel-indicators {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    position: static;
    margin: 14px 0 0 0;
    padding: 0;
}

.herbarium-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1.5px solid rgba(45, 106, 79, 0.18);
    background: #f0f7f3;
    color: #2d6a4f;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-indent: 0;
    opacity: 1 !important;
    height: auto;
    width: auto;
    margin: 0;
    line-height: 1.2;
}

.herbarium-dot:hover {
    background: #e2f0e7;
    color: #1b4332;
    border-color: rgba(45, 106, 79, 0.35);
    transform: translateY(-1px);
}

.herbarium-dot.active {
    background: linear-gradient(135deg, #143d2b 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(20, 61, 43, 0.25);
}

.dot-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(45, 106, 79, 0.12);
    color: #2d6a4f;
    transition: all 0.2s ease;
}

.herbarium-dot.active .dot-number {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.dot-label {
    font-size: 0.76rem;
    font-weight: 700;
}

/* 4. Kotak Informasi Anatomi Tepat di Bawah Foto */
.herbarium-info-box {
    border-radius: 16px !important;
    border: 1px solid rgba(27, 67, 50, 0.1) !important;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.herbarium-section-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf5ee;
    color: #2d6a4f;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   OPTIMASI TIPOGRAFI & TATA LETAK RESPONSIF PROFIL KAWASAN
   ========================================================================== */
.profile-main-title {
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.profile-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .profile-main-title {
        font-size: 1.55rem;
    }
}

@media (min-width: 768px) {
    .profile-main-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .profile-card-title {
        font-size: 1.45rem;
    }
}

@media (min-width: 992px) {
    .profile-main-title {
        font-size: 2.25rem;
    }
}

/* Tipografi Mobile (< 768px): Justified Text & Spasi Rapat */
@media (max-width: 767.98px) {
    .profile-header-lead {
        font-size: 0.88rem;
        line-height: 1.6;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        color: #475569 !important;
    }

    .lead-summary-box p {
        font-size: 0.95rem !important;
        line-height: 1.62 !important;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        color: #334155 !important;
    }

    .profile-rich-content p,
    .profile-rich-content li {
        font-size: 0.92rem;
        line-height: 1.65;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        color: #475569 !important;
    }

    /* Compacting Hero Image di Layar Ponsel */
    .profile-hero-media img {
        max-height: 220px !important;
    }

    /* Bilah Tab Mobile Lebih Ringkas */
    .profile-mobile-pill-btn {
        padding: 7.5px 14px;
        font-size: 0.80rem;
    }
}

/* ==========================================================================
   MODERN EDITORIAL CALLOUT FOR PROFILE LEAD SUMMARY
   ========================================================================== */
.lead-summary-box {
    background-color: #f0fdf4 !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.05);
}

.lead-summary-text {
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    line-height: 1.62 !important;
    color: #1e3a2f !important;
    text-wrap: pretty;
    margin: 0;
}

@media (max-width: 767.98px) {
    .lead-summary-text {
        font-size: 0.91rem !important;
        line-height: 1.58 !important;
    }
}

/* Modern Capsule Breadcrumb Nav */
.profile-breadcrumb-nav {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(45, 106, 79, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}
.profile-breadcrumb-nav::-webkit-scrollbar {
    display: none;
}
.profile-breadcrumb-nav .breadcrumb {
    flex-wrap: nowrap;
    white-space: nowrap;
}
.profile-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
    font-size: 0.72rem;
    padding: 0 0.45rem;
}
.profile-breadcrumb-nav a {
    color: #475569;
    font-size: 0.82rem;
    transition: color 0.15s ease;
}
.profile-breadcrumb-nav a:hover {
    color: #1b4332;
}
.text-emerald {
    color: #10b981 !important;
}

/* Badge & Location Chip */
.profile-badge-pill {
    background: #eaf5ee;
    color: #1b4332;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(45, 106, 79, 0.15);
}
.profile-location-chip {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #334155;
    font-size: 0.74rem;
}
.profile-location-card {
    border-color: rgba(226, 232, 240, 0.85) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.06) !important;
}
.profile-location-icon {
    width: 36px;
    height: 36px;
    background: #eaf5ee;
}

/* ==========================================================================
   MANGROVE MODULE — SIDEBAR NAV, MOBILE PILLS, PAGE LAYOUT
   (Shared across mangrove_about, mangrove_flora, fauna, benefits, conservation)
   ========================================================================== */
.mangrove-page-wrapper {
    background-color: #f8fafc;
    min-height: calc(100vh - 280px);
}

/* Desktop Sidebar Nav Card */
.mangrove-sidebar-card,
.profile-desktop-nav-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(20, 61, 43, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Sidebar Link Item */
.mangrove-sidebar-item,
.profile-sidebar-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 14px;
    margin-bottom: 4px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    gap: 0;
}
.mangrove-sidebar-item:hover,
.profile-sidebar-item:hover {
    background: #eaf5ee;
    color: #1b4332 !important;
    text-decoration: none !important;
}
.mangrove-sidebar-item.active,
.profile-sidebar-item.active {
    background: linear-gradient(135deg, #143d2b 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(20, 61, 43, 0.22);
    text-decoration: none !important;
}
.mangrove-sidebar-icon,
.profile-sidebar-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf5ee;
    color: #2d6a4f;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.mangrove-sidebar-item.active .mangrove-sidebar-icon,
.profile-sidebar-item.active .profile-sidebar-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.mangrove-sidebar-chevron,
.profile-sidebar-chevron {
    font-size: 0.72rem;
    color: #94a3b8;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease;
}
.mangrove-sidebar-item.active .mangrove-sidebar-chevron,
.profile-sidebar-item.active .profile-sidebar-chevron {
    color: #ffffff !important;
    transform: translateX(2px);
}
.mangrove-sidebar-label,
.profile-sidebar-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 8px;
}

/* Mobile Swipeable Pills Bar */
.mangrove-pills-container,
.profile-mobile-pills-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px 2px;
}
.mangrove-pills-container::-webkit-scrollbar,
.profile-mobile-pills-container::-webkit-scrollbar { display: none; }
.mangrove-pills-track,
.profile-mobile-pills-track {
    display: flex;
    gap: 8px;
    width: max-content;
}
.mangrove-pill-btn,
.profile-mobile-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    background: #ffffff;
    color: #475569 !important;
    border: 1px solid rgba(20, 61, 43, 0.12);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.mangrove-pill-btn:hover,
.profile-mobile-pill-btn:hover {
    color: #1b4332 !important;
    background: #eaf5ee;
    border-color: rgba(45, 106, 79, 0.3);
    text-decoration: none !important;
}
.mangrove-pill-btn.active,
.profile-mobile-pill-btn.active {
    background: linear-gradient(135deg, #143d2b 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.25);
}

/* Hero Image Area */
.mangrove-hero-media {
    overflow: hidden;
}
.mangrove-hero-media img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}
.mangrove-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,30,20,0.35) 0%, transparent 60%);
    pointer-events: none;
}

/* Card Header Icon */
.mangrove-card-header-icon,
.profile-card-header-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mangrove-card-header-icon i,
.profile-card-header-icon i {
    font-size: 1.15rem;
}
.profile-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f281e;
    margin: 0;
}

/* Modern Search Capsule & Controls */
.mangrove-search-capsule {
    background: #ffffff;
    border: 1.5px solid rgba(20, 61, 43, 0.16);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(15, 40, 30, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mangrove-search-capsule:focus-within {
    border-color: #2d6a4f;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
}
.mangrove-search-icon-inside {
    color: #64748b;
    font-size: 0.92rem;
}
.btn-emerald-pill {
    background: linear-gradient(135deg, #143d2b, #2d6a4f);
    border: none;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(20, 61, 43, 0.2);
    transition: all 0.2s ease;
}
.btn-emerald-pill:hover,
.btn-emerald-pill:focus {
    background: linear-gradient(135deg, #0d281c, #1e4a37);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(20, 61, 43, 0.3);
}

/* Utility Gap-2.5 Mobile Fix */
.gap-2\.5 {
    gap: 0.65rem !important;
}

/* Placeholder ketika media_path kosong */
.mangrove-media-placeholder {
    height: 260px;
    background: linear-gradient(135deg, #e2f0e7 0%, #c6e4cf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}
.mangrove-media-placeholder i {
    font-size: 4rem;
    color: #2d6a4f;
    opacity: 0.4;
}

/* Enterprise Feature Cards (Apple Environment & Stripe Climate Benchmark) */
.mangrove-feature-card,
.mangrove-pillar-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    border: 1px solid rgba(20, 61, 43, 0.08);
    border-radius: 14px;
    box-shadow: 0 2px 8px -2px rgba(20, 61, 43, 0.05);
    padding: 14px 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mangrove-feature-card:hover,
.mangrove-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -3px rgba(20, 61, 43, 0.1);
    border-color: rgba(20, 61, 43, 0.18);
}
.mangrove-feature-icon,
.mangrove-pillar-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.icon-pastel-emerald { background: #eaf5ee !important; color: #166534 !important; }
.icon-pastel-blue    { background: #eff6ff !important; color: #1d4ed8 !important; }
.icon-pastel-amber   { background: #fefce8 !important; color: #a16207 !important; }
.icon-pastel-cyan    { background: #ecfeff !important; color: #0e7490 !important; }
.icon-pastel-rose    { background: #fff1f2 !important; color: #be123c !important; }

.mangrove-feature-title,
.mangrove-pillar-title {
    font-size: 0.90rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0;
}
.mangrove-feature-desc,
.mangrove-pillar-desc {
    font-size: 0.81rem;
    color: #475569;
    line-height: 1.48;
    margin-bottom: 0;
}

/* Enterprise CTA Banner Card */
.mangrove-cta-card {
    background: linear-gradient(135deg, #0e3022 0%, #17422e 60%, #1f563d 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px -5px rgba(14, 48, 34, 0.25);
    padding: 28px 32px;
    margin-top: 1.75rem;
}
.mangrove-cta-title {
    font-size: 1.10rem;
    font-weight: 800;
    line-height: 1.32;
    text-wrap: balance;
    color: #ffffff;
    margin-bottom: 6px;
}
.mangrove-cta-lead {
    font-size: 0.83rem;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0;
}
.mangrove-cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-cta-primary {
    background: #ffffff;
    color: #0e3022 !important;
    border: 1px solid #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 9999px;
    padding: 9px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-cta-primary:hover {
    background: #f8fafc;
    color: #092017 !important;
    transform: translateY(-1px);
}
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 9999px;
    padding: 9px 18px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .mangrove-hero-media img {
        max-height: 220px !important;
    }
    .mangrove-card-header-icon,
    .profile-card-header-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
    .mangrove-card-header-icon i,
    .profile-card-header-icon i {
        font-size: 0.85rem !important;
    }
    .profile-card-title {
        font-size: 1.02rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        margin: 0 !important;
        flex: 1 !important;
    }
    .mangrove-search-capsule {
        padding: 3px 4px 3px 12px !important;
    }
    .btn-emerald-pill {
        padding: 6px 14px !important;
        font-size: 0.80rem !important;
    }
    .mangrove-search-icon-inside {
        font-size: 0.82rem !important;
    }
    .mangrove-pill-btn,
    .profile-mobile-pill-btn {
        padding: 7.5px 14px;
        font-size: 0.80rem;
    }
    .mangrove-feature-card,
    .mangrove-pillar-card {
        padding: 13px 14px !important;
        border-radius: 14px !important;
    }
    .mangrove-feature-icon,
    .mangrove-pillar-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 0.90rem !important;
        border-radius: 10px !important;
    }
    .mangrove-feature-title,
    .mangrove-pillar-title {
        font-size: 0.88rem !important;
        line-height: 1.32 !important;
        font-weight: 700 !important;
    }
    .mangrove-feature-desc,
    .mangrove-pillar-desc {
        font-size: 0.80rem !important;
        line-height: 1.46 !important;
        color: #64748b !important;
    }
    .mangrove-cta-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
        margin-top: 1.5rem !important;
    }
    .mangrove-cta-title {
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
    }
    .mangrove-cta-lead {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }
    .mangrove-cta-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
    }
    .mangrove-cta-actions .btn-cta-primary,
    .mangrove-cta-actions .btn-cta-secondary,
    .mangrove-cta-actions .btn {
        flex: 1 1 auto !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 9px 12px !important;
        font-size: 0.80rem !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   DATA REQUEST CONTEXT7 ELEVATED CARDS & RESPONSIVE BOTTOM-SHEET MODAL
   ========================================================================== */
.applicant-elevated-card {
    background: #ffffff;
    border: 1px solid rgba(20, 61, 43, 0.08) !important;
    border-radius: 20px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}
.applicant-elevated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 40, 30, 0.08) !important;
}
.category-card-individual:hover { border-color: #0284c7 !important; }
.category-card-community:hover { border-color: #d97706 !important; }
.category-card-legal:hover { border-color: #059669 !important; }

.cat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.applicant-elevated-card:hover .cat-icon-box {
    transform: scale(1.08);
}
.cat-icon-individual { background: #e0f2fe; color: #0284c7; }
.cat-icon-community  { background: #fef3c7; color: #d97706; }
.cat-icon-legal      { background: #eaf5ee; color: #059669; }

.badge-cat-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.badge-individual { background: #e0f2fe; color: #0369a1; }
.badge-community  { background: #fef3c7; color: #b45309; }
.badge-legal      { background: #eaf5ee; color: #047857; }

.btn-cat-action {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.btn-cat-individual {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.25);
}
.btn-cat-individual:hover {
    background: #0284c7;
    color: #ffffff;
}
.btn-cat-community {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.25);
}
.btn-cat-community:hover {
    background: #d97706;
    color: #ffffff;
}
.btn-cat-legal {
    background: #eaf5ee;
    color: #1b4332;
    border: 1px solid rgba(5, 150, 105, 0.25);
}
.btn-cat-legal:hover {
    background: #059669;
    color: #ffffff;
}

.step-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf5ee;
    color: #2d6a4f;
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Modal Context7 Backdrop Blur & Elevation */
.data-request-modal.modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.45);
}
.data-request-modal .modal-content {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Mobile Scroll Lock Enhancement */
body.modal-open {
    overflow: hidden !important;
}

/* Mobile Bottom-Sheet Fullscreen Drawer (< 768px) */
@media (max-width: 767.98px) {
    .data-request-modal .modal-dialog {
        margin: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 94vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .data-request-modal .modal-content {
        height: 100%;
        max-height: 94vh;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: 24px !important;
        border-top-right-radius: 24px !important;
        border: none !important;
    }
    .data-request-modal .modal-header {
        border-top-left-radius: 24px !important;
        border-top-right-radius: 24px !important;
        padding: 1.15rem 1.25rem !important;
    }
    .data-request-modal .modal-body {
        -webkit-overflow-scrolling: touch;
        padding: 1.25rem 1.1rem !important;
    }
    .data-request-modal .form-control,
    .data-request-modal .form-select {
        min-height: 44px;
        font-size: 0.95rem;
    }
    .data-request-modal .btn-close {
        padding: 0.65rem;
    }
}

/* ==========================================================================
   CONTEXT7 MODAL SURFACE CARDS, SQUIRCLE HEADER & CUSTOM DROPZONE
   ========================================================================== */
.form-section-card {
    background: #fbfdfc;
    border: 1px solid rgba(20, 61, 43, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.form-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1b4332;
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 61, 43, 0.07);
    display: flex;
    align-items: center;
}

/* Modal Header Squircle & Pill */
.modal-header-squircle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.modal-cat-pill {
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Context7 Custom Dropzone */
.custom-file-dropzone {
    border: 1.5px dashed rgba(45, 106, 79, 0.28);
    border-radius: 14px;
    background: #f8fafc;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}
.custom-file-dropzone:hover {
    border-color: #2d6a4f;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 40, 30, 0.06);
}
.dropzone-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eaf5ee;
    color: #2d6a4f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.dropzone-file-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #eaf5ee;
    color: #1b4332;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

/* Button Submit Emerald Gradient */
.btn-submit-emerald {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
    transition: all 0.2s ease;
}
.btn-submit-emerald:hover {
    background: linear-gradient(135deg, #143d2b 0%, #1b4332 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.35);
}

/* Mobile Sticky Bottom Action */
@media (max-width: 767.98px) {
    .modal-footer-sticky {
        position: sticky;
        bottom: 0;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 0.85rem 1rem !important;
        z-index: 10;
        margin: 1rem -1.1rem -1.25rem -1.1rem;
        display: flex;
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    .modal-footer-sticky .btn-submit-emerald {
        width: 100% !important;
        min-height: 46px;
    }
    .modal-footer-sticky .btn-light {
        width: 100% !important;
        min-height: 40px;
    }
}

/* ==========================================================================
   ECOTOURISM DESTINATIONS - CONTEXT7 DESIGN SYSTEM
   ========================================================================== */
.ecotourism-sidebar-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(20, 61, 43, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.04) !important;
}

.ecotourism-sidebar-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ecotourism-sidebar-item:hover:not(.active) {
    background: #f1f8f4 !important;
    color: #1b4332 !important;
    transform: translateX(2px) !important;
}

.ecotourism-sidebar-item.active {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(20, 61, 43, 0.22) !important;
}

.ecotourism-sidebar-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.ecotourism-sidebar-item.active .ecotourism-sidebar-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.ecotourism-sidebar-chevron {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.ecotourism-sidebar-item.active .ecotourism-sidebar-chevron {
    color: #ffffff !important;
    transform: translateX(2px) !important;
}

.ecotourism-sidebar-item:hover:not(.active) .ecotourism-sidebar-chevron {
    color: #1b4332 !important;
    transform: translateX(2px) !important;
}

.ecotourism-hero-banner {
    background: #ffffff;
    border: 1px solid rgba(20, 61, 43, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.03);
    overflow: hidden;
}

.ecotourism-filter-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px 2px;
}
.ecotourism-filter-wrapper::-webkit-scrollbar {
    display: none;
}
.ecotourism-pills-track {
    display: flex;
    gap: 10px;
    width: max-content;
}
@media (min-width: 992px) {
    .ecotourism-filter-wrapper {
        background: #ffffff;
        padding: 8px 12px;
        border-radius: 9999px;
        border: 1px solid rgba(20, 61, 43, 0.08);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
        display: inline-block;
        max-width: 100%;
    }
    .ecotourism-pills-track {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
    }
}

.ecotourism-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    background: #ffffff;
    color: #475569;
    border: 1px solid rgba(20, 61, 43, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.ecotourism-nav-pill:hover {
    color: #1b4332;
    background: #eaf5ee;
    border-color: rgba(45, 106, 79, 0.3);
    text-decoration: none;
    transform: translateY(-1px);
}
.ecotourism-nav-pill.active {
    background: linear-gradient(135deg, #143d2b 0%, #2d6a4f 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(20, 61, 43, 0.25);
}

.ecotourism-elevated-card {
    background: #ffffff;
    border: 1px solid rgba(20, 61, 43, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    overflow: hidden;
}
.ecotourism-elevated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20, 61, 43, 0.10);
    border-color: rgba(45, 106, 79, 0.28);
}

.card-img-zoom {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #e2e8f0;
}
.card-img-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.ecotourism-elevated-card:hover .card-img-zoom img {
    transform: scale(1.06);
}

.badge-featured-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(20, 61, 43, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.badge-category-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 0.70rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.metadata-micro-surface {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 9px 13px;
    transition: background-color 0.2s ease;
}
.ecotourism-elevated-card:hover .metadata-micro-surface {
    background: #f1f8f4;
    border-color: rgba(45, 106, 79, 0.18);
}

.btn-ecotourism-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #f1f8f4;
    color: #1b4332;
    font-weight: 700;
    font-size: 0.86rem;
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 9999px;
    padding: 9px 18px;
    transition: all 0.25s ease;
}
.btn-ecotourism-action:hover {
    background: linear-gradient(135deg, #143d2b 0%, #2d6a4f 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.22);
    transform: translateY(-1px);
}
.btn-ecotourism-action i {
    transition: transform 0.2s ease;
}
.btn-ecotourism-action:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   SHARE MODAL & TRIGGER BUTTONS - CONTEXT7 MANGROVE EMERALD SPECIFICATION
   ========================================================================== */
.btn-share-pill {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 4px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.btn-share-pill:hover {
    background: linear-gradient(135deg, #143d2b 0%, #1b4332 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.35) !important;
}

.share-cta-card {
    background: linear-gradient(135deg, #f8faf9 0%, #f0fdf4 100%) !important;
    border: 1px solid rgba(45, 106, 79, 0.2) !important;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.04) !important;
}
.share-cta-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}
.btn-share-emerald {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    font-size: 0.86rem !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28) !important;
    transition: all 0.2s ease !important;
}
.btn-share-emerald:hover {
    background: linear-gradient(135deg, #143d2b 0%, #1b4332 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.35) !important;
}

/* Backward compatibility for btn-share-amber */
.btn-share-amber {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    font-size: 0.86rem !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28) !important;
    transition: all 0.2s ease !important;
}
.btn-share-amber:hover {
    background: linear-gradient(135deg, #143d2b 0%, #1b4332 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Modal Dialog Pop-up */
.share-modal-context7 .modal-content {
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}
.share-modal-icon-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
}
.share-preview-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
.share-preview-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}
.share-preview-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}
.share-platform-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 4px !important;
    border-radius: 14px !important;
    transition: background-color 0.2s ease !important;
}
.share-platform-item:hover {
    background-color: #f8fafc !important;
}
.share-platform-circle {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}
.share-platform-item:hover .share-platform-circle {
    transform: translateY(-3px) scale(1.05) !important;
}
.share-bg-whatsapp { background: #25D366 !important; }
.share-bg-facebook { background: #1877F2 !important; }
.share-bg-x        { background: #0f172a !important; }
.share-bg-telegram { background: #229ED9 !important; }

.share-platform-name {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}
.share-copy-group {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: border-color 0.2s ease !important;
}
.share-copy-group:focus-within {
    border-color: #2d6a4f !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15) !important;
}
.share-copy-input {
    font-size: 0.78rem !important;
    color: #334155 !important;
    outline: none !important;
}
.btn-share-copy {
    background: #0f172a !important;
    font-size: 0.76rem !important;
    border: none !important;
    padding: 7px 16px !important;
    transition: all 0.2s ease !important;
}
.btn-share-copy:hover {
    background: #000000 !important;
}

/* ==========================================================================
   MODULE INFORMASI UNIVERSAL (Context7 Standard)
   - Desktop Sticky Sidebar (>= 992px)
   - Mobile Swipeable Pills (< 992px)
   - Capsule Breadcrumb Navigation
   - Responsive Related Posts Grid
   ========================================================================== */

/* 1. Universal Capsule Breadcrumb */
.capsule-breadcrumb-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.capsule-breadcrumb-nav::-webkit-scrollbar {
    display: none;
}
.capsule-breadcrumb-list {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    background: #eaf5ee !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    border: 1px solid rgba(20, 61, 43, 0.12) !important;
}
.capsule-breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    line-height: 1 !important;
}
.capsule-breadcrumb-item::before {
    display: none !important;
    content: none !important;
}
.capsule-breadcrumb-sep {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 8px !important;
    color: #94a3b8 !important;
    font-size: 0.65rem !important;
    line-height: 1 !important;
}
.capsule-breadcrumb-link {
    color: #2d6a4f !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.18s ease !important;
}
.capsule-breadcrumb-link:hover {
    color: #143d2b !important;
    text-decoration: underline !important;
}
.capsule-breadcrumb-item.active {
    color: #475569 !important;
    font-weight: 500 !important;
}

/* 2. Desktop Sticky Sidebar (>= 992px) */
.information-sidebar-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(20, 61, 43, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.04) !important;
    overflow: hidden !important;
}
.information-sidebar-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    margin-bottom: 4px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.information-sidebar-item:hover {
    background: #f1f8f4 !important;
    color: #1b4332 !important;
    transform: translateX(2px) !important;
}
.information-sidebar-item.active {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(20, 61, 43, 0.22) !important;
}
.information-sidebar-item.active .information-sidebar-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}
.information-sidebar-item.active .information-sidebar-chevron {
    color: #ffffff !important;
    transform: translateX(2px) !important;
}
.information-sidebar-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}
.information-sidebar-label {
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
}
.information-sidebar-chevron {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    transition: transform 0.2s ease !important;
}

/* 3. Mobile Swipeable Pills (< 992px) */
.information-pills-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px 2px;
    margin-bottom: 1rem;
}
.information-pills-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.information-pills-track {
    display: inline-flex;
    gap: 8px;
    white-space: nowrap;
}
.information-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #ffffff;
    color: #334155;
    border: 1px solid rgba(20, 61, 43, 0.12);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.information-pill:hover {
    background: #f1f8f4;
    color: #1b4332;
    border-color: rgba(20, 61, 43, 0.25);
}
.information-pill.active {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff !important;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(20, 61, 43, 0.25);
}
.information-pill.active i {
    color: #ffffff !important;
}

/* 4. Responsive Related Posts Grid */
.related-post-grid-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(20, 61, 43, 0.08);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.related-post-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(20, 61, 43, 0.1);
    border-color: rgba(20, 61, 43, 0.2);
}
.related-post-thumb-holder {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.related-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.related-post-grid-card:hover .related-post-img {
    transform: scale(1.05);
}
.related-post-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s ease;
}
.related-post-grid-card:hover .related-post-title {
    color: #2d6a4f;
}

/* 4b. Article Detail: Fluid Title, Cover Image & Forest Badge (Context7 Mobile-First) */
.article-detail-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    line-height: 1.3 !important;
    margin-bottom: 1.25rem !important;
}
@media (min-width: 768px) {
    .article-detail-title {
        font-size: 1.55rem !important;
    }
}
@media (min-width: 992px) {
    .article-detail-title {
        font-size: 1.75rem !important;
    }
}
.article-detail-cover {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.08) !important;
    max-height: 440px !important;
}
.article-detail-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.bg-forest-dark {
    background-color: #143d2b !important;
}

/* 5. Mobile-Optimized Related Posts Sidebar (Context7 Target Design) */
.related-sidebar-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(20, 61, 43, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 40, 30, 0.04) !important;
    overflow: hidden !important;
}
.related-sidebar-icon-circle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
}
.related-sidebar-item {
    background: #fbfdfc !important;
    border: 1px solid #edf4f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    position: relative !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.related-sidebar-item:last-child {
    margin-bottom: 0 !important;
}
.related-sidebar-item:hover {
    background: #f0f7f3 !important;
    border-color: rgba(45, 106, 79, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(20, 61, 43, 0.08) !important;
}
.related-sidebar-thumb {
    width: 76px !important;
    height: 76px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}
.related-sidebar-item:hover .related-sidebar-thumb {
    transform: scale(1.05) !important;
}
.related-sidebar-badge {
    background: #eaf5ee !important;
    color: #2d6a4f !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 5px !important;
}
.related-sidebar-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 5px !important;
    transition: color 0.18s ease !important;
}
.related-sidebar-item:hover .related-sidebar-title {
    color: #143d2b !important;
}
.related-sidebar-date {
    font-size: 0.74rem !important;
    color: #2d6a4f !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-weight: 500 !important;
}
.related-sidebar-chevron {
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
    transition: all 0.22s ease !important;
    margin-left: auto !important;
}
.related-sidebar-item:hover .related-sidebar-chevron {
    color: #2d6a4f !important;
    transform: translateX(3px) !important;
}
/* Responsive mobile: larger thumbnails on small screens */
@media (max-width: 991.98px) {
    .related-sidebar-thumb {
        width: 80px !important;
        height: 80px !important;
        border-radius: 14px !important;
    }
    .related-sidebar-item {
        padding: 14px !important;
        border-radius: 16px !important;
        margin-bottom: 12px !important;
    }
    .related-sidebar-title {
        font-size: 0.88rem !important;
    }
    .related-sidebar-date {
        font-size: 0.76rem !important;
    }
    .related-sidebar-icon-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
}

/* 6. Full-Card Clickable Enhancements */
.custom-card {
    cursor: pointer !important;
    position: relative !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.custom-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(20, 61, 43, 0.12) !important;
    border-color: rgba(45, 106, 79, 0.25) !important;
}
