:root {
    --paper: #F7F3EA;
    --paper-2: #F0E9D8;
    --ink: #2B2A28;
    --ink-soft: #5C574E;
    --teal: #0B6E82;
    --teal-deep: #084F5E;
    --gold: #C98A1F;
    --gold-soft: #E9C97C;
    --leaf: #0EA372;
    --leaf-deep: #0B7D58;
    --clay: #B5502E;
    --line: #DFD6C0;
    --card: #FFFFFF;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(43,42,40,.04), 0 8px 24px -8px rgba(43,42,40,.12);
    --navbar-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height, 80px);
}

section[id],
[id] {
    scroll-margin-top: var(--navbar-height, 80px);
}

:target {
    scroll-margin-top: var(--navbar-height, 80px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    margin: 0;
    line-height: 1.15;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--teal-deep);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    transition: top .2s;
    z-index: 200;
}

.skip-link:focus {
    top: 12px;
}

/* =====================================================
   TOPBAR - INLINE (LOGO + DESA + LAYANAN + LOGIN)
   ===================================================== */
.topbar {
    background: var(--teal-deep);
    color: #EAF4F5;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 4px 0;
}

.topbar .wrap-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 14px;
    max-width: 100%;
    margin: 0 auto;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-logo-img {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
    display: inline-block;
}

.topbar-desa {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
    display: inline-block;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1;
    text-decoration: none;
}

.btn-chip.mandiri {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-chip.mandiri:hover {
    background: rgba(255,255,255,0.18);
}

.btn-chip.admin {
    background: var(--leaf);
    color: #fff;
}

.btn-chip.admin:hover {
    filter: brightness(1.08);
}

/* =====================================================
   MAIN NAVIGATION - DENGAN DROPDOWN HOVER (VERSI BARU)
   ===================================================== */
nav.mainnav {
    background: var(--teal);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    width: 100%;
    overflow: visible !important;
    padding: 0;
}

.navrow-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
    gap: 0;
    position: relative;
    min-height: 52px;
    overflow: visible !important;
}

.menu-toggle {
    display: none !important;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    border-radius: 6px;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
}

.menu-toggle .menu-label {
    font-size: 13px;
    font-weight: 600;
    margin-left: 6px;
    color: #fff;
}

@media (min-width: 921px) {
    .menu-toggle .menu-label {
        display: none;
    }
}

.nav-list {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    width: 100%;
    overflow: visible !important;
}

.nav-list::-webkit-scrollbar {
    display: none;
}
.nav-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-list > li {
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
    text-decoration: none;
    border-radius: 6px;
}

.nav-list > li > a:hover {
    background: rgba(255,255,255,.12);
    border-bottom-color: var(--gold-soft);
}

.nav-list > li > a.current {
    border-bottom-color: var(--gold-soft);
    background: rgba(255,255,255,.12);
}

.nav-list > li > a i {
    opacity: .85;
    font-size: 11px;
}

.nav-list .dropdown {
    position: relative !important;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.25s ease;
    display: inline-block;
    opacity: 0.7;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-list .dropdown .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: var(--teal-deep) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important;
    border-radius: 8px !important;
    padding: 6px 0 !important;
    z-index: 99999 !important;
    border-top: 3px solid var(--gold-soft) !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 2px !important;
}

.nav-list .dropdown:hover .dropdown-menu {
    display: block !important;
}

.nav-list .dropdown-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
}

.nav-list .dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 18px !important;
    color: #DCEFF2 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-bottom: none !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.nav-list .dropdown-menu a:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.nav-list .dropdown-menu a i {
    font-size: 12px !important;
    opacity: 0.7 !important;
    color: var(--gold-soft) !important;
}

/* =====================================================
   RESPONSIVE NAVBAR (Mobile)
   ===================================================== */
@media (max-width: 920px) {
    .menu-toggle {
        display: block !important;
    }
    
    .navrow-full {
        justify-content: flex-start;
        padding: 0 12px;
        min-height: 48px;
    }
    
    .nav-list .dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .nav-list {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: var(--teal-deep);
        position: absolute;
        left: 0;
        top: 100%;
        box-shadow: 0 8px 16px rgba(0,0,0,0.25);
        padding: 8px 0;
        overflow-y: auto;
        max-height: 80vh;
        z-index: 999;
        gap: 0;
        border-radius: 0 0 8px 8px;
        overflow: visible !important;
    }

    .nav-list.open {
        display: flex !important;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }

    .nav-list > li > a {
        width: 100%;
        padding: 12px 20px !important;
        border-bottom: none !important;
        white-space: normal;
        font-size: 14px !important;
        justify-content: flex-start;
        gap: 10px;
        border-radius: 0 !important;
    }
    
    .nav-list > li > a i {
        font-size: 14px !important;
        width: 22px;
        text-align: center;
    }
    
    .nav-list .dropdown {
        position: static !important;
    }
    
    .nav-list .dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        background: rgba(0,0,0,0.15) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: unset !important;
        z-index: 1 !important;
        margin-top: 0 !important;
    }
    
    .nav-list .dropdown.open .dropdown-menu {
        display: block !important;
    }
    
    .nav-list .dropdown-menu a {
        padding: 10px 20px 10px 40px !important;
        font-size: 13px !important;
    }
}

