/* ==========================================================================
   1. GLOBAL STYLES & VARIABLES
   ========================================================================== */
:root {
    --green-deep: #1a3a2a;
    --green-dark: #2d5a3d;
    --green-mid: #3d7a52;
    --green-fresh: #52a96e;
    --green-light: #8dd4a0;
    --green-pale: #c8ead2;
    --green-mist: #eaf6ee;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --cream: #faf7f0;
    --text-dark: #1a2e20;
    --text-mid: #4a6555;
    --text-light: #8aab96;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
}

img,
iframe,
video,
canvas,
svg {
    max-width: 100%;
}

.container,
.container-fluid,
main,
section,
header,
footer {
    min-width: 0;
}

/* ==========================================================================
   2. ANIMATIONS & UTILITIES
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(1deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0px) rotate(3deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-mid);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--green-fresh);
    border-radius: 2px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--green-deep);
    line-height: 1.2;
}

.section-title em {
    color: var(--green-fresh);
    font-style: normal;
}

/* --- BUTTONS --- */
.btn-green,
.btn-gold,
.btn-outline-green {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-green {
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(82, 169, 110, 0.35);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(82, 169, 110, 0.45);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-deep);
    border: none;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    color: var(--green-deep);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.55);
}

.btn-outline-green {
    background: transparent;
    color: var(--green-mid);
    border: 2px solid var(--green-fresh);
    padding: 0.7rem 1.8rem;
}

.btn-outline-green:hover {
    background: var(--green-fresh);
    color: white;
    transform: translateY(-2px);
}

/* Sticky CTA banner */
.sticky-wisata-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-deep);
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 10px 35px rgba(201, 168, 76, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    z-index: 999;
    animation: fadeUp 1s 1s both;
    transition: all 0.3s;
}

.sticky-wisata-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(201, 168, 76, 0.65);
    color: var(--green-deep);
}

/* ==========================================================================
   3. SHARED LAYOUT (Navbar, Footer, Headers, Breadcrumbs)
   ========================================================================== */
/* --- NAVBAR --- */
.navbar-desa {
    background: rgba(26, 58, 42, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.9rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(82, 169, 110, 0.3);
}

.navbar-desa .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-fresh), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 0 3px rgba(82, 169, 110, 0.3);
}

.brand-text .brand-name {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.brand-text .brand-sub {
    color: var(--green-light);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-desa .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem !important;
    border-radius: 50px;
    transition: all 0.25s;
}

.navbar-desa .nav-link:hover,
.navbar-desa .nav-link.active {
    color: white !important;
    background: rgba(82, 169, 110, 0.25);
}

.btn-wisata-nav {
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white !important;
    border-radius: 50px !important;
    padding: 0.4rem 1.2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(82, 169, 110, 0.4);
}

.btn-wisata-nav:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4) !important;
}

/* --- FOOTER --- */
footer {
    background: var(--green-deep);
    padding: 70px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.87rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-title {
    color: var(--green-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.87rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--green-light);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    font-size: 0.87rem;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--green-fresh);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.25s;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--green-fresh);
    color: white;
    transform: translateY(-2px);
}

/* --- PAGE HEADERS (For List and Detail Pages) --- */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(rgba(26, 58, 42, 0.85), rgba(26, 58, 42, 0.85)), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

.page-header.detail {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    text-align: left;
}

.page-header.detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    border-radius: 40px 40px 0 0;
}

.page-header.detail::after {
    background: linear-gradient(to top, var(--cream), transparent);
    border-radius: 0;
    height: 80px;
}

/* --- BREADCRUMBS --- */
.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
}

.page-header:not(.detail) .breadcrumb-custom {
    justify-content: center;
}

