/* ==========================================================
   E-KINDES — SISTEM INFORMASI DESA TERINTEGRASI
   Design System Publik: "Premium Government Digital Experience"
   Konsep: Deep Green + Emerald + Ivory + Gold accent
   ========================================================== */

:root {
  --ink: #16211c;
  --ink-soft: #384a42;
  --muted: #62736c;
  --green-deep: #0b3d2e;
  --green: #0f5132;
  --green-lite: #16704a;
  --emerald: #10b981;
  --emerald-soft: #d1fae5;
  --ivory: #f6f5f0;
  --ivory-2: #efede6;
  --white: #ffffff;
  --gold: #b98a1b;
  --gold-soft: #fdf6e3;
  --danger: #b91c1c;
  --warning: #b45309;
  --info: #1d4ed8;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px -12px rgba(11, 61, 46, .18), 0 2px 8px rgba(16, 24, 21, .05);
  --shadow-pop: 0 24px 60px -20px rgba(11, 61, 46, .35);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body.w-site {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-lite); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1, h2, .display { font-family: var(--font-display); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.wrap-wide { width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }

/* ---------- Top bar ---------- */
.w-topbar {
  background: var(--green-deep);
  color: #cfe0d8;
  font-size: .8rem;
}
.w-topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.w-topbar a { color: #e9f2ee; }
.w-topbar .topbar-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-badges { display: flex; gap: 8px; align-items: center; }
.w-flag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(201, 162, 39, .4);
  color: #f3e3bb; border-radius: 999px; padding: 2px 12px; font-weight: 600;
}

/* ---------- Header / Navbar ---------- */
.w-header { position: sticky; top: 0; z-index: 90; background: var(--white); box-shadow: 0 1px 0 rgba(11,61,46,.08), 0 10px 30px -18px rgba(11,61,46,.25); }
.w-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-weight: 700; color: var(--green-deep); font-size: 1.02rem; line-height: 1.2; letter-spacing: .2px; }
.brand-sub { font-size: .74rem; color: var(--muted); font-weight: 500; }
.brand a { display: flex; align-items: center; gap: 12px; }

.w-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.w-nav > a {
  padding: 10px 13px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  color: var(--ink-soft); white-space: nowrap;
}
.w-nav > a:hover { background: var(--emerald-soft); color: var(--green-deep); }
.w-nav > a.active { background: var(--green); color: #fff; }
.w-nav .nav-cta {
  background: var(--gold); color: #fff !important; margin-left: 6px;
  border-radius: 10px; padding: 10px 16px;
}
.w-nav .nav-cta:hover { filter: brightness(1.08); }
.nav-burger { display: none; background: none; border: 1px solid var(--ivory-2); border-radius: 10px; font-size: 1.3rem; padding: 6px 12px; cursor: pointer; color: var(--green-deep); }

@media (max-width: 1020px) {
  .w-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow-card); padding: 10px 16px; gap: 4px;
  }
  .w-nav.open { display: flex; }
  .w-nav > a { padding: 12px 14px; }
  .w-header { position: relative; }
  .nav-burger { display: block; }
  .brand-sub { display: none; }
}