/* =====================================================
   RESPONSIVE NAVBAR
   ===================================================== */
@media (max-width: 920px) {
    .menu-toggle {
        display: block !important;
        font-size: 20px;
        padding: 6px 10px;
    }
    
    .navrow-full {
        justify-content: flex-start;
        padding: 0 12px;
        min-height: 48px;
    }
    
    .nav-list .dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .nav-list {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: var(--teal-deep);
        position: absolute;
        left: 0;
        top: 100%;
        box-shadow: 0 8px 16px rgba(0,0,0,0.25);
        padding: 8px 0;
        overflow-y: auto;
        max-height: 80vh;
        z-index: 999;
        gap: 0;
        border-radius: 0 0 8px 8px;
        overflow: visible !important;
    }

    .nav-list.open {
        display: flex !important;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }

    .nav-list > li > a {
        width: 100%;
        padding: 12px 20px !important;
        border-bottom: none !important;
        white-space: normal;
        font-size: 14px !important;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .nav-list > li > a i {
        font-size: 14px !important;
        width: 22px;
        text-align: center;
    }
    
    .nav-list .dropdown {
        position: static !important;
    }
    
    .nav-list .dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        background: rgba(0,0,0,0.15) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: unset !important;
        z-index: 1 !important;
    }
    
    .nav-list .dropdown.open .dropdown-menu {
        display: block !important;
    }
    
    .nav-list .dropdown-menu a {
        padding: 10px 20px 10px 40px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .topbar .wrap-full {
        padding: 2px 6px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .topbar-brand {
        flex: 1;
        justify-content: center;
    }
    
    .topbar-actions {
        justify-content: center;
        width: 100%;
        gap: 4px;
    }
    
    .topbar-logo-img {
        height: 20px;
        width: 20px;
    }
    
    .topbar-desa {
        font-size: 12px;
    }
    
    .btn-chip {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .navrow-full {
        padding: 0 8px;
        min-height: 40px;
    }
    
    .menu-toggle {
        font-size: 18px;
        padding: 4px 8px;
    }
    
    .nav-list > li > a {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    .nav-list .dropdown-menu a {
        font-size: 12px !important;
        padding: 8px 16px 8px 36px !important;
    }
}

/* =====================================================
   HERO - FULL WIDTH DENGAN FOTO BALAI DESA
   ===================================================== */
.hero-full {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #0B6E82;
}

.hero-full-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/balai-desa.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-full-image img {
    display: none;
}

.hero-full-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.1) 0%, 
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0.6) 70%,
        rgba(0,0,0,0.8) 100%
    );
}

.hero-full-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-full-content h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    line-height: 1.15;
}

.hero-full-content p {
    font-size: clamp(14px, 1.5vw, 18px);
    color: #DCEFF2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--gold-soft);
    color: #2a1c04;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 138, 31, 0.35);
}

.btn-hero:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 138, 31, 0.5);
    gap: 12px;
}

@media (max-width: 768px) {
    .hero-full {
        height: 50vh;
        min-height: 320px;
        max-height: 450px;
    }
    
    .hero-full-content {
        bottom: 12%;
        width: 95%;
    }
    
    .hero-full-content h1 {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .btn-hero {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-full {
        height: 40vh;
        min-height: 250px;
        max-height: 350px;
    }
    
    .hero-full-content {
        bottom: 10%;
    }
    
    .hero-full-content h1 {
        font-size: clamp(20px, 7vw, 26px);
    }
    
    .hero-full-content p {
        font-size: 12px;
    }
    
    .btn-hero {
        padding: 8px 18px;
        font-size: 12px;
    }
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
header.pageheader {
    background: linear-gradient(120deg, var(--teal-deep), var(--teal));
    position: relative;
    overflow: hidden;
}

header.pageheader::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}

.pageheader-inner {
    position: relative;
    z-index: 2;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pageheader-inner .brand-mark {
    width: 52px;
    height: 52px;
    margin: 0;
    flex-shrink: 0;
}

.pageheader-inner .brand-mark span {
    font-size: 18px;
}

.pageheader-inner h1 {
    color: #fff;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 600;
}

.pageheader-inner p {
    color: #DCEFF2;
    font-size: 13.5px;
    margin-top: 3px;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    padding: 16px 0 0;
    font-size: 13px;
    color: var(--ink-soft);
}

.breadcrumb a:hover {
    color: var(--teal);
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: var(--gold);
}

/* =====================================================
   CAROUSEL BOX
   ===================================================== */
.carousel-box-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: #1a1a1a;
}

.carousel-box-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 16/7;
    min-height: 260px;
    will-change: transform;
}

.carousel-box-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.carousel-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-box-bg {
    width: 100%;
    height: 100%;
}

.carousel-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 70%);
    z-index: 1;
}