.page-header.detail .breadcrumb-custom {
    display: inline-flex;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.breadcrumb-custom a {
    color: var(--green-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-custom a:hover {
    color: white;
}

.breadcrumb-custom i {
    font-size: 0.6rem;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeUp 0.8s 0.2s ease both;
}

.page-header.detail .page-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.page-title em {
    color: var(--gold-light);
    font-style: normal;
}

.page-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    animation: fadeUp 0.8s 0.4s ease both;
}

.page-header:not(.detail) .page-desc {
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   4. SHARED LISTING COMPONENTS (Filter, Cards, Pagination, Lightbox)
   ========================================================================== */
/* --- FILTERS & SEARCH --- */
.filter-wrapper {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(26, 58, 42, 0.05);
    border: 1px solid var(--green-pale);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: fadeUp 0.8s 0.6s ease both;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    background: var(--green-mist);
    color: var(--green-deep);
    border: 1px solid transparent;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--green-fresh);
    color: white;
    box-shadow: 0 4px 15px rgba(82, 169, 110, 0.3);
}

/* Gallery Filter override */
.gallery-section .filter-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 3rem;
}

.gallery-section .filter-pill {
    background: white;
    color: var(--text-mid);
    border: 1px solid var(--green-pale);
    padding: 8px 24px;
    font-size: 0.9rem;
}

.gallery-section .filter-pill:hover,
.gallery-section .filter-pill.active {
    background: var(--green-deep);
    color: white;
    border-color: var(--green-deep);
    box-shadow: 0 4px 15px rgba(26, 58, 42, 0.2);
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    background: var(--cream);
    border: 1px solid var(--green-pale);
    border-radius: 50px;
    padding: 10px 20px 10px 45px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--green-fresh);
    box-shadow: 0 0 0 3px rgba(82, 169, 110, 0.15);
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* --- BERITA CARDS (Home & List) --- */
.berita-card,
.wisata-lain-card,
.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 20px rgba(26, 58, 42, 0.06);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.berita-card:hover,
.wisata-lain-card:hover,
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 58, 42, 0.12);
}

.berita-img,
.wisata-lain-img,
.related-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.berita-img img,
.wisata-lain-img img,
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.berita-card:hover .berita-img img,
.wisata-lain-card:hover .wisata-lain-img img,
.related-card:hover .related-img img {
    transform: scale(1.06);
}

.berita-kategori {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(26, 58, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--green-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

.berita-body,
.wisata-lain-body,
.related-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.berita-date,
.related-date {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.berita-title,
.wisata-lain-title,
.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.4;
    margin-bottom: 0.7rem;
}

.berita-excerpt {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.berita-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-mid);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.berita-link:hover {
    gap: 10px;
    color: var(--green-fresh);
}

/* --- WISATA CARDS (Home & List) --- */
.wisata-card-small {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 58, 42, 0.08);
    transition: all 0.35s;
    border: 1px solid var(--green-pale);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wisata-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 58, 42, 0.12);
    border-color: var(--green-fresh);
}

.wisata-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.wisata-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wisata-card-small:hover .wisata-card-img img {
    transform: scale(1.08);
}

.wisata-badge-unggulan {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.wisata-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wisata-card-tag {
    display: inline-block;
    background: var(--green-mist);
    color: var(--green-mid);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.wisata-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 0.6rem;
}

.wisata-card-title a {
    color: var(--green-deep);
    text-decoration: none;
    transition: color 0.2s;
}

.wisata-card-title a:hover {
    color: var(--green-fresh);
}

.wisata-card-desc {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wisata-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--green-mist);
}

.wisata-card-info {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.wisata-price {
    color: var(--green-mid);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- PAGINATION --- */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.page-item-custom {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--green-pale);
    transition: all 0.3s;
}

.page-item-custom:hover {
    background: var(--green-mist);
    color: var(--green-fresh);
    transform: translateY(-2px);
}

.page-item-custom.active {
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(82, 169, 110, 0.3);
}

/* --- LIGHTBOX --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 22, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: min(92vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#lightboxImg {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    width: min(100%, 760px);
    color: white;
    text-align: center;
}

.lightbox-category {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.25;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}


/* ==========================================================================
   5. INDEX PAGE SPECIFIC
   ========================================================================== */
/* --- HERO --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(26, 58, 42, 0.88) 0%, rgba(45, 90, 61, 0.75) 50%, rgba(26, 58, 42, 0.92) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82, 169, 110, 0.2);
    border: 1px solid rgba(82, 169, 110, 0.5);
    color: var(--green-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s ease both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-title span {
    color: var(--gold-light);
    display: block;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s 0.4s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.6s ease both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-deep) !important;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.6);
}

.btn-hero-outline {
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white !important;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(82, 169, 110, 0.4);
}

.btn-hero-outline:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-deep) !important;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    animation: fadeUp 0.8s 0.8s ease both;
}

.hero-stats-scattered {
    position: relative;
    height: 320px;
    width: 100%;
}

.scattered-stat {
    position: absolute;
    text-align: center;
}

.scattered-stat.s1 {
    top: 0;
    left: 10%;
    animation: floatA 4s 0.5s ease-in-out infinite, fadeUp 0.8s 0.6s ease both;
}

.scattered-stat.s2 {
    top: 38%;
    right: 5%;
    animation: floatB 5s 1.2s ease-in-out infinite, fadeUp 0.8s 0.9s ease both;
}

.scattered-stat.s3 {
    bottom: 15%;
    left: 30%;
    animation: floatC 4.5s 0.8s ease-in-out infinite, fadeUp 0.8s 1.2s ease both;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

/* --- WISATA SECTION (Index) --- */
.wisata-section {
    padding: 100px 0 80px;
    background: var(--cream);
}

.wisata-featured {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 560px;
    box-shadow: 0 30px 80px rgba(26, 58, 42, 0.2);
}

.wisata-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.wisata-featured:hover img {
    transform: scale(1.04);
}

.wisata-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.9) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.wisata-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.wisata-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.wisata-featured-title a {
    color: white;
    text-decoration: none;
}

