/* =====================================================
   ANSOR THEME — Gaya utama (replika ansor.id)
   Font: Inter | Palet: emerald/green Tailwind
   ===================================================== */

:root {
        --green-900: #064e3b;
        --green-800: #065f46;
        --green-700: #047857;
        --green-600: #059669;
        --green-500: #10b981;
        --green-400: #34d399;
        --green-100: #d1fae5;
        --green-50:  #ecfdf5;
        --green-bright: #16a34a;
        --green-leaf:   #22c55e;
        --teal:      #14b8a6;
        --ink:       #111827;
        --body-c:    #374151;
        --muted:     #6b7280;
        --line:      #e5e7eb;
        --card-line: #eef2f1;
        --sky-50:    #eff6ff;
        --sky-600:   #2563eb;
        --grad-green: linear-gradient(135deg, #16a34a, #10b981 55%, #14b8a6);
        --grad-pill:  linear-gradient(135deg, #16a34a, #0d9488);
        --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
        --shadow-md: 0 6px 18px rgba(6, 78, 59, 0.10);
        --shadow-lg: 0 14px 34px rgba(6, 78, 59, 0.16);
        --radius: 16px;
        --header-h: 66px;
}

/* ---------- Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
        margin: 0;
        font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
        font-size: 15px;
        line-height: 1.7;
        color: var(--body-c);
        background: #ffffff;
        -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
        color: var(--ink);
        line-height: 1.3;
        margin: 0 0 12px;
        font-weight: 800;
}

p { margin: 0 0 14px; }

a { color: var(--green-700); text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a:hover { color: var(--green-600); }

ul, ol { padding-left: 22px; }

button { font-family: inherit; cursor: pointer; }

input, textarea, select { font-family: inherit; font-size: 14px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.site-main { min-height: 40vh; }

.screen-reader-text {
        border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
        height: 1px; width: 1px; margin: -1px; overflow: hidden;
        padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
        clip: auto; clip-path: none; height: auto; width: auto;
        left: 6px; top: 6px; z-index: 100000; background: #fff;
        padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-md);
}

/* ---------- Ikon SVG ---------- */
svg.ic {
        width: 17px; height: 17px; flex: none;
        vertical-align: middle;
}
svg.ic.mi { width: 16px; height: 16px; color: var(--green-600); }

/* ---------- Header ---------- */
.site-header {
        position: sticky; top: 0; z-index: 990;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(6, 78, 59, .10); }

.header-inner {
        display: flex; align-items: center; gap: 18px;
        height: var(--header-h);
}

.brand-logo {
        display: inline-flex; align-items: center; gap: 10px;
        color: var(--ink); font-weight: 800; font-size: 19px;
}
.brand-logo:hover { color: var(--green-700); }
.brand-mark svg { width: 40px; height: 40px; display: block; }
.custom-logo { max-height: 46px; width: auto; }

.main-nav { margin-left: auto; }
.nav-menu {
        display: flex; align-items: center; gap: 4px;
        list-style: none; margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu a {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 9px 14px; border-radius: 11px;
        font-size: 14.5px; font-weight: 600; color: var(--body-c);
        white-space: nowrap;
}
.nav-menu a:hover { color: var(--green-700); background: var(--green-50); }
.nav-menu > li.is-active > a,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current-page-ancestor > a {
        color: var(--green-700);
        background: var(--green-50);
}
.nav-menu .chev { width: 14px; height: 14px; color: var(--green-600); transition: transform .25s ease; }
.nav-menu > li.has-sub:hover > a .chev,
.nav-menu > li.has-sub.is-open > a .chev { transform: rotate(180deg); }

/* Dropdown */
.sub-menu {
        position: absolute; top: calc(100% + 10px); left: 0;
        min-width: 216px; padding: 8px; margin: 0;
        list-style: none; background: #fff;
        border-radius: 14px; box-shadow: var(--shadow-lg);
        border: 1px solid var(--card-line);
        opacity: 0; visibility: hidden; transform: translateY(10px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
        z-index: 60;
}
.sub-menu::before {
        content: ""; position: absolute; top: -9px; left: 22px;
        border: 9px solid transparent; border-bottom-color: #fff; border-top: none;
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li.is-open > .sub-menu {
        opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
        display: flex; align-items: center; gap: 10px;
        padding: 10px 12px; border-radius: 10px;
        font-size: 14px; color: var(--body-c);
}
.sub-menu a:hover { background: var(--green-50); color: var(--green-700); }
.sub-menu .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }

.theme-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; border: none; border-radius: 12px;
        background: transparent; color: var(--body-c);
        transition: background .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--green-50); color: var(--green-700); }
.theme-toggle svg { width: 20px; height: 20px; }
.tt-sun { display: none; }

.nav-toggle {
        display: none; align-items: center; justify-content: center;
        width: 42px; height: 42px; border: none; border-radius: 12px;
        background: transparent; color: var(--body-c);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nt-close { display: none; }

.mobile-nav {
        display: none; border-top: 1px solid var(--card-line);
        background: #fff; padding: 12px 20px 18px;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-menu, .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
        display: flex; align-items: center; gap: 10px;
        padding: 11px 12px; border-radius: 10px;
        font-weight: 600; color: var(--body-c); font-size: 15px;
}
.mobile-menu a:hover { background: var(--green-50); color: var(--green-700); }
.mobile-menu .chev { margin-left: auto; }
.mobile-menu ul.sub-menu { display: block; position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 18px; }
.mobile-menu ul.sub-menu::before { display: none; }
.mobile-menu > li.has-sub.is-open > a { color: var(--green-700); }

/* ---------- Hero slider ---------- */
.section-hero { padding: 18px 0 6px; }

.hero { position: relative; }

.hero-viewport {
        position: relative; border-radius: 22px; overflow: hidden;
        background: #0b1f16; aspect-ratio: 16 / 8.2;
        box-shadow: var(--shadow-md);
}
@media (max-width: 720px) { .hero-viewport { aspect-ratio: 16 / 11; } }

.hero-slide {
        position: absolute; inset: 0; opacity: 0; visibility: hidden;
        transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide img, .hero-fallback {
        width: 100%; height: 100%; object-fit: cover;
        position: absolute; inset: 0;
}
.hero-fallback { background: linear-gradient(135deg, #065f46, #0f766e); }

.hero-overlay {
        position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(180deg, rgba(2, 20, 12, .18) 0%, rgba(2, 20, 12, .38) 55%, rgba(2, 16, 10, .82) 100%);
}

.hero-content {
        position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
        padding: 34px 40px 30px; max-width: 880px;
}
.hero-title { margin: 0 0 8px; }
.hero-title a {
        color: #fff; font-size: clamp(19px, 2.6vw, 30px);
        font-weight: 800; line-height: 1.32;
        text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
        display: inline-block;
}
.hero-title a:hover { color: var(--green-100); }
.hero-excerpt {
        color: rgba(255, 255, 255, .88); font-size: 14.5px;
        margin: 0 0 10px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-date {
        display: inline-flex; align-items: center; gap: 6px;
        color: rgba(255, 255, 255, .82); font-size: 13px;
}
.hero-date svg { width: 14px; height: 14px; }

.hero-arrow {
        position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
        width: 42px; height: 42px; border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .35);
        background: rgba(255, 255, 255, .14);
        color: #fff; display: inline-flex; align-items: center; justify-content: center;
        backdrop-filter: blur(6px); transition: background .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: var(--grad-pill); border-color: transparent; color: #fff; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

.hero-dots {
        display: flex; justify-content: center; align-items: center;
        gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.hero-dot {
        width: 9px; height: 9px; border-radius: 99px; border: none;
        background: #cbd5d8; padding: 0;
        transition: width .3s ease, background .3s ease;
}
.hero-dot.is-active { width: 26px; background: var(--grad-pill); }

/* ---------- Heading section ---------- */
.section-head-row {
        display: flex; align-items: center; justify-content: space-between;
        gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}

.sec-head {
        position: relative; display: inline-block; margin: 0;
        padding: 5px 16px 7px; z-index: 0;
        font-size: 23px; font-weight: 800; color: var(--green-800);
        letter-spacing: .1px;
}
.sec-head::before {
        content: ""; position: absolute; z-index: -1;
        left: 12px; top: 7px; right: -7px; bottom: -1px;
        background: var(--green-100); border-radius: 7px;
        transform: skewX(-7deg);
}
.sec-head::after {
        content: ""; position: absolute; left: 16px; bottom: -7px;
        width: 58px; height: 3px; border-radius: 3px;
        background: var(--grad-pill);
}
.sec-head.plain { color: var(--green-800); }

.center-head {
        display: inline-block; margin: 0 0 30px;
        font-size: clamp(21px, 2.4vw, 28px); font-weight: 800;
        color: var(--green-bright); letter-spacing: .4px;
        text-align: center; position: relative; padding-bottom: 10px;
}
.center-head::after {
        content: ""; position: absolute; left: 50%; bottom: 0;
        transform: translateX(-50%);
        width: 110px; height: 3px; border-radius: 3px;
        background: var(--grad-pill);
}

.see-all {
        display: inline-flex; align-items: center; gap: 3px;
        font-weight: 700; font-size: 14px; color: var(--green-700);
}
.see-all svg { width: 15px; height: 15px; }
.see-all:hover svg { transform: translateX(3px); }

/* ---------- Form pencarian ---------- */
.search-form {
        position: relative; display: flex; align-items: center;
}
.search-form svg {
        position: absolute; left: 15px; width: 16px; height: 16px;
        color: var(--muted); pointer-events: none;
}
.search-input {
        width: 250px; max-width: 100%;
        padding: 10px 18px 10px 42px;
        border: 1.6px solid var(--green-500); border-radius: 99px;
        background: #fff; color: var(--ink); font-size: 14px;
        outline: none; transition: box-shadow .2s ease, border-color .2s ease;
}
.search-input::placeholder { color: #9ca3af; }
.search-input:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(16, 185, 129, .14); }

/* ---------- Tombol ---------- */
.btn {
        display: inline-flex; align-items: center; gap: 9px;
        padding: 12px 24px; border-radius: 12px;
        font-weight: 700; font-size: 14.5px; border: none;
}
.btn svg { width: 17px; height: 17px; }
.btn-solid {
        background: var(--grad-pill); color: #fff;
        box-shadow: 0 8px 20px rgba(13, 148, 136, .30);
}
.btn-solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13, 148, 136, .38); }
.btn-outline {
        background: #fff; color: var(--green-700);
        border: 1.6px solid var(--green-500);
}
.btn-outline:hover { background: var(--green-50); color: var(--green-800); }

/* =====================================================
   BERITA TERKINI + TERPOPULER
   ===================================================== */
.section-news { padding: 26px 0 34px; }

.home-grid {
        display: grid; grid-template-columns: minmax(0, 1fr) 340px;
        gap: 30px; align-items: start;
}

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

.post-card {
        background: #fff; border: 1px solid var(--card-line);
        border-radius: var(--radius); overflow: hidden;
        box-shadow: var(--shadow-sm);
        display: flex; flex-direction: column;
        transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .card-thumb img { transform: scale(1.05); }

.thumb-fallback {
        width: 100%; height: 100%; min-height: 150px;
        display: flex; align-items: center; justify-content: center;
        background: linear-gradient(135deg, var(--green-50), #d1fae5);
        color: var(--green-600);
}
.thumb-fallback svg { width: 34px; height: 34px; opacity: .6; }

.card-body { padding: 15px 17px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 0 0 7px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.card-title a {
        color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a:hover { color: var(--green-700); }
.card-excerpt {
        font-size: 13.4px; color: var(--muted); margin: 0 0 12px; flex: 1;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.meta-date {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 12.5px; color: #8a929c;
}
.meta-date svg { width: 13px; height: 13px; }

.cat-badge {
        flex: none; padding: 4px 12px; border-radius: 99px;
        background: var(--sky-50); color: var(--sky-600);
        font-size: 11px; font-weight: 600; line-height: 1.5;
        transition: background .2s ease;
}
.cat-badge:hover { background: #dbeafe; color: #1d4ed8; }

/* Sidebar populer */
.side-card {
        background: #fff; border: 1px solid var(--card-line);
        border-radius: var(--radius); padding: 20px 18px;
        box-shadow: var(--shadow-sm);
}
.side-card .sec-head { font-size: 20px; margin-bottom: 24px; }
.side-title { font-size: 19px; font-weight: 800; color: var(--green-800); margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2.5px solid var(--green-100); }

.pop-list { display: flex; flex-direction: column; gap: 17px; }
.pop-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: flex-start; }
.pop-thumb {
        display: block; width: 88px; aspect-ratio: 4 / 3;
        border-radius: 11px; overflow: hidden; background: var(--green-50);
}
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pop-item:hover .pop-thumb img { transform: scale(1.07); }
.pop-body h3 { margin: 0 0 6px; font-size: 13.6px; font-weight: 700; line-height: 1.45; }
.pop-body h3 a {
        color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pop-body h3 a:hover { color: var(--green-700); }
.pop-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pop-meta .cat-badge { padding: 3px 10px; font-size: 10.5px; }

/* Pagination */
.ansor-pagination-wrap {
        display: flex; align-items: center; justify-content: space-between;
        gap: 14px; flex-wrap: wrap; margin-top: 26px;
}
.page-count { margin: 0; font-size: 13px; color: var(--muted); }
.ansor-pagination { display: flex; gap: 7px; flex-wrap: wrap; }
.ansor-pagination .page-numbers {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 37px; height: 37px; padding: 0 8px;
        border: 1px solid var(--line); border-radius: 11px;
        background: #fff; color: var(--body-c);
        font-size: 13.5px; font-weight: 600;
}
.ansor-pagination .page-numbers svg { width: 15px; height: 15px; }
.ansor-pagination .page-numbers:hover { border-color: var(--green-500); color: var(--green-700); }
.ansor-pagination .page-numbers.current {
        background: var(--grad-pill); color: #fff; border-color: transparent;
        box-shadow: 0 6px 14px rgba(13, 148, 136, .30);
}

/* =====================================================
   ANSOR VIDEO
   ===================================================== */
.section-video {
        padding: 40px 0 46px;
        background: linear-gradient(180deg, var(--green-50), rgba(255, 255, 255, .4));
}
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.video-card {
        background: #fff; border: 1px solid var(--card-line);
        border-radius: var(--radius); overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1f16; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
        position: absolute; inset: 0; margin: auto;
        width: 52px; height: 52px; border-radius: 50%;
        background: rgba(255, 255, 255, .92); color: var(--green-700);
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .30);
        transition: transform .25s ease, background .25s ease;
}
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .video-play { transform: scale(1.12); background: var(--green-leaf); color: #fff; }

.video-body { padding: 14px 16px 16px; }
.video-body h3 { margin: 0 0 7px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.video-body h3 a {
        color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-body h3 a:hover { color: var(--green-700); }

/* =====================================================
   ANSOR TULISAN
   ===================================================== */
.section-tulisan { padding: 46px 0 50px; background: #fff; }
.tulisan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.tulisan-card {
        display: flex; flex-direction: column;
        border: 1px solid transparent; border-radius: var(--radius);
        padding: 10px; transition: background .25s ease, box-shadow .25s ease;
}
.tulisan-card:hover { background: #fff; border-color: var(--card-line); box-shadow: var(--shadow-md); }

.tulisan-thumb {
        position: relative; display: block; aspect-ratio: 16 / 10.5;
        border-radius: 13px; overflow: hidden; background: var(--green-50); margin-bottom: 12px;
}
.tulisan-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tulisan-card:hover .tulisan-thumb img { transform: scale(1.05); }
.tulisan-badge {
        position: absolute; top: 10px; left: 10px;
        padding: 4px 12px; border-radius: 99px;
        background: rgba(4, 120, 87, .92); color: #fff;
        font-size: 11px; font-weight: 600;
}
.tulisan-body { padding: 0 4px 6px; }
.tulisan-body h3 { margin: 0 0 7px; font-size: 15px; font-weight: 700; line-height: 1.42; }
.tulisan-body h3 a {
        color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tulisan-body h3 a:hover { color: var(--green-700); }
.tulisan-body p {
        font-size: 12.8px; color: var(--muted); margin: 0 0 10px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* =====================================================
   SAMBUTAN / CTA
   ===================================================== */
.section-cta {
        padding: 66px 0 70px;
        background: linear-gradient(160deg, #ffffff 0%, var(--green-50) 48%, #d1fae5 100%);
        overflow: hidden;
}
.cta-grid {
        display: grid; grid-template-columns: 1.05fr .95fr;
        gap: 44px; align-items: center;
}
.cta-badge {
        display: inline-block; padding: 8px 20px; border-radius: 99px;
        background: #dcfce7; color: #15803d;
        font-size: 13.5px; font-weight: 700; margin-bottom: 16px;
        box-shadow: 0 4px 12px rgba(22, 163, 74, .14);
}
.cta-title {
        font-size: clamp(30px, 4vw, 46px); font-weight: 900;
        color: var(--green-bright); margin: 0 0 16px; line-height: 1.2;
}
.cta-p1 { font-size: 15.5px; color: var(--body-c); max-width: 520px; }
.cta-p2 { font-size: 15.5px; font-weight: 700; color: var(--ink); max-width: 520px; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.cta-visual { display: flex; justify-content: center; }
.cta-image {
        border-radius: 20px; box-shadow: var(--shadow-lg);
        max-height: 420px; object-fit: contain;
}

.kip-card {
        width: min(400px, 100%); padding: 16px;
        background: #fff; border-radius: 22px;
        box-shadow: var(--shadow-lg);
        transform: rotate(2.5deg);
        animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
        0%, 100% { transform: rotate(2.5deg) translateY(0); }
        50% { transform: rotate(2.5deg) translateY(-10px); }
}
.kip-inner {
        border-radius: 16px; overflow: hidden;
        background: linear-gradient(150deg, #15803d 0%, #0d7a3f 45%, #065f46 100%);
        color: #fff; padding: 20px 20px 16px;
        position: relative;
}
.kip-inner::after {
        content: ""; position: absolute; right: -34px; top: -34px;
        width: 130px; height: 130px; border-radius: 50%;
        background: rgba(255, 255, 255, .08);
}
.kip-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.kip-logo svg { width: 40px; height: 40px; }
.kip-title { font-size: 11px; font-weight: 800; letter-spacing: .6px; line-height: 1.5; }
.kip-photo {
        width: 92px; height: 104px; border-radius: 12px;
        background: rgba(255, 255, 255, .16);
        border: 2px solid rgba(255, 255, 255, .5);
        display: flex; align-items: center; justify-content: center;
        color: rgba(255, 255, 255, .8); margin-bottom: 12px;
}
.kip-photo svg { width: 44px; height: 44px; }
.kip-fields { display: flex; flex-direction: column; gap: 3px; }
.kip-name { font-weight: 800; font-size: 16px; letter-spacing: .5px; margin-bottom: 4px; }
.kip-row { font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.kip-sign {
        margin-top: 14px; padding-top: 10px;
        border-top: 1px dashed rgba(255, 255, 255, .4);
        font-size: 11px; font-style: italic; color: rgba(255, 255, 255, .8);
        text-align: right;
}

/* =====================================================
   BADAN OTONOM + PETA WILAYAH & KADER
   ===================================================== */
.section-otonom {
        padding: 64px 0 60px;
        background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 90%);
}
.otonom-grid {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 48px; align-items: start;
}

.otonom-items {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px 20px; justify-items: center;
}
.otonom-item {
        display: flex; flex-direction: column; align-items: center; gap: 12px;
        text-align: center;
}
.otonom-circle {
        width: 128px; height: 128px; border-radius: 50%;
        background: #fff; border: 2.5px solid var(--green-500);
        display: flex; align-items: center; justify-content: center;
        overflow: hidden;
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.otonom-item:hover .otonom-circle {
        transform: translateY(-6px);
        border-color: var(--green-600);
        box-shadow: 0 14px 28px rgba(22, 163, 74, .22);
}
.otonom-circle img { width: 74%; height: 74%; object-fit: contain; }
.otonom-initial {
        font-size: 30px; font-weight: 900; color: var(--green-600);
        letter-spacing: 1px;
}
.otonom-label {
        padding: 7px 18px; border-radius: 99px;
        background: var(--grad-pill); color: #fff;
        font-size: 11px; font-weight: 700; letter-spacing: .5px;
        text-transform: uppercase;
        transition: transform .25s ease, box-shadow .25s ease;
}
.otonom-item:hover .otonom-label { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13, 148, 136, .3); }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat-card {
        background: linear-gradient(#fff, #fff) padding-box, var(--grad-green) border-box;
        border: 2.5px solid transparent;
        border-radius: 18px;
        padding: 24px 16px 20px;
        display: flex; flex-direction: column; align-items: center; gap: 7px;
        text-align: center;
        box-shadow: 0 10px 24px rgba(22, 163, 74, .12);
        transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(22, 163, 74, .2); }
.stat-icon {
        width: 52px; height: 52px; border-radius: 14px;
        background: var(--grad-pill); color: #fff;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 8px 18px rgba(13, 148, 136, .32);
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-value { font-size: 28px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.stat-label {
        font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px;
        color: var(--muted); text-transform: uppercase;
}

/* =====================================================
   PROGRAM ANSOR
   ===================================================== */
.section-program {
        padding: 66px 0 76px;
        background: linear-gradient(180deg, var(--green-50), #ffffff 70%);
}
.program-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.program-title {
        display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
        font-size: clamp(26px, 3.4vw, 38px); font-weight: 900;
        color: var(--ink); letter-spacing: .5px; margin: 0 0 12px;
}
.program-badge {
        display: inline-block; padding: 8px 18px; border-radius: 99px;
        background: var(--grad-pill); color: #fff;
        font-size: 13px; font-weight: 800; letter-spacing: .8px;
        white-space: nowrap;
        transition: opacity .35s ease, transform .35s ease;
}
.program-badge.is-swapping { opacity: 0; transform: translateY(6px); }
.program-underline {
        display: block; width: 74px; height: 4px; margin: 0 auto 16px;
        border-radius: 4px;
        background: linear-gradient(90deg, #0d9488, #10b981);
}
.program-desc { color: var(--body-c); font-size: 15.5px; margin: 0; }

.program-grid {
        display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px; padding-top: 40px;
}
.program-card {
        position: relative; margin-top: 18px;
        background: #fff; border-radius: 16px;
        padding: 28px 16px 22px; text-align: center;
        box-shadow: var(--shadow-md);
        display: flex; flex-direction: column; align-items: center; gap: 14px;
        transition: transform .3s ease, box-shadow .3s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card::before { /* garis gantung */
        content: ""; position: absolute; top: -38px; left: 50%;
        transform: translateX(-50%);
        width: 2px; height: 38px; background: #c7ced6;
}
.program-pin {
        position: absolute; top: -52px; left: 50%;
        transform: translateX(-50%);
        width: 26px; height: 15px; border-radius: 8px;
        background: linear-gradient(180deg, #9aa4ae, #6b7280);
        box-shadow: inset 0 -3px 4px rgba(0, 0, 0, .25), 0 2px 4px rgba(0, 0, 0, .18);
}
.program-ring {
        width: 96px; height: 96px; border-radius: 50%;
        padding: 3.5px;
        background: conic-gradient(from 140deg, #22c55e, #14b8a6, #06b6d4, #22c55e);
        display: flex; align-items: center; justify-content: center;
}
.program-ring > * {
        width: 100%; height: 100%; border-radius: 50%;
        background: #fff;
        display: flex; align-items: center; justify-content: center;
        overflow: hidden;
}
.program-ring img { width: 62%; height: 62%; object-fit: contain; }
.program-initial {
        font-size: 24px; font-weight: 900;
        background: var(--grad-pill);
        -webkit-background-clip: text; background-clip: text;
        color: transparent;
}
.program-name { font-size: 15px; font-weight: 800; color: var(--ink); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
        background: #fff; border-top: 1px solid var(--card-line);
        padding-top: 54px;
}
.footer-grid {
        display: grid;
        grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
        gap: 36px;
}
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-logo-img { max-height: 44px; width: auto; }
.footer-mark svg { width: 42px; height: 42px; }
.footer-brand-text {
        font-size: 19px; font-weight: 800; color: var(--green-700);
}
.footer-desc { font-size: 14px; color: var(--muted); margin: 0; max-width: 300px; }

.footer-title {
        position: relative; display: inline-block;
        font-size: 15.5px; font-weight: 800; color: var(--green-700);
        margin: 4px 0 18px; padding-bottom: 9px;
}
.footer-title::after {
        content: ""; position: absolute; left: 1px; bottom: 0;
        width: 30px; height: 3px; border-radius: 3px;
        background: linear-gradient(90deg, #0d9488, #10b981);
}

.footer-links, .footer-links ul {
        list-style: none; margin: 0; padding: 0;
        display: flex; flex-direction: column; gap: 4px;
}
.footer-links a {
        display: inline-flex; align-items: center; gap: 10px;
        padding: 5.5px 0; color: #4b5563; font-size: 14px;
}
.footer-links a svg { width: 15px; height: 15px; color: var(--green-500); }
.footer-links a:hover { color: var(--green-700); transform: translateX(3px); }

.footer-social { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.social-btn {
        width: 36px; height: 36px; border-radius: 11px;
        border: 1px solid var(--line); background: #fff;
        display: inline-flex; align-items: center; justify-content: center;
        color: var(--green-bright);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover {
        background: var(--grad-pill); border-color: transparent; color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(13, 148, 136, .30);
}

.footer-bottom {
        margin-top: 44px; padding: 17px 0;
        border-top: 1px solid var(--card-line);
        text-align: center;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

/* Tombol ke atas */
.to-top {
        position: fixed; right: 22px; bottom: 24px; z-index: 980;
        width: 48px; height: 48px; border-radius: 50%;
        border: none; background: var(--grad-pill); color: #fff;
        display: inline-flex; align-items: center; justify-content: center;
        box-shadow: 0 10px 24px rgba(13, 148, 136, .38);
        opacity: 0; visibility: hidden; transform: translateY(14px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* =====================================================
   SINGLE ARTIKEL
   ===================================================== */
.section-single { padding: 26px 0 44px; }
.single-grid {
        display: grid; grid-template-columns: minmax(0, 1fr) 340px;
        gap: 30px; align-items: start;
}

.single-card {
        background: #fff; border: 1px solid var(--card-line);
        border-radius: 20px; box-shadow: var(--shadow-sm);
        padding: 30px 34px;
}
.entry-cat {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 5px 14px; border-radius: 99px; margin-bottom: 14px;
        background: var(--green-50); color: var(--green-700);
        font-size: 12px; font-weight: 700;
}
.entry-cat svg { width: 13px; height: 13px; }
.entry-title { font-size: clamp(23px, 3vw, 30px); font-weight: 800; line-height: 1.32; margin-bottom: 14px; }

.entry-meta {
        display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
        padding: 11px 0 15px; border-bottom: 1px solid var(--card-line);
        margin-bottom: 20px;
}
.entry-meta .meta-date, .entry-meta .meta-cat {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 13px; color: var(--muted);
}
.entry-meta .meta-date svg, .entry-meta .meta-cat svg { width: 14px; height: 14px; }

.share-btn {
        display: inline-flex; align-items: center; gap: 7px;
        margin-left: auto; border: none; background: transparent;
        color: var(--sky-600); font-size: 13px; font-weight: 600;
        padding: 6px 12px; border-radius: 9px;
        transition: background .2s ease;
}
.share-btn svg { width: 15px; height: 15px; }
.share-btn:hover { background: var(--sky-50); }

.entry-thumb { margin: 0 0 22px; }
.entry-thumb img { width: 100%; border-radius: 15px; }

.entry-content { font-size: 15.5px; line-height: 1.85; color: #333c46; }
.entry-content > p:first-child::first-letter { font-weight: 700; }
.entry-content p { margin: 0 0 17px; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--green-800); margin: 28px 0 12px; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--green-100); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--green-500); }
.entry-content img, .entry-content video, .entry-content iframe { border-radius: 13px; max-width: 100%; }
.entry-content blockquote {
        margin: 22px 0; padding: 16px 22px;
        border-left: 4px solid var(--green-500);
        background: var(--green-50); border-radius: 0 13px 13px 0;
        color: #3f4b46; font-style: italic;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content ul, .entry-content ol { margin: 0 0 17px; }
.entry-content li { margin-bottom: 7px; }
.entry-content figure { margin: 0 0 18px; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; font-size: 14px; }
.entry-content th { background: var(--green-50); color: var(--green-800); }

.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 4px; }
.entry-tags a {
        padding: 6px 14px; border-radius: 99px;
        background: var(--green-50); color: var(--green-700);
        font-size: 12px; font-weight: 600;
}
.entry-tags a:hover { background: var(--green-100); }

.entry-author {
        display: flex; align-items: center; gap: 12px;
        margin-top: 22px; padding: 15px 18px;
        background: var(--green-50); border-radius: 14px;
}
.author-avatar {
        width: 46px; height: 46px; border-radius: 50%;
        background: var(--grad-pill); color: #fff;
        display: inline-flex; align-items: center; justify-content: center;
        font-weight: 800; font-size: 18px; flex: none;
}
.author-text { font-size: 14.5px; color: var(--body-c); }
.author-text strong { color: var(--ink); }
.author-text a { font-weight: 700; color: var(--green-700); }

.post-nav {
        display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
        margin-top: 26px;
}
.post-nav-item {
        display: flex; flex-direction: column; gap: 5px;
        padding: 14px 16px; border: 1px solid var(--card-line);
        border-radius: 14px;
}
.post-nav-item.is-next { text-align: right; align-items: flex-end; }
.post-nav-item:hover { border-color: var(--green-400); background: var(--green-50); }
.pn-label {
        display: inline-flex; align-items: center; gap: 5px;
        font-size: 12px; font-weight: 700; color: var(--green-600);
        text-transform: uppercase; letter-spacing: .4px;
}
.pn-label svg { width: 13px; height: 13px; }
.pn-title {
        font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Banner KIP di sidebar */
.side-banner { padding: 12px; }
.banner-kip {
        border-radius: 15px; padding: 26px 20px;
        background: linear-gradient(155deg, #15803d, #065f46 70%);
        color: #fff; text-align: center; position: relative; overflow: hidden;
}
.banner-kip::after {
        content: ""; position: absolute; left: -40px; bottom: -40px;
        width: 140px; height: 140px; border-radius: 50%;
        background: rgba(255, 255, 255, .07);
}
.banner-kicker { display: block; font-size: 11px; color: #bbf7d0; margin-bottom: 10px; letter-spacing: .3px; }
.banner-text { font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, .92); margin-bottom: 16px; }
.banner-badge {
        display: inline-block; padding: 8px 22px; border-radius: 99px;
        background: #fff; color: #166534;
        font-weight: 900; font-size: 15px; letter-spacing: 1px;
        margin-bottom: 10px;
}
.banner-note { display: block; font-size: 11px; color: rgba(255, 255, 255, .75); font-style: italic; }

/* =====================================================
   KOMENTAR
   ===================================================== */
.comments-area { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--card-line); }
.comments-title { font-size: 19px; font-weight: 800; color: var(--green-800); }
.comment-list { list-style: none; margin: 0 0 26px; padding: 0; }
.comment-list ol.children { list-style: none; margin: 0 0 0 46px; padding: 0; }
.comment-list .comment-body {
        display: block; padding: 15px 17px; margin-bottom: 14px;
        background: #fafcfa; border: 1px solid var(--card-line); border-radius: 14px;
}
.comment-list .avatar { border-radius: 50%; margin-right: 10px; }
.comment-meta .says { font-size: 12.5px; color: var(--muted); }
.comment-meta .fn { font-weight: 700; font-style: normal; color: var(--ink); }
.comment-metadata { font-size: 12px; margin: 4px 0 8px; }
.comment-metadata a { color: var(--muted); }
.comment-content p:last-child { margin: 0; }
.reply a {
        display: inline-block; margin-top: 9px;
        font-size: 12.5px; font-weight: 700; color: var(--green-700);
}
.no-comments { color: var(--muted); font-size: 14px; }

.comment-form p { margin: 0 0 15px; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"],
.comment-form textarea {
        width: 100%; padding: 11px 15px;
        border: 1.5px solid var(--line); border-radius: 12px;
        background: #fff; outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
}
.comment-form input:focus, .comment-form textarea:focus {
        border-color: var(--green-500);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}
.comment-form .submit { border: none; }

/* =====================================================
   ARSIP — KARUSEL POPULER & LAINNYA
   ===================================================== */
.section-pagehead { padding: 18px 0 4px; }
.section-archive { padding: 30px 0 44px; }
.sec-head-row { margin-bottom: 22px; }
.archive-latest { margin-top: 44px; }

.pop-carousel-wrap { position: relative; }
.pop-carousel {
        display: grid; grid-auto-flow: column;
        grid-auto-columns: calc((100% - 44px) / 3);
        gap: 22px;
        overflow-x: auto; scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 8px;
        scrollbar-width: none;
}
.pop-carousel::-webkit-scrollbar { display: none; }
.pop-card {
        scroll-snap-align: start;
        background: #fff; border: 1px solid var(--card-line);
        border-radius: var(--radius); overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform .25s ease, box-shadow .25s ease;
}
.pop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pop-thumb-lg { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--green-50); }
.pop-thumb-lg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pop-card:hover .pop-thumb-lg img { transform: scale(1.05); }
.pop-card-body { padding: 14px 16px 15px; }
.pop-card-body h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.pop-card-body h3 a {
        color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pop-card-body h3 a:hover { color: var(--green-700); }

.carousel-nav {
        display: flex; align-items: center; justify-content: center;
        gap: 16px; margin-top: 16px;
}
.car-btn {
        width: 36px; height: 36px; border-radius: 50%;
        border: 1px solid var(--line); background: #fff; color: var(--body-c);
        display: inline-flex; align-items: center; justify-content: center;
        transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.car-btn svg { width: 16px; height: 16px; }
.car-btn:hover { background: var(--grad-pill); border-color: transparent; color: #fff; }
.car-dots { display: flex; gap: 6px; }
.car-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d3dadf; transition: background .25s ease, width .25s ease; }
.car-dots span.on { width: 20px; border-radius: 99px; background: var(--grad-pill); }

.empty-note {
        padding: 30px 24px; text-align: center;
        background: var(--green-50); border-radius: 15px;
        color: var(--green-800); font-weight: 500;
}

/* =====================================================
   404
   ===================================================== */
.section-404 { padding: 56px 0 70px; }
.notfound-card {
        max-width: 560px; margin: 0 auto; text-align: center;
        background: #fff; border: 1px solid var(--card-line);
        border-radius: 22px; box-shadow: var(--shadow-md);
        padding: 46px 34px;
}
.nf-code {
        display: block; font-size: 74px; font-weight: 900; line-height: 1;
        background: var(--grad-pill);
        -webkit-background-clip: text; background-clip: text; color: transparent;
        margin-bottom: 12px;
}
.nf-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* =====================================================
   ANIMASI REVEAL
   ===================================================== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .rv { opacity: 1; transform: none; transition: none; }
        .kip-card { animation: none; }
        * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================
   MODE GELAP
   ===================================================== */
[data-theme="dark"] body,
body[data-theme="dark"] { background: #0c1613; color: #b9c6bd; }
[data-theme="dark"] .site-header,
[data-theme="dark"] .mobile-nav { background: rgba(13, 25, 20, .96); }
[data-theme="dark"] .mobile-nav { border-top-color: #1d332a; }
[data-theme="dark"] .brand-logo, [data-theme="dark"] .mobile-menu a { color: #e7f2ea; }
[data-theme="dark"] .nav-menu a { color: #b9c6bd; }
[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu > li.is-active > a,
[data-theme="dark"] .nav-menu > li.current-menu-item > a,
[data-theme="dark"] .sub-menu a:hover { background: #12291f; color: #4ade80; }
[data-theme="dark"] .sub-menu { background: #0f2018; border-color: #1d332a; }
[data-theme="dark"] .sub-menu a { color: #b9c6bd; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .card-title a, [data-theme="dark"] .pop-body h3 a, [data-theme="dark"] .video-body h3 a,
[data-theme="dark"] .tulisan-body h3 a, [data-theme="dark"] .pop-card-body h3 a, [data-theme="dark"] .pn-title,
[data-theme="dark"] .stat-value, [data-theme="dark"] .program-name { color: #e7f2ea; }
[data-theme="dark"] .search-input { background: #0f2018; color: #e7f2ea; }
[data-theme="dark"] .post-card, [data-theme="dark"] .side-card, [data-theme="dark"] .video-card,
[data-theme="dark"] .pop-card, [data-theme="dark"] .single-card, [data-theme="dark"] .program-card,
[data-theme="dark"] .notfound-card, [data-theme="dark"] .stat-card {
        background: #0f2018; border-color: #1d332a;
}
[data-theme="dark"] .stat-card {
        background: linear-gradient(#0f2018, #0f2018) padding-box, var(--grad-green) border-box;
}
[data-theme="dark"] .card-excerpt, [data-theme="dark"] .tulisan-body p, [data-theme="dark"] .footer-desc,
[data-theme="dark"] .page-count, [data-theme="dark"] .meta-date { color: #8fa397; }
[data-theme="dark"] .post-nav-item, [data-theme="dark"] .comment-list .comment-body { background: #0f2018; border-color: #1d332a; }
[data-theme="dark"] .entry-content { color: #b9c6bd; }
[data-theme="dark"] .section-cta { background: linear-gradient(160deg, #0c1613 0%, #102a1e 55%, #123b28 100%); }
[data-theme="dark"] .section-video { background: linear-gradient(180deg, #102a1e, rgba(12, 22, 19, .4)); }
[data-theme="dark"] .section-otonom { background: linear-gradient(180deg, #0f2418 0%, #0c1613 90%); }
[data-theme="dark"] .section-program { background: linear-gradient(180deg, #102a1e, #0c1613 70%); }
[data-theme="dark"] .otonom-circle { background: #0f2018; }
[data-theme="dark"] .site-footer { background: #0c1613; border-top-color: #1d332a; }
[data-theme="dark"] .footer-bottom { border-top-color: #1d332a; }
[data-theme="dark"] .footer-links a { color: #b9c6bd; }
[data-theme="dark"] .social-btn { background: #0f2018; border-color: #1d332a; color: #4ade80; }
[data-theme="dark"] .program-card::before { background: #2a4437; }
[data-theme="dark"] .program-pin { background: linear-gradient(180deg, #3b5245, #26382e); }
[data-theme="dark"] .btn-outline { background: transparent; }
[data-theme="dark"] .thumb-fallback { background: #12291f; }
[data-theme="dark"] .empty-note { background: #12291f; color: #4ade80; }
[data-theme="dark"] .comments-title, [data-theme="dark"] .entry-content h2,
[data-theme="dark"] .entry-content h3, [data-theme="dark"] .entry-content h4 { color: #4ade80; }
[data-theme="dark"] .comment-form input, [data-theme="dark"] .comment-form textarea { background: #0f2018; border-color: #1d332a; color: #e7f2ea; }
[data-theme="dark"] .cat-badge { background: #10231c; color: #7cc3f8; }
[data-theme="dark"] .theme-toggle:hover, [data-theme="dark"] .nav-toggle:hover { background: #12291f; color: #4ade80; }

/* =====================================================
   RESPONSIF
   ===================================================== */
@media (max-width: 1080px) {
        .home-grid, .single-grid { grid-template-columns: 1fr; }
        .news-side { order: 2; }
        .otonom-grid { grid-template-columns: 1fr; gap: 52px; }
        .tulisan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
        .pop-carousel { grid-auto-columns: calc((100% - 22px) / 2); }
        .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
        .main-nav { display: none; }
        .nav-toggle { display: inline-flex; }
        .video-grid { grid-template-columns: 1fr; }
        .news-grid, .news-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
        .hero-content { padding: 22px 20px 20px; }
        .hero-arrow { display: none; }
        .news-grid, .news-grid.grid-3 { grid-template-columns: 1fr; }
        .tulisan-grid, .program-grid, .stat-grid { grid-template-columns: 1fr; }
        .pop-carousel { grid-auto-columns: 92%; }
        .cta-grid { grid-template-columns: 1fr; gap: 36px; }
        .footer-grid { grid-template-columns: 1fr; gap: 26px; }
        .single-card { padding: 22px 18px; }
        .post-nav { grid-template-columns: 1fr; }
        .otonom-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .otonom-circle { width: 110px; height: 110px; }
        .search-input { width: 100%; }
        .search-form { width: 100%; }
        .section-head-row { align-items: flex-start; flex-direction: column; }
        .section-head-row .search-form { width: 100%; }
        .section-head-row .search-input { width: 100%; }
}

@media (max-width: 380px) {
        .otonom-items { grid-template-columns: 1fr; }
        .brand-text { font-size: 17px; }
}

/* ---------- Utilitas WP ---------- */
.alignleft { float: left; margin: 6px 22px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 22px; }
.aligncenter { display: block; margin: 6px auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky { position: relative; }
.bypostauthor { position: relative; }
.page-links { margin: 18px 0; }
.widget { margin-bottom: 26px; }
.widget-title { font-size: 17px; font-weight: 800; color: var(--green-800); margin-bottom: 14px; }
.side-widgets ul { list-style: none; padding: 0; }
.side-widgets a { color: var(--body-c); }