.carousel-box-content {
    position: absolute;
    bottom: 12%;
    left: 5%;
    z-index: 2;
    color: #fff;
    max-width: 65%;
    padding: 10px;
}

.carousel-box-content .tag {
    display: inline-block;
    background: var(--gold);
    color: #2a1c04;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 14px;
    border-radius: 999px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-box-content h3 {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 600;
    margin-bottom: 6px;
    font-family: 'Fraunces', serif;
    line-height: 1.2;
}

.carousel-box-content h3 a {
    color: #fff;
    text-decoration: none;
}

.carousel-box-content h3 a:hover {
    text-decoration: underline;
}

.carousel-box-content .meta {
    font-size: 13px;
    color: #DCEFF2;
}

.carousel-box-content .meta i {
    margin-right: 5px;
    color: var(--gold-soft);
}

.carousel-box-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-box-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.05);
}

.carousel-box-btn.prev {
    left: 12px;
}

.carousel-box-btn.next {
    right: 12px;
}

.carousel-box-dots {
    position: absolute;
    bottom: 12px;
    right: 16px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.carousel-box-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-box-dots button.active {
    background: var(--gold);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .carousel-box-track {
        aspect-ratio: 16/9;
        min-height: 180px;
    }
    
    .carousel-box-content {
        max-width: 80%;
        bottom: 10%;
        left: 4%;
    }
    
    .carousel-box-content h3 {
        font-size: 16px;
    }
    
    .carousel-box-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .carousel-box-btn.prev {
        left: 8px;
    }
    
    .carousel-box-btn.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-box-track {
        aspect-ratio: 4/3;
        min-height: 140px;
    }
    
    .carousel-box-content h3 {
        font-size: 14px;
    }
    
    .carousel-box-content .meta {
        font-size: 11px;
    }
    
    .carousel-box-content .tag {
        font-size: 10px;
        padding: 2px 10px;
    }
    
    .carousel-box-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .carousel-box-dots {
        bottom: 8px;
        right: 12px;
        gap: 5px;
    }
    
    .carousel-box-dots button {
        width: 8px;
        height: 8px;
    }
    
    .carousel-box-dots button.active {
        width: 18px;
    }
}

/* =====================================================
   LAYOUT
   ===================================================== */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 30px 20px 10px 20px;
    align-items: start;
    position: relative;
}

@media (max-width: 1080px) {
    .layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 20px;
    }
}

@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr;
        padding: 20px 16px 10px 16px;
    }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.section-title .bar {
    width: 5px;
    height: 22px;
    background: var(--gold);
    border-radius: 3px;
}

.section-title h2 {
    font-size: 21px;
    font-weight: 600;
}

/* =====================================================
   ARTICLE CARDS
   ===================================================== */
.article-card {
    display: flex;
    gap: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    margin-bottom: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px -10px rgba(43,42,40,.25);
}

.article-thumb {
    flex-shrink: 0;
    width: 112px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.article-thumb svg {
    width: 100%;
    height: 100%;
}

.article-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.article-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.article-body h4 {
    font-size: 16px;
    font-weight: 600;
}

.article-body h4 a:hover {
    color: var(--teal);
}

.article-date {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.article-date i {
    color: var(--gold);
    margin-right: 5px;
}

/* =====================================================
   SIDEBAR CARDS
   ===================================================== */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-head {
    background: var(--paper-2);
    padding: 14px 18px;
    border-bottom: 3px solid var(--gold);
}

.card-head h3 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.card-head h3 i {
    color: var(--gold);
}

.card-body {
    padding: 16px 18px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--card);
    font-size: 14.5px;
    font-family: inherit;
    box-shadow: var(--shadow);
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
}

.cat-list li {
    border-top: 1px solid var(--line);
}

.cat-list li:first-child {
    border-top: none;
}

.cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    font-size: 14.5px;
}

.cat-list a i {
    color: var(--gold);
    font-size: 8px;
}

.cat-list a:hover {
    color: var(--teal);
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
}

.tabs button {
    flex: 1;
    padding: 10px 6px;
    font-family: inherit;
    font-weight: 600;
    font-size: 13.5px;
    background: none;
    border: none;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.tabs button.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.archive-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.archive-item:first-child {
    border-top: none;
    padding-top: 0;
}

.archive-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.archive-thumb svg {
    width: 100%;
    height: 100%;
}

.archive-info h5 {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.archive-info .adate {
    font-size: 11.5px;
    color: var(--teal);
    margin-top: 3px;
}

.archive-info .adate i {
    margin-right: 4px;
}

.tabpanel {
    display: none;
}

.tabpanel.active {
    display: block;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform .15s;
}

.social-row a:hover {
    transform: translateY(-3px);
}

.social-row a.fb {
    background: #2563EB;
}
.social-row a.ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-row a.wa {
    background: #22C55E;
}
.social-row a.yt {
    background: #EF4444;
}

.map-box {
    border-radius: 12px;
    overflow: hidden;
    height: 190px;
    position: relative;
    background: linear-gradient(160deg, #dfe9d8, #c9dfc0);
}

.map-box .pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -70%);
    color: var(--clay);
    font-size: 30px;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,.25));
}