/* ---------- Hero / Slider ---------- */
.w-hero { position: relative; background: var(--green-deep); overflow: hidden; }
.hero-slider { position: relative; min-height: 520px; }
.hero-slide {
  display: none; position: relative; min-height: 520px;
  background-size: cover; background-position: center;
}
.hero-slide.active { display: block; animation: heroFade 1.1s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 40, 30, .93) 0%, rgba(7, 40, 30, .6) 55%, rgba(7, 40, 30, .35) 100%);
}
.hero-slide.noimg::before { background: linear-gradient(120deg, #0b3d2e 0%, #14532d 55%, #0e6a44 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 84px 0 96px; color: #fff; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 162, 39, .18); border: 1px solid rgba(201, 162, 39, .5);
  color: #f3e3bb; padding: 6px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; margin-bottom: 18px; text-wrap: balance; }
.hero-text { color: #d9e6df; font-size: 1.06rem; max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; }
.hero-dots .dot {
  width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .35);
  display: inline-block; margin-right: 8px; cursor: pointer; transition: all .25s;
}
.hero-dots .dot.active { background: var(--gold); transform: scale(1.25); }

/* Hero strip statistik mini ditempel di bawah slider */
.hero-strip {
  position: relative; z-index: 4; margin-top: -64px; padding-bottom: 8px;
}
.strip-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  padding: 28px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.strip-item { text-align: center; border-left: 1px dashed #d7dedb; }
.strip-item:first-child { border-left: 0; }
.strip-item .num { font-size: 1.9rem; font-weight: 800; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.strip-item .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
@media (max-width: 860px) {
  .strip-card { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .strip-item:nth-child(3) { border-left: 0; }
  .hero-inner { padding: 60px 0 120px; }
}

/* ---------- Section ---------- */
.w-section { padding: 64px 0; }
.w-section.alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  color: var(--gold); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .76rem; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--green-deep); font-weight: 700; }
.section-desc { color: var(--muted); font-size: .98rem; }
.section-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.section-more { text-align: center; margin-top: 34px; }

/* Buttons */
.btn-w {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-lite); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(1.08); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost { background: var(--emerald-soft); color: var(--green-deep); }
.btn-ghost:hover { background: #b9ecd4; color: var(--green-deep); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.w-card {
  background: var(--white); border: 1px solid #ece9df; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.w-card:hover { transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0f5132, #16704a); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.w-card:hover .card-media img { transform: scale(1.06); }
.card-media.noimg::after {
  content: attr(data-icon); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; opacity: .5; filter: saturate(.8) brightness(1.25);
}
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .4px;
}
.card-badge.dark { background: rgba(7, 40, 30, .85); }
.card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--green-deep); margin: 0; }
.card-title a { color: inherit; }
.card-excerpt { color: var(--muted); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 14px; font-size: .78rem; color: #8b968f; margin-top: auto; padding-top: 10px; }

/* Badges & pills */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.pill-green { background: var(--emerald-soft); color: var(--green-deep); }
.pill-gold { background: var(--gold-soft); color: #8a6508; }
.pill-red { background: #fee2e2; color: #991b1b; }
.pill-blue { background: #dbeafe; color: #1e40af; }
.pill-gray { background: #e7e5e4; color: #44403c; }

/* ---------- Statistik ---------- */
.stat-panel { background: var(--green-deep); border-radius: var(--radius-lg); color: #fff; padding: 44px 36px; position: relative; overflow: hidden; }
.stat-panel::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 39, .28), transparent 65%);
}
.stat-panel .grid { gap: 30px; }
.stat-big { position: relative; z-index: 1; }
.stat-big .num { font-size: 2.4rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stat-big .lbl { color: #cfe0d8; font-size: .86rem; font-weight: 600; }
.stat-big.gold .num { color: #f3e3bb; }

/* Grid statistik dashboard (kartu ikon) */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stat-box {
  background: var(--white); border: 1px solid #ece9df; border-radius: var(--radius-md);
  padding: 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-card);
}
.stat-box .ic {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; background: var(--emerald-soft); flex: none;
}
.stat-box .ic.gold { background: var(--gold-soft); }
.stat-box .ic.blue { background: #dbeafe; }
.stat-box .ic.red { background: #fee2e2; }
.stat-box .num { font-size: 1.45rem; font-weight: 800; color: var(--green-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-box .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* Bars chart (CSS murni) */
.bar {
  height: 10px; border-radius: 999px; background: #e6e8e3; overflow: hidden; flex: 1;
}
.bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--emerald)); transition: width .8s ease; }
.bar.gold > span { background: linear-gradient(90deg, #8a6508, var(--gold)); }
.progress-row { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--ink-soft); }
.progress-row .val { font-weight: 700; color: var(--green-deep); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }

/* Donut chart CSS murni */
.donut {
  --p: 0; --c: var(--emerald);
  width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #e9ebe6 0);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.donut::after {
  content: attr(data-label);
  width: 84px; height: 84px; background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; color: var(--green-deep);
}

/* ---------- Info band (profil singkat / layanan) ---------- */
.info-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .info-band { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.check-list li::before {
  content: '✔'; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; margin-top: 2px;
}

/* ---------- Layanan cepat ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.svc-item {
  background: var(--white); border: 1px solid #ece9df; border-radius: var(--radius-md);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow-card); color: var(--ink-soft);
  transition: transform .2s;
}
.svc-item:hover { transform: translateY(-3px); color: var(--green-deep); }
.svc-item .ic {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.svc-item b { display: block; font-size: .92rem; margin-bottom: 4px; color: var(--green-deep); }
.svc-item span { font-size: .78rem; color: var(--muted); }

/* ---------- Timeline (program/pembangunan) ---------- */
.timeline { position: relative; padding-left: 30px; display: grid; gap: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--green), var(--emerald));
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -27px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(201, 162, 39, .25);
}
.tl-date { font-size: .76rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.tl-title { font-weight: 700; color: var(--green-deep); margin: 2px 0 4px; }
.tl-body { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Tabs kategori ---------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 8px 18px; border-radius: 999px; background: var(--white);
  border: 1px solid #e5e2d8; color: var(--ink-soft); font-weight: 600; font-size: .85rem;
  transition: all .2s;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Tabel publik ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid #e8e5db; border-radius: var(--radius-md); background: #fff; }
table.w-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.w-table th {
  background: #f2f4ef; text-align: left; padding: 13px 16px; font-size: .76rem;
  letter-spacing: .4px; text-transform: uppercase; color: var(--green-deep);
  border-bottom: 2px solid #e0ddd2; white-space: nowrap;
}
.w-table td { padding: 13px 16px; border-bottom: 1px solid #efede6; vertical-align: middle; }
.w-table tr:last-child td { border-bottom: 0; }
.w-table tr:hover td { background: #fafaf5; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.text-warn { color: var(--warning); font-weight: 600; }

/* ---------- Berita featured split ---------- */
.feat-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
@media (max-width: 900px) { .feat-split { grid-template-columns: 1fr; } }
.feat-main .card-media { aspect-ratio: 16 / 9; }

/* ---------- Detail artikel ---------- */
.article { font-size: 1.02rem; color: #233029; }
.article p { margin-bottom: 1.1em; }
.article img { border-radius: var(--radius-md); margin: 10px 0; }
.article-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--green-deep); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .87rem; padding-bottom: 20px; border-bottom: 1px solid #e8e5db; margin-bottom: 26px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.share-btn { padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: .84rem; color: #fff; }
.share-wa { background: #15803d; } .share-fb { background: #1d4ed8; } .share-x { background: #0f172a; } .share-tg { background: #0e7490; }

/* ---------- Galeri masonry ---------- */
.mas-grid { columns: 3 260px; column-gap: 18px; }
.mas-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; position: relative; display: block; box-shadow: var(--shadow-card); }
.mas-item img { transition: transform .4s; width: 100%; }
.mas-item:hover img { transform: scale(1.05); }
.mas-caption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; color: #fff; font-size: .8rem;
  background: linear-gradient(transparent, rgba(7, 40, 30, .85)); opacity: 0; transition: opacity .3s;
}
.mas-item:hover .mas-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(7, 24, 18, .93);
  display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 10px; box-shadow: var(--shadow-pop); }
.lightbox .lb-close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: 0; }
.lightbox .lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #d9e6df; font-size: .9rem; }

/* ---------- APBDes ---------- */
.apb-hero-num { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.apb-tab { border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: .9rem; cursor: pointer; border: 1px solid #e5e2d8; background: #fff; }
.apb-tab.active { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.money { font-variant-numeric: tabular-nums; }
.hukum-item { display: flex; gap: 16px; padding: 18px; border: 1px solid #ece9df; background: #fff; border-radius: var(--radius-md); transition: border-color .2s; }
.hukum-item:hover { border-color: var(--green); }
.hukum-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: #8a6508; font-size: 1.2rem; font-weight: 700;
}
.hukum-title { font-weight: 700; color: var(--green-deep); margin: 0; font-size: .98rem; }

/* ---------- Lapak ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod-card { background: #fff; border: 1px solid #ece9df; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .2s; }
.prod-card:hover { transform: translateY(-4px); }
.prod-media { aspect-ratio: 4 / 3; position: relative; background: var(--ivory-2); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media.noimg::after {
  content: '🛍️'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: .35;
}
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price { font-weight: 800; color: var(--green-deep); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price.old { color: #9ca3af; text-decoration: line-through; font-weight: 500; font-size: .85rem; }
.umkm-chip { font-size: .72rem; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.stok-out { opacity: .55; pointer-events: none; }

/* ---------- Form publik ---------- */
.w-form { display: grid; gap: 14px; }
.w-form label { font-weight: 600; font-size: .85rem; color: var(--green-deep); }
.w-input, .w-select, .w-textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #dcd8cb;
  font: inherit; background: #fff; color: var(--ink);
}
.w-input:focus, .w-select:focus, .w-textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .15); }

/* ---------- Peta statis (OSM tiles) ---------- */
.osm-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: #dcdee0; }
.osm-row { display: flex; }
.osm-row img { width: var(--tile); height: var(--tile); }
.map-pin {
  position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 5;
  display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
}
.map-pin .pin-dot { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; }
.map-pin .pin-dot > span { transform: rotate(45deg); }
.map-pin:hover .pin-tip { opacity: 1; pointer-events: auto; }
.pin-tip {
  position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
  background: var(--green-deep); color: #fff; border-radius: 8px; padding: 6px 12px;
  font-size: .74rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s; z-index: 20;
}
.map-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: .8rem; color: var(--ink-soft); }
.map-legend span::before { content: '●'; margin-right: 5px; }

/* ---------- Lembaga ---------- */
.lembaga-card { text-align: center; }
.lembaga-logo { width: 74px; height: 74px; margin: -37px auto 0; border-radius: 20px; background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: var(--shadow-card); position: relative; }

/* ---------- Sidebar halaman within ---------- */
.w-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .w-layout { grid-template-columns: 1fr; } }
.w-aside .w-card { margin-bottom: 22px; }
.aside-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 800; margin-bottom: 14px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aside-list a { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.aside-list img { width: 54px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.aside-list time { font-size: .73rem; color: #9aa39d; }

/* ---------- Breadcrumb & page head ---------- */
.w-pagehead { background: linear-gradient(110deg, var(--green-deep), #123f31 60%, #14653f); color: #fff; padding: 52px 0 46px; position: relative; overflow: hidden; }
.w-pagehead::after {
  content: '🏛️'; position: absolute; right: -30px; top: -50px; font-size: 200px; opacity: .08;
}
.w-pagehead h1 { color: #fff; margin: 6px 0 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.crumbs { font-size: .82rem; color: #bcd3c8; }
.crumbs a { color: #e9f2ee; }
.crumbs span.sep { margin: 0 8px; color: #6d8f7f; }

/* ---------- Footer ---------- */
.w-footer { background: var(--green-deep); color: #cfe0d8; margin-top: 0; }
.w-footer .wrap { padding-top: 56px; padding-bottom: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.w-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.w-footer a { color: #cfe0d8; }
.w-footer a:hover { color: #f3e3bb; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .88rem; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.foot-brand img { width: 46px; height: 46px; object-fit: contain; }
.foot-desc { font-size: .86rem; color: #9db7ab; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 20px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #9db7ab; }

/* ---------- Empty state ---------- */
.empty {
  background: #fff; border: 1.5px dashed #d8d4c8; border-radius: var(--radius-lg);
  padding: 54px 30px; text-align: center; color: var(--muted);
}
.empty .ic { font-size: 2.6rem; margin-bottom: 12px; filter: grayscale(.3); }
.empty b { color: var(--ink-soft); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid #e3e0d5; background: #fff; font-weight: 600; font-size: .88rem; padding: 0 12px;
}
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Pengumuman (aviso) ---------- */
.aviso {
  background: var(--gold-soft); border: 1px solid #ecd9a0; color: #6d5312;
  border-radius: var(--radius-md); padding: 10px 16px; font-size: .85rem;
  display: flex; gap: 10px; align-items: center;
}

/* Tulis-in clearly responsive typography scale */
@media (max-width: 480px) {
  .w-section { padding: 46px 0; }
  .hero-inner { padding: 44px 0 120px; }
  .strip-item .num { font-size: 1.4rem; }
}

/* Counter animation */
[data-count] { font-variant-numeric: tabular-nums; }

/* Print */
@media print {
  .w-header, .w-topbar, .w-footer, .hero-dots, .lightbox, .share-row, .dark-print-hide { display: none !important; }
  body.w-site { background: #fff; }
}


/* ==========================================================================
   PRELOADER & MICRO-ANIMATIONS (UI/UX MODERN)
   ========================================================================== */
#wPreloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at center, #114232 0%, #071f17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1), visibility .5s ease;
  user-select: none;
}
#wPreloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 320px;
  width: 88%;
  animation: preloaderCardPop .5s cubic-bezier(.16, 1, .3, 1);
}
@keyframes preloaderCardPop {
  0% { opacity: 0; transform: scale(.92) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.preloader-logo-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.preloader-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px dashed rgba(234, 179, 8, 0.65);
  animation: preloaderRingPulse 14s linear infinite;
  pointer-events: none;
}
.preloader-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 75%);
  animation: preloaderGlowPulse 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}
.preloader-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: logoGentleSpin 14s linear infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
@keyframes logoGentleSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes preloaderRingPulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes preloaderGlowPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.9; }
}
.preloader-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 4px;
  font-family: 'Playfair Display', Georgia, serif;
}
.preloader-sub {
  color: #a3c2b5;
  font-size: .82rem;
  margin: 0 0 20px;
}
.preloader-bar {
  width: 180px;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.preloader-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #10b981, #f59e0b, #10b981);
  background-size: 200% 100%;
  border-radius: 10px;
  animation: preloaderBarSlide 1.4s ease-in-out infinite;
}
@keyframes preloaderBarSlide {
  0% { left: -45%; }
  100% { left: 100%; }
}

/* Smooth page entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealFadeInUp .6s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes revealFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover lift */
.w-card {
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .25s ease;
}
.w-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 60, 40, .10);
  border-color: #d1dbd5;
}

/* Floating WhatsApp button */
.btn-floating-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
  text-decoration: none;
}
.btn-floating-wa:hover {
  transform: scale(1.12);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.6);
}
.btn-floating-wa .wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: waPulse 2s cubic-bezier(.24, 0, .38, 1) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Chart & Infografis Card Enhancements */
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.chart-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-sub {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 2px;
}
.chart-download-btn {
  background: #f0f7f3;
  color: var(--green-deep);
  border: 1px solid #cce3d7;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.chart-download-btn:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
  transform: translateY(-1px);
}
.chart-canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 280px;
  flex: 1;
}

/* Demographic Table Styling */
.table-demo-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.table-demo {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  text-align: left;
}
.table-demo th {
  background: #f7faf8;
  color: var(--green-deep);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #e1e9e4;
  white-space: nowrap;
}
.table-demo td {
  padding: 11px 16px;
  border-bottom: 1px solid #edf2ef;
  color: var(--ink-soft);
}
.table-demo tr:last-child td {
  border-bottom: none;
}
.table-demo tr:hover td {
  background: #f9fbf9;
}
.badge-demo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 700;
}
.badge-demo.male { background: #e0f2fe; color: #0369a1; }
.badge-demo.female { background: #fce7f3; color: #be185d; }
.badge-demo.neutral { background: #ecfdf5; color: #047857; }


/* ==========================================================================
   SLIDER APARATUR PEMERINTAH DESA (SESUAI GAMBAR)
   ========================================================================== */
.aparatur-section {
  padding: 60px 0;
  background: #f8faf9;
  position: relative;
  overflow: hidden;
}
.aparatur-slider-wrap {
  position: relative;
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.aparatur-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding: 8px 4px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: grab;
}
.aparatur-track:active {
  cursor: grabbing;
}
.aparatur-track::-webkit-scrollbar {
  height: 6px;
}
.aparatur-track::-webkit-scrollbar-track {
  background: transparent;
}
.aparatur-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.aparatur-card {
  flex: 0 0 215px;
  width: 215px;
  max-width: 215px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 40, 25, 0.08);
  border: 1px solid #e2ebe6;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  user-select: none;
  box-sizing: border-box;
}
.aparatur-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(10, 40, 25, 0.14);
  border-color: #10b981;
}
.aparatur-photo-box {
  width: 100%;
  height: 230px;
  background: linear-gradient(135deg, #e6f0eb, #cfded6);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aparatur-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.aparatur-card:hover .aparatur-photo-box img {
  transform: scale(1.06);
}
.aparatur-avatar-fallback {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #0b3d2e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.25);
}
.aparatur-info-banner {
  padding: 12px 14px;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #edf2ef;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  justify-content: center;
}
.aparatur-jabatan {
  font-size: .80rem;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: .01em;
  margin: 0;
  line-height: 1.25;
}
.aparatur-nama {
  font-size: .90rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  line-height: 1.25;
}
.aparatur-nipd {
  font-size: .70rem;
  color: #94a3b8;
  margin-top: 2px;
}
.aparatur-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b3d2e;
  border: 1px solid #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all .2s cubic-bezier(.34, 1.56, .64, 1);
}
.aparatur-nav-btn:hover {
  background: #0b3d2e;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.35);
}
.aparatur-nav-btn.prev { left: -16px; }
.aparatur-nav-btn.next { right: -16px; }
@media (max-width: 768px) {
  .aparatur-card { flex: 0 0 210px; max-width: 210px; }
  .aparatur-photo-box { height: 220px; }
  .aparatur-nav-btn.prev { left: 4px; }
  .aparatur-nav-btn.next { right: 4px; }
}

/* ==========================================================================
   STATISTIK PENDUDUK DENGAN LATAR SAWAH & 3 GAUGE BULAT (SESUAI GAMBAR)
   ========================================================================== */
.stat-scenic-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(135deg, rgba(8, 28, 20, 0.90) 0%, rgba(5, 18, 12, 0.94) 100%),
              url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}
.stat-scenic-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .stat-scenic-grid { grid-template-columns: 1fr; text-align: center; }
}
.stat-scenic-title-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-scenic-kicker {
  font-size: .85rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.stat-scenic-h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.stat-scenic-h2 .highlight {
  color: #f59e0b;
}
.stat-scenic-desc {
  font-size: .92rem;
  color: #cfe0d8;
  line-height: 1.5;
  margin: 12px 0 20px;
}

/* 3 Donut Circular Gauges Row */
.stat-gauges-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.gauge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform .3s ease;
}
.gauge-item:hover {
  transform: scale(1.05);
}
.gauge-circle-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-circle-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gauge-bg-circle {
  fill: rgba(0, 0, 0, 0.35);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 10;
}
.gauge-progress-circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(.16, 1, .3, 1);
}
.gauge-item.cyan .gauge-progress-circle {
  stroke: #06b6d4;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.7));
}
.gauge-item.pink .gauge-progress-circle {
  stroke: #f43f5e;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.7));
}
.gauge-item.green .gauge-progress-circle {
  stroke: #10b981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.7));
}
.gauge-inner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.gauge-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.gauge-label {
  font-size: .78rem;
  color: #cfe0d8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* ==========================================================================
   ANIMASI APBDES KEUANGAN DESA
   ========================================================================== */
.apbdes-animated-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e1e9e4;
  box-shadow: 0 4px 18px rgba(10, 40, 25, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.apbdes-animated-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 40, 25, 0.10);
}
.apbdes-prog-bar-wrap {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 10px 0 6px;
}
.apbdes-prog-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(.16, 1, .3, 1);
  background: linear-gradient(90deg, #10b981, #059669);
  position: relative;
}
.apbdes-prog-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}


/* ==========================================================================
   PORTAL DESA JUARA — DESAIN MODERN & EKSKLUSIF (SESUAI GAMBAR 0da4 & 51f3)
   ========================================================================== */

/* Top Running Bar */
.portal-topbar {
  background: #558b16;
  color: #f1f8e9;
  font-size: .82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.portal-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a3e635;
  box-shadow: 0 0 8px #a3e635;
  animation: pulseLiveDot 1.5s infinite;
}
@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.topbar-motto {
  font-size: .78rem;
  color: #dcedc8;
  display: inline-block;
  margin-left: 10px;
}
@media (max-width: 768px) {
  .topbar-motto { display: none; }
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-topbar-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  transition: all .2s;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-topbar-pill:hover {
  background: #ffffff;
  color: #33691e;
}
.topbar-icon-link {
  color: #ffffff;
  font-size: .95rem;
  padding: 3px 6px;
  border-radius: 6px;
  transition: transform .2s;
}
.topbar-icon-link:hover {
  transform: scale(1.15);
}

/* Navbar Utama Ramping & Bersih */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e2e8f0;
}
.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.portal-brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.portal-brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: .02em;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.brand-sub {
  font-size: .74rem;
  color: #64748b;
  font-weight: 500;
}
.portal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.portal-nav .nav-item {
  color: #334155;
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .18s ease;
  text-decoration: none;
}
.portal-nav .nav-item:hover {
  color: #15803d;
  background: #f0fdf4;
}
.portal-nav .nav-item.active {
  color: #ffffff;
  background: #15803d;
}
.nav-badge-apbdes {
  color: #b45309 !important;
  background: #fef3c7 !important;
  font-weight: 700 !important;
}
.nav-badge-apbdes:hover, .nav-badge-apbdes.active {
  background: #d97706 !important;
  color: #ffffff !important;
}
.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-drawer-toggle {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
}
.btn-drawer-toggle:hover {
  background: #0f172a;
  color: #ffffff;
}
@media (max-width: 992px) {
  .portal-nav { display: none; }
}

/* Offcanvas Drawer */
.portal-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.portal-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.portal-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  max-width: 86vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right .32s cubic-bezier(.16, 1, .3, 1);
}
.portal-drawer.open {
  right: 0;
}
.drawer-header {
  padding: 18px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
}
.drawer-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.drawer-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
}
.drawer-kicker {
  font-size: .78rem;
  font-weight: 800;
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.drawer-link {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: #334155;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.drawer-link:hover {
  background: #f0fdf4;
  color: #15803d;
  transform: translateX(4px);
}
.drawer-link.highlight {
  background: #15803d;
  color: #ffffff;
  margin-top: 6px;
  text-align: center;
}

/* ==========================================================================
   PORTAL 2-KOLOM (SIDEBAR KIRI + KONTEN UTAMA KANAN)
   ========================================================================== */
.portal-grid-container {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0 60px;
  align-items: start;
  box-sizing: border-box;
}
@media (max-width: 1080px) {
  .portal-grid-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Kolom Kiri: Sidebar Portal */
.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Kolom Kanan: Konten Utama Portal */
.portal-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Kartu Identitas Desa di Sidebar Kiri */
.side-identity-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}
.side-identity-hero {
  height: 120px;
  position: relative;
  background: linear-gradient(135deg, rgba(85, 139, 22, 0.85), rgba(46, 125, 50, 0.9)),
              url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=600&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-identity-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: logoGentleSpin 18s linear infinite;
}
.side-identity-body {
  padding: 14px 16px;
  text-align: center;
  background: #ffffff;
}
.side-identity-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: .02em;
}
.side-identity-sub {
  margin: 2px 0 0;
  font-size: .78rem;
  color: #64748b;
  font-weight: 600;
}

/* 9-Icon Quick Grid (3x3 Sesuai Referensi Gambar 0da4 / 51f3) */
.side-menu-9grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #ffffff;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}
.menu-grid-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 4px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all .2s cubic-bezier(.34, 1.56, .64, 1);
  min-height: 72px;
}
.menu-grid-btn:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #15803d;
  box-shadow: 0 6px 14px rgba(21, 128, 61, 0.15);
}
.menu-grid-icon {
  font-size: 1.35rem;
  margin-bottom: 4px;
  line-height: 1;
}
.menu-grid-label {
  font-size: .68rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.2;
}

/* Menu List Vertikal Anti-Korupsi dsb */
.side-nav-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: #1e293b;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all .2s;
}
.side-nav-item:hover {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
}
.side-nav-item.anti-korupsi {
  background: linear-gradient(135deg, #15803d, #0b3d2e);
  color: #ffffff;
  border: none;
}
.side-nav-item.anti-korupsi:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Widget Radio / Audio Desa */
.side-radio-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.radio-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #a3e635;
}
.radio-sub {
  font-size: .74rem;
  color: #94a3b8;
  margin-bottom: 12px;
}
.radio-player-bar {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}