.wisata-featured-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.wisata-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--green-light);
    font-size: 0.82rem;
}

.wisata-meta i {
    margin-right: 5px;
}

/* --- PROFIL DESA SECTION (Index) --- */
.profil-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
    position: relative;
    overflow: hidden;
}

.profil-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(82, 169, 110, 0.08);
}

.profil-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.06);
}

.profil-info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(10px);
}

.profil-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profil-info-item:last-child {
    border-bottom: none;
}

.profil-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(82, 169, 110, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    flex-shrink: 0;
}

.profil-info-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profil-info-value {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
}

.kepala-desa-card {
    display: grid;
    grid-template-columns: minmax(180px, 230px) 1fr;
    min-height: 340px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.kepala-desa-photo {
    position: relative;
    min-height: 340px;
    background: rgba(82, 169, 110, 0.16);
}

.kepala-desa-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.42), transparent 48%);
}

.kepala-desa-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kepala-desa-content {
    min-width: 0;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}

.kepala-desa-label {
    color: var(--green-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.kepala-desa-name {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.kepala-desa-text {
    max-height: 210px;
    overflow-y: auto;
    padding-right: 0.8rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.85;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-light) rgba(255, 255, 255, 0.08);
}

.kepala-desa-text::-webkit-scrollbar {
    width: 6px;
}

.kepala-desa-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.kepala-desa-text::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 999px;
}

.kepala-desa-text p {
    margin-bottom: 1rem;
}

.kepala-desa-text p:last-child {
    margin-bottom: 0;
}

.visi-misi-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
}

.visi-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.visi-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
}

.misi-item {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.misi-dot {
    width: 8px;
    height: 8px;
    background: var(--green-fresh);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.btn-profil-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-deep);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50px;
    padding: 0.78rem 1.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.26);
    transition: all 0.25s ease;
}

.btn-profil-detail:hover {
    color: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(201, 168, 76, 0.34);
}

/* --- DATA KEPENDUDUKAN (Index) --- */
.data-section {
    padding: 100px 0;
    background: var(--green-mist);
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 20px rgba(26, 58, 42, 0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-fresh), var(--gold));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 58, 42, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--green-mist);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: var(--green-mid);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--green-deep);
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    color: var(--green-fresh);
    font-weight: 600;
}

.stat-label {
    color: var(--text-mid);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.demografi-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 20px rgba(26, 58, 42, 0.06);
}

.demografi-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--green-pale);
}

.demografi-bar-item {
    margin-bottom: 1.1rem;
}

.demografi-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-mid);
    margin-bottom: 5px;
    font-weight: 500;
}

.demografi-bar-track {
    background: var(--green-mist);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}

.demografi-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--green-fresh), var(--green-mid));
}

/* --- BERITA & EVENT SECTION (Index) --- */
.berita-section,
.berita-grid-section {
    padding: 100px 0;
    background: var(--cream);
}

/* --- GALERI SECTION (Index) --- */
.galeri-section {
    padding: 80px 0;
    background: var(--green-mist);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
    border-radius: 24px;
    overflow: hidden;
}

.galeri-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 58, 42, 0.18) 0%, rgba(15, 30, 22, 0.88) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 1.5rem;
    padding: 18px;
    text-align: center;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-overlay-text {
    max-width: min(100%, 320px);
}