.map-box .cap {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,.85);
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--ink-soft);
}

.visit-table {
    width: 100%;
    font-size: 13.5px;
    border-collapse: collapse;
}

.visit-table td {
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.visit-table tr:first-child td {
    border-top: none;
}

.visit-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--teal);
}

.visit-table td:first-child i {
    color: var(--gold);
    margin-right: 7px;
    width: 14px;
}

.comment-empty {
    text-align: center;
    padding: 20px 10px;
    color: var(--ink-soft);
    font-size: 13.5px;
}

.comment-empty i {
    display: block;
    font-size: 26px;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

/* =====================================================
   PAGE CONTENT
   ===================================================== */
.page-content {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 30px;
}

.page-content h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.page-content .subtitle {
    color: var(--ink-soft);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.page-content p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.page-content h3 {
    font-size: 16px;
    margin: 22px 0 10px;
    color: var(--ink);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0;
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-item {
    background: var(--paper-2);
    border-radius: 10px;
    padding: 14px 16px;
}

.info-item .label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--gold);
    font-weight: 700;
}

.info-item .value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    margin-top: 4px;
    font-weight: 600;
}

.placeholder-note {
    display: flex;
    gap: 12px;
    background: var(--paper-2);
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 20px;
}

.placeholder-note i {
    color: var(--gold);
    margin-top: 2px;
}

/* =====================================================
   TABLES
   ===================================================== */
.simple-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 6px;
    font-size: 14px;
}

.simple-table th {
    text-align: left;
    background: var(--paper-2);
    color: var(--ink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 10px 12px;
    border-bottom: 2px solid var(--gold);
}

.simple-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.simple-table tr:last-child td {
    border-bottom: none;
}

.simple-table .tag-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--teal);
}

/* =====================================================
   ORG GRID
   ===================================================== */
.org-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0;
}

@media (max-width: 600px) {
    .org-grid {
        grid-template-columns: 1fr;
    }
}

.org-card {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.org-card .oi {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--teal);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.org-card h4 {
    font-size: 14.5px;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.org-card p {
    font-size: 13px;
    margin: 0;
    color: var(--ink-soft);
}

/* =====================================================
   CONTACT ROW
   ===================================================== */
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.contact-row:first-child {
    border-top: none;
}

.contact-row .ci {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--clay);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-row .cinfo b {
    display: block;
    font-size: 14px;
}

.contact-row .cinfo span {
    font-size: 12.5px;
    color: var(--ink-soft);
}

/* =====================================================
   STAT STRIPS
   ===================================================== */
.stat-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.stat-chip {
    flex: 1;
    min-width: 130px;
    background: var(--paper-2);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}

.stat-chip .n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 22px;
    font-weight: 600;
    color: var(--teal);
}

.stat-chip .l {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 2px;
}

/* =====================================================
   CHART BOX
   ===================================================== */
.chart-box {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 16px;
    margin: 14px 0 22px;
}

/* =====================================================
   LEDGER / APBDES
   ===================================================== */
.ledger-section {
    padding: 8px 0 40px;
}

.ledger-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 30px;
}

.ledger-head .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.ledger-head h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-top: 8px;
}

.ledger-head p {
    color: var(--ink-soft);
    margin-top: 10px;
    font-size: 15px;
}

.ledger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 980px) {
    .ledger-grid {
        grid-template-columns: 1fr;
    }
}

.ledger-card {
    background: var(--card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--line);
}

.ledger-card .lh {
    background: var(--teal-deep);
    color: #fff;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ledger-card .lh i {
    color: var(--gold-soft);
}

.ledger-card .lb {
    padding: 18px 20px 22px;
}

.terrace {
    margin-bottom: 16px;
}

.terrace:last-child {
    margin-bottom: 0;
}

.terrace .t-label {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 5px;
}

.terrace .t-nums {
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.terrace .t-track {
    height: 10px;
    background: #EFE7D6;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.terrace .t-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold));
    width: 0;
    transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
    position: relative;
}

.terrace .t-fill span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #3a2604;
    font-weight: 700;
}