/* Ticker Running Text Berita */
.ticker-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  overflow: hidden;
}
.ticker-badge {
  background: #15803d;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticker-content {
  font-size: .86rem;
  color: #334155;
  white-space: nowrap;
  animation: marqueeTicker 24s linear infinite;
  flex: 1;
}
@keyframes marqueeTicker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Widget Jadwal Shalat (Sesuai Referensi Gambar) */
.prayer-widget-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.prayer-widget-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
}
@media (max-width: 768px) {
  .prayer-widget-grid { grid-template-columns: 1fr; text-align: center; }
}
.prayer-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}
.prayer-icon-arch {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex: none;
}
.prayer-times-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 640px) {
  .prayer-times-row { grid-template-columns: repeat(3, 1fr); }
}
.prayer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
}
.prayer-box.active {
  background: #ecfdf5;
  border-color: #10b981;
}
.prayer-name {
  font-size: .74rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.prayer-val {
  font-size: .92rem;
  font-weight: 800;
  color: #0b3d2e;
}

/* ==========================================================================
   TRANSPARANSI ANGGARAN APBDES 3-KOLOM EKSKLUSIF (JUARA STANDAR NASIONAL)
   ========================================================================== */
.apbdes-showcase {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(11, 61, 46, 0.08);
  border: 1px solid #e2ebe6;
  overflow: hidden;
  margin-bottom: 28px;
  width: 100%;
  box-sizing: border-box;
}
.apbdes-showcase-head {
  background: linear-gradient(135deg, #0b3d2e 0%, #15803d 100%);
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.apbdes-showcase-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.apbdes-showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.apbdes-showcase-meta h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: .02em;
}
.apbdes-showcase-meta p {
  margin: 2px 0 0;
  font-size: .78rem;
  color: #d1fae5;
}
.apbdes-showcase-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.apbdes-pill-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: .74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.apbdes-btn-link {
  background: #fbbf24;
  color: #78350f !important;
  font-size: .78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.apbdes-btn-link:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}
.apbdes-col-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .apbdes-col-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
}
.apbdes-col-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-width: 0;
}
.apbdes-col-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.10);
  border-color: #10b981;
}
.apbdes-col-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}
.apbdes-col-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex: none;
}
.apbdes-col-card.col-pelaksanaan .apbdes-col-badge-icon { background: #ecfdf5; color: #059669; }
.apbdes-col-card.col-pendapatan .apbdes-col-badge-icon { background: #eff6ff; color: #2563eb; }
.apbdes-col-card.col-pembelanjaan .apbdes-col-badge-icon { background: #fef3c7; color: #d97706; }
.apbdes-col-heading {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.apbdes-item-row {
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.apbdes-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.apbdes-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.apbdes-item-name {
  font-size: .80rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}
.apbdes-item-pct {
  font-size: .74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  flex: none;
}
.pct-green { background: #dcfce7; color: #15803d; }
.pct-blue { background: #dbeafe; color: #1d4ed8; }
.pct-amber { background: #fef3c7; color: #b45309; }
.pct-purple { background: #f3e8ff; color: #7e22ce; }
.pct-teal { background: #ccfbf1; color: #0f766e; }
.apbdes-bar-track {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.apbdes-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(.16, 1, .3, 1);
}
.bar-emerald { background: linear-gradient(90deg, #10b981, #059669); }
.bar-blue { background: linear-gradient(90deg, #38bdf8, #2563eb); }
.bar-amber { background: linear-gradient(90deg, #fbbf24, #d97706); }
.bar-purple { background: linear-gradient(90deg, #c084fc, #9333ea); }
.bar-teal { background: linear-gradient(90deg, #2dd4bf, #0d9488); }
.apbdes-figures {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: #64748b;
}
.apbdes-figures b {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   DUAL MINI-MAP SECTION (LOKASI KANTOR + WILAYAH DESA PASAYANGAN)
   ========================================================================== */
.dual-map-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 860px) {
  .dual-map-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.mini-map-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2ebe6;
  box-shadow: 0 4px 18px rgba(10, 40, 25, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.mini-map-header {
  background: #ffffff;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 800;
  color: #0b3d2e;
  margin: 0;
}
.mini-map-container {
  width: 100%;
  height: 290px;
  background: #0f172a;
  position: relative;
  z-index: 1;
}
.mini-map-footer {
  background: #f8fafc;
  padding: 10px 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: #475569;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-map-footer-coords {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: .74rem;
  color: #334155;
}
.mini-map-action-link {
  color: #15803d;
  font-weight: 700;
  text-decoration: none;
  font-size: .76rem;
}
.mini-map-action-link:hover {
  text-decoration: underline;
  color: #0b3d2e;
}


/* ==========================================================
   RADIO & WARTA DESA - YOUTUBE VIDEO PLAYER
   ========================================================== */


/* ====================================================
   MEDIA DESA TV - PREMIUM SIDEBAR WIDGET
   ==================================================== */

.side-radio-card.media-desa-widget {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 15px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15,23,42,.14);
}

/* Header */
.media-desa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.media-desa-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(163,230,53,.10);
    font-size: 19px;
}

.media-desa-heading {
    min-width: 0;
}

.media-desa-heading h3 {
    margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    color: #a3e635;
    letter-spacing: .1px;
}

.media-desa-heading p {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    color: #94a3b8;
}

/* YouTube responsive */
.media-desa-widget .radio-video-container {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.media-desa-widget .radio-video-container iframe {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Video information */
.media-desa-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 13px;
}

.media-desa-info-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.media-desa-youtube {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 25px;
    background: #ef4444;
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

.media-desa-info-left strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    color: #f8fafc;
}

.media-desa-info-left small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
}

.media-desa-badge {
    background: rgba(163,230,53,.12);
    color: #a3e635;
    font-size: 9px;
    font-weight: 800;
    padding: 5px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Footer */
.media-desa-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.09);
    padding-top: 11px;
    color: #94a3b8;
    font-size: 10px;
}

/* Mobile */
@media (max-width: 480px) {
    .side-radio-card.media-desa-widget {
        padding: 13px;
        border-radius: 16px;
    }

    .media-desa-heading h3 {
        font-size: 12px;
    }

    .media-desa-widget .radio-video-container {
        border-radius: 10px;
    }
}