.galeri-overlay-text span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.galeri-overlay-text strong {
    display: block;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}


/* ==========================================================================
   6. PROFIL & KEPENDUDUKAN DETAIL PAGES
   ========================================================================== */
.profil-detail-section,
.kependudukan-detail-section {
    padding: 90px 0;
    background: var(--cream);
}

.profil-detail-section.alt,
.kependudukan-detail-section.alt {
    background: var(--green-mist);
}

.profil-detail-card {
    height: 100%;
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 12px 38px rgba(26, 58, 42, 0.07);
}

.profil-detail-card.dark {
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.profil-detail-title {
    font-family: 'Playfair Display', serif;
    color: var(--green-deep);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.profil-detail-card.dark .profil-detail-title {
    color: white;
}

.profil-detail-text {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 0;
}

.profil-detail-card.dark .profil-detail-text {
    color: rgba(255, 255, 255, 0.76);
}

.profil-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profil-list li {
    display: flex;
    gap: 12px;
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.65;
}

.profil-list li::before {
    content: '';
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--green-fresh);
    flex-shrink: 0;
}

.profil-detail-card.dark .profil-list li {
    color: rgba(255, 255, 255, 0.78);
}

.profil-detail-card.dark .profil-list li::before {
    background: var(--gold-light);
}

.profil-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profil-info-box {
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(26, 58, 42, 0.06);
}

.profil-info-box i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    border-radius: 12px;
    margin-bottom: 1rem;
}

.profil-info-box .label {
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.profil-info-box .value {
    color: var(--green-deep);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.struktur-card {
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 18px 50px rgba(26, 58, 42, 0.08);
}

.struktur-card img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.batas-desa-list {
    display: grid;
    gap: 1rem;
}

.batas-desa-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 16px;
    padding: 1.1rem;
}

.batas-desa-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-deep);
    background: var(--green-mist);
    border-radius: 13px;
}

.batas-desa-label {
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.batas-desa-value {
    color: var(--green-deep);
    font-weight: 700;
    margin-top: 0.15rem;
}

.peta-desa-frame {
    height: 100%;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--green-pale);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(26, 58, 42, 0.08);
}

.peta-desa-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    display: block;
}

/* Kependudukan Detail */
.chart-panel {
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 14px 42px rgba(26, 58, 42, 0.07);
    height: 100%;
}

.chart-panel-title {
    font-family: 'Playfair Display', serif;
    color: var(--green-deep);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.chart-panel-desc {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.chart-box {
    position: relative;
    min-height: 360px;
}

.chart-box.population {
    min-height: 620px;
}

.pekerjaan-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.6fr;
    gap: 1.25rem;
}

.pekerjaan-list {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--green-fresh) var(--green-mist);
}

.pekerjaan-list::-webkit-scrollbar {
    width: 6px;
}

.pekerjaan-list::-webkit-scrollbar-track {
    background: var(--green-mist);
    border-radius: 999px;
}

.pekerjaan-list::-webkit-scrollbar-thumb {
    background: var(--green-fresh);
    border-radius: 999px;
}

.pekerjaan-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--green-pale);
}

.pekerjaan-list-item:last-child {
    border-bottom: none;
}

.pekerjaan-name {
    color: var(--green-deep);
    font-size: 0.9rem;
    font-weight: 700;
}

.pekerjaan-count {
    color: var(--green-mid);
    font-weight: 800;
    white-space: nowrap;
}

.pekerjaan-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pekerjaan-card {
    background: var(--green-mist);
    border: 1px solid var(--green-pale);
    border-radius: 16px;
    padding: 1.15rem;
}

.pekerjaan-card i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    border-radius: 12px;
    margin-bottom: 0.9rem;
}

.pekerjaan-card-value {
    color: var(--green-deep);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.pekerjaan-card-label {
    color: var(--text-mid);
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0.45rem;
    line-height: 1.35;
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.category-card {
    min-height: 165px;
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid rgba(26, 58, 42, 0.06);
    border-radius: 8px;
    padding: 1.35rem;
    box-shadow: 0 8px 24px rgba(26, 58, 42, 0.08);
}

.category-illustration {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-fresh);
    background: var(--green-mist);
    border-radius: 24px;
    font-size: 2.6rem;
}

.category-card-title {
    color: #555b61;
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
}

.category-card-value {
    color: #7ad957;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 500;
    line-height: 1;
    margin-top: 0.75rem;
}


/* ==========================================================================
   7. DETAIL BERITA
   ========================================================================== */
.hero-artikel {
    padding-top: 80px;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-artikel::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-artikel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 169, 110, 0.08) 0%, transparent 70%);
}