.terrace.big .t-fill {
    background: linear-gradient(90deg, #7fd9c4, var(--leaf));
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer-top {
    background: #2d2a24;
    color: #EDE7D8;
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 920px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-col h4 {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold-soft);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: #C9C2B0;
    margin-bottom: 12px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.footer-tag {
    background: rgba(255,255,255,0.08);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 11px;
    color: #C9C2B0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.footer-link:hover {
    gap: 10px;
}

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13.5px;
    color: #C9C2B0;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours .closed {
    color: #e74c3c;
    font-weight: 600;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 7px 0;
    font-size: 13.5px;
    color: #C9C2B0;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--gold-soft);
    font-size: 15px;
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

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

.footer-contact a:hover {
    color: #fff;
}

.footer-contact small {
    font-size: 11px;
    color: #9a9284;
}

.footer-map {
    margin-top: 12px;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-map:hover {
    background: rgba(255,255,255,0.16);
}

.btn-map i {
    color: var(--gold-soft);
}

.footer-middle {
    background: #24211c;
    color: #EDE7D8;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #C9C2B0;
}

.stat-item i {
    color: var(--gold-soft);
    font-size: 16px;
}

.stat-item strong {
    color: #fff;
    font-size: 16px;
    font-family: 'IBM Plex Mono', monospace;
    min-width: 30px;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.1);
}

.footer-bottom {
    background: #1a1815;
    color: #EDE7D8;
    padding: 14px 0;
}

.footer-bottom .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #9a9284;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .footer-col h4 {
        font-size: 15px;
    }
    
    .footer-desc {
        font-size: 12.5px;
    }
    
    .footer-hours li {
        font-size: 12.5px;
    }
    
    .footer-contact li {
        font-size: 12.5px;
    }
    
    .footer-stats {
        gap: 15px;
        flex-direction: column;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .stat-item strong {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 20px;
    }
    
    .footer-meta {
        gap: 4px;
    }
    
    .footer-tag {
        font-size: 10px;
        padding: 2px 10px;
    }
    
    .btn-map {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .footer-bottom p {
        font-size: 10px;
    }
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.backtotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--leaf);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    border: none;
    cursor: pointer;
}

.backtotop.show {
    opacity: 1;
    pointer-events: auto;
}

.backtotop:hover {
    transform: translateY(-3px);
}

/* =====================================================
   FILTER ROW
   ===================================================== */
.filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.filter-row a.btn-chip {
    padding: 8px 15px;
}

/* =====================================================
   EVENT & GALERI GRID
   ===================================================== */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* =====================================================
   SIDEBAR MENU VERTIKAL - FLOATING
   ===================================================== */
.sidebar-menu-wrapper {
    position: fixed;
    left: 0;
    top: 180px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
}

.sidebar-menu-trigger {
    pointer-events: auto;
    background: var(--teal);
    color: #fff;
    padding: 10px 6px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    writing-mode: vertical-lr;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 600;
    min-height: 60px;
    justify-content: center;
    border: none;
    position: relative;
    z-index: 10;
}

.sidebar-menu-trigger:hover {
    background: var(--teal-deep);
    padding-right: 10px;
}

.sidebar-menu-trigger i {
    font-size: 16px;
    transform: rotate(90deg);
    margin-bottom: 2px;
}

.sidebar-menu-panel {
    pointer-events: auto;
    position: fixed;
    left: -280px;
    top: 80px;
    width: 260px;
    height: calc(100vh - 120px);
    background: var(--teal-deep);
    box-shadow: 4px 0 30px rgba(0,0,0,0.3);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow-y: auto;
    padding-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.sidebar-menu-wrapper:hover .sidebar-menu-panel,
.sidebar-menu-panel.open {
    left: 0;
}

.sidebar-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 5;
}

.sidebar-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

.sidebar-menu-brand span {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.sidebar-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
}

.sidebar-menu-close:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-menu-list {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.sidebar-menu-list > li {
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sidebar-menu-list > li > a,
.sidebar-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    color: #DCEFF2;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
}

.sidebar-menu-list > li > a:hover,
.sidebar-menu-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.sidebar-menu-list > li > a i,
.sidebar-menu-toggle i {
    width: 18px;
    text-align: center;
    color: var(--gold-soft);
    font-size: 13px;
}

.sidebar-menu-list > li > a.active {
    background: var(--gold);
    color: #3a2606;
}

.sidebar-menu-list > li > a.active i {
    color: #3a2606;
}

.sidebar-menu-sub {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0,0,0,0.15);
}

.sidebar-menu-sub.open {
    display: block;
}

.sidebar-menu-sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 42px;
    color: #B7DDE2;
    text-decoration: none;
    font-size: 12.5px;
    transition: all 0.2s ease;
}

.sidebar-menu-sub a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.sidebar-menu-sub a i {
    color: var(--gold-soft);
    font-size: 5px;
}

.sidebar-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 16px;
}

.menu-toggle-sidebar {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.menu-toggle-sidebar:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .sidebar-menu-panel {
        width: 240px;
        left: -260px;
    }
    
    .sidebar-menu-trigger {
        padding: 8px 5px;
        min-height: 50px;
        font-size: 10px;
    }
    
    .sidebar-menu-trigger i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sidebar-menu-panel {
        width: 220px;
        left: -240px;
    }
    
    .sidebar-menu-trigger {
        padding: 6px 4px;
        min-height: 40px;
        font-size: 9px;
    }
    
    .sidebar-menu-trigger i {
        font-size: 12px;
    }
}

@media (max-width: 920px) {
    .sidebar-menu-trigger {
        display: none;
    }
    
    .menu-toggle-sidebar {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
}

/* =====================================================
   PERANGKAT DESA - GRID CARD UNTUK PUBLIK
   ===================================================== */

.perangkat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.perangkat-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.perangkat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.perangkat-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--paper-1);
    position: relative;
}

.perangkat-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perangkat-info {
    padding: 12px 10px 14px;
}

.perangkat-nama {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.perangkat-jabatan {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
}

.page-content .perangkat-grid {
    margin-top: 10px;
}

.page-content .perangkat-card {
    background: var(--paper-2);
}

.page-content .perangkat-card:hover {
    background: var(--card);
}

@media (max-width: 768px) {
    .perangkat-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }
    
    .perangkat-nama {
        font-size: 14px;
    }
    
    .perangkat-jabatan {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .perangkat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .perangkat-nama {
        font-size: 12px;
    }
    
    .perangkat-jabatan {
        font-size: 10px;
    }
    
    .perangkat-info {
        padding: 8px 6px 10px;
    }
}

/* =====================================================
   MASUKAN & UMPAN BALIK
   ===================================================== */
.feedback-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feedback-form .f-field.span2 {
    grid-column: 1 / -1;
}

.feedback-form .f-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
}

.feedback-form .f-field .required {
    color: #e74c3c;
}

.feedback-form .f-field input,
.feedback-form .f-field select,
.feedback-form .f-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: var(--paper);
    transition: border-color 0.2s ease;
}

.feedback-form .f-field input:focus,
.feedback-form .f-field select:focus,
.feedback-form .f-field textarea:focus {
    border-color: var(--teal);
    outline: none;
    background: #fff;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    color: var(--ink);
}

.contact-item span {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
}

@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .feedback-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-form .f-field.span2 {
        grid-column: 1;
    }
}

/* =====================================================
   TAMPILAN ARTIKEL
   ===================================================== */
.page-content .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 14px;
}

.page-content .article-meta i {
    color: var(--gold);
    margin-right: 6px;
}

.page-content .article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink);
    text-align: justify;
    margin-bottom: 30px;
}

.page-content .article-content p {
    margin-bottom: 16px;
}

.page-content .article-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-content .article-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.komentar-item {
    background: var(--paper-2);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.komentar-item .komentar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.komentar-item .komentar-header strong {
    font-size: 15px;
    color: var(--ink);
}

.komentar-item .komentar-header span {
    font-size: 12px;
    color: var(--ink-soft);
}

.komentar-item p {
    margin: 6px 0 0;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.8;
    text-align: justify;
}

.komentar-form {
    background: var(--card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.komentar-form h4 {
    font-size: 17px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
}

.komentar-form .form-group {
    margin-bottom: 14px;
}

.komentar-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 5px;
}

.komentar-form input,
.komentar-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    font-size: 14px;
    font-family: inherit;
    background: var(--paper);
    transition: border-color 0.2s;
}

.komentar-form input:focus,
.komentar-form textarea:focus {
    border-color: var(--teal);
    outline: none;
    background: #fff;
}

.komentar-form textarea {
    resize: vertical;
}

.komentar-form .form-hint {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 5px;
}

.komentar-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

.komentar-form .btn-reset {
    padding: 8px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.komentar-form .btn-reset:hover {
    background: var(--paper-2);
}

.komentar-form .btn-submit {
    padding: 8px 28px;
    border-radius: 999px;
    border: none;
    background: var(--leaf);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 125, 88, 0.35);
    transition: all 0.2s;
}

.komentar-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11, 125, 88, 0.45);
}

.alert-success-custom {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-weight: 600;
}

.alert-error-custom {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-weight: 600;
}

.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 600px) {
    .article-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-footer .btn-chip {
        justify-content: center;
    }
}

/* =====================================================
   PREFERS REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
    .nav-logo-img {
        transition: none;
    }
    .nav-logo-img:hover {
        transform: none;
    }
    .backtotop {
        transition: none;
    }
    .backtotop:hover {
        transform: none;
    }
}

/* =====================================================
   PERFORMANCE - CEGAH LAG/HANG
   ===================================================== */