.hero-artikel-inner {
    padding: 60px 0 100px;
    position: relative;
}

.breadcrumb-artikel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-artikel a {
    color: var(--green-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-artikel a:hover {
    color: white;
}

.breadcrumb-artikel i {
    font-size: 0.6rem;
}

.artikel-kategori-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82, 169, 110, 0.2);
    border: 1px solid rgba(82, 169, 110, 0.4);
    color: var(--green-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.artikel-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    animation: fadeUp 0.7s 0.1s both;
}

.artikel-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s 0.2s both;
}

.artikel-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    animation: fadeUp 0.7s 0.3s both;
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(82, 169, 110, 0.5);
    object-fit: cover;
}

.author-name {
    color: white;
    font-weight: 600;
    font-size: 0.88rem;
}

.author-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.meta-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
}

.meta-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--green-light);
}

.hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    margin-top: 3rem;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.hero-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-style: italic;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 1001;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--green-fresh), var(--gold));
    width: 0%;
    transition: width 0.1s linear;
}

.artikel-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 2;
    color: #2d4035;
}

.artikel-body p {
    margin-bottom: 1.4rem;
}

.artikel-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-deep);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.artikel-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 2rem 0 0.8rem;
}

.artikel-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.artikel-body ul li {
    margin-bottom: 0.5rem;
    color: var(--text-mid);
}

.pull-quote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    border-left: 5px solid var(--green-fresh);
    background: linear-gradient(135deg, var(--green-mist), #d4f0de);
    border-radius: 0 20px 20px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--green-dark);
    line-height: 1.7;
}

.pull-quote cite {
    display: block;
    font-size: 0.82rem;
    font-style: normal;
    color: var(--green-mid);
    margin-top: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.artikel-body .img-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: -0.8rem;
    margin-bottom: 1.5rem;
}

.artikel-body .inline-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 0.5rem;
    object-fit: cover;
    max-height: 360px;
}

.highlight-box {
    background: var(--green-deep);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    margin: 2rem 0;
}

.highlight-box h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.highlight-box ul {
    color: rgba(255, 255, 255, 0.8);
}

.highlight-box ul li {
    margin-bottom: 0.5rem;
}

.share-bar {
    background: white;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 20px rgba(26, 58, 42, 0.06);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sticky-share {
    position: sticky;
    top: 100px;
}

.share-label {
    font-weight: 700;
    color: var(--green-deep);
    font-size: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.share-fb {
    background: #1877f2;
    color: white;
}

.share-wa {
    background: #25d366;
    color: white;
}

.share-tw {
    background: #1da1f2;
    color: white;
}

.share-copy {
    background: var(--green-mist);
    color: var(--green-mid);
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.tag-pill {
    display: inline-block;
    background: var(--green-mist);
    color: var(--green-mid);
    border: 1px solid var(--green-pale);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin: 3px;
}

.tag-pill:hover {
    background: var(--green-fresh);
    color: white;
    border-color: var(--green-fresh);
}

/* Sidebar Detail Berita */
.sidebar-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 20px rgba(26, 58, 42, 0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    padding: 1rem 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.sidebar-body {
    padding: 1.2rem 1.5rem;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--green-mist);
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover .sidebar-news-title {
    color: var(--green-fresh);
}

.sidebar-news-thumb {
    width: 72px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-news-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.sidebar-news-date {
    font-size: 0.72rem;
    color: var(--text-light);
}

.wisata-promo-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.wisata-promo-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.wisata-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.92) 0%, transparent 50%);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.wisata-promo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.wisata-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 6px;
}

.cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--green-mist);
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.cat-link:last-child {
    border-bottom: none;
}

.cat-link:hover {
    color: var(--green-fresh);
}

.cat-count {
    background: var(--green-mist);
    color: var(--green-mid);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================================================
   8. DETAIL WISATA
   ========================================================================== */
.hero-wisata {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
    transform: scale(1.1);
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 58, 42, 0.3) 0%, rgba(26, 58, 42, 0.6) 60%, rgba(26, 58, 42, 0.95) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 0 60px;
}

.hero-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.hero-title-wisata {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.2s both;
}

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.4s both;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

.hero-meta-item i {
    color: var(--green-light);
}

.rating-big {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeUp 0.8s 0.5s both;
}

.rating-stars-big {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.rating-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.hero-actions-wisata {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.6s both;
}

.floating-info {
    position: sticky;
    top: 90px;
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(26, 58, 42, 0.15);
    border: 1px solid var(--green-pale);
    overflow: hidden;
}

.floating-info-header {
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    padding: 1.5rem;
    text-align: center;
}

.tiket-label {
    color: var(--green-light);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.tiket-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
}

.tiket-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.floating-info-body {
    padding: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--green-mist);
    font-size: 0.88rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: var(--green-mist);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-mid);
    flex-shrink: 0;
}