.nav-list,
.dropdown-menu,
.slide {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.nav-list > li > a {
    will-change: border-color;
}

.dropdown-menu {
    will-change: transform, opacity;
}

.dropdown-menu {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dropdown-arrow {
    transition: transform 0.15s ease;
}

.nav-list,
.navrow-full {
    contain: layout style;
}

.nav-list > li > a:hover {
    transform: translateZ(0);
}

@media (max-width: 920px) {
    .dropdown-menu {
        transition: none !important;
    }
    
    .dropdown-arrow {
        transition: none !important;
    }
}

.nav-list > li > a {
    transition: background 0.15s ease, border-color 0.15s ease;
}

.dropdown-menu {
    transition: opacity 0.15s ease;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

@media (max-width: 920px) {
    .dropdown-menu,
    .dropdown-arrow,
    .nav-list > li > a {
        transition: none !important;
    }
}

.nav-list > li > a {
    will-change: auto;
}

.dropdown-menu {
    will-change: auto;
}

/* =====================================================
   PROFIL DESA - DENGAN KOTAK PEMISAH YANG JELAS
   ===================================================== */

.profil-section {
    background: var(--card);
    border-radius: 12px;
    padding: 24px 28px 28px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.profil-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold-soft);
}

/* ===== GARIS DEKORASI DI SAMPING KIRI ===== */
.profil-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--teal), var(--gold));
    border-radius: 4px 0 0 4px;
}

/* ===== HEADER SECTION - TANPA ICON ===== */
.section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--paper-2);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    border-radius: 2px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* ===== BODY SECTION - TEXT JUSTIFY ===== */
.section-body {
    padding-left: 0;
}

.section-body.text-justify {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
}

.section-body.text-justify p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    margin-bottom: 12px;
}

.section-body p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    margin-bottom: 12px;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    background: var(--paper-2);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--gold);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gold);
    font-weight: 700;
}

.info-item .value {
    font-size: 15px;
    margin-top: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* ===== TEXT JUSTIFY UNTUK SEMUA PARAGRAF DI PAGE CONTENT ===== */
.page-content p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .profil-section {
        padding: 18px 16px 20px;
        margin-bottom: 20px;
    }
    
    .section-header h3 {
        font-size: 17px;
    }
    
    .section-header::after {
        width: 50px;
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .profil-section {
        padding: 14px 12px 16px;
        margin-bottom: 16px;
    }
    
    .section-header h3 {
        font-size: 15px;
    }
    
    .section-body.text-justify {
        font-size: 14px;
    }
    
    .section-header::after {
        width: 40px;
    }
}

/* =====================================================
   LEMBAGA DESA - DENGAN KOTAK PEMISAH YANG JELAS
   ===================================================== */

.lembaga-section {
    background: var(--card);
    border-radius: 12px;
    padding: 24px 28px 28px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.lembaga-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold-soft);
}

/* ===== GARIS DEKORASI DI SAMPING KIRI ===== */
.lembaga-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--teal), var(--gold));
    border-radius: 4px 0 0 4px;
}

/* ===== HEADER SECTION - TANPA ICON ===== */
.lembaga-section .section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--paper-2);
    position: relative;
}

.lembaga-section .section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    border-radius: 2px;
}

.lembaga-section .section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* ===== BODY SECTION ===== */
.lembaga-section .section-body {
    padding-left: 0;
}

.lembaga-section .section-body p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    margin-bottom: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .lembaga-section {
        padding: 18px 16px 20px;
        margin-bottom: 20px;
    }
    
    .lembaga-section .section-header h3 {
        font-size: 17px;
    }
    
    .lembaga-section .section-header::after {
        width: 50px;
    }
}

@media (max-width: 600px) {
    .lembaga-section {
        padding: 14px 12px 16px;
        margin-bottom: 16px;
    }
    
    .lembaga-section .section-header h3 {
        font-size: 15px;
    }
    
    .lembaga-section .section-header::after {
        width: 40px;
    }
}

/* =====================================================
   STRUKTUR ORGANISASI - BAGAN HIERARKI
   ===================================================== */

/* ===== KEPALA DESA ===== */
.struktur-kepala {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 14px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(11, 110, 130, 0.3);
}

.struktur-kepala .struktur-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

.struktur-kepala .struktur-nama {
    font-size: 18px;
    font-weight: 700;
    margin-top: 2px;
}

/* ===== GARIS ===== */
.struktur-garis {
    display: flex;
    justify-content: center;
}

.struktur-garis-cabang {
    display: flex;
    justify-content: center;
}

/* ===== TIGA CABANG ===== */
.struktur-tiga-cabang {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.struktur-cabang {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.struktur-cabang:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold-soft);
}

.struktur-cabang-header {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.struktur-cabang-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.5px;
}

/* ===== ITEM DALAM CABANG ===== */
.struktur-cabang-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.struktur-item {
    background: var(--card);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    border-left: 3px solid var(--gold);
    transition: all 0.2s ease;
}

.struktur-item:hover {
    transform: translateX(4px);
    border-left-color: var(--teal);
}

.struktur-item .struktur-jabatan {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
}