.info-label {
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-val {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
}

.btn-pesan {
    width: 100%;
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white;
    border: none;
    border-radius: 14px;
    padding: 0.9rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(82, 169, 110, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pesan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(82, 169, 110, 0.5);
}

.btn-share {
    width: 100%;
    background: transparent;
    color: var(--green-mid);
    border: 2px solid var(--green-pale);
    border-radius: 14px;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-share:hover {
    border-color: var(--green-fresh);
    background: var(--green-mist);
}

.detail-section {
    padding: 80px 0;
}

.detail-section.alt {
    background: var(--green-mist);
}

.desc-content {
    font-size: 1rem;
    line-height: 1.95;
    color: var(--text-mid);
}

.desc-content p {
    margin-bottom: 1.2rem;
}

.desc-highlight {
    background: linear-gradient(135deg, var(--green-mist), #d4f0de);
    border-left: 4px solid var(--green-fresh);
    border-radius: 0 16px 16px 0;
    padding: 1.4rem 1.8rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--green-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 12px;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-count-overlay {
    background: rgba(26, 58, 42, 0.75);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.fasilitas-item {
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.fasilitas-item:hover {
    border-color: var(--green-fresh);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(26, 58, 42, 0.1);
}

.fasilitas-icon {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    display: block;
}

.fasilitas-label {
    font-size: 0.8rem;
    color: var(--text-mid);
    font-weight: 600;
}

.tips-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--green-pale);
    transition: all 0.3s;
}

.tips-card:hover {
    box-shadow: 0 10px 30px rgba(26, 58, 42, 0.08);
    transform: translateY(-3px);
}

.tips-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-fresh), var(--green-mid));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tips-title {
    font-weight: 700;
    color: var(--green-deep);
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.tips-desc {
    color: var(--text-mid);
    font-size: 0.83rem;
    line-height: 1.6;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--green-mist), #d4f0de);
    border-radius: 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--green-pale);
    color: var(--green-mid);
    gap: 12px;
}

.map-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
}

/* Review Section */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--green-pale);
    box-shadow: 0 4px 15px rgba(26, 58, 42, 0.05);
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-pale);
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--green-deep);
}

.reviewer-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.review-stars {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-top: 0.7rem;
}

.rating-summary-big {
    text-align: center;
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    border-radius: 20px;
    padding: 2rem;
    color: white;
}

.rating-avg {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.rating-stars-sum {
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin: 0.5rem 0;
}

.rating-total {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.rating-bar-track {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--gold);
}

.review-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.review-alert.success {
    background: rgba(46, 117, 81, 0.12);
    border: 1px solid rgba(46, 117, 81, 0.24);
    color: var(--green-mid);
}

.review-form-card {
    background: white;
    border: 1px solid var(--green-pale);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 8px 24px rgba(26, 58, 42, 0.06);
}

.review-form-kicker {
    color: var(--green-mid);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.review-form-title {
    margin: 0;
    color: var(--green-deep);
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 900;
}

.review-form-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-mist);
    color: var(--green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.review-form-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--green-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.review-form-control {
    width: 100%;
    border: 1px solid var(--green-pale);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: var(--text-dark);
    background: rgba(245, 250, 246, 0.55);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.review-form-control:focus {
    background: white;
    border-color: var(--green-fresh);
    box-shadow: 0 0 0 4px rgba(46, 117, 81, 0.12);
}

textarea.review-form-control {
    resize: vertical;
    min-height: 120px;
}

.review-form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.review-form-error {
    margin-top: 0.4rem;
    color: #b02a37;
    font-size: 0.78rem;
    font-weight: 600;
}

.review-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
}

.review-form-footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ==========================================================================
   9. GALERI GRID (Masonry List)
   ========================================================================== */
/* CSS Columns for masonry layout (List Galeri) */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 991px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .masonry-grid {
        column-count: 1;
    }
}

.masonry-grid .gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 58, 42, 0.08);
    transition: all 0.3s ease;
}

.masonry-grid .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-grid .gallery-item:hover {
    box-shadow: 0 15px 35px rgba(26, 58, 42, 0.15);
    transform: translateY(-5px);
}

.masonry-grid .gallery-item:hover img {
    transform: scale(1.05);
}

.masonry-grid .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.9) 0%, rgba(26, 58, 42, 0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.masonry-grid .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.masonry-grid .gallery-category {
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 5px;
    align-self: flex-start;
    margin-bottom: 8px;
}

.masonry-grid .gallery-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.masonry-grid .gallery-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.masonry-grid .gallery-expand-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.masonry-grid .gallery-item:hover .gallery-expand-icon {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   10. MOBILE OVERRIDES (Media Queries)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-stats .hero-stat-label {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.4);
    }

    .hero-stats .hero-stat-num {
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.65rem 1.4rem;
        font-size: 0.85rem;
    }

    .sticky-wisata-cta {
        padding: 0.65rem 1.1rem;
        font-size: 0.78rem;
        gap: 7px;
        bottom: 16px;
        right: 16px;
    }

    .kepala-desa-card {
        grid-template-columns: 1fr;
    }

    .kepala-desa-photo {
        min-height: 260px;
        max-height: 320px;
    }

    .kepala-desa-content {
        padding: 1.5rem;
    }

    .kepala-desa-text {
        max-height: 190px;
    }

    .profil-detail-section,
    .kependudukan-detail-section {
        padding: 70px 0;
    }

    .profil-info-grid {
        grid-template-columns: 1fr;
    }

    .struktur-card img {
        min-height: 260px;
    }

    .peta-desa-frame,
    .peta-desa-frame iframe {
        min-height: 360px;
    }

    .pekerjaan-layout {
        grid-template-columns: 1fr;
    }

    .pekerjaan-card-grid,
    .category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chart-box.population {
        min-height: 540px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 120px 0 50px;
    }

    .page-header.detail {
        padding: 120px 0 50px;
    }

    .page-title,
    .page-header.detail .page-title {
        font-size: 1.75rem;
    }

    .page-desc {
        font-size: 0.9rem;
    }

    .navbar-desa,
    .page-header,
    .hero-section,
    .hero-artikel,
    .hero-wisata,
    .data-section,
    .galeri-section,
    .berita-section,
    .berita-grid-section,
    .gallery-section,
    .wisata-grid-section,
    .detail-section,
    .kependudukan-detail-section,
    footer {
        overflow-x: clip;
    }

    .filter-wrapper,
    .search-box,
    .share-bar,
    .artikel-meta-row,
    .hero-meta-row,
    .hero-actions-wisata,
    .pagination-custom {
        max-width: 100%;
        min-width: 0;
    }

    .filter-wrapper {
        align-items: stretch;
    }

    .filter-pills,
    .artikel-meta-row,
    .hero-meta-row,
    .share-bar,
    .pagination-custom {
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
    }

    .filter-pill,
    .page-item-custom,
    .btn-outline-green,
    .btn-gold,
    .btn-share,
    .btn-pesan {
        max-width: 100%;
        white-space: normal;
    }

    .breadcrumb-wisata,
    .breadcrumb-news,
    .breadcrumb-artikel,
    .breadcrumb-custom {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .pekerjaan-layout,
    .category-card-grid,
    .galeri-grid,
    .fasilitas-grid,
    .pekerjaan-card-grid {
        max-width: 100%;
    }

    .offcanvas {
        max-width: 100%;
    }

    .navbar-desa .brand-sub {
        display: none;
    }
}

@media (max-width: 575.98px) {

    .pekerjaan-card-grid,
    .category-card-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        grid-template-columns: 86px 1fr;
        min-height: 132px;
        padding: 1rem;
    }

    .category-illustration {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        font-size: 2rem;
    }

    .chart-box {
        min-height: 310px;
    }

    .chart-box.population {
        min-height: 500px;
    }
}