.struktur-item .struktur-nama {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .struktur-tiga-cabang {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .struktur-kepala {
        padding: 12px 24px;
    }
    
    .struktur-kepala .struktur-nama {
        font-size: 16px;
    }
    
    .struktur-cabang {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .struktur-kepala {
        padding: 10px 16px;
    }
    
    .struktur-kepala .struktur-label {
        font-size: 11px;
    }
    
    .struktur-kepala .struktur-nama {
        font-size: 14px;
    }
    
    .struktur-cabang-label {
        font-size: 12px;
    }
    
    .struktur-item .struktur-jabatan {
        font-size: 11px;
    }
    
    .struktur-item .struktur-nama {
        font-size: 12px;
    }
}

/* =====================================================
   STRUKTUR ORGANISASI - BAGAN HIERARKI
   ===================================================== */

.struktur-kepala {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 14px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(11, 110, 130, 0.3);
}

.struktur-kepala .struktur-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

.struktur-kepala .struktur-nama {
    font-size: 18px;
    font-weight: 700;
    margin-top: 2px;
}

.struktur-garis {
    display: flex;
    justify-content: center;
}

.struktur-garis-cabang {
    display: flex;
    justify-content: center;
}

.struktur-tiga-cabang {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.struktur-cabang {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.struktur-cabang:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold-soft);
}

.struktur-cabang-header {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.struktur-cabang-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.5px;
}

.struktur-cabang-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.struktur-item {
    background: var(--card);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    border-left: 3px solid var(--gold);
    transition: all 0.2s ease;
}

.struktur-item:hover {
    transform: translateX(4px);
    border-left-color: var(--teal);
}

.struktur-item .struktur-jabatan {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
}

.struktur-item .struktur-nama {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1px;
}

/* ===== SUB HEADER SEKRETARIAT ===== */
.struktur-sub-header {
    background: var(--teal-deep);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    margin-bottom: 4px;
}

.struktur-sub-header .struktur-sub-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.struktur-sub-header .struktur-sub-nama {
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

/* ===== SUB CABANG KAUR ===== */
.struktur-sub-cabang {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 8px;
    border-left: 2px dashed var(--gold-soft);
    margin-left: 4px;
}

.struktur-cabang-sekretariat {
    grid-column: span 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .struktur-tiga-cabang {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .struktur-cabang-sekretariat {
        grid-column: span 1;
    }
    
    .struktur-sub-cabang {
        padding-left: 4px;
    }
    
    .struktur-kepala {
        padding: 12px 24px;
    }
    
    .struktur-kepala .struktur-nama {
        font-size: 16px;
    }
}

/* =====================================================
   EKONOMI DESA - SECTION FORMAT
   ===================================================== */

.ekonomi-section {
    background: var(--card);
    border-radius: 12px;
    padding: 24px 28px 28px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.ekonomi-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold-soft);
}

/* ===== GARIS DEKORASI ===== */
.ekonomi-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--teal), var(--gold));
    border-radius: 4px 0 0 4px;
}

/* ===== HEADER SECTION ===== */
.ekonomi-section .section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--paper-2);
    position: relative;
}

.ekonomi-section .section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    border-radius: 2px;
}

.ekonomi-section .section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* ===== STAT STRIP ===== */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0 30px;
}

.stat-chip {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border-left: 4px solid var(--gold);
}

.stat-chip .n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
}

.stat-chip .l {
    font-size: 13px;
    color: var(--ink-soft);
}

/* =====================================================
   UMKM GRID
   ===================================================== */

.umkm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.umkm-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.umkm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.umkm-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--paper-1);
    position: relative;
}

.umkm-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.umkm-info {
    padding: 12px 10px 14px;
}

.umkm-nama {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.umkm-jenis {
    margin-bottom: 4px;
}

.umkm-lokasi {
    font-size: 12px;
    color: var(--ink-soft);
}

/* =====================================================
   TANI GRID
   ===================================================== */

.tani-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.tani-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tani-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.tani-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--paper-1);
    position: relative;
}

.tani-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tani-info {
    padding: 12px 10px 14px;
}

.tani-nama {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.tani-fokus {
    margin-bottom: 4px;
}

.tani-wilayah {
    font-size: 12px;
    color: var(--ink-soft);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .ekonomi-section {
        padding: 18px 16px 20px;
        margin-bottom: 20px;
    }
    
    .ekonomi-section .section-header h3 {
        font-size: 17px;
    }
    
    .ekonomi-section .section-header::after {
        width: 50px;
    }
    
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .umkm-grid,
    .tani-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .ekonomi-section {
        padding: 14px 12px 16px;
        margin-bottom: 16px;
    }
    
    .ekonomi-section .section-header h3 {
        font-size: 15px;
    }
    
    .ekonomi-section .section-header::after {
        width: 40px;
    }
    
    .stat-strip {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-chip .n {
        font-size: 22px;
    }
    
    .umkm-grid,
    .tani-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .umkm-nama,
    .tani-nama {
        font-size: 13px;
    }
}

