﻿:root {
    --forest: #073b2d;
    --forest-2: #0b5b41;
    --forest-3: #157452;
    --gold: #e5c355;
    --gold-soft: #f2d978;
    --paper: #f4f7f3;
    --ink: #1c3028;
    --muted: #6e7d74;
    --line: #e5ebe4;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 var(--font-body); }
.site-splash { position: fixed; z-index: 2500; inset: 0; display: grid; place-items: center; overflow: hidden; padding: 24px; color: #eaf5ee; background: radial-gradient(ellipse at 50% 48%,#126447 0,#073b2d 48%,#04271e 100%); animation: splashScreenOut 2.8s .2s ease forwards; isolation: isolate; }
.site-splash::before,.site-splash::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.site-splash::before { opacity: .72; background-image: radial-gradient(circle at 50% 50%,#34e5b51c 0,transparent 42%),radial-gradient(circle,#78ffd8b0 0 1px,transparent 2px),linear-gradient(90deg,transparent 0 48px,#49dfb42b 49px 50px,transparent 51px 98px,#49dfb41c 99px 100px,transparent 101px 148px),linear-gradient(transparent 0 48px,#49dfb42b 49px 50px,transparent 51px 98px,#49dfb41c 99px 100px,transparent 101px 148px),linear-gradient(#73dcb51b 1px,transparent 1px),linear-gradient(90deg,#73dcb51b 1px,transparent 1px); background-size: auto,100px 100px,200px 200px,200px 200px,50px 50px,50px 50px; background-position: center,0 0,0 0,0 0,0 0,0 0; mask-image: radial-gradient(ellipse at center,#000 0%,#000 42%,transparent 82%); animation: splashTechDrift 4.8s linear infinite; }
.site-splash::after { opacity: .62; background: linear-gradient(105deg,transparent 0%,#71f6d00a 36%,#71f6d02a 49%,#d0fff244 50%,#71f6d02a 51%,#71f6d00a 64%,transparent 100%); transform: translateX(-110%); animation: splashScan 3.8s ease-in-out infinite; }
.site-splash-particles { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.site-splash-particles i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #9affdb; box-shadow: 0 0 6px #64ffd0,0 0 16px #14dda5; animation: splashParticleDrift var(--particle-time,5s) ease-in-out var(--particle-delay,0s) infinite; }
.site-splash-particles i:nth-child(1) { left: 8%; top: 24%; --particle-time: 2.2s; --particle-delay: -.5s; }
.site-splash-particles i:nth-child(2) { left: 17%; top: 72%; --particle-time: 2.8s; --particle-delay: -1.1s; }
.site-splash-particles i:nth-child(3) { left: 27%; top: 18%; --particle-time: 2.4s; --particle-delay: -.8s; }
.site-splash-particles i:nth-child(4) { left: 36%; top: 84%; --particle-time: 3s; --particle-delay: -1.5s; }
.site-splash-particles i:nth-child(5) { left: 49%; top: 12%; --particle-time: 2.6s; --particle-delay: -1.3s; }
.site-splash-particles i:nth-child(6) { left: 63%; top: 82%; --particle-time: 2.3s; --particle-delay: -.8s; }
.site-splash-particles i:nth-child(7) { left: 74%; top: 20%; --particle-time: 2.9s; --particle-delay: -.4s; }
.site-splash-particles i:nth-child(8) { left: 91%; top: 35%; --particle-time: 2.5s; --particle-delay: -1.6s; }
.site-splash-particles i:nth-child(9) { left: 11%; top: 55%; --particle-time: 2.7s; --particle-delay: -1.2s; }
.site-splash-particles i:nth-child(10) { left: 31%; top: 48%; --particle-time: 2.1s; --particle-delay: -.9s; }
.site-splash-particles i:nth-child(11) { left: 69%; top: 53%; --particle-time: 3.1s; --particle-delay: -2s; }
.site-splash-particles i:nth-child(12) { left: 86%; top: 76%; --particle-time: 2.6s; --particle-delay: -1.4s; }
html.site-splash-seen .site-splash { display: none !important; animation: none !important; }
.site-splash-card { position: relative; z-index: 1; isolation: isolate; display: grid; align-content: center; justify-items: center; width: min(620px,calc(100vw - 36px)); min-height: 390px; padding: 44px 32px; text-align: center; animation: splashRise .7s cubic-bezier(.2,.75,.25,1) both; }
.site-splash-card::before,.site-splash-card::after { content: ''; position: absolute; z-index: -1; top: 50%; left: 50%; width: min(450px,calc(100vw - 54px)); aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); }
.site-splash-card::before { background: conic-gradient(from 0deg,#c28a2b,#ffe18a 16%,#d79a35 34%,#b97820 53%,#ffe79a 69%,#bd7d22 84%,#f4ca67); mask: radial-gradient(circle farthest-side,transparent calc(100% - 4px),#000 calc(100% - 2px)); filter: drop-shadow(0 0 4px #e8b94778); }
.site-splash-card::after { background: #f2ce6533; mask: radial-gradient(circle farthest-side,transparent calc(100% - 1px),#000 100%); box-shadow: 0 0 46px #f5bd3020; animation: splashHalo 2.4s ease-in-out infinite alternate; }
.site-splash-orbit { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(450px,calc(100vw - 54px)); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from -34deg,transparent 0deg 284deg,#9c5214 301deg,#f7a928 314deg,#fff4a4 321deg,#fff 326deg,#ffe06a 333deg,#ff941e 342deg,transparent 354deg 360deg); mask: radial-gradient(circle farthest-side,transparent calc(100% - 5px),#000 calc(100% - 2px)); filter: drop-shadow(0 0 6px #ffc547) drop-shadow(0 0 17px #ff8d1c); transform: translate(-50%,-50%); animation: splashCometOrbit 1.35s linear infinite; pointer-events: none; }
.site-splash-orbit i { position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle,#fff 0 12%,#fff3a0 35%,#ffae27 62%,#ff7816 100%); box-shadow: 0 0 7px 3px #fff0a0,0 0 20px 7px #ff9c20,0 0 38px 12px #ff811d74; transform: translateX(-50%); animation: splashFlarePulse .45s ease-in-out infinite alternate; }
.site-splash-logo { width: 82px; height: 92px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #f0d36b88; border-radius: 25px; background: #ffffff0d; box-shadow: 0 0 0 9px #ffffff08,0 22px 60px #001b1250; }
.site-splash-logo img { width: 53px; height: 68px; object-fit: contain; filter: drop-shadow(0 4px 8px #00190f66); }
.site-splash-kicker { color: #f0d36b; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.site-splash-card strong { margin-top: 7px; color: #fff; font: 800 clamp(23px,5vw,31px)/1.2 var(--font-display); letter-spacing: -.04em; }
.site-splash-location { margin-top: 7px; color: #b9d0c2; font-size: 11px; letter-spacing: .04em; }
.site-splash-progress { width: 142px; height: 3px; overflow: hidden; margin-top: 25px; border-radius: 9px; background: #ffffff20; }
.site-splash-progress i { width: 38%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#e5c355,#f7e69d); animation: splashProgress 1.05s ease-in-out infinite; }
@keyframes splashRise { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes splashProgress { from { transform: translateX(-110%); } to { transform: translateX(370%); } }
@keyframes splashFireOrbit { to { transform: translate(-50%,-50%) rotate(1turn); } }
@keyframes splashFireFlicker { from { opacity: .78; filter: drop-shadow(0 0 5px #ffd454) drop-shadow(0 0 14px #ff9f1b); } to { opacity: 1; filter: drop-shadow(0 0 9px #fff2a8) drop-shadow(0 0 24px #ff9d1b); } }
@keyframes splashCometOrbit { to { transform: translate(-50%,-50%) rotate(1turn); } }
@keyframes splashFlarePulse { from { opacity: .78; scale: .82; } to { opacity: 1; scale: 1.24; } }
@keyframes splashParticleDrift { 0%,100% { opacity: .3; transform: translate3d(0,0,0) scale(.7); } 50% { opacity: 1; transform: translate3d(18px,-24px,0) scale(1.45); } }
@keyframes splashHalo { from { opacity: .38; transform: translate(-50%,-50%) scale(.985); } to { opacity: .8; transform: translate(-50%,-50%) scale(1.015); } }
@keyframes splashTechDrift { to { background-position: center,50px 50px,100px 100px,100px 100px,25px 25px,25px 25px; } }
@keyframes splashScan { 0%,15% { transform: translateX(-110%); } 85%,100% { transform: translateX(110%); } }
@keyframes splashScreenOut { 0%,68% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@media (max-width: 540px) { .site-splash-card { width: min(390px,calc(100vw - 36px)); min-height: 350px; padding: 34px 20px; } .site-splash-card::before,.site-splash-card::after,.site-splash-orbit { width: min(350px,calc(100vw - 28px)); } .site-splash-logo { width: 72px; height: 80px; margin-bottom: 15px; } .site-splash-logo img { width: 47px; height: 60px; } .site-splash-location { max-width: 240px; line-height: 1.6; } }
@media (prefers-reduced-motion: reduce) { .site-splash { animation-duration: .55s; animation-delay: 0s; } .site-splash::before,.site-splash::after,.site-splash-particles i,.site-splash-orbit,.site-splash-orbit i,.site-splash-card,.site-splash-card::before,.site-splash-card::after,.site-splash-progress i { animation: none!important; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.site-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section-space { padding-block: 92px; }

.topbar { color: #c4d5c9; background: #05271e; font-size:10px; letter-spacing: .1em; }
.topbar-inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-inner :is(svg, i[class^="fa-"]) { width: 12px; height: 12px; color: var(--gold); }
.topbar-inner b { color: var(--gold); }
.topbar-note { letter-spacing: 0; font-size:11px; }

.site-header { position: sticky; z-index: 30; top: 0; color: #fff; background: rgba(5, 48, 36, .98); box-shadow: 0 7px 22px #05271e26; backdrop-filter: blur(12px); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #e5c35588; border-radius: 50%; color: var(--gold); background: #e5c35517; }
.brand-mark :is(svg, i[class^="fa-"]) { width: 21px; height: 21px; }
.brand-name { color: #fff; font: 800 14px/1.2 var(--font-display); letter-spacing: .1em; }
.brand-name small { display: block; margin-top: 4px; color: #dfc05c; font: 600 9px/1 var(--font-body); letter-spacing: .17em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding-inline: 12px; color: #d6e3da; font-size:12px; font-weight: 700; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--gold-soft); }
.nav-link.active::after { content: ''; position: absolute; right: 12px; bottom: 3px; left: 12px; height: 2px; background: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 10px 15px; border: 1px solid #b99637; border-radius: 28px; color: var(--gold); font-size:11px; font-weight: 700; white-space: nowrap; transition: .2s; }
.nav-cta:hover { color: var(--forest); background: var(--gold); }
.nav-cta :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid #547266; border-radius: 7px; color: var(--gold); background: transparent; cursor: pointer; }
.nav-toggle :is(svg, i[class^="fa-"]) { width: 20px; }

.announcement { height: 38px; display: flex; align-items: stretch; color: #f0f4e9; background: #0a684b; overflow: hidden; font-size:11px; font-weight: 700; }
.announcement-label { z-index: 1; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding-inline: max(calc((100vw - 1160px) / 2), 20px) 18px; color: #183a2d; background: var(--gold); font-size:10px; letter-spacing: .12em; }
.announcement-label :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; }
.announcement-window { flex: 1; overflow: hidden; }
.announcement-track { width: max-content; min-height: 100%; display: flex; align-items: center; gap: 25px; padding-left: 20px; white-space: nowrap; animation: ticker 34s linear infinite; }
.announcement-track b { color: var(--gold); }
.announcement:hover .announcement-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 60px 0 28px; color: #fff; background: radial-gradient(ellipse at 83% 0%, #176b4c 0%, #0b543b 34%, #073b2d 75%); }
.hero-orbit { position: absolute; z-index: -1; top: -460px; right: 4%; width: 760px; aspect-ratio: 1; border: 1px solid #e5c35524; border-radius: 50%; box-shadow: 0 0 0 45px #e5c3550b, 0 0 0 90px #e5c35508; }
.hero-main { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-bottom: 48px; }
.hero-copy { max-width: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #9c7a22; font-size:10px; font-weight: 800; letter-spacing: .17em; }
.eyebrow > span { width: 20px; height: 1px; background: #c3a038; }
.eyebrow-gold { color: #e9c952; }
.eyebrow-gold > span { background: var(--gold); }
.hero-place { margin: 0 0 17px; color: #e4c657; font-size:11px; font-weight: 800; letter-spacing: .17em; }
.hero-place b { padding-inline: 5px; }
.hero h1 { max-width: 620px; margin: 0 0 18px; font: 700 clamp(44px, 5.2vw, 68px)/1.07 var(--font-display); letter-spacing: -.06em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 480px; margin: 0; color: #d2e0d6; font-size:15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border: 1px solid transparent; border-radius: 5px; font-size:12px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; }
.button-gold { color: #173a2c; background: var(--gold); }
.button-gold:hover { color: #173a2c; background: var(--gold-soft); }
.button-outline { border-color: #d2e1d54d; color: #fff; background: #ffffff08; }
.button-outline:hover { color: var(--gold-soft); background: #ffffff14; }
.button-green { color: #fff; background: var(--forest); }
.button-green:hover { color: #fff; background: var(--forest-2); }
.hero-location { display: flex; align-items: center; gap: 8px; margin-top: 27px; color: #d0dfd5; font-size:9px; font-weight: 800; letter-spacing: .16em; }
.hero-location :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; color: var(--gold); }
.hero-location b { margin-inline: 3px; color: var(--gold); }
.hero-photo { position: relative; margin: 0; padding: 0 14px 22px 0; }
.hero-photo::before { position: absolute; top: -12px; right: 0; width: 82%; height: 87%; content: ''; border: 1px solid #e5c35588; border-radius: 11px; }
.hero-photo-frame { position: relative; z-index: 1; aspect-ratio: 1.495; overflow: hidden; border-radius: 9px; background: #194934; box-shadow: 0 26px 60px #00180f55; }
.hero-photo-frame::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(0deg, #052b20a8, transparent); pointer-events: none; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.hero-photo:hover .hero-photo-frame img { transform: scale(1.035); }
.photo-corner-label { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #ffffff54; border-radius: 3px; color: #fff; background: #052b2094; font-size:8px; font-weight: 800; letter-spacing: .11em; backdrop-filter: blur(8px); }
.photo-corner-label :is(svg, i[class^="fa-"]) { width: 12px; height: 12px; color: var(--gold); }
.hero-photo figcaption { position: absolute; z-index: 2; bottom: 0; left: -20px; min-width: 255px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #e6ebe2; border-radius: 7px; color: var(--forest); background: #fff; box-shadow: 0 15px 38px #00180f38; }
.photo-caption-icon { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border-radius: 50%; color: #147654; background: #edf3e9; }
.photo-caption-icon :is(svg, i[class^="fa-"]) { width: 18px; height: 18px; }
.hero-photo figcaption small, .hero-photo figcaption b { display: block; }
.hero-photo figcaption small { margin-bottom: 3px; color: #a17e22; font-size:8px; font-weight: 800; letter-spacing: .14em; }
.hero-photo figcaption b { font: 700 11px var(--font-display); }
.photo-sparkle { width: 15px; margin-left: auto; color: #c5a13b; }

.quick-access { display: grid; grid-template-columns: 1.15fr repeat(5, 1fr); align-items: center; border-top: 1px solid #ffffff31; border-bottom: 1px solid #ffffff31; }
.quick-access-heading { padding: 12px 18px 12px 0; }
.quick-access-heading .eyebrow { display: flex; margin: 0 0 4px; color: var(--gold); font-size:8px; }
.quick-access-heading b { color: #fff; font: 700 14px var(--font-display); }
.quick-link { min-height: 62px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-left: 1px solid #ffffff22; color: #edf3ed; transition: background .2s, color .2s; }
.quick-link:hover { color: var(--gold-soft); background: #ffffff0b; }
.quick-icon { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 8px; color: var(--gold); background: #e5c3551c; }
.quick-icon :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; }
.quick-link b, .quick-link small { display: block; }
.quick-link b { font: 700 10px var(--font-display); white-space: nowrap; }
.quick-link small { margin-top: 3px; color: #bfd0c5; font-size:9px; white-space: nowrap; }
.quick-arrow { width: 12px; height: 12px; margin-left: auto; color: var(--gold); }

.welcome-section { background: #fff; }
.welcome-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 80px; }
.welcome-copy h2, .section-heading h2, .government-copy h2 { margin: 0 0 16px; color: var(--forest); font: 750 clamp(30px, 3.8vw, 44px)/1.18 var(--font-display); letter-spacing: -.05em; }
.welcome-copy h2 em, .section-heading h2 em, .government-copy h2 em { color: #57916c; font-style: normal; }
.welcome-copy p { max-width: 540px; margin: 0 0 11px; color: var(--muted); font-size:14px; line-height: 1.9; }
.welcome-copy .welcome-lead { color: #43584c; font-size:16px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; color: #0b684a; font-size:12px; font-weight: 800; }
.text-link :is(svg, i[class^="fa-"]) { width: 15px; transition: transform .2s; }
.text-link:hover :is(svg, i[class^="fa-"]) { transform: translateX(4px); }
.identity-card { padding: 23px 25px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 18px 45px #123a2510; }
.identity-card-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.identity-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #126f4e; background: #eaf2ea; }
.identity-icon :is(svg, i[class^="fa-"]) { width: 19px; }
.identity-card-heading small, .identity-card-heading b { display: block; }
.identity-card-heading small { color: #9a7925; font-size:9px; font-weight: 800; letter-spacing: .13em; }
.identity-card-heading b { margin-top: 3px; color: var(--forest); font: 750 14px var(--font-display); }
.identity-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf0eb; font-size:12px; }
.identity-row span { color: #7b8980; }
.identity-row b { color: #2c4537; }
.identity-map { display: flex; align-items: center; gap: 8px; padding: 14px 0 2px; color: #0d704f; font-size:11px; font-weight: 800; }
.identity-map :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.identity-map :is(svg, i[class^="fa-"]):last-child { margin-left: auto; }

.news-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 31px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin: 0; color: var(--muted); font-size:13px; }
.slider-controls { display: flex; gap: 8px; padding-bottom: 3px; }
.slider-controls button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d7e2d8; border-radius: 50%; color: var(--forest); background: #fff; cursor: pointer; transition: .2s; }
.slider-controls button:hover { color: #fff; background: var(--forest); }
.slider-controls :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; }
.news-swiper { overflow: hidden; padding: 2px 2px 35px; }
.news-swiper .swiper-wrapper { display: flex; }
.news-card { min-width: 0; flex-shrink: 0; overflow: hidden; border: 1px solid #e7ece6; border-radius: 9px; background: #fff; box-shadow: 0 10px 26px #173c2408; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px #173c2418; }
.news-image { position: relative; height: 205px; display: block; overflow: hidden; background: #dfe9df; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-image img { transform: scale(1.04); }
.news-category { position: absolute; bottom: 12px; left: 13px; padding: 6px 9px; border-radius: 3px; color: #19382a; background: var(--gold); font-size:9px; font-weight: 800; }
.news-body { position: relative; min-height: 142px; padding: 15px 17px 18px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #859189; font-size:9px; }
.news-meta span:first-child { display: inline-flex; align-items: center; gap: 5px; }
.news-meta :is(svg, i[class^="fa-"]) { width: 12px; height: 12px; }
.demo-label { padding: 4px 6px; border-radius: 3px; color: #8e7430; background: #f7f1dc; font-size:8px; font-weight: 700; }
.news-body h3 { margin: 11px 22px 0 0; color: #173c2d; font: 750 14px/1.55 var(--font-display); }
.news-body h3 a:hover { color: #177452; }
.news-more { position: absolute; right: 15px; bottom: 16px; color: #137653; }
.news-more :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; }
.news-swiper .swiper-pagination { bottom: 4px; }
.news-swiper .swiper-pagination-bullet { width: 7px; height: 7px; background: #8aa893; opacity: .55; }
.news-swiper .swiper-pagination-bullet-active { width: 20px; border-radius: 6px; background: var(--forest-3); opacity: 1; }
.news-footnote, .data-note { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #7a897f; font-size:10px; }
.news-footnote :is(svg, i[class^="fa-"]), .data-note :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: #ad8c35; flex: 0 0 13px; }

.village-section { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #073b2d, #0b6245); }
.village-section::after { position: absolute; top: -250px; right: -130px; width: 520px; aspect-ratio: 1; content: ''; border: 1px solid #e5c35520; border-radius: 50%; box-shadow: 0 0 0 46px #ffffff07, 0 0 0 92px #ffffff04; pointer-events: none; }
.village-section .site-container { position: relative; z-index: 1; }
.section-heading-light { align-items: end; }
.section-heading-light h2 { margin-bottom: 0; color: #fff; }
.section-heading-light h2 em { color: var(--gold); }
.section-heading-light > p { max-width: 390px; margin-bottom: 4px; color: #c2d4c7; line-height: 1.8; }
.village-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.village-card { position: relative; min-height: 215px; padding: 22px; border: 1px solid #ffffff21; border-radius: 8px; color: #fff; background: #ffffff0b; transition: .22s; }
.village-card:hover { border-color: #e5c35580; color: #fff; background: #ffffff12; transform: translateY(-4px); }
.village-card-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 10px; color: var(--gold); background: #e5c3551c; }
.village-card-icon :is(svg, i[class^="fa-"]) { width: 19px; height: 19px; }
.village-card > small { display: block; margin-bottom: 7px; color: #e0c25b; font-size:8px; font-weight: 800; letter-spacing: .14em; }
.village-card h3 { margin: 0 0 7px; font: 750 16px var(--font-display); }
.village-card p { max-width: 270px; margin: 0; color: #c6d7cc; font-size:11px; line-height: 1.7; }
.village-arrow { position: absolute; top: 20px; right: 20px; width: 15px; height: 15px; color: var(--gold); }

.institution-section { background: #fff; }
.institution-section .section-heading { margin-bottom: 26px; }
.institution-section .section-heading > div { max-width: 730px; }
.institution-section .section-heading p { max-width: 590px; line-height: 1.8; }
.institution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.institution-card { position: relative; min-height: 164px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .22s; }
.institution-card:hover { border-color: #b4cbbb; box-shadow: 0 14px 32px #173c2410; transform: translateY(-3px); }
.institution-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; color: #147452; background: #eaf2ea; }
.institution-icon :is(svg, i[class^="fa-"]) { width: 18px; height: 18px; }
.institution-card h3 { margin: 0 0 6px; color: #153a2b; font: 750 13px var(--font-display); }
.institution-card p { max-width: 280px; margin: 0; color: #78877e; font-size:10px; line-height: 1.65; }
.data-note { margin-bottom: 0; }

.government-section { background: var(--paper); }
.government-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.government-copy p { max-width: 400px; margin: 0 0 14px; color: var(--muted); font-size:13px; line-height: 1.8; }
.government-copy .button { margin-top: 8px; }
.org-chart { padding: 27px; border: 1px solid #e3ebe2; border-radius: 10px; background: #fff; box-shadow: 0 14px 38px #193c2408; }
.org-chart-title { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.org-seal { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e5c35588; border-radius: 50%; color: #ae8c32; background: #fbf7e8; }
.org-seal :is(svg, i[class^="fa-"]) { width: 18px; }
.org-chart-title small, .org-chart-title b { display: block; }
.org-chart-title small { color: #9c7b25; font-size:8px; font-weight: 800; letter-spacing: .15em; }
.org-chart-title b { margin-top: 3px; color: var(--forest); font: 750 13px var(--font-display); }
.org-leader { width: min(340px, 80%); display: flex; align-items: center; gap: 11px; margin: 20px auto 0; padding: 13px; border: 1px solid #e4ebe2; border-radius: 7px; background: #f8faf7; }
.org-avatar { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 50%; color: #147452; background: #eaf2ea; }
.org-avatar :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; }
.org-leader small, .org-leader b, .org-node small, .org-node b { display: block; }
.org-leader small, .org-node small { margin-bottom: 3px; color: #849188; font-size:9px; }
.org-leader b, .org-node b { color: #1a3b2d; font: 750 10px var(--font-display); }
.org-branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 31px; }
.org-branches::before { position: absolute; top: -16px; right: 16%; left: 16%; content: ''; border-top: 1px solid #c8d6ca; }
.org-node { position: relative; display: flex; align-items: center; gap: 8px; min-height: 62px; padding: 9px; border: 1px solid #e6ece5; border-radius: 6px; background: #fff; }
.org-node::before { position: absolute; top: -16px; left: 50%; height: 15px; content: ''; border-left: 1px solid #c8d6ca; }
.org-node .org-avatar { width: 29px; height: 29px; flex-basis: 29px; }
.org-node .org-avatar :is(svg, i[class^="fa-"]) { width: 14px; }
.org-note { margin: 14px 0 0; color: #89958c; font-size:9px; text-align: center; }

.contact-section { padding: 0 0 78px; background: var(--paper); }
.contact-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; padding: 36px 42px; border: 1px solid #e5c35566; border-radius: 9px; color: #fff; background: linear-gradient(105deg, #073b2d, #0e694a); }
.contact-box .eyebrow { margin-bottom: 8px; }
.contact-box h2 { margin: 0 0 7px; font: 750 25px var(--font-display); letter-spacing: -.03em; }
.contact-box p { margin: 0; color: #c8d8cc; font-size:12px; }
.contact-box .button { position: relative; z-index: 1; flex: 0 0 auto; }
.contact-decoration { position: absolute; right: 30%; bottom: -55px; color: #ffffff0b; }
.contact-decoration :is(svg, i[class^="fa-"]) { width: 170px; height: 170px; stroke-width: .8; }
.site-footer { padding: 40px 0 16px; border-top: 3px solid #d5b343; color: #fff; background: #05271e; }
.footer-main { padding-bottom: 27px; }
.footer-main > p { margin: 15px 0 9px; color: #bdccbf; font: italic 16px Georgia, serif; }
.footer-location { display: flex; align-items: center; gap: 7px; color: #aebfb2; font-size:10px; }
.footer-location :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid #ffffff1b; color: #8ea393; font-size:9px; }
.floating-help, .back-to-top { position: fixed; z-index: 20; right: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid #e5c355; border-radius: 28px; box-shadow: 0 8px 24px #071b1240; transition: .2s; }
.floating-help { bottom: 75px; min-width: 43px; height: 43px; gap: 7px; padding-inline: 13px; color: #fff; background: #0c684b; font-size:10px; font-weight: 800; }
.floating-help:hover { color: var(--gold-soft); background: #084c38; transform: translateY(-2px); }
.floating-help :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; color: var(--gold); }
.back-to-top { right: 20px; bottom: 136px; width: 40px; height: 40px; border: 0; color: #12382a; background: var(--gold); opacity: 0; pointer-events: none; cursor: pointer; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; }

@media (max-width: 1080px) {
    .nav-inner { gap: 15px; }
    .site-nav { gap: 0; }
    .nav-link { padding-inline: 8px; font-size:11px; }
    .nav-link.active::after { right: 8px; left: 8px; }
    .quick-access { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .quick-access-heading { grid-column: 1 / -1; padding: 12px 0 8px; }
    .quick-link:first-of-type { border-left: 0; }
    .welcome-grid { gap: 48px; }
    .government-grid { gap: 42px; }
}
@media (max-width: 820px) {
    .topbar-note { display: none!important; }
    .nav-inner { min-height: 65px; }
    .nav-toggle { display: grid; margin-left: auto; }
    .site-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid #ffffff1a; border-radius: 0 0 9px 9px; background: #063326; box-shadow: 0 16px 28px #001d15a0; }
    .site-nav.is-open { display: flex; }
    .nav-link { min-height: 42px; padding-inline: 10px; font-size:13px; }
    .nav-link.active::after { right: auto; bottom: 5px; left: 10px; width: 22px; }
    .nav-cta { justify-content: center; margin: 8px 0 2px; }
    .hero { padding-top: 47px; }
    .hero-main { grid-template-columns: 1fr; gap: 36px; padding-bottom: 35px; }
    .hero-copy { max-width: 680px; }
    .hero-photo { width: min(100%, 760px); margin-inline: auto; }
    .welcome-grid, .government-grid { grid-template-columns: 1fr; gap: 34px; }
    .identity-card { max-width: 600px; }
    .government-copy { max-width: 620px; }
}
@media (max-width: 600px) {
    .site-container { width: min(100% - 32px, 1160px); }
    .section-space { padding-block: 62px; }
    .topbar { font-size:9px; letter-spacing: .06em; }
    .topbar-inner { min-height: 29px; }
    .announcement { height: 34px; font-size:10px; }
    .announcement-label { padding-inline: 12px; font-size:9px; }
    .announcement-track { gap: 16px; padding-left: 13px; animation-duration: 27s; }
    .hero { padding: 39px 0 17px; }
    .hero h1 { font-size: clamp(42px, 10vw, 57px); }
    .hero-description { font-size:13px; }
    .hero-place { margin-bottom: 13px; font-size:9px; }
    .hero-actions { gap: 8px; margin-top: 21px; }
    .button { min-height: 41px; padding: 10px 12px; font-size:11px; }
    .hero-location { margin-top: 20px; font-size:8px; }
    .hero-main { gap: 28px; padding-bottom: 28px; }
    .hero-photo { padding: 8px 6px 20px 9px; }
    .hero-photo::before { top: 0; right: 0; width: 82%; height: 83%; }
    .hero-photo-frame { aspect-ratio: 1.36; }
    .hero-photo figcaption { left: 0; min-width: 0; padding: 9px 11px; }
    .photo-caption-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .hero-photo figcaption b { font-size:10px; }
    .photo-corner-label { top: 9px; left: 9px; font-size:7px; }
    .quick-access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-access-heading { grid-column: 1 / -1; padding-top: 10px; }
    .quick-link { min-height: 55px; padding: 8px 6px; border-left: 0; border-top: 1px solid #ffffff20; }
    .quick-link:nth-of-type(odd) { border-left: 1px solid #ffffff20; }
    .quick-link b { font-size:9px; }
    .quick-link small { font-size:8px; }
    .quick-icon { width: 28px; height: 28px; flex-basis: 28px; }
    .welcome-copy h2, .section-heading h2, .government-copy h2 { font-size:33px; }
    .welcome-copy p { font-size:13px; }
    .identity-card { padding: 18px 17px 10px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
    .news-image { height: 190px; }
    .news-card { width: 86%; }
    .slider-controls { display: none; }
    .village-grid, .institution-grid { grid-template-columns: 1fr; gap: 10px; }
    .village-card { min-height: 165px; padding: 18px; }
    .village-card-icon { width: 34px; height: 34px; margin-bottom: 12px; }
    .institution-card { min-height: 135px; padding: 17px; }
    .institution-icon { width: 32px; height: 32px; margin-bottom: 10px; }
    .section-heading-light { align-items: flex-start; }
    .section-heading-light > p { font-size:12px; }
    .org-chart { padding: 17px 13px; }
    .org-branches { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
    .org-branches::before, .org-node::before { display: none; }
    .org-leader { width: 100%; margin-top: 13px; }
    .org-node { min-height: 53px; }
    .contact-section { padding-bottom: 52px; }
    .contact-box { align-items: flex-start; flex-direction: column; padding: 25px 20px; }
    .contact-box h2 { max-width: 300px; font-size:22px; }
    .contact-box p { max-width: 300px; line-height: 1.7; }
    .contact-box .button { font-size:10px; }
    .contact-decoration { right: -15px; bottom: -73px; }
    .footer-main > p { max-width: 330px; font-size:14px; }
    .footer-bottom { font-size:8px; }
    .floating-help { right: 15px; bottom: 69px; width: 42px; min-width: 42px; padding: 0; }
    .floating-help span { display: none; }
    .back-to-top { right: 16px; bottom: 130px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; scroll-behavior: auto!important; transition-duration: .01ms!important; }
}

/* City emblem and administrator login modal */
.brand-mark{width:34px;height:46px;overflow:visible;border:0;border-radius:0;background:transparent}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 6px #001c1350)}.nav-cta{font-family:var(--font-body);cursor:pointer}.modal-open{overflow:hidden}.login-modal[hidden]{display:none!important}.login-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:16px}.login-backdrop{position:absolute;inset:0;background:#031a13d9;backdrop-filter:blur(5px);animation:loginFade .18s ease-out}.login-dialog{position:relative;width:min(450px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:30px 38px 25px;border:1px solid #e6e4da;border-radius:19px;background:#fff;box-shadow:0 28px 90px #00160f70;animation:loginRise .22s ease-out}.login-close{position:absolute;top:15px;right:15px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e8e9e2;border-radius:50%;color:#52665b;background:#fafaf7;cursor:pointer;transition:.2s}.login-close:hover{color:var(--forest);background:#f2f4ec}.login-close :is(svg, i[class^="fa-"]){width:16px;height:16px}.login-logo{width:65px;height:72px;display:grid;place-items:center;margin:0 auto 11px;border:1px solid #e5c35580;border-radius:50%;background:#fff;box-shadow:0 8px 25px #a4893521}.login-logo img{width:36px;height:53px;object-fit:contain}.login-kicker{display:flex;justify-content:center;align-items:center;gap:6px;color:#a2822c;font-size:8px;font-weight:800;letter-spacing:.16em}.login-kicker :is(svg, i[class^="fa-"]){width:12px;height:12px}.login-dialog h2{margin:8px 0 5px;color:#123b2b;font:800 25px var(--font-display);text-align:center;letter-spacing:-.04em}.login-intro{max-width:320px;margin:0 auto 21px;color:#78857d;font-size:11px;line-height:1.65;text-align:center}.login-form>label{display:block;margin:12px 0 6px;color:#213b2e;font-size:10px;font-weight:800}.login-input{height:42px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid #e5e8df;border-radius:7px;background:#fafaf6;transition:border-color .18s,box-shadow .18s}.login-input:focus-within{border-color:#71a889;box-shadow:0 0 0 3px #1c88521a}.login-input>:is(svg, i[class^="fa-"]){width:15px;height:15px;flex:0 0 15px;color:#708279}.login-input input{width:100%;min-width:0;height:100%;border:0;outline:0;color:#233d30;background:transparent;font:11px var(--font-body)}.login-input input::placeholder{color:#a0aaa2}.password-toggle{width:28px;height:30px;flex:0 0 28px;display:grid;place-items:center;border:0;color:#687d70;background:transparent;cursor:pointer}.password-toggle :is(svg, i[class^="fa-"]){width:15px;height:15px}.verification-box{margin-top:14px;padding:12px;border:1px solid #e4ece2;border-radius:11px;background:linear-gradient(130deg,#f8faf5,#f0f6ef)}.verification-heading{display:flex;align-items:center;gap:8px;margin-bottom:11px}.verification-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border:1px solid #d9ebdc;border-radius:8px;color:#148157;background:#e6f2e8}.verification-icon :is(svg, i[class^="fa-"]){width:15px}.verification-heading b,.verification-heading small{display:block}.verification-heading b{color:#234332;font:750 10px var(--font-display)}.verification-heading small{margin-top:3px;color:#829087;font-size:8px}.secure-label{display:flex;align-items:center;gap:3px;margin-left:auto;color:#27815a;font-size:8px;font-weight:800;letter-spacing:.08em}.secure-label :is(svg, i[class^="fa-"]){width:10px;height:10px}.verification-box>label{display:block;margin-bottom:6px;color:#6e7b72;font-size:9px;font-weight:700}.verification-input{height:36px;display:flex;align-items:center;overflow:hidden;border:1px solid #e1e8df;border-radius:6px;background:#fff}.verification-input strong{display:flex;gap:7px;align-items:center;height:100%;padding:0 10px;border-right:1px solid #e9ede8;color:#234632;font:800 13px var(--font-display);white-space:nowrap}.verification-input strong span{color:#a68832;font-size:11px}.verification-input input{width:100%;height:100%;padding:0 10px;border:0;outline:0;color:#1d3829;font:11px var(--font-body)}.verification-input input::placeholder{color:#9ca79e}.verification-hint{display:flex;align-items:center;gap:5px;margin-top:7px;color:#8b968e;font-size:8px}.verification-hint :is(svg, i[class^="fa-"]){width:11px;height:11px;color:#b39138}.login-submit{width:100%;height:43px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;border:0;border-radius:7px;color:#fff;background:linear-gradient(100deg,#064b36,#137752);box-shadow:0 8px 18px #0a65442e;font-size:11px;font-weight:800;cursor:pointer;transition:transform .18s,box-shadow .18s}.login-submit:hover{transform:translateY(-1px);box-shadow:0 11px 22px #0a65443d}.login-submit :is(svg, i[class^="fa-"]){width:15px;height:15px;color:var(--gold)}.login-footnote{display:flex;justify-content:center;align-items:center;gap:5px;margin:13px 0 0;color:#859188;font-size:9px}.login-footnote :is(svg, i[class^="fa-"]){width:11px;height:11px;color:#138057}.login-alert{display:flex;align-items:flex-start;gap:7px;margin:0 0 12px;padding:9px 10px;border:1px solid #f2d1ca;border-radius:6px;color:#9b463a;background:#fff7f5;font-size:10px;line-height:1.5}.login-alert :is(svg, i[class^="fa-"]){width:14px;height:14px;flex:0 0 14px}.login-dialog:focus{outline:0}@keyframes loginFade{from{opacity:0}to{opacity:1}}@keyframes loginRise{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.brand-mark{width:30px;height:42px}.login-modal{padding:10px}.login-dialog{width:min(430px,100%);max-height:calc(100dvh - 20px);padding:25px 20px 20px;border-radius:15px}.login-logo{width:58px;height:64px}.login-logo img{width:31px;height:47px}.login-dialog h2{font-size:22px}.login-intro{margin-bottom:16px}.verification-box{padding:10px}}
.nav-cta{background:transparent}

/* Surat mandiri */
.letter-section{background:#fff}.letter-layout{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:64px}.letter-copy h2{margin:0 0 15px;color:#123b2b;font:800 38px/1.13 var(--font-display);letter-spacing:-.055em}.letter-copy h2 em{color:#15815b;font-style:normal}.letter-copy>p{max-width:440px;margin:0;color:#6e7d74;font-size:16px;line-height:1.8}.letter-trust{display:flex;align-items:center;gap:12px;margin-top:25px;padding:14px 16px;border:1px solid #e2ebe2;border-radius:9px;background:#f7faf6}.letter-trust>:is(svg, i[class^="fa-"]){width:24px;height:24px;color:#138057}.letter-trust b,.letter-trust small{display:block}.letter-trust b{color:#244433;font-size:14px}.letter-trust small{margin-top:2px;color:#7e8c82;font-size:13px}.letter-panel{padding:27px;border:1px solid #e4ebe3;border-radius:14px;background:#fff;box-shadow:0 20px 55px #183c2510}.letter-panel-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.letter-panel-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:12px;color:#137b55;background:#eaf4eb}.letter-panel-icon :is(svg, i[class^="fa-"]){width:22px;height:22px}.letter-panel-heading small,.letter-panel-heading b{display:block}.letter-panel-heading small{color:#9b7b2b;font-size:11px;font-weight:800;letter-spacing:.13em}.letter-panel-heading b{margin-top:4px;color:#143c2c;font:800 22px var(--font-display)}.service-status{display:flex;align-items:center;gap:6px;margin-left:auto;padding:7px 10px;border:1px solid #eee5c6;border-radius:20px;color:#8c742d;background:#fbf8ed;font-size:12px;font-weight:700}.service-status i{width:7px;height:7px;border-radius:50%;background:#d1a632}.letter-form>label{display:block;margin:16px 0 7px;color:#294537;font-size:14px;font-weight:750}.letter-field{height:50px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #dfe7df;border-radius:8px;background:#fbfcfa;transition:border-color .2s,box-shadow .2s}.letter-field:focus-within{border-color:#6eaa89;box-shadow:0 0 0 3px #16845418}.letter-field>:is(svg, i[class^="fa-"]){width:18px;height:18px;flex:0 0 18px;color:#668275}.letter-field input,.letter-field select{width:100%;height:100%;min-width:0;border:0;outline:0;color:#294537;background:transparent;font:15px var(--font-body)}.letter-field input::placeholder{color:#9aa79d}.letter-field>span{flex:0 0 auto;color:#859288;font-size:12px}.letter-select select{appearance:none}.letter-select>:is(svg, i[class^="fa-"]):last-child{width:16px;flex-basis:16px}.letter-notice{display:flex;align-items:flex-start;gap:8px;margin:16px 0;padding:12px;border:1px solid #f0e5c5;border-radius:7px;color:#786536;background:#fcf9ef;font-size:13px;line-height:1.6}.letter-notice :is(svg, i[class^="fa-"]),.letter-alert :is(svg, i[class^="fa-"]){width:18px;height:18px;flex:0 0 18px;margin-top:1px}.letter-submit{width:100%;min-height:49px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:7px;color:#fff;background:linear-gradient(105deg,#07533b,#118058);font-size:15px;font-weight:800;cursor:pointer;transition:transform .2s,box-shadow .2s}.letter-submit:hover{transform:translateY(-1px);box-shadow:0 9px 22px #0c654226}.letter-submit :is(svg, i[class^="fa-"]){width:18px;height:18px;color:#f1d36a}.letter-alert{display:flex;gap:9px;margin:0 0 14px;padding:12px;border:1px solid #e6ebdc;border-radius:8px;color:#31573f;background:#f3f8ef;font-size:14px;line-height:1.6}
@media(max-width:1080px){.quick-access{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-layout{gap:38px}}
@media(max-width:820px){.letter-layout{grid-template-columns:1fr;gap:27px}.letter-copy{max-width:650px}}
@media(max-width:600px){.letter-copy h2{font-size:34px}.letter-copy>p{font-size:15px}.letter-panel{padding:19px 16px}.letter-panel-heading{gap:9px}.letter-panel-heading b{font-size:19px}.service-status{padding:6px 8px;font-size:11px}.letter-field input,.letter-field select{font-size:14px}.letter-submit{font-size:14px}.letter-notice{font-size:12px}.letter-trust b{font-size:13px}.letter-trust small{font-size:12px}.quick-access{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Editorial refresh for the village home page */
:root { --line: #e2eae2; }
.site-container { width: min(1200px, calc(100% - 48px)); }
.section-space { padding-block: 96px; }
.site-header { border-bottom: 1px solid #ffffff1c; }
.nav-inner { min-height: 78px; }
.brand-mark { width: 48px; height: 48px; box-shadow: 0 0 0 4px #e5c35512; }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-name { font-size: 15px; letter-spacing: .06em; }
.nav-link { font-size: 13px; }
.nav-cta { padding: 11px 18px; font-size: 12px; }
.hero { padding-top: 70px; }
.hero-main { gap: clamp(42px, 6vw, 78px); }
.hero h1 { font-size: clamp(50px, 5.6vw, 76px); }
.hero-description { font-size: 17px; }
.hero-photo-frame { aspect-ratio: 1.42; }
.hero-photo figcaption { min-width: 282px; padding: 14px 17px; }
.hero-photo figcaption b { font-size: 13px; }
.quick-link b { font-size: 11px; }
.quick-link small { font-size: 10px; }
.quick-access-heading b { font-size: 15px; }
.welcome-section { background: linear-gradient(180deg, #fff 0%, #f9fbf8 100%); }
.welcome-copy h2, .section-heading h2, .government-copy h2 { font-size: clamp(36px, 4.1vw, 50px); }
.welcome-copy p { font-size: 15px; }
.identity-card { border-radius: 14px; box-shadow: 0 24px 65px #123a250e; }
.identity-row { font-size: 14px; }
.letter-section { background: #f3f7f3; }
.letter-copy h2 { font-size: clamp(38px, 4vw, 50px); }
.letter-copy > p { font-size: 17px; }
.letter-panel { border-radius: 16px; box-shadow: 0 24px 65px #183c2511; }
.news-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 100% 0%, #e7f0e8 0, transparent 38%), #f4f7f3; }
.news-section::before { position: absolute; top: 0; left: 0; width: 100%; height: 1px; content: ''; background: linear-gradient(90deg, transparent, #d7e4d6 20%, #d7e4d6 80%, transparent); }
.news-section > .site-container { position: relative; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(38px, 4.4vw, 54px); }
.section-heading p { font-size: 15px; }
.news-card { border-radius: 14px; box-shadow: 0 14px 36px #173c240b; }
.news-card:hover { box-shadow: 0 22px 48px #173c2419; }
.news-image { height: 236px; }
.news-image img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.news-card:hover .news-image img { filter: saturate(1.08); }
.news-category { bottom: 14px; left: 14px; padding: 7px 11px; border-radius: 20px; font-size: 10px; }
.news-image-index { position: absolute; top: 14px; right: 14px; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid #ffffff75; border-radius: 50%; color: #fff; background: #073b2d91; font: 700 12px var(--font-display); backdrop-filter: blur(8px); }
.news-body { min-height: 228px; padding: 20px 21px 17px; }
.news-meta { gap: 12px; font-size: 11px; }
.news-meta :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.demo-label { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 20px; font-size: 9px; letter-spacing: .04em; }
.demo-label :is(svg, i[class^="fa-"]) { width: 11px; height: 11px; }
.news-body h3 { margin-top: 14px; font-size: 17px; line-height: 1.45; }
.news-excerpt { margin: 9px 0 14px; color: #78877e; font-size: 13px; line-height: 1.7; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #edf1ec; color: #849188; font-size: 11px; }
.news-card-footer > span { display: inline-flex; align-items: center; gap: 6px; }
.news-card-footer > span :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: #a18437; }
.news-more { position: static; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #e2eae2; border-radius: 50%; background: #f8faf7; }
.news-more:hover { color: #fff; background: var(--forest-3); }
.news-footnote { width: fit-content; padding: 9px 12px; border: 1px solid #e7e8d9; border-radius: 8px; background: #fffdf5; font-size: 12px; }
.village-section { background: linear-gradient(125deg, #062f24, #0b6145 76%, #0d704f); }
.village-card { min-height: 238px; padding: 25px; border-radius: 13px; }
.village-card h3 { font-size: 18px; }
.village-card p { font-size: 13px; }
.institution-card { min-height: 184px; padding: 23px; border-radius: 12px; }
.institution-card h3 { font-size: 15px; }
.institution-card p { font-size: 12px; }
.org-chart { border-radius: 15px; }
.contact-box { padding: 42px 48px; border-radius: 15px; }
.contact-box h2 { font-size: 30px; }
.site-footer { padding-top: 48px; }
.floating-help, .back-to-top { z-index: 40; }
.nav-link:focus-visible, .button:focus-visible, .quick-link:focus-visible, .news-more:focus-visible, .slider-controls button:focus-visible { outline: 3px solid #e5c355; outline-offset: 3px; }

@media (max-width: 1080px) {
    .site-container { width: min(100% - 40px, 1200px); }
    .nav-link { padding-inline: 9px; font-size: 12px; }
    .news-image { height: 215px; }
}
@media (max-width: 820px) {
    .section-space { padding-block: 76px; }
    .hero { padding-top: 52px; }
    .hero h1 { font-size: clamp(48px, 8vw, 68px); }
    .welcome-grid { gap: 38px; }
}
@media (max-width: 600px) {
    .site-container { width: min(100% - 32px, 1200px); }
    .section-space { padding-block: 62px; }
    .nav-inner { min-height: 68px; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-name { font-size: 13px; }
    .brand-name small { font-size: 8px; }
    .hero { padding-top: 40px; }
    .hero h1 { font-size: clamp(43px, 11vw, 58px); }
    .hero-description { font-size: 15px; }
    .section-heading h2, .welcome-copy h2, .government-copy h2 { font-size: 36px; }
    .letter-copy h2 { font-size: 36px; }
    .section-heading { margin-bottom: 25px; }
    .news-image { height: 205px; }
    .news-card { width: min(88%, 370px); }
    .news-body { min-height: 224px; padding: 17px; }
    .news-body h3 { font-size: 16px; }
    .news-excerpt { font-size: 12px; }
    .village-card { min-height: 180px; }
    .contact-box { align-items: flex-start; flex-direction: column; padding: 27px 22px; }
    .contact-box h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Ukuran teks navigasi dan akses cepat dibuat lebih mudah dibaca. */
.quick-access-heading .eyebrow{font-size:9px}.quick-access-heading b{font-size:15px}.quick-link b{font-size:11px}.quick-link small{font-size:10px}
@media(max-width:600px){.quick-access-heading .eyebrow{font-size:9px}.quick-access-heading b{font-size:15px}.quick-link b{font-size:9px}.quick-link small{font-size:8px}}

/* Kampong portal layout inspired by the reference site's information architecture. */
:root { --village-green: #07533c; --village-deep: #063d2e; --village-mint: #eaf3ed; --village-gold: #e4bd43; --village-paper: #f4f7f4; }
html { scroll-padding-top: 120px; }
body { background: #fff; color: #263b30; }
.site-container { width: min(1200px, calc(100% - 44px)); }
.topbar { background: #063d2e; letter-spacing: .07em; }
.topbar-inner { min-height: 34px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e9eee8; color: #173c2d; background: #fff; box-shadow: 0 5px 20px #122e1d0c; }
.nav-inner { min-height: 78px; gap: 24px; }
.brand { gap: 12px; }
.brand-mark { width: 43px; height: 52px; border: 0; border-radius: 0; background: transparent; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { color: #163c2c; font-size: 14px; letter-spacing: .045em; }
.brand-name small { color: #789080; font-size: 9px; letter-spacing: .12em; }
.site-nav { gap: 2px; }
.nav-link { min-height: 44px; gap: 5px; padding: 0 10px; color: #40564a; font-size: 12px; font-weight: 700; }
.nav-link:hover, .nav-link.active { color: #087250; }
.nav-link.active::after { right: 10px; bottom: 1px; left: 10px; height: 3px; border-radius: 3px; background: #d8b338; }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { border: 0; background: transparent; cursor: pointer; }
.nav-dropdown-trigger :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 5px); left: 0; display: none; min-width: 205px; padding: 7px; border: 1px solid #e5ebe4; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px #123a251a; }
.nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { padding: 10px 12px; border-radius: 6px; color: #455a4e; font-size: 12px; font-weight: 600; }
.nav-dropdown-menu a:hover { color: #07533c; background: #f0f6f1; }
.nav-submenu { position: relative; }
.nav-submenu-trigger { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border: 0; border-radius: 7px; color: #455a4e; background: transparent; font: inherit; font-size: 12px; font-weight: 650; text-align: left; cursor: pointer; }
.nav-submenu-trigger:hover, .nav-submenu.is-open > .nav-submenu-trigger { color: #07533c; background: #f0f6f1; }
.nav-submenu-trigger > i { font-size: 10px; transition: transform .18s ease; }
.nav-submenu.is-open > .nav-submenu-trigger > i { transform: rotate(90deg); }
.nav-dropdown-services > .nav-dropdown-menu { right: 0; left: auto; width: min(280px, calc(100vw - 24px)); }
.nav-submenu-menu { display: none; min-width: 0; margin: 0 0 6px 10px; padding: 4px 4px 4px 10px; border: 0; border-left: 1px solid #dce8dd; background: transparent; }
.nav-submenu.is-open > .nav-submenu-menu { display: grid; }
.nav-cta { margin-left: 8px; border-color: #d8b338; border-radius: 22px; color: #fff; background: #07533c; font-size: 12px; }
.nav-cta:hover { color: #153b2c; background: #e4bd43; }
.nav-toggle { border-color: #dfe8df; color: #07533c; background: #f7faf7; }

.village-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 570px; padding: 70px 0 100px; color: #fff; background: linear-gradient(115deg, #063d2e, #0d694c); }
.village-hero-image { position: absolute; z-index: -2; inset: 0; background: url('../images/warga-bukit-alim.jpeg') center 43%/cover no-repeat; opacity: .18; transform: scale(1.02); }
.village-hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #053a2beF 0%, #07533cd9 50%, #0646329c 100%), linear-gradient(0deg, #052d22 0, transparent 45%); }
.village-hero-symbol { position: absolute; z-index: 0; top: 13%; right: 7%; width: clamp(150px,24vw,330px); height: auto; color: #f0cf58; opacity: .13; stroke-width: .75; transform: rotate(-8deg); pointer-events: none; }
.village-hero-content { position: relative; z-index: 1; }
.village-hero::after { position: absolute; z-index: -1; top: -320px; right: 4%; width: 660px; aspect-ratio: 1; content: ''; border: 1px solid #f1d46c28; border-radius: 50%; box-shadow: 0 0 0 45px #ffffff08, 0 0 0 90px #ffffff06; }
.village-hero-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; }
.hero-intro { max-width: 650px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 23px; padding: 8px 12px; border: 1px solid #e4bd436b; border-radius: 20px; color: #f2d56c; background: #fff1b00c; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-kicker :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.hero-location-label { margin: 0 0 14px; color: #e6c653; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.hero-location-label b { padding-inline: 5px; }
.village-hero h1 { max-width: 680px; margin: 0 0 18px; font: 800 clamp(42px, 5.3vw, 68px)/1.08 var(--font-display); letter-spacing: -.055em; }
.village-hero h1 em { color: #f0cf58; font-style: normal; }
.hero-slogan-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.hero-slogan-values span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #f0cf5845; border-radius: 999px; color: #fff8d9; background: #ffffff0d; font-size: 11px; font-weight: 750; }
.hero-slogan-values i { color: #f0cf58; }
.hero-lead { max-width: 570px; margin: 0; color: #d9e7dc; font-size: 16px; line-height: 1.8; }
.village-search { width: min(590px, 100%); height: 56px; display: flex; align-items: center; gap: 11px; margin-top: 26px; padding: 5px 6px 5px 15px; border: 1px solid #ffffff2e; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px #02281d38; }
.village-search > :is(svg, i[class^="fa-"]) { width: 19px; color: #718578; flex: 0 0 19px; }
.village-search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; color: #244233; background: transparent; font: 14px var(--font-body); }
.village-search input::placeholder { color: #99a69c; }
.village-search button { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 0; border-radius: 7px; color: #153b2b; background: #e8c34a; font-size: 12px; font-weight: 800; cursor: pointer; }
.village-search button :is(svg, i[class^="fa-"]) { width: 15px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; }
.hero-links a { display: inline-flex; align-items: center; gap: 7px; color: #dce9df; font-size: 11px; font-weight: 700; }
.hero-links a:hover { color: #f1d262; }
.hero-links :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; color: #e6c653; }
.hero-photo-card { position: relative; padding: 11px 11px 28px 0; }
.hero-photo-card::before { position: absolute; top: 0; right: 0; width: 82%; height: 82%; content: ''; border: 1px solid #e4bd4380; border-radius: 13px; }
.hero-photo-card > img { position: relative; width: 100%; height: 350px; object-fit: cover; object-position: center 49%; border: 4px solid #ffffff17; border-radius: 12px; box-shadow: 0 24px 60px #001a12a3; }
.hero-photo-badge { position: absolute; top: 25px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid #ffffff56; border-radius: 4px; color: #fff; background: #062e24a8; font-size: 9px; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(8px); }
.hero-photo-badge :is(svg, i[class^="fa-"]) { width: 13px; color: #efce58; }
.hero-photo-caption { position: absolute; right: 30px; bottom: 0; left: -27px; display: flex; align-items: center; gap: 11px; width: fit-content; max-width: calc(100% + 20px); padding: 13px 16px; border: 1px solid #e4ebe3; border-radius: 9px; color: #183b2c; background: #fff; box-shadow: 0 16px 35px #00170f4d; }
.hero-photo-caption > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #087451; background: #eaf3ec; }
.hero-photo-caption > span :is(svg, i[class^="fa-"]) { width: 19px; }
.hero-photo-caption small, .hero-photo-caption b { display: block; white-space: nowrap; }
.hero-photo-caption small { color: #a1822b; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.hero-photo-caption b { margin-top: 3px; font: 750 12px var(--font-display); }

.portal-shortcuts { position: relative; z-index: 2; padding: 0 0 24px; background: #f4f7f4; }
.shortcut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -48px; }
.shortcut-card { min-height: 83px; display: flex; align-items: center; gap: 13px; padding: 14px 15px; border: 1px solid #e5ebe4; border-radius: 10px; color: #264434; background: #fff; box-shadow: 0 9px 24px #113d250d; transition: transform .2s, box-shadow .2s, border-color .2s; }
.shortcut-card:hover { border-color: #b7d0be; color: #07533c; box-shadow: 0 15px 28px #123a2515; transform: translateY(-3px); }
.shortcut-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 10px; color: #087650; background: #eaf4ec; }
.shortcut-icon :is(svg, i[class^="fa-"]) { width: 20px; height: 20px; }
.shortcut-card b, .shortcut-card small { display: block; }
.shortcut-card b { font: 750 13px var(--font-display); }
.shortcut-card small { margin-top: 4px; color: #7d8b81; font-size: 11px; }
.shortcut-arrow { width: 15px; margin-left: auto; color: #b09235; }

.section-space { padding-block: 76px; }
.welcome-apparatus { background: #f4f7f4; }
.welcome-apparatus-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.welcome-card, .apparatus-panel, .sidebar-widget, .org-chart { border: 1px solid #e4ebe4; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #1339230a; }
.welcome-card { padding: 30px 32px; }
.section-overline { display: inline-flex; align-items: center; gap: 7px; color: #15805a; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.section-overline :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.welcome-card h2, .section-title-row h2, .budget-heading h2, .government-copy h2 { margin: 13px 0 12px; color: #163d2c; font: 800 clamp(28px, 3vw, 39px)/1.18 var(--font-display); letter-spacing: -.045em; }
.welcome-card h2 em, .section-title-row h2 em, .budget-heading h2 em, .government-copy h2 em { color: #17825b; font-style: normal; }
.welcome-card p { margin: 0 0 12px; color: #718076; font-size: 13px; line-height: 1.8; }
.welcome-card .welcome-greeting { color: #385543; font-weight: 700; }
.welcome-signature { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #eaf0e9; }
.signature-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e7d28b; border-radius: 50%; color: #927529; background: #fbf7e6; }
.signature-mark :is(svg, i[class^="fa-"]) { width: 17px; }
.signature-mark img,.apparatus-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.welcome-signature b, .welcome-signature small { display: block; }
.welcome-signature b { color: #254432; font: 750 12px var(--font-display); }
.welcome-signature small { margin-top: 3px; color: #87938b; font-size: 10px; }
.demo-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #eee3bd; border-radius: 20px; color: #927630; background: #fbf8e9; font-size: 9px; font-weight: 800; white-space: nowrap; }
.welcome-signature .demo-pill { margin-left: auto; }
.apparatus-panel { padding: 25px; }
.panel-heading, .widget-heading { display: flex; align-items: center; gap: 11px; }
.panel-heading { justify-content: space-between; }
.panel-heading .section-overline { display: block; font-size: 9px; }
.panel-heading h2 { margin: 3px 0 0; color: #193e2f; font: 800 22px var(--font-display); letter-spacing: -.03em; }
.panel-heading-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; color: #14805b; background: #eaf4ec; }
.panel-heading-icon :is(svg, i[class^="fa-"]) { width: 19px; }
.panel-description { margin: 9px 0 15px; color: #829087; font-size: 12px; }
.apparatus-list { border-top: 1px solid #eaf0e9; }
.apparatus-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf1ec; }
.apparatus-avatar { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; color: #0c7753; background: #eaf4ec; }
.apparatus-avatar :is(svg, i[class^="fa-"]) { width: 17px; }
.apparatus-item b, .apparatus-item small { display: block; }
.apparatus-item b { color: #2a4837; font: 750 12px var(--font-display); }
.apparatus-item small { margin-top: 3px; color: #89948d; font-size: 10px; }
.apparatus-arrow { width: 14px; margin-left: auto; color: #a88c35; }
.sample-notice { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; color: #827345; font-size: 10px; line-height: 1.6; }
.sample-notice :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 1px; color: #ae8b2e; }
.organization-chart-card { position: relative; overflow: hidden; border: 1px solid #dce9df; border-radius: 22px; background: linear-gradient(145deg,#fff 0%,#f7fbf8 100%); box-shadow: 0 22px 55px #123c2614; }
.organization-chart-card::before { position: absolute; top: -120px; right: -95px; width: 280px; aspect-ratio: 1; border: 1px solid #15966b12; border-radius: 50%; box-shadow: 0 0 0 24px #15966b08,0 0 0 48px #15966b05; content: ''; pointer-events: none; }
.organization-chart-meta { position: relative; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; border-bottom: 1px solid #e8f0e9; color: #75877b; background: #ffffffbd; font-size: 10px; }
.organization-chart-meta span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #127b58; font-weight: 800; letter-spacing: .04em; }
.organization-chart-meta i { color: #d2aa34; }
.organization-chart-viewport { position: relative; overflow: auto; min-height: 270px; padding: 30px 28px 36px; scrollbar-color: #b9cec0 transparent; scrollbar-width: thin; }
.organization-chart { display: flex; justify-content: center; min-width: max-content; }
.organization-chart ul { position: relative; display: flex; justify-content: center; margin: 0; padding: 38px 0 0; }
.organization-chart > ul { padding-top: 0; }
.organization-chart li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 34px 12px 0; list-style: none; text-align: center; }
.organization-chart > ul > li { padding-top: 0; }
.organization-chart li::before,.organization-chart li::after { position: absolute; top: 0; right: 50%; width: 50%; height: 34px; border-top: 2px solid #d4e3d8; content: ""; }
.organization-chart li::after { right: auto; left: 50%; border-left: 2px solid #d4e3d8; }
.organization-chart li:only-child::before,.organization-chart li:only-child::after { display: none; }
.organization-chart li:only-child { padding-top: 0; }
.organization-chart li:first-child::before,.organization-chart li:last-child::after { border: 0; }
.organization-chart li:last-child::before { border-right: 2px solid #d4e3d8; border-radius: 0 8px 0 0; }
.organization-chart li:first-child::after { border-radius: 8px 0 0 0; }
.organization-chart ul::before { position: absolute; top: 0; left: 50%; height: 38px; border-left: 2px solid #d4e3d8; content: ""; }
.organization-chart > ul::before { display: none; }
.organization-node { position: relative; width: 222px; min-height: 142px; display: flex; flex-direction: column; align-items: center; padding: 18px 16px 14px; border: 1px solid #e0ebe2; border-top: 3px solid #1c9a70; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbf8); box-shadow: 0 10px 24px #1339230b; transition: transform .2s ease,box-shadow .2s ease; }
.organization-node:hover { transform: translateY(-4px); box-shadow: 0 16px 30px #13392316; }
.organization-node.is-chief { width: 270px; border-color: #e8d68d; border-top-color: #d1aa35; background: linear-gradient(145deg,#fffdf5,#f8f4e3); box-shadow: 0 15px 32px #80672214; }
.organization-node-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 9px; border: 1px solid #dbece1; border-radius: 12px; color: #10815c; background: #eaf6ee; font-size: 15px; }
.organization-node.is-chief .organization-node-icon { border-color: #efdfa2; color: #a98219; background: #fbf4d8; }
.organization-node-copy small { display: block; margin-bottom: 4px; color: #829187; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.organization-node-copy strong { display: block; color: #1a4030; font: 800 13px/1.35 var(--font-display); }
.organization-node-people { display: grid; justify-items: center; gap: 5px; width: 100%; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e8efe9; }
.organization-node-people > span { display: flex; align-items: center; gap: 7px; color: #52665a; font-size: 10px; }
.organization-node-people img,.organization-node-people > span > i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #16835e; background: #e7f4eb; object-fit: cover; font-size: 9px; }
.organization-node-people b { font-weight: 750; }
.organization-vacant { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: #a4842a; font-size: 9px; font-weight: 700; }
.organization-chart-empty { display: grid; justify-items: center; padding: 50px 20px; text-align: center; }
.organization-chart-empty > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: #13815b; background: #e9f5ed; font-size: 21px; }
.organization-chart-empty b { margin-top: 12px; color: #264735; font: 800 15px var(--font-display); }
.organization-chart-empty p { max-width: 420px; margin: 5px 0 0; color: #809087; font-size: 11px; line-height: 1.7; }
.organization-chart-foot { display: flex; align-items: center; gap: 8px; padding: 13px 22px; border-top: 1px solid #edf1ed; color: #829087; background: #fbfcfb; font-size: 10px; }
.organization-chart-foot i { color: #c5a137; }
:root[data-theme="dark"] .organization-chart-card { border-color: #2b4035; background: #17251d; }
:root[data-theme="dark"] .organization-chart-card::before { border-color: #67c59a12; box-shadow: 0 0 0 24px #67c59a08,0 0 0 48px #67c59a05; }
:root[data-theme="dark"] .organization-chart-meta,:root[data-theme="dark"] .organization-chart-foot { border-color: #2b4035; background: #192920; }
:root[data-theme="dark"] .organization-chart li::before,:root[data-theme="dark"] .organization-chart li::after,:root[data-theme="dark"] .organization-chart ul::before { border-color: #3b5747; }
:root[data-theme="dark"] .organization-node { border-color: #344a3c; border-top-color: #39b883; background: linear-gradient(145deg,#1e3026,#192920); }
:root[data-theme="dark"] .organization-node.is-chief { border-color: #665a2e; border-top-color: #d1aa35; background: linear-gradient(145deg,#302f22,#24291e); }
:root[data-theme="dark"] .organization-node-copy strong,:root[data-theme="dark"] .organization-chart-empty b { color: #e5eee8; }
:root[data-theme="dark"] .organization-node-copy small,:root[data-theme="dark"] .organization-node-people > span,:root[data-theme="dark"] .organization-chart-empty p,:root[data-theme="dark"] .organization-chart-foot { color: #9aada1; }
:root[data-theme="dark"] .organization-node-people { border-color: #344a3c; }
:root[data-theme="dark"] .organization-node-people img,:root[data-theme="dark"] .organization-node-people > span > i,:root[data-theme="dark"] .organization-chart-empty > span { color: #80dbb1; background: #203a2c; }

.village-ticker { color: #fff; background: #087250; }
.ticker-inner { min-height: 47px; display: flex; align-items: stretch; }
.ticker-label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 0 17px; color: #1f402e; background: #e4bd43; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.ticker-label :is(svg, i[class^="fa-"]) { width: 15px; }
.ticker-window { flex: 1; overflow: hidden; }
.ticker-track { width: max-content; height: 100%; display: flex; align-items: center; gap: 25px; padding-left: 22px; white-space: nowrap; animation: ticker 40s linear infinite; font-size: 11px; font-weight: 700; }
.ticker-track b { color: #f0d05d; font-size: 8px; }
.village-ticker:hover .ticker-track { animation-play-state: paused; }

.portal-content-section { background: #fff; }
.portal-content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .8fr); align-items: start; gap: 30px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-title-row h2 { margin: 7px 0 5px; }
.section-title-row p { margin: 0; color: #77867c; font-size: 13px; }
.outline-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; border: 1px solid #dce7dd; border-radius: 6px; color: #096b4b; background: #fff; font-size: 11px; font-weight: 800; }
.outline-link:hover { color: #fff; border-color: #07533c; background: #07533c; }
.outline-link :is(svg, i[class^="fa-"]) { width: 14px; }
.news-swiper { overflow: hidden; padding: 2px 2px 37px; }
.news-swiper .swiper-wrapper { display: flex; }
.news-card { height: auto; min-width: 0; flex-shrink: 0; overflow: hidden; border: 1px solid #e4ebe4; border-radius: 11px; background: #fff; box-shadow: 0 10px 28px #123a250a; }
.news-card:hover { box-shadow: 0 17px 34px #123a2518; transform: translateY(-3px); }
.news-image { position: relative; height: 190px; display: block; overflow: hidden; background: #e3ebe4; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-image img { transform: scale(1.045); }
.news-category { position: absolute; bottom: 12px; left: 12px; padding: 6px 9px; border-radius: 4px; color: #183c2d; background: #e8c449; font-size: 9px; font-weight: 800; }
.news-image-index { position: absolute; top: 11px; right: 11px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #ffffff73; border-radius: 50%; color: #fff; background: #063d2e9c; font-size: 10px; font-weight: 800; }
.news-body { min-height: 218px; padding: 15px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: #839087; font-size: 9px; }
.news-meta > span:first-child { display: inline-flex; align-items: center; gap: 5px; }
.news-meta :is(svg, i[class^="fa-"]) { width: 12px; height: 12px; }
.demo-label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 12px; color: #8d7430; background: #faf6e8; font-size: 8px; font-weight: 800; }
.demo-label :is(svg, i[class^="fa-"]) { width: 10px; height: 10px; }
.news-body h3 { margin: 11px 0 0; color: #193e2e; font: 750 14px/1.5 var(--font-display); }
.news-body h3 a:hover { color: #15805b; }
.news-excerpt { display: -webkit-box; overflow: hidden; margin: 8px 0 11px; color: #78867d; font-size: 11px; line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #edf1ed; color: #87938a; font-size: 9px; }
.news-card-footer > span { display: flex; align-items: center; gap: 5px; }
.news-card-footer :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; }
.news-more { position: static; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #e4ebe4; border-radius: 50%; color: #0d7653; background: #f7faf7; }
.news-more:hover { color: #fff; background: #0d7653; }
.news-empty { padding: 22px; border: 1px dashed #d7e2d8; border-radius: 8px; color: #748278; text-align: center; }
.news-swiper .swiper-pagination-bullet-active { background: #0c7954; }
.news-footnote, .gallery-note { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: #82764a; font-size: 10px; }
.news-footnote :is(svg, i[class^="fa-"]), .gallery-note :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: #a18432; }
.portal-sidebar { display: grid; gap: 17px; }
.sidebar-widget { overflow: hidden; padding: 19px; }
.widget-heading { margin-bottom: 15px; }
.widget-icon { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border-radius: 9px; color: #0b7954; background: #eaf4ec; }
.widget-icon :is(svg, i[class^="fa-"]) { width: 18px; height: 18px; }
.widget-heading small, .widget-heading b { display: block; }
.widget-heading small { margin-bottom: 3px; color: #a0832d; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.widget-heading b { color: #204331; font: 750 15px var(--font-display); }
.widget-heading .demo-pill { margin-left: auto; }
.agenda-date { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e8eee6; border-radius: 8px; background: #f8faf7; }
.agenda-date > b { color: #0d7955; font: 800 30px var(--font-display); }
.agenda-date strong, .agenda-date small { display: block; }
.agenda-date strong { color: #294936; font: 750 12px var(--font-display); }
.agenda-date small { margin-top: 3px; color: #849187; font-size: 10px; }
.agenda-list { margin-top: 10px; }
.agenda-list > div { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border-bottom: 1px solid #edf1ec; }
.agenda-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 5px; border-radius: 50%; background: #10805a; box-shadow: 0 0 0 4px #e8f3eb; }
.agenda-dot.gold { background: #d5ad30; box-shadow: 0 0 0 4px #faf5e5; }
.agenda-dot.blue { background: #4b83bd; box-shadow: 0 0 0 4px #eaf2fa; }
.agenda-list b, .agenda-list small { display: block; }
.agenda-list b { color: #38503f; font-size: 11px; }
.agenda-list small { margin-top: 3px; color: #87938a; font-size: 9px; }
.agenda-list > div > :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; margin: 2px 0 0 auto; color: #a58c3b; }
.statistics-widget { scroll-margin-top: 115px; }
.statistic-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.statistic-links a { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 9px 8px; border: 1px solid #e8eee8; border-radius: 6px; color: #516458; font-size: 9px; font-weight: 700; }
.statistic-links a:hover { color: #0a724f; background: #f2f7f2; }
.statistic-links :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: #16825b; }
.statistic-links :is(svg, i[class^="fa-"]):last-child { margin-left: auto; color: #a58c3b; }
.data-empty { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px; border-radius: 7px; color: #809087; background: #f6f8f6; }
.data-empty > :is(svg, i[class^="fa-"]) { width: 18px; height: 18px; color: #a48939; }
.data-empty b, .data-empty small { display: block; }
.data-empty b { color: #52685a; font-size: 10px; }
.data-empty small { margin-top: 3px; font-size: 9px; line-height: 1.5; }
.letter-widget > p { margin: -4px 0 12px; color: #7a897f; font-size: 11px; line-height: 1.6; }
.letter-widget .letter-form > label { margin: 11px 0 5px; font-size: 10px; }
.letter-widget .letter-field { height: 42px; gap: 7px; padding-inline: 9px; }
.letter-widget .letter-field > :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; flex-basis: 15px; }
.letter-widget .letter-field input, .letter-widget .letter-field select { font-size: 11px; }
.letter-widget .letter-notice { margin: 10px 0; padding: 9px; font-size: 9px; }
.letter-widget .letter-notice :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; flex-basis: 14px; }
.letter-widget .letter-submit { min-height: 40px; font-size: 11px; }

.institution-section { background: #f4f7f4; }
.institution-section .section-title-row { margin-bottom: 22px; }
.institution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.institution-card { min-height: 160px; padding: 18px; border: 1px solid #e4ebe4; border-radius: 10px; background: #fff; transition: .2s; }
.institution-card:hover { border-color: #b9d2bf; box-shadow: 0 12px 25px #1339230d; transform: translateY(-3px); }
.institution-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 9px; color: #0d7954; background: #eaf4ec; }
.institution-icon :is(svg, i[class^="fa-"]) { width: 18px; }
.institution-card-status { color: #a0822e; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.institution-card h3 { margin: 5px 0 5px; color: #234431; font: 750 13px var(--font-display); }
.institution-card p { margin: 0; color: #7d8a81; font-size: 10px; line-height: 1.6; }
.data-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: #81764f; font-size: 10px; }
.data-note :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; color: #ab8c32; }
.economy-section { background: #fff; }
.economy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.economy-card { min-height: 190px; padding: 20px; border: 1px solid #e3ebe3; border-radius: 10px; background: linear-gradient(145deg, #fff, #f8faf7); transition: .2s; }
.economy-card:hover { border-color: #b9d2bf; box-shadow: 0 13px 28px #153b2511; transform: translateY(-3px); }
.economy-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 10px; color: #0d7954; background: #eaf4ec; }
.economy-icon :is(svg, i[class^="fa-"]) { width: 19px; }
.economy-card > small { color: #a0822f; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.economy-card h3 { margin: 6px 0; color: #234431; font: 750 15px var(--font-display); }
.economy-card p { max-width: 360px; min-height: 38px; margin: 0 0 11px; color: #7d8a81; font-size: 11px; line-height: 1.65; }
.economy-card .demo-pill { padding: 4px 7px; font-size: 8px; }

.gallery-section { overflow: hidden; background: #fff; }
.gallery-title { margin-bottom: 21px; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dce7dd; border-radius: 50%; color: #18503a; background: #fff; cursor: pointer; }
.slider-controls button:hover { color: #fff; border-color: #07533c; background: #07533c; }
.slider-controls :is(svg, i[class^="fa-"]) { width: 15px; }
.gallery-swiper { overflow: visible; }
.gallery-swiper .swiper-wrapper { display: flex; }
.gallery-card { position: relative; height: 265px; overflow: hidden; border-radius: 10px; background: #dce7de; }
.gallery-card::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(0deg, #042d21db, transparent); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card figcaption { position: absolute; z-index: 1; right: 17px; bottom: 17px; left: 17px; color: #fff; }
.gallery-card figcaption span, .gallery-card figcaption b { display: block; }
.gallery-card figcaption span { margin-bottom: 5px; color: #efd165; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.gallery-card figcaption b { font: 750 15px var(--font-display); }
.gallery-note { margin-top: 13px; }

.budget-section { background: #f4f7f4; }
.budget-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.budget-heading h2 { margin: 8px 0 6px; }
.budget-heading p { max-width: 620px; margin: 0; color: #77867c; font-size: 13px; }
.demo-pill-large { padding: 9px 12px; font-size: 10px; }
.demo-pill-large :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; }
.budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.budget-card { padding: 18px; border: 1px solid #e2eae2; border-radius: 10px; background: #fff; }
.budget-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.budget-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: #12805a; background: #eaf4ec; }
.budget-icon :is(svg, i[class^="fa-"]) { width: 18px; }
.budget-card > small { color: #7b897f; font-size: 10px; }
.budget-amount { display: block; margin-top: 3px; color: #193e2e; font: 800 19px var(--font-display); }
.budget-progress { height: 7px; overflow: hidden; margin-top: 14px; border-radius: 8px; background: #edf2ed; }
.budget-progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #0c7652, #49a77a); }
.budget-progress-meta { display: flex; justify-content: space-between; margin-top: 7px; color: #839087; font-size: 9px; }
.budget-progress-meta b { color: #167a57; }
.budget-card > p { margin: 7px 0 0; color: #a08c55; font-size: 9px; }
.budget-disclaimer { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 12px 14px; border: 1px solid #eee4c1; border-radius: 8px; color: #76683e; background: #fffcf2; font-size: 10px; line-height: 1.65; }
.budget-disclaimer :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; flex: 0 0 15px; color: #ac8b2d; }

.government-section { background: #fff; }
.government-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 40px; }
.government-copy h2 { margin: 10px 0 12px; }
.government-copy p { max-width: 390px; margin: 0 0 17px; color: #77867c; font-size: 13px; line-height: 1.8; }
.org-chart { padding: 23px; }
.org-chart-title { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #e9efe8; }
.org-seal { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #e7d38c; border-radius: 50%; color: #9a7a28; background: #fbf7e8; }
.org-seal :is(svg, i[class^="fa-"]) { width: 17px; }
.org-chart-title small, .org-chart-title b { display: block; }
.org-chart-title small { color: #a0822f; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.org-chart-title b { margin-top: 3px; color: #1f4531; font: 750 13px var(--font-display); }
.org-chart-title .demo-pill { margin-left: auto; }
.org-leader { width: min(310px, 85%); display: flex; align-items: center; gap: 10px; margin: 18px auto 0; padding: 12px; border: 1px solid #e6ece5; border-radius: 8px; background: #f8faf7; }
.org-avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #0b7954; background: #e7f1e9; }
.org-avatar :is(svg, i[class^="fa-"]) { width: 16px; }
.org-leader small, .org-leader b, .org-node small, .org-node b { display: block; }
.org-leader small, .org-node small { color: #839087; font-size: 9px; }
.org-leader b, .org-node b { margin-top: 3px; color: #294835; font: 750 10px var(--font-display); }
.org-branches { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 29px; }
.org-branches::before { position: absolute; top: -15px; right: 16%; left: 16%; content: ''; border-top: 1px solid #cbd9cc; }
.org-node { position: relative; display: flex; align-items: center; gap: 8px; min-height: 61px; padding: 9px; border: 1px solid #e5ece5; border-radius: 7px; background: #fff; }
.org-node::before { position: absolute; top: -15px; left: 50%; height: 14px; content: ''; border-left: 1px solid #cbd9cc; }
.org-node > :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; flex: 0 0 16px; color: #13805a; }
.org-note { margin: 13px 0 0; color: #8b968d; font-size: 9px; text-align: center; }
.contact-section { padding: 0 0 68px; background: #fff; }
.contact-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; padding: 33px 38px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(110deg, #063d2e, #0a7653); }
.contact-box .section-overline { color: #f0cf58; }
.contact-box h2 { margin: 7px 0; color: #fff; font: 800 24px var(--font-display); }
.contact-box p { margin: 0; color: #d0e1d5; font-size: 12px; }
.contact-box .button { position: relative; z-index: 1; }
.contact-decoration { position: absolute; right: 25%; bottom: -70px; color: #ffffff10; }
.contact-decoration :is(svg, i[class^="fa-"]) { width: 170px; height: 170px; }
.site-footer { border-top: 4px solid #dcb83c; background: #063324; }
.footer-main { padding-bottom: 22px; }
.footer-main > p { font-size: 15px; }
.footer-bottom { font-size: 10px; }
.letter-alert { margin-bottom: 13px; }
.nav-link:focus-visible, .nav-dropdown-trigger:focus-visible, .nav-cta:focus-visible, .shortcut-card:focus-visible, .outline-link:focus-visible, .slider-controls button:focus-visible { outline: 3px solid #dcb83c; outline-offset: 3px; }

@media (max-width: 1060px) {
    .nav-inner { gap: 12px; }
    .brand-name { font-size: 12px; }
    .nav-link { padding-inline: 7px; font-size: 10px; }
    .nav-cta { margin-left: 3px; padding-inline: 12px; font-size: 10px; }
    .village-hero-content { gap: 38px; }
    .portal-content-grid { grid-template-columns: minmax(0, 1.4fr) minmax(270px, .8fr); gap: 20px; }
}
@media (max-width: 820px) {
    .nav-inner { min-height: 70px; }
    .brand-name { font-size: 13px; }
    .nav-toggle { display: grid; margin-left: auto; }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 3px; padding: 11px; border: 1px solid #e5ebe4; border-radius: 0 0 10px 10px; background: #fff; box-shadow: 0 16px 30px #123a2518; }
    .site-nav.is-open { display: flex; }
    .nav-link { width: 100%; min-height: 41px; justify-content: flex-start; padding-inline: 11px; font-size: 12px; }
    .nav-link.active::after { right: auto; bottom: 2px; left: 11px; width: 25px; }
    .nav-dropdown-menu { position: static; margin: 0 0 5px 10px; border: 0; box-shadow: none; background: #f6f9f6; }
    .nav-submenu-trigger { min-height: 42px; padding-inline: 12px; }
    .nav-submenu-trigger > i { transform: rotate(90deg); }
    .nav-submenu.is-open > .nav-submenu-trigger > i { transform: rotate(180deg); }
    .nav-submenu-menu { position: static; min-width: 0; margin: 0 0 6px 10px; border: 0; border-left: 1px solid #dce8dd; border-radius: 0; background: #f0f5f0; box-shadow: none; }
    .nav-cta { min-height: 40px; justify-content: center; margin: 4px 0 0; font-size: 12px; }
    .village-hero { padding: 52px 0 86px; }
    .village-hero-content { grid-template-columns: 1fr; gap: 30px; }
    .hero-intro { max-width: 680px; }
    .hero-photo-card { width: min(100%, 700px); margin-inline: auto; }
    .hero-photo-card > img { height: clamp(260px, 53vw, 390px); }
    .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome-apparatus-grid, .portal-content-grid, .government-layout { grid-template-columns: 1fr; }
    .apparatus-panel { max-width: none; }
    .portal-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .letter-widget { grid-column: 1 / -1; }
    .news-card { width: min(46%, 390px); }
    .news-image { height: 210px; }
    .government-copy { max-width: 620px; }
}
@media (max-width: 560px) {
    .site-container { width: min(100% - 30px, 1200px); }
    .topbar { font-size: 8px; }
    .topbar-inner { min-height: 29px; }
    .topbar-note { display: none !important; }
    .nav-inner { min-height: 64px; }
    .brand { gap: 8px; }
    .brand-mark { width: 34px; height: 43px; }
    .brand-name { font-size: 10px; }
    .brand-name small { font-size: 7px; }
    .village-hero { min-height: 0; padding: 39px 0 70px; }
    .village-hero-content { gap: 25px; }
    .hero-kicker { margin-bottom: 17px; font-size: 8px; }
    .hero-location-label { font-size: 8px; }
    .village-hero h1 { font-size: clamp(38px, 10.5vw, 53px); }
    .hero-lead { font-size: 13px; }
    .village-search { height: 49px; gap: 7px; margin-top: 19px; padding-left: 11px; }
    .village-search input { font-size: 11px; }
    .village-search button { height: 39px; gap: 5px; padding-inline: 11px; font-size: 10px; }
    .hero-links { gap: 10px 15px; }
    .hero-links a { font-size: 9px; }
    .hero-photo-card { padding-right: 5px; }
    .hero-photo-card > img { height: 240px; border-width: 2px; }
    .hero-photo-badge { top: 18px; left: 9px; font-size: 7px; }
    .hero-photo-caption { right: 4px; left: 0; padding: 9px 11px; }
    .hero-photo-caption > span { width: 31px; height: 31px; }
    .hero-photo-caption small { font-size: 7px; }
    .hero-photo-caption b { font-size: 10px; }
    .portal-shortcuts { padding-bottom: 10px; }
    .shortcut-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: -37px; }
    .shortcut-card { min-height: 66px; gap: 8px; padding: 9px; border-radius: 8px; }
    .shortcut-icon { width: 31px; height: 31px; flex-basis: 31px; border-radius: 8px; }
    .shortcut-icon :is(svg, i[class^="fa-"]) { width: 16px; }
    .shortcut-card b { font-size: 10px; }
    .shortcut-card small { font-size: 8px; }
    .shortcut-arrow { width: 12px; }
    .section-space { padding-block: 51px; }
    .welcome-card, .apparatus-panel { padding: 20px 17px; }
    .welcome-card h2, .section-title-row h2, .budget-heading h2, .government-copy h2 { font-size: 29px; }
    .welcome-card p { font-size: 12px; }
    .welcome-signature .demo-pill { font-size: 7px; }
    .panel-heading h2 { font-size: 19px; }
    .ticker-inner { min-height: 39px; }
    .ticker-label { gap: 5px; padding-inline: 10px; font-size: 8px; }
    .ticker-track { gap: 15px; padding-left: 13px; font-size: 9px; }
    .section-title-row { align-items: flex-start; flex-direction: column; gap: 13px; }
    .section-title-row p { font-size: 11px; }
    .portal-content-grid { gap: 25px; }
    .news-card { width: 86%; }
    .news-image { height: 194px; }
    .news-body { min-height: 208px; padding: 13px; }
    .news-body h3 { font-size: 13px; }
    .portal-sidebar { grid-template-columns: 1fr; }
    .letter-widget { grid-column: auto; }
    .institution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .economy-grid { grid-template-columns: 1fr; gap: 8px; }
    .economy-card { min-height: 0; padding: 15px; }
    .economy-card p { min-height: 0; }
    .institution-card { min-height: 160px; padding: 13px; }
    .institution-card h3 { font-size: 11px; }
    .institution-card p { font-size: 9px; }
    .data-note { align-items: flex-start; font-size: 9px; line-height: 1.6; }
    .gallery-title { flex-direction: row; align-items: center; }
    .gallery-card { height: 218px; }
    .gallery-card figcaption b { font-size: 12px; }
    .budget-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .budget-heading p { font-size: 11px; line-height: 1.7; }
    .budget-grid { grid-template-columns: 1fr; gap: 9px; }
    .budget-card { padding: 14px; }
    .org-chart { padding: 17px 13px; }
    .org-branches { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
    .org-branches::before, .org-node::before { display: none; }
    .org-node { min-height: 49px; }
    .org-leader { width: 100%; }
    .contact-section { padding-bottom: 46px; }
    .contact-box { align-items: flex-start; flex-direction: column; padding: 25px 20px; }
    .contact-box h2 { font-size: 21px; }
    .footer-bottom { font-size: 8px; }
}

.footer-columns { display: grid; grid-template-columns: 1.45fr .8fr .9fr 1fr; gap: 34px; padding-bottom: 28px; }
.footer-about > p { max-width: 300px; margin: 15px 0 12px; color: #c0d0c4; font-size: 12px; line-height: 1.7; }
.footer-links, .footer-contact { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
.footer-links h3, .footer-contact h3 { margin: 5px 0 4px; color: #fff; font: 750 13px var(--font-display); }
.footer-links h3::after, .footer-contact h3::after { width: 22px; height: 2px; display: block; margin-top: 8px; content: ''; background: #e4bd43; }
.footer-links a, .footer-contact a { color: #b6c8ba; font-size: 10px; }
.footer-links a:hover, .footer-contact a:hover { color: #f0d264; }
.footer-contact p, .footer-contact a { display: flex; align-items: flex-start; gap: 7px; margin: 0; }
.footer-contact p { color: #b6c8ba; font-size: 10px; line-height: 1.7; }
.footer-contact :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; flex: 0 0 13px; color: #e4bd43; }
.article-actions { display: flex; align-items: center; gap: 9px; }
.article-actions .slider-controls button { width: 34px; height: 34px; }
.swiper-slide[hidden] { display: none !important; }
@media (max-width: 820px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; } }
@media (max-width: 560px) {
    .articles-column > .section-title-row { flex-direction: row; align-items: center; }
    .article-actions { gap: 5px; }
    .article-actions .outline-link { padding: 8px; font-size: 9px; }
    .article-actions .slider-controls { gap: 5px; }
    .article-actions .slider-controls button { width: 29px; height: 29px; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-about .brand-mark { width: 34px; height: 43px; }
    .footer-links h3, .footer-contact h3 { font-size: 11px; }
    .footer-links a, .footer-contact p, .footer-contact a { font-size: 9px; }
}

/* APBKAM transparency cards, matching the uploaded reference layout. */
.budget-section { padding-block: 46px 64px; background: #f3f5f6; }
.budget-ribbon { position: relative; display: flex; align-items: center; min-height: 38px; margin-bottom: 27px; border-bottom: 1px solid #d7dde1; }
.budget-ribbon span { min-width: 235px; display: inline-flex; align-items: center; height: 37px; padding: 0 24px 0 18px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); color: #fff; background: linear-gradient(100deg, #1cc76b, #12b6a4); font: 800 13px var(--font-display); letter-spacing: .035em; }
.budget-heading { align-items: center; margin-bottom: 17px; }
.budget-heading .section-overline { font-size: 8px; }
.budget-heading h2 { margin: 4px 0 3px; font-size: 22px; letter-spacing: -.025em; }
.budget-heading p { font-size: 11px; }
.budget-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.budget-card { overflow: hidden; padding: 0; border: 1px solid #dfe4e7; border-radius: 2px; background: #fff; box-shadow: 0 2px 5px #1d2b381b; }
.budget-card-header { min-height: 75px; padding: 14px 16px 12px; color: #fff; background: linear-gradient(105deg, #20c96b 0%, #11b6a2 100%); }
.budget-card-header > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 800 12px var(--font-display); }
.budget-card-header h3 { margin: 3px 0 0; color: #fff; font: 750 16px/1.3 var(--font-display); }
.budget-card-body { padding: 18px 19px 0; }
.budget-realization-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: #667382; font-size: 9px; font-weight: 800; }
.budget-realization-label b { font: 800 10px var(--font-display); }
.budget-progress { height: 12px; overflow: hidden; margin: 0 0 15px; border-radius: 0; background: #e2e5e9; }
.budget-progress span { background: #10b7a4; }
.budget-amount-block { margin: 0 0 14px; }
.budget-amount-block small, .budget-amount-block b { display: block; }
.budget-amount-block small { margin-bottom: 2px; color: #74808d; font-size: 8px; font-weight: 800; }
.budget-amount-block b { color: #27394b; font: 800 14px var(--font-display); }
.budget-realized b { color: #079d8c; }
.budget-details { margin-top: 17px; border-top: 1px solid #e9edf0; }
.budget-details summary { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8a96a3; font-size: 9px; font-weight: 800; list-style: none; cursor: pointer; }
.budget-details summary::-webkit-details-marker { display: none; }
.budget-details summary :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; transition: transform .2s; }
.budget-details[open] summary :is(svg, i[class^="fa-"]) { transform: rotate(180deg); }
.budget-detail-list { padding: 0 0 14px; }
.budget-detail-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #f0f2f3; color: #697784; font-size: 9px; }
.budget-detail-list b { color: #36495b; font-size: 9px; white-space: nowrap; }
.planning-card { margin: 18px 0 0; border-radius: 3px; }
.budget-disclaimer { margin-top: 11px; border-radius: 3px; font-size: 9px; }
@media (max-width: 900px) {
    .budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .budget-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .budget-section { padding-block: 37px 48px; }
    .budget-ribbon { margin-bottom: 20px; }
    .budget-ribbon span { min-width: 205px; height: 34px; font-size: 11px; }
    .budget-heading { align-items: flex-start; }
    .budget-heading h2 { font-size: 20px; }
    .budget-heading p { font-size: 10px; }
    .budget-grid { grid-template-columns: 1fr; gap: 12px; }
    .budget-card:last-child { grid-column: auto; }
    .budget-card-header { min-height: 68px; padding: 12px 14px 10px; }
    .budget-card-header h3 { font-size: 14px; }
    .budget-card-body { padding: 15px 15px 0; }
}

/* Extra profile modules requested in the website menu outline. */
.nav-dropdown-menu { z-index: 70; max-height: min(72vh, 540px); overflow-y: auto; }
.profile-catalog { background: #fff; }
.profile-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.profile-data-card { position: relative; min-height: 208px; padding: 19px; border: 1px solid #e2eae2; border-radius: 10px; background: linear-gradient(145deg, #fff, #f9fbf8); scroll-margin-top: 120px; }
.profile-data-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 10px; color: #0b7853; background: #eaf4ec; }
.profile-data-icon :is(svg, i[class^="fa-"]) { width: 18px; }
.profile-data-card > small { color: #9c7c2a; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.profile-data-card h3 { margin: 6px 0; color: #1f4531; font: 750 15px var(--font-display); }
.profile-data-card p { max-width: 420px; margin: 0 0 12px; color: #7e8b82; font-size: 11px; line-height: 1.65; }
.profile-public-image { width: 100%; max-height: 150px; margin: 9px 0 10px; border-radius: 9px; object-fit: cover; }
.profile-public-details { margin-top: 10px; border-top: 1px solid #e3ebe4; color: #456354; font-size: 11px; line-height: 1.7; }
.profile-public-details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; color: #087b58; font-weight: 750; cursor: pointer; list-style: none; }
.profile-public-details summary::-webkit-details-marker { display: none; }
.profile-public-details[open] summary i { transform: rotate(180deg); }
.profile-public-details summary i { transition: transform .2s ease; }
.profile-public-details > div { padding: 0 0 10px; color: #65776c; }
.profile-empty-state { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 22px; border: 1px dashed #cbded0; border-radius: 12px; background: #f7faf7; }
.profile-empty-state > span { width: 44px; height: 44px; display: grid; flex: 0 0 44px; place-items: center; border-radius: 13px; color: #0b875f; background: #e8f5ec; }
.profile-empty-state b { color: #244b37; font-size: 13px; }
.profile-empty-state p { margin: 3px 0 0; color: #7a8a80; font-size: 11px; }
.data-status { display: inline-flex; align-items: center; gap: 6px; color: #887546; font-size: 9px; font-weight: 700; }
.data-status i { width: 6px; height: 6px; border-radius: 50%; background: #d1ad42; }
.map-placeholder { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 9px; border: 1px dashed #cfddcf; border-radius: 6px; color: #728276; background: #f4f8f4; }
.map-placeholder :is(svg, i[class^="fa-"]) { width: 16px; height: 16px; color: #15805a; }
.map-placeholder b { font-size: 9px; font-weight: 600; }
.profile-potential { background: linear-gradient(135deg, #edf5ee, #fff); }
.profile-card-link { display: inline-flex; align-items: center; gap: 6px; color: #0e7653; font-size: 10px; font-weight: 800; }
.profile-card-link :is(svg, i[class^="fa-"]) { width: 13px; }
.data-catalog-section { background: #f4f7f4; }
.data-catalog-groups { display: grid; grid-template-columns: 1.25fr .75fr; gap: 15px; }
.data-group { padding: 19px; border: 1px solid #e1e9e1; border-radius: 10px; background: #fff; }
.data-group-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.data-group-heading small, .data-group-heading b { display: block; }
.data-group-heading small { color: #a0822f; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.data-group-heading b { margin-top: 3px; color: #234431; font: 750 15px var(--font-display); }
.widget-icon-rose { color: #b45054; background: #fff0ef; }
.data-topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.data-topic { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #e9efe9; border-radius: 7px; background: #fbfcfb; }
.data-topic > :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; flex: 0 0 15px; color: #17805a; }
.data-topic > span:nth-child(2) { min-width: 0; }
.data-topic b, .data-topic small { display: block; }
.data-topic b { overflow: hidden; color: #3a5142; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.data-topic small { margin-top: 3px; color: #8b968f; font-size: 8px; }
.topic-empty { margin-left: auto; color: #9aa69c; font-size: 13px; }
.data-health-grid { grid-template-columns: 1fr; }
.regulation-section { background: #fff; }
.regulation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.regulation-card { position: relative; min-height: 204px; padding: 16px; border: 1px solid #e2eae2; border-radius: 9px; background: #fff; }
.regulation-index { position: absolute; top: 14px; right: 14px; color: #e3eae3; font: 800 19px var(--font-display); }
.regulation-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 8px; color: #0e7954; background: #eaf4ec; }
.regulation-icon :is(svg, i[class^="fa-"]) { width: 17px; }
.regulation-card > small { color: #a18330; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.regulation-card h3 { margin: 4px 0 5px; color: #244532; font: 750 13px var(--font-display); }
.regulation-card p { min-height: 34px; margin: 0 0 9px; color: #7d8a81; font-size: 9px; line-height: 1.55; }
.idm-section { color: #fff; background: linear-gradient(115deg, #063c2d, #0a704e); }
.idm-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 50px; }
.idm-copy .section-overline { color: #f0d05e; }
.idm-copy h2 { margin: 10px 0; color: #fff; font: 800 clamp(28px, 3.3vw, 41px)/1.18 var(--font-display); letter-spacing: -.04em; }
.idm-copy h2 em { color: #e9c94e; font-style: normal; }
.idm-copy > p { max-width: 390px; margin: 0 0 16px; color: #d0e1d5; font-size: 12px; line-height: 1.75; }
.idm-copy .demo-pill { border-color: #e9d27e66; color: #f0d777; background: #fff1b00d; }
.idm-years { padding: 17px; border: 1px solid #ffffff29; border-radius: 11px; background: #ffffff0d; }
.idm-year { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid #ffffff1b; }
.idm-year:last-of-type { border-bottom: 0; }
.idm-year-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; color: #ebcf59; background: #e6c54a1b; }
.idm-year-icon :is(svg, i[class^="fa-"]) { width: 17px; }
.idm-year small, .idm-year b { display: block; }
.idm-year small { color: #afc9b8; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.idm-year b { margin-top: 2px; color: #fff; font: 750 14px var(--font-display); }
.idm-empty { margin-left: auto; padding: 5px 8px; border: 1px solid #ffffff25; border-radius: 15px; color: #d3e0d6; font-size: 8px; }
.idm-years .sample-notice { color: #d1dfd4; }
.idm-years .sample-notice :is(svg, i[class^="fa-"]) { color: #ecd060; }
.requirements-section { background: #fff; }
.requirements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.requirement-card { min-height: 70px; display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e4ebe4; border-radius: 8px; background: #fff; transition: .18s; }
.requirement-card:hover { border-color: #bad2bf; background: #fbfdfb; }
.requirement-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 9px; color: #137c56; background: #eaf4ec; }
.requirement-icon :is(svg, i[class^="fa-"]) { width: 16px; }
.requirement-card b, .requirement-card small { display: block; }
.requirement-card b { color: #304d3a; font: 750 10px var(--font-display); }
.requirement-card small { margin-top: 4px; color: #87938b; font-size: 8px; }
.requirement-arrow { width: 13px; height: 13px; margin-left: auto; color: #a48631; }
.planning-card { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; padding: 14px; border: 1px solid #e3eae0; border-radius: 9px; background: #fff; }
.planning-card-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 9px; color: #0d7954; background: #eaf4ec; }
.planning-card-icon :is(svg, i[class^="fa-"]) { width: 18px; }
.planning-card > span:nth-child(2) { flex: 1; }
.planning-card small, .planning-card b { display: block; }
.planning-card small { color: #a0822f; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.planning-card b { margin-top: 3px; color: #294936; font: 750 12px var(--font-display); }
.planning-card p { margin: 3px 0 0; color: #7e8b82; font-size: 9px; line-height: 1.5; }
.budget-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.governance-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.governance-detail-card { padding: 16px; border: 1px solid #e3ebe3; border-radius: 9px; background: #fff; scroll-margin-top: 120px; }
.governance-detail-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 8px; color: #147e58; background: #eaf4ec; }
.governance-detail-icon :is(svg, i[class^="fa-"]) { width: 17px; }
.governance-detail-card > small { color: #a0822f; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.governance-detail-card h3 { margin: 5px 0; color: #244532; font: 750 12px var(--font-display); }
.governance-detail-card p { margin: 0 0 10px; color: #7c8a80; font-size: 9px; line-height: 1.6; }

/* Database-backed village content and public population indicators */
.public-content-empty{display:flex;align-items:center;gap:12px;padding:18px 20px;border:1px dashed #cbdccf;border-radius:12px;background:#ffffffa8;color:#708176;font-size:11px}.public-content-empty>i{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#e9f5ed;color:#108662;font-size:16px}
.population-number-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.population-number-card{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto auto;align-content:center;column-gap:12px;min-height:112px;padding:17px;border:1px solid #e2ebe3;border-radius:13px;background:#fff;box-shadow:0 8px 22px #153d2807}.population-number-icon{grid-row:1/4;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e8f5ed;color:#0d8a63;font-size:16px}.population-number-icon.is-blue{background:#edf2ff;color:#4d7ac1}.population-number-icon.is-rose{background:#fff0f0;color:#ca6b78}.population-number-icon.is-gold{background:#fbf4df;color:#b48b24}.population-number-card small{color:#829288;font-size:8px;font-weight:850;letter-spacing:.1em}.population-number-card>b{margin:1px 0;color:#173d2e;font:800 24px/1.15 var(--font-display)}.population-number-card>span:last-child{color:#87958d;font-size:9px}
.population-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.population-chart-card{min-width:0;padding:18px 20px 14px;border:1px solid #e2ebe3;border-radius:15px;background:#fff;box-shadow:0 8px 22px #153d2807}.population-chart-card>header{display:flex;align-items:center;gap:10px}.population-chart-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e8f5ed;color:#108864}.population-chart-icon.is-gold{background:#fbf4df;color:#b48b24}.population-chart-card header small,.population-chart-card header h3{display:block}.population-chart-card header small{color:#0b916c;font-size:8px;font-weight:850;letter-spacing:.12em}.population-chart-card header h3{margin:3px 0 0;color:#284b39;font:750 13px var(--font-display)}.population-chart-wrap{position:relative;height:205px;margin:8px auto 0}.population-chart-foot{display:flex;justify-content:center;flex-wrap:wrap;gap:9px 17px;padding-top:10px;border-top:1px solid #edf1ed;color:#7e8d84;font-size:9px}.population-chart-foot>span{display:inline-flex;align-items:center;gap:5px}.population-chart-foot b{color:#365541}.chart-dot{width:8px;height:8px;border-radius:50%;background:#0c9b6c}.chart-dot.is-gold{background:#e7bd43}.population-religion-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px;padding:13px 15px;border:1px solid #e2ebe3;border-radius:12px;background:#fff}.population-religion-strip>b{display:inline-flex;align-items:center;gap:7px;margin-right:5px;color:#276346;font-size:10px}.population-religion-strip>b i{color:#0b936b}.population-religion-strip>span{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #e5eee7;border-radius:18px;background:#f8fbf8;color:#7b8b81;font-size:9px}.population-religion-strip strong{color:#1e6749}.population-updated{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #dcebe2;border-radius:20px;background:#f7fbf8;color:#348169;font-size:9px;font-weight:700;white-space:nowrap}.regulation-meta{display:block;margin:7px 0;color:#86948c;font-size:8px}.regulation-link{display:inline-flex;align-items:center;gap:6px;margin-top:3px;color:#0d8059;font-size:9px;font-weight:750}.regulation-link:hover{color:#bf9928}.idm-year{flex-wrap:wrap}.idm-score{margin-left:auto;color:#f2d66b;font:750 13px var(--font-display)}.idm-empty-state{display:flex;align-items:center;gap:8px;margin:0;padding:15px;border:1px dashed #ffffff4b;border-radius:9px;color:#d2e5d9;font-size:10px}.economy-photo{width:calc(100% + 36px);height:145px;margin:-18px -18px 14px;border-radius:10px 10px 0 0;object-fit:cover}.economy-card:has(.economy-photo){overflow:hidden}
:root[data-theme="dark"] .public-content-empty{border-color:#355443;background:#172920;color:#b6c9bc}:root[data-theme="dark"] .public-content-empty>i{background:#203a2c;color:#7bd3aa}:root[data-theme="dark"] .population-number-card,:root[data-theme="dark"] .population-chart-card,:root[data-theme="dark"] .population-religion-strip{border-color:#2d4939;background:#17271f}:root[data-theme="dark"] .population-number-card>b,:root[data-theme="dark"] .population-chart-card header h3{color:#e1eee5}:root[data-theme="dark"] .population-number-card small,:root[data-theme="dark"] .population-number-card>span:last-child,:root[data-theme="dark"] .population-chart-foot{color:#a5b9ab}:root[data-theme="dark"] .population-chart-foot b{color:#dcebe1}:root[data-theme="dark"] .population-chart-foot{border-color:#2b4134}:root[data-theme="dark"] .population-religion-strip>b{color:#c7e3d1}:root[data-theme="dark"] .population-religion-strip>span{border-color:#365344;background:#1e3327;color:#bbcec0}:root[data-theme="dark"] .population-religion-strip strong{color:#a4dfbd}:root[data-theme="dark"] .population-updated{border-color:#355443;background:#1a3025;color:#a9dfc2}:root[data-theme="dark"] .regulation-meta{color:#a7b9ad}:root[data-theme="dark"] .regulation-link{color:#9fe0bd}
@media(max-width:760px){.population-number-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}.population-number-card{grid-template-columns:34px 1fr;min-height:91px;gap:1px 8px;padding:11px}.population-number-icon{width:32px;height:32px;border-radius:10px;font-size:13px}.population-number-card small{font-size:7px}.population-number-card>b{font-size:20px}.population-number-card>span:last-child{font-size:8px}.population-chart-grid{grid-template-columns:1fr;gap:9px}.population-chart-card{padding:14px}.population-chart-wrap{height:185px}.population-updated{font-size:8px;padding:7px}.economy-photo{height:125px}.public-content-empty{padding:13px;font-size:9px}}
@media (max-width: 900px) {
    .data-catalog-groups { grid-template-columns: 1fr; }
    .regulation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .idm-layout { grid-template-columns: 1fr; gap: 25px; }
    .budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .profile-catalog-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .profile-data-card { min-height: 200px; padding: 13px; }
    .profile-data-card h3 { font-size: 12px; }
    .profile-data-card p { font-size: 9px; }
    .profile-data-card > small { font-size: 7px; }
    .data-catalog-groups { gap: 9px; }
    .data-group { padding: 13px; }
    .data-topic-grid { gap: 6px; }
    .data-topic { gap: 5px; padding: 7px 5px; }
    .data-topic b { font-size: 8px; }
    .data-topic small { font-size: 7px; }
    .regulation-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .regulation-card { min-height: 190px; padding: 12px; }
    .regulation-card h3 { font-size: 11px; }
    .regulation-card p { font-size: 8px; }
    .idm-years { padding: 12px; }
    .requirements-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .requirement-card { min-height: 75px; gap: 7px; padding: 8px; }
    .requirement-icon { width: 30px; height: 30px; flex-basis: 30px; }
    .requirement-card b { font-size: 9px; }
    .requirement-card small { font-size: 7px; }
    .planning-card { align-items: flex-start; flex-wrap: wrap; }
    .planning-card .data-status { margin-left: 50px; }
    .budget-grid { grid-template-columns: 1fr; }
    .governance-detail-grid { grid-template-columns: 1fr; }
}

/* Shared section label ribbon, based on the APBKAM reference capture. */
.section-overline,
.panel-heading .section-overline,
.budget-heading .section-overline {
    position: relative;
    z-index: 0;
    width: fit-content;
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    overflow: visible;
    padding: 6px 15px;
    clip-path: none;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(100deg, #1cc76b, #12b6a4);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.2;
    vertical-align: middle;
}
.section-overline :is(svg, i[class^="fa-"]) { width: 13px; height: 13px; flex: 0 0 13px; }
.contact-box .section-overline,
.idm-copy .section-overline { color: #fff; }
.panel-heading .section-overline { display: inline-flex; font-size: 9px; }
.budget-heading .section-overline { font-size: 9px; }
@media (max-width: 600px) {
    .section-overline,
    .panel-heading .section-overline,
    .budget-heading .section-overline { min-height: 27px; padding-inline: 10px 18px; font-size: 9px; }
}

/* APBDes overview card polish: keep these overrides after the existing responsive rules. */
.budget-grid { align-items: stretch; gap: 20px; }
.budget-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e1e9e4; border-radius: 14px; box-shadow: 0 12px 32px #123c2410; transition: transform .22s ease, box-shadow .22s ease; }
.budget-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px #123c2418; }
.budget-card-header { position: relative; min-height: 150px; padding: 20px 20px 18px; background: linear-gradient(135deg, #08764f, #0da983); }
.budget-card-realisasi .budget-card-header { background: linear-gradient(135deg, #087b79, #12aeaa); }
.budget-card-sisa .budget-card-header { background: linear-gradient(135deg, #a47714, #d3a72b); }
.budget-card-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid #ffffff45; border-radius: 11px; color: #fff; background: #ffffff1c; }
.budget-card-icon :is(svg, i[class^="fa-"]) { width: 19px; height: 19px; }
.budget-card-kicker { position: absolute; top: 20px; right: 18px; display: flex; align-items: center; gap: 7px; color: #e0f7ed; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.budget-card-kicker i { padding: 4px 6px; border: 1px solid #ffffff65; border-radius: 20px; font: 800 7px var(--font-body); }
.budget-card-header h3 { margin: 0; color: #fff; font: 800 19px/1.2 var(--font-display); letter-spacing: -.025em; }
.budget-card-header p { margin: 5px 0 0; color: #e5f5edcf; font-size: 10px; }
.budget-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 0; }
.budget-card-total { margin-bottom: 17px; }
.budget-card-total span { display: block; margin-bottom: 5px; color: #748479; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.budget-card-total b { display: block; color: #183e2d; font: 800 clamp(20px, 2vw, 25px)/1.15 var(--font-display); letter-spacing: -.035em; }
.budget-card-realisasi .budget-card-total b { color: #078c82; }
.budget-card-sisa .budget-card-total b { color: #a47714; }
.budget-card-note { display: flex; align-items: flex-start; gap: 9px; margin: -2px 0 17px; padding: 10px 11px; border: 1px solid #e5efe8; border-radius: 9px; color: #64766b; background: #f5faf6; font-size: 10px; line-height: 1.5; }
.budget-card-note :is(svg, i[class^="fa-"]) { width: 15px; height: 15px; flex: 0 0 15px; color: #11815b; }
.budget-realization-label { margin-bottom: 7px; font-size: 9px; }
.budget-progress { height: 9px; margin-bottom: 14px; border-radius: 20px; background: #edf1ee; }
.budget-progress span { border-radius: inherit; background: linear-gradient(90deg, #0caa77, #1cc49b); }
.budget-progress-sisa span { background: linear-gradient(90deg, #e2b634, #f0ce5e); }
.budget-details { margin-top: auto; }
.budget-details summary { min-height: 49px; color: #50675a; font-size: 9px; letter-spacing: .04em; }
.budget-details summary > span { display: flex; align-items: center; gap: 7px; }
.budget-details summary > span :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; color: #14805b; }
.budget-detail-list { padding: 0 0 15px; }
.budget-detail-group { padding: 10px 0 5px; border-top: 1px solid #edf1ee; }
.budget-detail-group > b { display: block; margin-bottom: 5px; color: #13805a; font-size: 8px; letter-spacing: .08em; }
.budget-detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: #69786e; font-size: 9px; line-height: 1.45; }
.budget-detail-row strong { color: #44584b; font-size: 9px; font-weight: 700; text-align: right; }
@media (max-width: 900px) { .budget-card-header { min-height: 142px; } }
@media (max-width: 560px) {
    .budget-grid { gap: 13px; }
    .budget-card { border-radius: 12px; }
    .budget-card-header { min-height: 133px; padding: 17px; }
    .budget-card-kicker { top: 17px; right: 16px; font-size: 7px; }
    .budget-card-header h3 { font-size: 18px; }
    .budget-card-body { padding: 17px 17px 0; }
    .budget-card-total b { font-size: 23px; }
}
.budget-card-header > .budget-card-icon { display: grid; justify-content: center; margin-bottom: 14px; font: inherit; }
.budget-card-header > .budget-card-kicker { justify-content: flex-end; font: 800 8px var(--font-body); }
.budget-detail-list > .budget-detail-group { display: block; padding: 10px 0 5px; color: inherit; font-size: inherit; }

/* Three-column APBDes heading on desktop. */
.budget-heading {
    display: grid;
    grid-template-columns: minmax(210px, .9fr) minmax(0, 1.5fr) minmax(185px, .75fr);
    align-items: center;
    gap: 24px;
    margin-bottom: 25px;
    padding: 20px 22px;
    border: 1px solid #e0e9e2;
    border-radius: 13px;
    background: linear-gradient(115deg, #fff 0%, #f7fbf8 100%);
    box-shadow: 0 8px 24px #153c2508;
}
.budget-heading > div { min-width: 0; }
.budget-heading-label { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.budget-heading-label > small { color: #829086; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.budget-heading-copy { padding-inline: 22px; border-inline: 1px solid #e4ebe5; }
.budget-heading h2 { margin: 0 0 6px; font-size: clamp(21px, 2.3vw, 29px); }
.budget-heading p { margin: 0; font-size: 11px; line-height: 1.65; }
.budget-heading-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.budget-heading-meta > small { display: flex; align-items: center; gap: 6px; color: #728176; font-size: 9px; font-weight: 700; }
.budget-heading-meta > small :is(svg, i[class^="fa-"]) { width: 14px; height: 14px; color: #13805a; }
@media (max-width: 1000px) {
    .budget-heading { grid-template-columns: 1fr 1.4fr; gap: 15px; padding: 17px; }
    .budget-heading-copy { padding-inline: 16px 0; border: 0; border-left: 1px solid #e4ebe5; }
    .budget-heading-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #e4ebe5; }
}
@media (max-width: 520px) {
    .budget-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 19px; padding: 15px; }
    .budget-heading-label { gap: 8px; }
    .budget-heading-copy { padding: 0; border: 0; }
    .budget-heading h2 { font-size: 22px; }
    .budget-heading-meta { grid-column: auto; flex-wrap: wrap; gap: 8px; }
}

/* Use Bootstrap's col-md-4 layout for the three APBDes summary cards. */
.budget-grid { display: flex; flex-wrap: wrap; --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.budget-grid > [class*="col-"] { display: flex; }
.budget-grid .budget-card { width: 100%; }

/* Keep all three col-md-4 cards on the same row without Bootstrap gutter overflow. */
.budget-grid.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}
.budget-grid.row > .col-md-4 { width: auto; max-width: none; padding: 0; }
.budget-grid.row { align-items: start; }
.budget-grid.row > .col-md-4 { align-self: start; }
.budget-grid.row .budget-card { height: fit-content; align-self: start; }
.budget-grid.row .budget-card-body { flex: 0 0 auto; }
.budget-grid.row .budget-details { margin-top: 16px; }
@media (max-width: 767.98px) {
    .budget-grid.row { grid-template-columns: 1fr; }
}

/* Keep budget cards in equal columns on desktop and stack cleanly on phones. */
.budget-grid.row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    margin: 0;
}
.budget-grid.row > .col-md-4 { width: auto; max-width: none; padding: 0; }
.budget-grid.row .budget-card { width: 100%; height: fit-content; }
@media (max-width: 900px) {
    .budget-grid.row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .budget-grid.row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Accessible typing effect for the hero welcome heading. */
.hero-welcome-title { min-height: 2.16em; }
.hero-welcome-title .is-typing::after { display: inline-block; margin-left: 4px; color: #f0cf58; content: '|'; animation: heroTypingCaret .8s steps(1, end) infinite; }
@keyframes heroTypingCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-welcome-title .is-typing::after { animation: none; } }

/* Public site theme switch and responsive navigation/layout refinements. */
/* public site theme switch legacy removed */
.theme-icon-dark { display: none; }

@media (min-width: 1001px) and (max-width: 1360px) {
    .nav-inner { gap: 12px; }
    .brand-name { font-size: 12px; }
    .brand-name small { font-size: 8px; }
    .site-nav { gap: 0; }
    .site-nav .nav-link { padding-inline: 6px; font-size: 10px; }
    .nav-cta { margin-left: 4px; padding-inline: 12px; font-size: 10px; }

    .theme-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 1000px) {
    .nav-inner { min-height: 70px; gap: 12px; }
    .nav-toggle { display: grid; margin-left: auto; }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100dvh - 82px); display: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; align-items: stretch; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid #e4ebe4; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 18px 38px #123a251f; }
    .site-nav.is-open { display: flex; }
    .site-nav .nav-link { width: 100%; min-height: 43px; justify-content: flex-start; padding-inline: 12px; font-size: 13px; }
    .site-nav .nav-link.active::after { right: auto; bottom: 2px; left: 12px; width: 28px; }
    .site-nav .nav-dropdown-menu { position: static; max-height: none; margin: 0 0 5px 10px; border: 0; box-shadow: none; background: #f5f8f5; }
    .site-nav .nav-cta { justify-content: center; margin: 5px 0 0; }
    .theme-toggle { min-height: 42px; justify-content: flex-start; margin: 3px 0; padding-inline: 12px; border-radius: 8px; background: #f7faf7; font-size: 12px; }
    .theme-toggle :is(svg, i[class^="fa-"]) { width: 17px; height: 17px; }
}

@media (max-width: 560px) {
    .site-container { width: min(100% - 30px, 1200px); }
    .nav-inner { min-height: 64px; }
    .brand { min-width: 0; gap: 7px; }
    .brand-mark { flex: 0 0 34px; width: 34px; height: 42px; }
    .brand-name { font-size: clamp(9px, 2.7vw, 11px); letter-spacing: .025em; }
    .brand-name small { font-size: clamp(6px, 1.8vw, 7px); letter-spacing: .07em; }
    .nav-toggle { flex: 0 0 39px; width: 39px; height: 39px; }
    .site-nav { max-height: calc(100dvh - 72px); }
    .topbar-inner > span:first-child { min-width: 0; font-size: 7px; letter-spacing: .035em; }
    .section-space { padding-block: 54px; }
    .village-hero-content { grid-template-columns: minmax(0, 1fr); }
    .hero-intro, .hero-photo-card { min-width: 0; }
    .hero-location-label { font-size: 7px; letter-spacing: .08em; }
    .village-hero h1 { font-size: clamp(35px, 10vw, 49px); }
    .hero-lead { font-size: 14px; }
    .hero-photo-card > img { height: clamp(215px, 68vw, 340px); }
    .hero-photo-caption { max-width: calc(100% - 12px); }
    .hero-photo-caption small, .hero-photo-caption b { white-space: normal; }
    .shortcut-grid, .profile-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome-apparatus-grid, .portal-content-grid, .government-layout, .letter-layout { grid-template-columns: minmax(0, 1fr); }
    .portal-sidebar { grid-template-columns: minmax(0, 1fr); }
    .letter-widget { grid-column: auto; }
    .news-card { width: min(86vw, 390px); }
    .news-image { height: clamp(175px, 55vw, 220px); }
    .data-catalog-groups { grid-template-columns: minmax(0, 1fr); }
    .data-topic-grid { grid-template-columns: minmax(0, 1fr); }
    .institution-grid, .regulation-grid, .governance-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .economy-grid { grid-template-columns: minmax(0, 1fr); }
    .gallery-card { height: clamp(190px, 62vw, 245px); }
    .budget-grid.row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .requirements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-box { align-items: flex-start; flex-direction: column; padding: 24px 19px; }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .footer-about { grid-column: 1 / -1; }
    .login-dialog { width: min(100%, 430px); max-height: calc(100dvh - 24px); overflow-y: auto; }
}

@media (max-width: 360px) {
    .brand-name small { max-width: 195px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .shortcut-grid, .profile-catalog-grid, .institution-grid, .regulation-grid, .governance-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-links { gap: 9px 12px; }
    .hero-links a { font-size: 8px; }
    .village-search button { padding-inline: 9px; }
}

/* Full site dark palette. */
:root[data-theme="dark"] { color-scheme: dark; --paper: #111d17; --ink: #e1ebe4; --muted: #a2b3a8; --line: #2b4035; }
:root[data-theme="dark"] body { color: #dce7df; background: #101a15; }
:root[data-theme="dark"] .topbar { color: #c2d2c7; background: #071811; }
:root[data-theme="dark"] .site-header { border-color: #2b3d33; color: #e1ebe4; background: rgb(17 29 23 / 97%); box-shadow: 0 7px 24px #0005; }
:root[data-theme="dark"] .brand-name { color: #e8f1ea; }
:root[data-theme="dark"] .brand-name small { color: #d5bb5e; }
:root[data-theme="dark"] .nav-link { color: #c3d2c8; }
:root[data-theme="dark"] .nav-link:hover, :root[data-theme="dark"] .nav-link.active { color: #e4c65c; }
:root[data-theme="dark"] .nav-dropdown-menu { border-color: #30453a; background: #19271f; }
:root[data-theme="dark"] .nav-dropdown-menu a { color: #cfddd3; }
:root[data-theme="dark"] .nav-dropdown-menu a:hover { color: #f0d36b; background: #25382c; }
:root[data-theme="dark"] .nav-toggle { border-color: #43594b; color: #efd46a; background: #1a2a21; }
:root[data-theme="dark"] .theme-toggle { border-color: #40574a; color: #e9d071; background: #1b2c22; }
:root[data-theme="dark"] .theme-toggle:hover { background: #263a2d; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
:root[data-theme="dark"] .portal-shortcuts,
:root[data-theme="dark"] .welcome-apparatus,
:root[data-theme="dark"] .profile-catalog,
:root[data-theme="dark"] .portal-content-section,
:root[data-theme="dark"] .institution-section,
:root[data-theme="dark"] .data-catalog-section,
:root[data-theme="dark"] .regulation-section,
:root[data-theme="dark"] .requirements-section,
:root[data-theme="dark"] .economy-section,
:root[data-theme="dark"] .gallery-section,
:root[data-theme="dark"] .budget-section,
:root[data-theme="dark"] .government-section,
:root[data-theme="dark"] .letter-section { background-color: #111d17; }
:root[data-theme="dark"] .welcome-card,
:root[data-theme="dark"] .apparatus-panel,
:root[data-theme="dark"] .sidebar-widget,
:root[data-theme="dark"] .org-chart,
:root[data-theme="dark"] .identity-card,
:root[data-theme="dark"] .profile-data-card,
:root[data-theme="dark"] .news-card,
:root[data-theme="dark"] .institution-card,
:root[data-theme="dark"] .data-group,
:root[data-theme="dark"] .data-topic,
:root[data-theme="dark"] .regulation-card,
:root[data-theme="dark"] .requirement-card,
:root[data-theme="dark"] .economy-card,
:root[data-theme="dark"] .gallery-note,
:root[data-theme="dark"] .budget-card,
:root[data-theme="dark"] .budget-heading,
:root[data-theme="dark"] .planning-card,
:root[data-theme="dark"] .governance-detail-card,
:root[data-theme="dark"] .letter-panel,
:root[data-theme="dark"] .letter-trust { border-color: #2b4035; color: #dce7df; background: #17251d; }
:root[data-theme="dark"] .budget-heading { background: linear-gradient(115deg, #17251d, #1b2c22); }
:root[data-theme="dark"] .welcome-card h2,
:root[data-theme="dark"] .section-title-row h2,
:root[data-theme="dark"] .budget-heading h2,
:root[data-theme="dark"] .government-copy h2,
:root[data-theme="dark"] .panel-heading h2,
:root[data-theme="dark"] .profile-data-card h3,
:root[data-theme="dark"] .institution-card h3,
:root[data-theme="dark"] .data-group-heading b,
:root[data-theme="dark"] .regulation-card h3,
:root[data-theme="dark"] .requirement-card b,
:root[data-theme="dark"] .economy-card h3,
:root[data-theme="dark"] .budget-card-total b,
:root[data-theme="dark"] .governance-detail-card h3,
:root[data-theme="dark"] .letter-panel-heading b { color: #e1ece4; }
:root[data-theme="dark"] .welcome-card p,
:root[data-theme="dark"] .section-title-row p,
:root[data-theme="dark"] .budget-heading p,
:root[data-theme="dark"] .profile-data-card p,
:root[data-theme="dark"] .institution-card p,
:root[data-theme="dark"] .data-note,
:root[data-theme="dark"] .regulation-card p,
:root[data-theme="dark"] .economy-card p,
:root[data-theme="dark"] .governance-detail-card p,
:root[data-theme="dark"] .letter-copy > p { color: #a6b6ab; }
:root[data-theme="dark"] .apparatus-item,
:root[data-theme="dark"] .org-node,
:root[data-theme="dark"] .org-leader,
:root[data-theme="dark"] .data-topic,
:root[data-theme="dark"] .budget-card-note,
:root[data-theme="dark"] .budget-detail-group,
:root[data-theme="dark"] .budget-details,
:root[data-theme="dark"] .budget-detail-row { border-color: #2b4035; background-color: #1b2a22; }
:root[data-theme="dark"] .budget-card-header { background: linear-gradient(135deg, #08764f, #0da983); }
:root[data-theme="dark"] .budget-card-realisasi .budget-card-header { background: linear-gradient(135deg, #087b79, #12aeaa); }
:root[data-theme="dark"] .budget-card-sisa .budget-card-header { background: linear-gradient(135deg, #a47714, #d3a72b); }
:root[data-theme="dark"] .budget-card-header h3,
:root[data-theme="dark"] .budget-card-header p { color: #fff; }
:root[data-theme="dark"] .budget-card-total span,
:root[data-theme="dark"] .budget-detail-row,
:root[data-theme="dark"] .budget-card-note { color: #b3c2b8; }
:root[data-theme="dark"] .budget-realization-label { color: #bac8be; }
:root[data-theme="dark"] .budget-detail-row strong,
:root[data-theme="dark"] .budget-detail-list b { color: #dce8df; }
:root[data-theme="dark"] .news-more,
:root[data-theme="dark"] .slider-controls button { border-color: #3a5043; color: #dbe8de; background: #1b2a22; }
:root[data-theme="dark"] .login-dialog { color: #233d30; background: #fff; }
:root[data-theme="dark"] .contact-box { border-color: #355a46; }
:root[data-theme="dark"] .contact-section { background: #101a15; }
:root[data-theme="dark"] .hero-location-label { color: #f0d56b; }
:root[data-theme="dark"] .village-search { border-color: #496153; background: #f8fbf8; }
:root[data-theme="dark"] .letter-field { border-color: #385044; background: #1c2c23; }
:root[data-theme="dark"] .letter-field input,
:root[data-theme="dark"] .letter-field select { color: #e0ebe3; }
:root[data-theme="dark"] .letter-panel-heading b { color: #e4eee6; }
:root[data-theme="dark"] .login-dialog { border-color: #34483b; color: #dce7df; background: #17251d; }
:root[data-theme="dark"] .login-dialog h2,
:root[data-theme="dark"] .login-form > label { color: #e1ebe4; }
:root[data-theme="dark"] .login-intro { color: #aab9af; }
:root[data-theme="dark"] .login-input { border-color: #354a3d; background: #1e2d24; }
:root[data-theme="dark"] .login-input input { color: #e1ebe4; }
:root[data-theme="dark"] .verification-box { border-color: #34483b; background: #1c2b22; }
:root[data-theme="dark"] .verification-heading b { color: #e1ebe4; }
:root[data-theme="dark"] .verification-heading small,
:root[data-theme="dark"] .verification-hint { color: #aab9af; }
:root[data-theme="dark"] .site-footer { border-color: #c9a83d; }

@media (max-width: 767.98px) {
    html, body { max-width: 100%; overflow-x: clip; }
    .site-container { max-width: 100%; }
    .section-title-row > div { min-width: 0; }
    .section-title-row h2, .budget-heading h2 { overflow-wrap: anywhere; }
    .welcome-card, .apparatus-panel, .letter-panel, .data-group { min-width: 0; }
    .budget-card-header { min-height: 135px; }
    .budget-detail-row { align-items: flex-start; }
    .budget-detail-row span { min-width: 0; overflow-wrap: anywhere; }
    .budget-detail-row strong { flex: 0 0 auto; }
    .floating-help { right: 12px; bottom: 72px; }
    .back-to-top { right: 14px; bottom: 130px; }
}

@media (max-width: 1000px) {
    :root[data-theme="dark"] .site-nav { border-color: #30453a; background: #132119; }
    :root[data-theme="dark"] .site-nav .nav-dropdown-menu { background: #1b2a22; }
    :root[data-theme="dark"] .site-nav .theme-toggle { background: #1b2a22; }
}

/* Standalone letter-service section follows the editorial cards and heading style. */
.letter-section { background: #f4f7f4; }
.letter-section .section-title-row { align-items: flex-end; margin-bottom: 25px; }
.letter-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 26px; }
.letter-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); border: 1px solid #e2ebe2; border-radius: 14px; background: linear-gradient(145deg, #fff, #f8fbf8); }
.letter-copy h2 { max-width: 520px; margin: 0 0 12px; font-size: clamp(28px, 3vw, 38px); }
.letter-copy > p { max-width: 510px; margin: 0; color: #748278; font-size: 14px; line-height: 1.75; }
.letter-steps { display: grid; gap: 9px; margin-top: 22px; }
.letter-steps > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 10px 12px; border: 1px solid #e7eee7; border-radius: 9px; background: #fff; }
.letter-steps > div > span { grid-row: span 2; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #0d7954; background: #eaf4ec; font: 800 10px var(--font-display); }
.letter-steps b { color: #2b4736; font: 750 12px var(--font-display); }
.letter-steps small { color: #839087; font-size: 10px; line-height: 1.45; }
.letter-copy .letter-trust { margin-top: 14px; }
.letter-panel { align-self: stretch; padding: clamp(20px, 2.6vw, 31px); border-radius: 14px; }
.letter-panel-heading { gap: 11px; margin-bottom: 18px; }
.letter-panel-heading b { font-size: clamp(17px, 2vw, 21px); }
.letter-panel .service-status { flex: 0 0 auto; font-size: 10px; }
.letter-panel .letter-form > label { margin: 14px 0 6px; font-size: 12px; }
.letter-panel .letter-field { height: 48px; }
.letter-panel .letter-field input, .letter-panel .letter-field select { font-size: 13px; }
.letter-panel .letter-notice { align-items: flex-start; margin: 14px 0; padding: 11px 12px; font-size: 11px; }
.letter-panel .letter-submit { min-height: 47px; font-size: 13px; }
@media (max-width: 820px) {
    .letter-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .letter-copy { padding: 25px; }
}
@media (max-width: 560px) {
    .letter-section .section-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .letter-layout { gap: 13px; }
    .letter-copy { padding: 20px 17px; border-radius: 11px; }
    .letter-copy h2 { font-size: clamp(25px, 8vw, 33px); }
    .letter-copy > p { font-size: 13px; }
    .letter-steps { gap: 7px; margin-top: 16px; }
    .letter-steps > div { padding: 9px; }
    .letter-panel { padding: 18px 15px; border-radius: 11px; }
    .letter-panel-heading { flex-wrap: wrap; }
    .letter-panel-heading .service-status { margin-left: 56px; }
}
:root[data-theme="dark"] .letter-section { background: #111d17; }
:root[data-theme="dark"] .letter-copy { border-color: #2b4035; background: linear-gradient(145deg, #17251d, #192920); }
:root[data-theme="dark"] .letter-copy h2,
:root[data-theme="dark"] .letter-steps b,
:root[data-theme="dark"] .letter-panel .letter-form > label { color: #e1ebe4; }
:root[data-theme="dark"] .letter-copy > p,
:root[data-theme="dark"] .letter-steps small { color: #a6b6ab; }
:root[data-theme="dark"] .letter-steps > div { border-color: #2b4035; background: #1b2a22; }
:root[data-theme="dark"] .letter-panel .letter-notice { border-color: #5c5130; color: #e3d69b; background: #2d2a1d; }

/* Modern Celestial Theme Toggle Switch */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 28px;
    flex: 0 0 52px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    user-select: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-toggle:hover {
    transform: translateY(-1px) scale(1.04);
}
.theme-toggle:active {
    transform: translateY(0) scale(0.96);
}
.theme-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
.theme-switch-track {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 52px;
    height: 28px;
    min-width: 52px;
    min-height: 28px;
    border-radius: 999px;
    border: 1.5px solid rgba(229, 195, 85, 0.75);
    background: linear-gradient(135deg, #094030 0%, #03271c 100%);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.22);
    padding: 0 6.5px;
    box-sizing: border-box;
    overflow: hidden;
    transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}
.theme-track-ambient {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}
.theme-ambient-sun {
    color: rgba(251, 191, 36, 0.85);
}
.theme-ambient-moon {
    color: rgba(253, 230, 138, 0.75);
}
.theme-switch-thumb {
    position: absolute;
    top: 50%;
    left: 2.5px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 40%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.85);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 10px rgba(251, 191, 36, 0.6);
    box-sizing: border-box;
    z-index: 2;
    transform: translateY(-50%) translateX(0);
    transition: transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-switch-thumb i {
    font-size: 9.5px;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.theme-thumb-sun {
    display: flex;
    color: #d97706;
}
.theme-thumb-moon {
    display: none;
    color: #064e3b;
}

/* Checked & Dark Mode States */
.theme-toggle-input:checked + .theme-switch-track,
:root[data-theme="dark"] .theme-switch-track {
    border-color: rgba(253, 230, 138, 0.85);
    background: linear-gradient(135deg, #021710 0%, #063122 100%);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.75), 0 0 12px rgba(229, 195, 85, 0.35);
}
.theme-toggle-input:checked + .theme-switch-track .theme-switch-thumb,
:root[data-theme="dark"] .theme-switch-track .theme-switch-thumb,
:root[data-theme="dark"] .theme-switch-thumb {
    transform: translateY(-50%) translateX(24px);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 12px rgba(186, 230, 253, 0.7);
}
.theme-toggle-input:checked + .theme-switch-track .theme-switch-thumb .theme-thumb-sun,
:root[data-theme="dark"] .theme-switch-track .theme-switch-thumb .theme-thumb-sun,
:root[data-theme="dark"] .theme-switch-thumb .theme-thumb-sun {
    display: none;
}
.theme-toggle-input:checked + .theme-switch-track .theme-switch-thumb .theme-thumb-moon,
:root[data-theme="dark"] .theme-switch-track .theme-switch-thumb .theme-thumb-moon,
:root[data-theme="dark"] .theme-switch-thumb .theme-thumb-moon {
    display: flex;
    color: #064e3b;
}
.theme-toggle-input:focus-visible + .theme-switch-track {
    outline: 2.5px solid #dcb83c;
    outline-offset: 2.5px;
}
@media (max-width: 1000px) {
    .theme-toggle {
        margin: 4px auto;
        display: inline-flex;
    }
}

/* Contrast pass for all public home cards in dark mode. */
:root[data-theme="dark"] main { color: #dce7df; }
:root[data-theme="dark"] .welcome-card,
:root[data-theme="dark"] .apparatus-panel,
:root[data-theme="dark"] .sidebar-widget,
:root[data-theme="dark"] .org-chart,
:root[data-theme="dark"] .profile-data-card,
:root[data-theme="dark"] .institution-card,
:root[data-theme="dark"] .data-group,
:root[data-theme="dark"] .regulation-card,
:root[data-theme="dark"] .requirement-card,
:root[data-theme="dark"] .economy-card,
:root[data-theme="dark"] .governance-detail-card,
:root[data-theme="dark"] .letter-panel,
:root[data-theme="dark"] .letter-copy,
:root[data-theme="dark"] .data-empty,
:root[data-theme="dark"] .agenda-date,
:root[data-theme="dark"] .statistic-links a,
:root[data-theme="dark"] .news-empty,
:root[data-theme="dark"] .news-footnote,
:root[data-theme="dark"] .gallery-note,
:root[data-theme="dark"] .planning-card,
:root[data-theme="dark"] .budget-card-note,
:root[data-theme="dark"] .letter-steps > div,
:root[data-theme="dark"] .letter-trust { border-color: #344b3d; color: #dce7df; background-color: #192820; }
:root[data-theme="dark"] .letter-copy { background-image: linear-gradient(145deg, #192820, #1c2d23); }
:root[data-theme="dark"] .budget-heading { border-color: #344b3d; }
:root[data-theme="dark"] .budget-card-body { color: #dce7df; background: #17251d; }
:root[data-theme="dark"] .welcome-card h2,
:root[data-theme="dark"] .panel-heading h2,
:root[data-theme="dark"] .apparatus-item b,
:root[data-theme="dark"] .profile-data-card h3,
:root[data-theme="dark"] .widget-heading b,
:root[data-theme="dark"] .agenda-date strong,
:root[data-theme="dark"] .agenda-list b,
:root[data-theme="dark"] .data-empty b,
:root[data-theme="dark"] .identity-card-heading b,
:root[data-theme="dark"] .identity-row b,
:root[data-theme="dark"] .news-body h3,
:root[data-theme="dark"] .news-body h3 a,
:root[data-theme="dark"] .institution-card h3,
:root[data-theme="dark"] .data-group-heading b,
:root[data-theme="dark"] .data-topic b,
:root[data-theme="dark"] .regulation-card h3,
:root[data-theme="dark"] .requirement-card b,
:root[data-theme="dark"] .economy-card h3,
:root[data-theme="dark"] .idm-year b,
:root[data-theme="dark"] .idm-empty,
:root[data-theme="dark"] .letter-steps b,
:root[data-theme="dark"] .letter-copy h2,
:root[data-theme="dark"] .letter-panel-heading b,
:root[data-theme="dark"] .letter-panel .letter-form > label,
:root[data-theme="dark"] .budget-card-total b,
:root[data-theme="dark"] .budget-detail-row strong,
:root[data-theme="dark"] .budget-detail-group > b,
:root[data-theme="dark"] .planning-card b,
:root[data-theme="dark"] .org-chart-title b,
:root[data-theme="dark"] .org-leader b,
:root[data-theme="dark"] .org-node b,
:root[data-theme="dark"] .governance-detail-card h3 { color: #edf5ef; }
:root[data-theme="dark"] .apparatus-item small,
:root[data-theme="dark"] .panel-description,
:root[data-theme="dark"] .profile-data-card p,
:root[data-theme="dark"] .widget-heading small,
:root[data-theme="dark"] .agenda-date small,
:root[data-theme="dark"] .agenda-list small,
:root[data-theme="dark"] .statistic-links a,
:root[data-theme="dark"] .data-empty small,
:root[data-theme="dark"] .identity-row span,
:root[data-theme="dark"] .news-meta,
:root[data-theme="dark"] .news-excerpt,
:root[data-theme="dark"] .news-card-footer,
:root[data-theme="dark"] .institution-card p,
:root[data-theme="dark"] .data-topic small,
:root[data-theme="dark"] .regulation-card p,
:root[data-theme="dark"] .requirement-card small,
:root[data-theme="dark"] .economy-card p,
:root[data-theme="dark"] .idm-copy > p,
:root[data-theme="dark"] .idm-year small,
:root[data-theme="dark"] .letter-copy > p,
:root[data-theme="dark"] .letter-steps small,
:root[data-theme="dark"] .letter-trust small,
:root[data-theme="dark"] .letter-field > span,
:root[data-theme="dark"] .budget-heading-meta > small,
:root[data-theme="dark"] .budget-card-total span,
:root[data-theme="dark"] .budget-realization-label,
:root[data-theme="dark"] .budget-detail-row,
:root[data-theme="dark"] .budget-card-note,
:root[data-theme="dark"] .planning-card p,
:root[data-theme="dark"] .org-chart-title small,
:root[data-theme="dark"] .org-leader small,
:root[data-theme="dark"] .org-node small,
:root[data-theme="dark"] .org-note,
:root[data-theme="dark"] .governance-detail-card p,
:root[data-theme="dark"] .sample-notice,
:root[data-theme="dark"] .news-footnote,
:root[data-theme="dark"] .gallery-note,
:root[data-theme="dark"] .data-note,
:root[data-theme="dark"] .letter-widget > p { color: #b8c7bd; }
:root[data-theme="dark"] .section-overline,
:root[data-theme="dark"] .profile-data-card > small,
:root[data-theme="dark"] .institution-card-status,
:root[data-theme="dark"] .regulation-card > small,
:root[data-theme="dark"] .governance-detail-card > small,
:root[data-theme="dark"] .planning-card small,
:root[data-theme="dark"] .letter-panel-heading small,
:root[data-theme="dark"] .data-group-heading small { color: #e4ca68; }
:root[data-theme="dark"] .signature-mark,
:root[data-theme="dark"] .identity-icon,
:root[data-theme="dark"] .apparatus-avatar,
:root[data-theme="dark"] .widget-icon,
:root[data-theme="dark"] .profile-data-icon,
:root[data-theme="dark"] .institution-icon,
:root[data-theme="dark"] .regulation-icon,
:root[data-theme="dark"] .requirement-icon,
:root[data-theme="dark"] .economy-icon,
:root[data-theme="dark"] .letter-panel-icon,
:root[data-theme="dark"] .letter-steps > div > span,
:root[data-theme="dark"] .planning-card-icon,
:root[data-theme="dark"] .governance-detail-icon { color: #70d5aa; background: #213b2d; }
:root[data-theme="dark"] .welcome-signature,
:root[data-theme="dark"] .identity-row,
:root[data-theme="dark"] .agenda-list > div,
:root[data-theme="dark"] .news-card-footer,
:root[data-theme="dark"] .budget-detail-group,
:root[data-theme="dark"] .budget-details,
:root[data-theme="dark"] .org-chart-title { border-color: #344b3d; }
:root[data-theme="dark"] .demo-pill,
:root[data-theme="dark"] .demo-label,
:root[data-theme="dark"] .institution-card-status,
:root[data-theme="dark"] .service-status { border-color: #5d5130; color: #ecd987; background: #302b1c; }
:root[data-theme="dark"] .data-status { color: #e0cb7c; }
:root[data-theme="dark"] .data-status i { background: #dfc45a; }
:root[data-theme="dark"] .letter-field { border-color: #405849; background: #142119; }
:root[data-theme="dark"] .letter-field input,
:root[data-theme="dark"] .letter-field select { color: #edf5ef; }
:root[data-theme="dark"] .letter-field input::placeholder { color: #a0b1a5; }
:root[data-theme="dark"] .letter-panel .letter-notice,
:root[data-theme="dark"] .sample-notice { border-color: #5c5130; color: #e7d99e; background: #2c291c; }
:root[data-theme="dark"] .news-card { border-color: #344b3d; background: #192820; }
:root[data-theme="dark"] .news-category { color: #183b2d; background: #e8c449; }
:root[data-theme="dark"] .news-more,
:root[data-theme="dark"] .slider-controls button,
:root[data-theme="dark"] .outline-link { border-color: #405849; color: #dce7df; background: #1b2b22; }
:root[data-theme="dark"] .outline-link:hover,
:root[data-theme="dark"] .slider-controls button:hover { border-color: #14805b; color: #fff; background: #087250; }
:root[data-theme="dark"] .data-empty { background: #1d2b23; }
:root[data-theme="dark"] .agenda-dot { box-shadow: 0 0 0 4px #213b2d; }
:root[data-theme="dark"] .agenda-dot.gold { box-shadow: 0 0 0 4px #39321e; }
:root[data-theme="dark"] .agenda-dot.blue { box-shadow: 0 0 0 4px #1f3040; }
:root[data-theme="dark"] .statistic-links a:hover { color: #e6d274; background: #23372a; }
:root[data-theme="dark"] .data-topic { background: #1b2a22; }
:root[data-theme="dark"] .data-topic > :is(svg, i[class^="fa-"]),
:root[data-theme="dark"] .data-empty > :is(svg, i[class^="fa-"]) { color: #70d5aa; }
:root[data-theme="dark"] .budget-progress { background: #2b3d32; }
:root[data-theme="dark"] .budget-disclaimer,
:root[data-theme="dark"] .news-footnote { border-color: #524a2e; color: #e1d39c; background: #29271d; }
:root[data-theme="dark"] .site-nav .theme-switch-track { border-color: #42614e; background: #25382b; }
:root[data-theme="dark"] .site-nav .theme-toggle-input:checked + .theme-switch-track { background: #176341; }
:root[data-theme="dark"] .section-overline { color: #fff; }
:root[data-theme="dark"] .shortcut-card,
:root[data-theme="dark"] .news-empty,
:root[data-theme="dark"] .letter-alert { border-color: #344b3d; color: #dce7df; background: #192820; }
:root[data-theme="dark"] .shortcut-card b,
:root[data-theme="dark"] .welcome-signature b,
:root[data-theme="dark"] .identity-card-heading b,
:root[data-theme="dark"] .org-chart-title b,
:root[data-theme="dark"] .org-leader b,
:root[data-theme="dark"] .org-node b { color: #edf5ef; }
:root[data-theme="dark"] .shortcut-card small,
:root[data-theme="dark"] .welcome-signature small,
:root[data-theme="dark"] .identity-card-heading small,
:root[data-theme="dark"] .org-note { color: #b8c7bd; }
:root[data-theme="dark"] .shortcut-card:hover { border-color: #4d755d; color: #f0d878; background: #20352a; }
:root[data-theme="dark"] .signature-mark,
:root[data-theme="dark"] .identity-icon,
:root[data-theme="dark"] .apparatus-avatar,
:root[data-theme="dark"] .widget-icon,
:root[data-theme="dark"] .profile-data-icon,
:root[data-theme="dark"] .institution-icon,
:root[data-theme="dark"] .regulation-icon,
:root[data-theme="dark"] .requirement-icon,
:root[data-theme="dark"] .economy-icon,
:root[data-theme="dark"] .letter-panel-icon,
:root[data-theme="dark"] .planning-card-icon,
:root[data-theme="dark"] .governance-detail-icon,
:root[data-theme="dark"] .letter-steps > div > span { color: #78ddb1; background: #213b2d; }
:root[data-theme="dark"] .text-link,
:root[data-theme="dark"] .profile-card-link,
:root[data-theme="dark"] .identity-map,
:root[data-theme="dark"] .apparatus-arrow,
:root[data-theme="dark"] .statistic-links :is(svg, i[class^="fa-"]),
:root[data-theme="dark"] .org-node > :is(svg, i[class^="fa-"]) { color: #78ddb1; }
:root[data-theme="dark"] .news-card-footer,
:root[data-theme="dark"] .welcome-signature,
:root[data-theme="dark"] .identity-row,
:root[data-theme="dark"] .agenda-list > div { border-color: #344b3d; }
:root[data-theme="dark"] .news-empty { border-style: dashed; }
:root[data-theme="dark"] .letter-alert { color: #e4dba8; background: #2a291e; }
:root[data-theme="dark"] .letter-alert :is(svg, i[class^="fa-"]) { color: #e2ca69; }
:root[data-theme="dark"] .economy-card > small,
:root[data-theme="dark"] .identity-card-heading small,
:root[data-theme="dark"] .regulation-card > small,
:root[data-theme="dark"] .governance-detail-card > small { color: #e4ca68; }
:root[data-theme="dark"] .topic-empty,
:root[data-theme="dark"] .profile-card-link { color: #8ce0b9; }
:root[data-theme="dark"] .data-topic,
:root[data-theme="dark"] .statistic-links a { box-shadow: inset 0 0 0 1px #ffffff04; }
:root[data-theme="dark"] .news-card-footer :is(svg, i[class^="fa-"]),
:root[data-theme="dark"] .news-meta :is(svg, i[class^="fa-"]) { color: #d7c063; }
:root[data-theme="dark"] .search-input,
:root[data-theme="dark"] input[type="search"] { color-scheme: light; }
#toast-container { z-index: 99999999 !important; }
#toast-container>div { width: min(360px,calc(100vw - 28px)); padding: 14px 15px 14px 50px; border-radius: 12px; box-shadow: 0 16px 40px #0927192e; font: 600 12px/1.55 'DM Sans',sans-serif; opacity: .98; }
#toast-container .toast-title { margin-bottom: 3px; font-weight: 800; }
#toast-container>.toast-success { background-color: #12845b; }
#toast-container>.toast-error { background-color: #c94143; }
#toast-container>.toast-info { background-color: #2877a8; }
#toast-container>.toast-warning { background-color: #a57917; }
:root[data-theme="dark"] #toast-container>div { box-shadow: 0 16px 40px #0008; }
.turbo-progress-bar { height: 3px; background: linear-gradient(90deg,#e8c94e,#18a675); }
::view-transition-old(root),::view-transition-new(root) { animation-duration: .24s; }

/* Gallery viewport clips overflow so only the configured slides are visible. */
.gallery-swiper { width: 100%; overflow: hidden; border-radius: 10px; }
.gallery-swiper .swiper-wrapper { align-items: stretch; }
.gallery-swiper .gallery-card { width: auto; }
.gallery-prev, .gallery-next { flex: 0 0 38px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.gallery-prev:hover, .gallery-next:hover { transform: translateY(-2px); }
@media (max-width: 559.98px) {
    .gallery-title { align-items: flex-end; }
    .gallery-title .section-overline { max-width: 100%; }
    .gallery-card { height: clamp(220px, 72vw, 310px); }
    .gallery-card figcaption { right: 13px; bottom: 13px; left: 13px; }
    .gallery-card figcaption b { font-size: 14px; }
    .gallery-title .slider-controls { flex: 0 0 auto; gap: 6px; }
    .gallery-title .slider-controls button { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 600px) {
    .village-hero-symbol { top: 6%; right: -4%; width: 165px; opacity: .1; }
}
.login-submit:disabled { cursor: wait; opacity: .88; }
.login-submit.is-loading .login-submit-icon { display: inline-flex; animation: loginSubmitSpin .8s linear infinite; }
.login-submit.is-loading:hover { transform: none; box-shadow: 0 8px 18px #0a65442e; }
@keyframes loginSubmitSpin { to { transform: rotate(360deg); } }

/* Refined village header and complete APBDes theme contrast. */
.site-header {
    isolation: isolate;
    border-bottom-color: #d9e7dd;
    background: linear-gradient(112deg, #fff 0%, #fbfdfb 48%, #edf6f0 100%);
    box-shadow: 0 8px 24px #173b250d;
}
.site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #16845b70 18%, #d3b64e 50%, #16845b70 82%, transparent);
    content: "";
    pointer-events: none;
}
:root[data-theme="dark"] .site-header {
    border-bottom-color: #294839;
    color: #e5efe8;
    background: linear-gradient(112deg, #0c2119 0%, #102b20 48%, #123527 100%);
    box-shadow: 0 8px 26px #0005;
}
:root[data-theme="dark"] .site-header::after {
    background: linear-gradient(90deg, transparent, #44a87980 18%, #c4a742 50%, #44a87980 82%, transparent);
}
:root[data-theme="dark"] .brand-name { color: #f0f5f1; }
:root[data-theme="dark"] .brand-name small { color: #d7c574; }
:root[data-theme="dark"] .nav-link { color: #d2dfd6; }
:root[data-theme="dark"] .nav-link:hover,
:root[data-theme="dark"] .nav-link.active { color: #f0d267; }
:root[data-theme="dark"] .budget-section { background: #101a15; }
:root[data-theme="dark"] .budget-ribbon { border-bottom-color: #31463a; }
:root[data-theme="dark"] .budget-heading-label > small,
:root[data-theme="dark"] .budget-heading-meta > small { color: #bac8be; }
:root[data-theme="dark"] .budget-heading-meta > small i { color: #68c99a; }
:root[data-theme="dark"] .budget-card-header .budget-card-icon {
    border-color: #ffffff48;
    color: #fff;
    background: #ffffff1a;
}
:root[data-theme="dark"] .budget-card-sisa .budget-card-header { background: linear-gradient(135deg, #76570f, #9a7419); }
:root[data-theme="dark"] .budget-card-kicker { color: #f2fbf5; }
:root[data-theme="dark"] .budget-card-body { border-color: #2b4035; }
:root[data-theme="dark"] .budget-details summary { color: #c3d2c8; }
:root[data-theme="dark"] .budget-details summary:hover { color: #76d9ab; }
:root[data-theme="dark"] .budget-detail-group > b { color: #81d9ad; }
:root[data-theme="dark"] .budget-card-note { border-color: #344d3d; background: #1b2c22; }
:root[data-theme="dark"] .budget-card-note i { color: #79d9ad; }
:root[data-theme="dark"] .budget-disclaimer { border-color: #554b2c; color: #e7dba7; background: #29271d; }
:root[data-theme="dark"] .planning-card { border-color: #2b4035; background: #17251d; }

/* Hero has its own dark palette so it visibly follows the selected theme. */
:root[data-theme="dark"] .village-hero {
    color: #f1f6f2;
    background: radial-gradient(ellipse at 78% 22%, #123b2a 0, transparent 42%), linear-gradient(115deg, #07130e 0%, #0b1d14 52%, #10271b 100%);
}
:root[data-theme="dark"] .village-hero-image {
    opacity: .08;
    filter: saturate(.65) brightness(.62);
}
:root[data-theme="dark"] .village-hero-shade {
    background: linear-gradient(90deg, #030906f2 0%, #07140fe8 54%, #0b1b13d9 100%), linear-gradient(0deg, #030805 0, #07140f88 48%, transparent 100%);
}
:root[data-theme="dark"] .village-hero::after {
    border-color: #8db69a20;
    box-shadow: 0 0 0 45px #91b29b08, 0 0 0 90px #91b29b05;
}
:root[data-theme="dark"] .village-hero-symbol { color: #84b797; opacity: .075; }
:root[data-theme="dark"] .hero-kicker { border-color: #c4a74265; color: #f0d578; background: #d5b94a0b; }
:root[data-theme="dark"] .hero-location-label { color: #f0d578; }
:root[data-theme="dark"] .hero-lead,
:root[data-theme="dark"] .hero-links a { color: #c1d0c6; }
:root[data-theme="dark"] .hero-slogan-values span { border-color: #8ab89a35; color: #e3eee7; background: #ffffff08; }
:root[data-theme="dark"] .hero-links a:hover { color: #f0d578; }
:root[data-theme="dark"] .village-search {
    border-color: #405749;
    background: #14251b;
    box-shadow: 0 14px 34px #0006;
}
:root[data-theme="dark"] .village-search > :is(svg, i[class^="fa-"]) { color: #9db3a4; }
:root[data-theme="dark"] .village-search input { color: #e4eee7; }
:root[data-theme="dark"] .village-search input::placeholder { color: #9aada0; }
:root[data-theme="dark"] .hero-photo-card::before { border-color: #c4a74266; }
:root[data-theme="dark"] .hero-photo-card > img { border-color: #d5e4d622; box-shadow: 0 24px 60px #0009; }
:root[data-theme="dark"] .hero-photo-badge { border-color: #a8c1b04d; background: #08150fc9; }
:root[data-theme="dark"] .hero-photo-caption { border-color: #31483a; color: #e2ece5; background: #14251b; box-shadow: 0 16px 35px #0008; }
:root[data-theme="dark"] .hero-photo-caption > span { color: #73d1a2; background: #203b2c; }
:root[data-theme="dark"] .hero-photo-caption small { color: #e2c760; }

/* Refined logo lockup for the navigation and the dark footer. */
.site-header .brand { gap: 11px; }
.site-header .brand-mark,
.site-footer .brand-mark {
    width: 52px;
    height: 62px;
    flex: 0 0 52px;
    padding: 4px;
    overflow: hidden;
    border: 2px solid #e5c355;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 30%, #0d5e44, #052a1e);
    box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 16px rgba(220,184,60,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}
.site-header .brand-mark img,
.site-footer .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.site-header .brand:hover .brand-mark,
.site-footer .brand:hover .brand-mark {
    box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 20px rgba(220,184,60,.35);
    transform: translateY(-2px);
}
.site-header .brand-name {
    color: #173d2c;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .055em;
}
.site-header .brand-name small {
    color: #718b78;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .13em;
}
.site-footer .brand-name { color: #f4f8f4; font-size: 13px; letter-spacing: .055em; }
.site-footer .brand-name small { color: #e2c95f; font-size: 8px; letter-spacing: .13em; }
:root[data-theme="dark"] .site-header .brand-mark {
    border-color: #c8aa43;
    background: linear-gradient(145deg, #f7f3dd, #dce8d8);
    box-shadow: 0 4px 14px #0005, inset 0 0 0 2px #fff9;
}
:root[data-theme="dark"] .site-header .brand-name { color: #f2f6f2; }
:root[data-theme="dark"] .site-header .brand-name small { color: #e1ca70; }
:root[data-theme="dark"] .site-footer .brand-mark {
    border-color: #c7aa45;
    background: linear-gradient(145deg, #f8f4df, #dce9dd);
}
:root[data-theme="dark"] .site-footer .brand-name { color: #f4f8f4; }
:root[data-theme="dark"] .site-footer .brand-name small { color: #e4cd72; }
@media (max-width: 600px) {
    .site-header .brand-mark { width: 37px; height: 46px; flex-basis: 37px; padding: 2px; }
    .site-header .brand { gap: 8px; }
}

/* Accessible scroll reveals powered by the local AnimateOnScroll helper. */
.animate-pending {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity .62s cubic-bezier(.2,.7,.2,1), transform .62s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--animate-delay, 0ms);
}
.animate-pending[data-animate="slide"] { transform: translate3d(18px, 0, 0); }
.animate-pending.is-animated { opacity: 1; transform: translate3d(0, 0, 0); }

/* Floating chat window and controls. Stack: Chat(18px) → Difabel(76px) → Back-to-top(136px) */
.floating-help,
.back-to-top { right: 20px; z-index: 42; }
.floating-help {
    bottom: 18px;
    min-width: 52px;
    height: 48px;
    border-color: #d5b443;
    border-radius: 25px;
    background: linear-gradient(120deg, #07533c, #0d7654);
    box-shadow: 0 12px 30px #06271d52;
    font-size: 11px;
}
.floating-help:hover { box-shadow: 0 15px 34px #06271d66; }
.floating-help > i { width: 18px; height: 18px; }
.back-to-top { right: 20px; bottom: 136px; z-index: 9901; box-shadow: 0 7px 20px #071b1240; }
.chat-window {
    position: fixed;
    right: 20px;
    bottom: 78px;
    z-index: 44;
    width: min(390px, calc(100vw - 32px));
    height: min(620px, calc(100dvh - 200px));
    max-height: min(620px, calc(100dvh - 200px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe7dd;
    border-radius: 18px;
    color: #243b2f;
    background: #fff;
    box-shadow: 0 22px 64px #071d1452;
    transform-origin: bottom right;
    animation: chatWindowIn .22s ease-out both;
}
.chat-window[hidden] { display: none !important; }
.chat-header { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; padding: 15px 15px 14px; color: #fff; background: linear-gradient(115deg, #064b36, #0c805a); }
.chat-header-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid #f0d2647a; border-radius: 12px; color: #f0d264; background: #ffffff16; font-size: 17px; }
.chat-header-copy { min-width: 0; }
.chat-header-copy h2 { margin: 0; color: #fff; font: 800 14px var(--font-display); }
.chat-header-copy > span { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: #d0e5d8; font-size: 10px; }
.chat-header-copy > span i { width: 7px; height: 7px; border-radius: 50%; background: #75e1a6; box-shadow: 0 0 0 3px #75e1a62a; }
.chat-close { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; margin-left: auto; border: 1px solid #ffffff38; border-radius: 10px; color: #fff; background: #ffffff12; cursor: pointer; transition: background .18s, transform .18s; }
.chat-close:hover { background: #ffffff25; transform: rotate(5deg); }
.chat-body { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 15px; }
.chat-conversation { min-height: 0; height: 100%; display: flex; flex: 1 1 auto; flex-direction: column; }
.chat-conversation[hidden] { display: none !important; }
.chat-widget.has-active-conversation .chat-body { display: flex; overflow: hidden; }
.chat-session-notice { display:flex; flex:0 0 auto; align-items:flex-start; gap:8px; padding:10px 12px; border-bottom:1px solid #e7eee8; color:#718278; background:#fbfdfb; font-size:10px; line-height:1.45; }
.chat-session-notice i { flex:0 0 auto; margin-top:1px; color:#16815e; }
.chat-transcript { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 2px 8px 0; scrollbar-width: thin; }
.chat-compose-form,.chat-conversation>.chat-privacy-note { flex: 0 0 auto; }
.chat-message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 13px; }
.chat-message-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; color: #087452; background: #eaf4ed; font-size: 12px; }
.chat-message p { max-width: 280px; margin: 0; padding: 10px 11px; border: 1px solid #e7eee8; border-radius: 4px 12px 12px; color: #516458; background: #f7faf7; font-size: 11px; line-height: 1.55; }
.chat-profile-form { display: grid; gap: 7px; padding: 12px; border: 1px solid #e4ece5; border-radius: 13px; background: #fbfdfb; }
.chat-form-heading { margin: 0 0 3px; color: #355143; font-size: 11px; font-weight: 750; }
.chat-profile-form label { margin-top: 4px; color: #52665a; font-size: 10px; font-weight: 750; }
.chat-profile-form input,
.chat-profile-form select,
.chat-compose-form textarea { width: 100%; min-width: 0; border: 1px solid #dce7de; border-radius: 9px; outline: 0; color: #213b2e; background: #fff; font: 12px var(--font-body); transition: border-color .18s, box-shadow .18s; }
.chat-profile-form input,
.chat-profile-form select { height: 39px; padding: 0 10px; }
.chat-profile-form :is(input, select):focus,
.chat-compose-form textarea:focus { border-color: #39a879; box-shadow: 0 0 0 3px #22a5731b; }
.chat-profile-form input::placeholder,
.chat-compose-form textarea::placeholder { color: #9aa99e; }
.chat-start-button { height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 5px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(110deg, #08704e, #0b8b61); box-shadow: 0 7px 18px #08704e24; font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.chat-start-button:hover { box-shadow: 0 10px 22px #08704e35; transform: translateY(-1px); }
.chat-privacy-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: #819087; font-size: 9px; line-height: 1.5; }
.chat-privacy-note i { color: #0b8058; }
.chat-visitor-summary { display: inline-flex; margin: 0 0 13px 36px; padding: 7px 10px; border: 1px solid #dceee3; border-radius: 10px; color: #16724e; background: #f0f8f2; font-size: 10px; font-weight: 750; }
.chat-compose-form { display: flex; align-items: flex-end; gap: 8px; padding: 7px; border: 1px solid #dce7de; border-radius: 12px; background: #fff; }
.chat-compose-form textarea { min-height: 48px; max-height: 110px; resize: vertical; padding: 8px; border-color: transparent; }
.chat-compose-form textarea:focus { border-color: #39a879; }
.chat-compose-form button { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #fff; background: #087853; cursor: pointer; }
.chat-compose-form button:hover { background: #075b42; }
.chat-compose-form .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@keyframes chatWindowIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) {
    .site-footer .brand-mark { width: 39px; height: 47px; flex-basis: 39px; padding: 2px; }
    .floating-help { right: 14px; bottom: 15px; height: 45px; }
    .back-to-top { right: 19px; bottom: 130px; }
    .chat-window { right: 12px; bottom: 72px; width: calc(100vw - 24px); height: min(620px,calc(100dvh - 160px)); max-height: calc(100dvh - 160px); }
}
:root[data-theme="dark"] .chat-window { border-color: #32493a; color: #e2ece4; background: #15241b; box-shadow: 0 22px 64px #0009; }
:root[data-theme="dark"] .chat-header { background: linear-gradient(115deg, #052f23, #086044); }
:root[data-theme="dark"] .chat-message-avatar { color: #75d7a7; background: #20392b; }
:root[data-theme="dark"] .chat-message p { border-color: #314639; color: #c4d2c8; background: #1b2c21; }
:root[data-theme="dark"] .chat-profile-form { border-color: #304638; background: #192a20; }
:root[data-theme="dark"] .chat-form-heading,
:root[data-theme="dark"] .chat-profile-form label { color: #cbd8ce; }
:root[data-theme="dark"] .chat-profile-form :is(input, select),
:root[data-theme="dark"] .chat-compose-form,
:root[data-theme="dark"] .chat-compose-form textarea { border-color: #3b5344; color: #e2ece4; background: #122018; }
:root[data-theme="dark"] .chat-profile-form input::placeholder,
:root[data-theme="dark"] .chat-compose-form textarea::placeholder { color: #91a396; }
:root[data-theme="dark"] .chat-privacy-note { color: #a1b2a6; }
:root[data-theme="dark"] .chat-privacy-note i { color: #7cdaa9; }
:root[data-theme="dark"] .chat-visitor-summary { border-color: #355140; color: #91dfb4; background: #203b2b; }
:root[data-theme="dark"] .chat-session-notice { border-color:#304638; color:#a8b8ad; background:#18271f; }
:root[data-theme="dark"] .chat-session-notice i { color:#7cdaa9; }
@media (prefers-reduced-motion: reduce) {
    .animate-pending,
    .animate-pending[data-animate="slide"] { opacity: 1; transform: none; transition: none; }
    .chat-window { animation: none; }
}

/* Icon-first chat action: reveal its label on hover, focus, or while open. */
.floating-help {
    width: 50px;
    min-width: 50px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width .24s ease, min-width .24s ease, gap .24s ease, padding .24s ease, box-shadow .2s ease, background .2s ease;
}
.floating-help > i { flex: 0 0 18px; }
.floating-help span { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; transform: translateX(6px); transition: max-width .24s ease, opacity .16s ease, transform .24s ease; }
.floating-help:is(:hover, :focus-visible, .is-open) { width: 158px; min-width: 158px; gap: 9px; padding-inline: 15px; }
.floating-help:is(:hover, :focus-visible, .is-open) span { max-width: 112px; opacity: 1; transform: translateX(0); }

/* Mid-right visitor counter: a round count badge reveals its detail tab. */
.visitor-statistics {
    position: fixed;
    top: 50%;
    right: 17px;
    z-index: 44;
    width: 58px;
    height: 58px;
    transform: translateY(-50%);
}
.visitor-statistics-panel {
    position: absolute;
    top: 50%;
    right: 70px;
    width: 236px;
    padding: 16px 14px 13px;
    border: 1px solid #dce8de;
    border-radius: 16px;
    color: #294436;
    background: linear-gradient(145deg, #fff 0%, #f4faf5 100%);
    box-shadow: 0 16px 42px #1239231f;
    opacity: 0;
    pointer-events: none;
    transform: translate(9px, -50%);
    visibility: hidden;
    transition: opacity .2s ease, transform .24s ease, visibility .2s;
}
.visitor-statistics.is-open .visitor-statistics-panel { opacity: 1; pointer-events: auto; transform: translate(0, -50%); visibility: visible; }
.visitor-statistics-toggle {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    border: 1px solid #d8b744;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #0e805a, #07543e);
    box-shadow: 0 11px 28px #071b1245, inset 0 0 0 3px #ffffff12;
    cursor: pointer;
    transition: color .18s, background .18s, transform .18s, box-shadow .18s;
}
.visitor-statistics-toggle > i { color: #f4d56b; font-size: 11px; }
.visitor-statistics-toggle > span { max-width: 48px; overflow: hidden; color: #fff; font: 850 14px/1.1 var(--font-display); font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.visitor-statistics-toggle:hover,
.visitor-statistics-toggle:focus-visible,
.visitor-statistics.is-open .visitor-statistics-toggle { background: linear-gradient(145deg, #15956b, #08644a); box-shadow: 0 14px 30px #071b1252, inset 0 0 0 3px #ffffff20; transform: scale(1.04); }
.visitor-statistics-heading { display: flex; align-items: center; gap: 9px; padding-right: 31px; }
.visitor-statistics-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid #d3e9d8; border-radius: 11px; color: #0f8057; background: #e9f5eb; font-size: 15px; }
.visitor-statistics-heading small,
.visitor-statistics-heading b { display: block; }
.visitor-statistics-heading small { color: #9a7c2d; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.visitor-statistics-heading b { margin-top: 3px; color: #163d2c; font: 800 12px var(--font-display); }
.visitor-statistics-list { display: grid; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e7eee7; }
.visitor-statistics-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #728278; font-size: 10px; }
.visitor-statistics-list b { color: #0a7852; font: 850 14px var(--font-display); font-variant-numeric: tabular-nums; }
.visitor-statistics-panel > p { display: flex; align-items: flex-start; gap: 6px; margin: 11px 0 0; color: #7c8b81; font-size: 8px; line-height: 1.5; }
.visitor-statistics-panel > p i { margin-top: 1px; color: #16815b; }
.visitor-statistics-note { display: block; margin-top: 7px; color: #9b7827; font-size: 8px; line-height: 1.5; }
.visitor-statistics-panel[hidden] { display: none !important; }
.visitor-statistics-toggle:focus-visible,
.floating-help:focus-visible,
.back-to-top:focus-visible { outline: 3px solid #e3c354; outline-offset: 3px; }
@media (max-width: 1000px) {
    .visitor-statistics { right: 12px; }
    .visitor-statistics-panel { right: 68px; width: min(236px, calc(100vw - 92px)); }
    .visitor-statistics-toggle { width: 54px; height: 54px; }
}
:root[data-theme="dark"] .visitor-statistics-panel { border-color: #344b3d; color: #dce7df; background: linear-gradient(145deg, #1a2a21, #14221a); box-shadow: 0 16px 42px #0008; }
:root[data-theme="dark"] .visitor-statistics-toggle { border-color: #c4a842; color: #f4f7f4; background: linear-gradient(145deg, #0b6849, #062e21); }
:root[data-theme="dark"] .visitor-statistics-toggle:hover,
:root[data-theme="dark"] .visitor-statistics-toggle:focus-visible,
:root[data-theme="dark"] .visitor-statistics.is-open .visitor-statistics-toggle { color: #fff; background: linear-gradient(145deg, #12855c, #07563d); }
:root[data-theme="dark"] .visitor-statistics-icon { border-color: #355341; color: #83ddb0; background: #203b2c; }
:root[data-theme="dark"] .visitor-statistics-heading small { color: #e2c966; }
:root[data-theme="dark"] .visitor-statistics-heading b { color: #eef5ef; }
:root[data-theme="dark"] .visitor-statistics-list { border-color: #344b3d; }
:root[data-theme="dark"] .visitor-statistics-list > div,
:root[data-theme="dark"] .visitor-statistics-panel > p { color: #b7c7bc; }
:root[data-theme="dark"] .visitor-statistics-list b,
:root[data-theme="dark"] .visitor-statistics-panel > p i { color: #79d9aa; }
:root[data-theme="dark"] .visitor-statistics-note { color: #e2ca71; }

/* Keep every public section and its copy readable in dark mode. */
:root[data-theme="dark"] main > section { background-color: #111d17; }
:root[data-theme="dark"] .idm-section { color: #eaf2ec; background: linear-gradient(120deg, #07130d, #0b2418 68%, #103322); }
:root[data-theme="dark"] main :is(p, small, label, dt, dd, li) { color: #b8c7bd; }
:root[data-theme="dark"] main :is(h1, h2, h3, h4, h5, h6, strong, b, label) { color: #edf5ef; }
:root[data-theme="dark"] main .section-overline,
:root[data-theme="dark"] main .section-title-row .section-overline { color: #f0d578; }
:root[data-theme="dark"] main :is(input, select, textarea) { color: #e6eee8; }
:root[data-theme="dark"] main :is(input, select, textarea)::placeholder { color: #9fb1a4; }
:root[data-theme="dark"] main .letter-submit,
:root[data-theme="dark"] main .chat-start-button { color: #fff; }
@media (prefers-reduced-motion: reduce) {
    .floating-help,
    .floating-help span,
    .visitor-statistics-toggle { transition: none; }
}
:root[data-theme="dark"] .profile-public-details { border-color: #304b3c; color: #c4d6ca; }
:root[data-theme="dark"] .profile-public-details summary { color: #5bd1a0; }
:root[data-theme="dark"] .profile-public-details > div { color: #b4c6ba; }
:root[data-theme="dark"] .profile-empty-state { border-color: #355744; background: #15251c; }
:root[data-theme="dark"] .profile-empty-state > span { color: #72d6ab; background: #203b2c; }
:root[data-theme="dark"] .profile-empty-state b { color: #e1eee5; }
:root[data-theme="dark"] .profile-empty-state p { color: #a6b9ac; }

/* Latest publications slider */
.article-actions { display: flex; align-items: center; gap: 14px; }
.news-total { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #e0eae1; border-radius: 999px; color: #367359; background: #f5faf6; font-size: 10px; font-weight: 800; white-space: nowrap; }
.news-total i { color: #c29b2c; }
.news-swiper { overflow: hidden; padding: 5px 3px 42px; }
.news-card { display: flex; flex-direction: column; height: auto; border-color: #e1eae2; border-radius: 18px; box-shadow: 0 12px 30px #143d260c; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px #143d2618; }
.news-image { height: 225px; flex: 0 0 auto; background: linear-gradient(135deg,#d9e9df,#b9d1c1); }
.news-image::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(0deg,#062c20b8,transparent); pointer-events: none; }
.news-image img { transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.news-category { z-index: 1; top: 14px; bottom: auto; left: 14px; padding: 7px 10px; border: 1px solid #ffffff72; border-radius: 999px; color: #104832; background: #f8fff1eF; font-size: 9px; letter-spacing: .04em; }
.news-image-index { position: absolute; z-index: 1; right: 15px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; color: #fff; background: #073d2d80; font: 800 11px var(--font-display); backdrop-filter: blur(8px); }
.news-body { display: flex; flex: 1; flex-direction: column; min-height: 220px; padding: 19px 19px 16px; }
.news-meta { gap: 9px; font-size: 10px; }
.news-type { padding: 4px 8px; border-radius: 999px; color: #087653; background: #eaf5ed; font-size: 9px; font-weight: 800; }
.news-body h3 { margin: 12px 0 0; font-size: 16px; line-height: 1.45; }
.news-body h3 a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-excerpt { display: -webkit-box; overflow: hidden; margin: 8px 0 15px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-card-footer { margin-top: auto; }
.news-empty-published { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 175px; padding: 28px; border: 1px dashed #cbdccf; border-radius: 18px; background: linear-gradient(135deg,#fbfdfb,#f1f7f2); text-align: left; }
.news-empty-published > span { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 17px; color: #0e8058; background: #e4f2e8; font-size: 21px; }
.news-empty-published b { color: #173d2c; font: 800 16px var(--font-display); }
.news-empty-published p { margin: 5px 0 0; color: #78887e; font-size: 12px; }
.news-swiper .swiper-pagination-bullet { transition: width .25s ease,background .25s ease; }
:root[data-theme="dark"] .news-total { border-color: #334c3d; color: #c3d7ca; background: #1b2b22; }
:root[data-theme="dark"] .news-type { color: #85dbad; background: #203b2c; }
:root[data-theme="dark"] .news-category { border-color: #d2e7d8a6; color: #073d2b; background: #ecf7edeb; }
:root[data-theme="dark"] .news-empty-published { border-color: #3a5745; background: linear-gradient(135deg,#192920,#14221a); }
:root[data-theme="dark"] .news-empty-published > span { color: #83ddb0; background: #203b2c; }
:root[data-theme="dark"] .news-empty-published b { color: #e6f0e9; }
:root[data-theme="dark"] .news-empty-published p { color: #a8b9ad; }
@media (max-width: 760px) {
    .article-actions { gap: 8px; }
    .news-total { padding: 7px 9px; font-size: 9px; }
    .news-image { height: 205px; }
    .news-body { min-height: 205px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .news-card, .news-image img, .news-swiper .swiper-pagination-bullet { transition: none; }
}

.hero-photo-card { isolation: isolate; }
.hero-news-swiper, .hero-news-empty { position: relative; z-index: 1; overflow: hidden; height: 350px; border: 4px solid #ffffff24; border-radius: 14px; background: #103d2d; box-shadow: 0 26px 65px #00180f68; }
.hero-news-slide, .hero-news-empty { position: relative; height: 100%; }
.hero-news-slide::after, .hero-news-empty::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg,#031d1552 0%,transparent 32%,#031d15d9 100%); pointer-events: none; }
.hero-news-slide > img, .hero-news-empty > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform 5.5s ease; }
.hero-news-swiper:hover .swiper-slide-active > img { transform: scale(1.045); }
.hero-news-slide .hero-photo-badge, .hero-news-empty .hero-photo-badge { z-index: 2; top: 17px; left: 17px; border-radius: 999px; }
.hero-news-slide .hero-photo-caption, .hero-news-empty .hero-photo-caption { z-index: 2; right: auto; bottom: 22px; left: 18px; display: flex; width: min(78%, 430px); max-width: calc(100% - 36px); align-items: flex-start; padding: 0; border: 0; color: #fff; background: transparent; box-shadow: none; }
.hero-news-slide .hero-photo-caption > span, .hero-news-empty .hero-photo-caption > span { flex: 0 0 42px; color: #0e7956; background: #f4f8ef; }
.hero-news-slide .hero-photo-caption small, .hero-news-empty .hero-photo-caption small { overflow: hidden; margin: 0 0 7px; color: #f1d36a; font-size: 9px; text-overflow: ellipsis; }
.hero-news-slide .hero-photo-caption b, .hero-news-empty .hero-photo-caption b { display: -webkit-box; overflow: hidden; margin: 0; color: #fff; font: 800 clamp(16px, 1.7vw, 22px)/1.35 var(--font-display); white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 12px #0006; }
.hero-news-slide .hero-photo-caption a { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #ffdf72; font-size: 10px; font-weight: 800; }
.hero-news-slide .hero-photo-caption a:hover { color: #fff; }
.hero-news-controls { position: absolute; z-index: 3; top: 15px; right: 16px; display: flex; align-items: center; gap: 7px; }
.hero-news-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffff70; border-radius: 50%; color: #fff; background: #082f24a6; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.hero-news-controls button:hover { background: #0a815a; transform: translateY(-2px); }
.hero-news-count { margin-right: 3px; color: #ffffffd9; font: 700 10px var(--font-display); text-shadow: 0 1px 8px #0008; }
.hero-news-count b { color: #f1d36a; font-size: 13px; }
.hero-news-pagination { position: absolute; z-index: 3; right: 18px; bottom: 17px; left: auto !important; display: flex; width: auto !important; gap: 3px; }
.hero-news-pagination .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 !important; background: #ffffffc9; opacity: .68; transition: width .2s; }
.hero-news-pagination .swiper-pagination-bullet-active { width: 20px; border-radius: 8px; background: #f0cf58; opacity: 1; }
.hero-news-empty { display: block; }
.hero-news-empty .hero-photo-caption { bottom: 25px; }
:root[data-theme="dark"] .hero-news-swiper, :root[data-theme="dark"] .hero-news-empty { border-color: #c7d7cc36; box-shadow: 0 26px 65px #0009; }
:root[data-theme="dark"] .hero-news-slide .hero-photo-caption, :root[data-theme="dark"] .hero-news-empty .hero-photo-caption { color: #fff; background: transparent; }
@media (max-width: 900px) {
    .hero-news-swiper, .hero-news-empty { height: clamp(280px, 48vw, 360px); }
}
@media (max-width: 600px) {
    .hero-news-swiper, .hero-news-empty { height: clamp(230px, 68vw, 320px); border-width: 3px; }
    .hero-news-slide .hero-photo-caption, .hero-news-empty .hero-photo-caption { bottom: 17px; left: 13px; width: calc(100% - 26px); max-width: none; gap: 9px; }
    .hero-news-slide .hero-photo-caption > span, .hero-news-empty .hero-photo-caption > span { width: 34px; height: 34px; flex-basis: 34px; }
    .hero-news-slide .hero-photo-caption small, .hero-news-empty .hero-photo-caption small { font-size: 8px; }
    .hero-news-slide .hero-photo-caption b, .hero-news-empty .hero-photo-caption b { font-size: 15px; }
    .hero-news-slide .hero-photo-caption a { margin-top: 7px; font-size: 9px; }
    .hero-news-controls { top: 11px; right: 11px; gap: 5px; }
    .hero-news-controls button { width: 30px; height: 30px; }
    .hero-news-count { font-size: 9px; }
    .hero-news-pagination { right: 13px; bottom: 10px; }
    .hero-news-slide .hero-photo-badge, .hero-news-empty .hero-photo-badge { top: 12px; left: 12px; max-width: 55%; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-news-slide > img { transition: none; }
}

/* Consistent framed section treatment matching the Kampong profile panel. */
main > section:is(#profil, #profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) {
    position: relative;
    padding-block: clamp(34px, 5vw, 64px);
    background: #f3f7f4;
}
main > section:is(#profil, #profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) > .site-container {
    position: relative;
    z-index: 1;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid #e2ebe3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px #153a250a;
}
.idm-section { color: #203b2e; background: #f3f7f4; }
.idm-copy .section-overline { color: #16805b; }
.idm-copy h2 { color: #173d2d; }
.idm-copy h2 em { color: #16805b; }
.idm-copy > p { color: #718076; }
.idm-years { border-color: #e0eae2; background: #f7faf8; }
.idm-year { border-color: #e3ebe4; }
.idm-year small { color: #7b8d81; }
.idm-year b { color: #173d2d; }
.idm-empty { border-color: #dfe8e0; color: #718076; background: #fff; }
.idm-years .sample-notice { color: #78887e; }
main > section#hubungi { padding-bottom: clamp(34px, 5vw, 64px); }
:root[data-theme="dark"] main > section:is(#profil, #profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) { background: #111d17; }
:root[data-theme="dark"] main > section:is(#profil, #profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) > .site-container { border-color: #2b4035; background: #17251d; box-shadow: 0 16px 42px #0002; }
:root[data-theme="dark"] .idm-section { color: #dce7df; background: #111d17; }
:root[data-theme="dark"] .idm-copy .section-overline,
:root[data-theme="dark"] .idm-copy h2 em { color: #60d1a2; }
:root[data-theme="dark"] .idm-copy h2 { color: #edf5ef; }
:root[data-theme="dark"] .idm-copy > p,
:root[data-theme="dark"] .idm-years .sample-notice { color: #a6b6ab; }
:root[data-theme="dark"] .idm-years { border-color: #2b4035; background: #1b2a22; }
:root[data-theme="dark"] .idm-year { border-color: #2b4035; }
:root[data-theme="dark"] .idm-year small { color: #a6b6ab; }
:root[data-theme="dark"] .idm-year b { color: #edf5ef; }
:root[data-theme="dark"] .idm-empty { border-color: #344b3d; color: #bfcec3; background: #17251d; }
@media (max-width: 600px) {
    main > section:is(#profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) { padding-block: 26px; }
    main > section:is(#profil-desa, #berita, #surat-mandiri, #kelembagaan, #statistik, #regulasi, #idm, #syarat-surat, #ekonomi, #galeri, #anggaran, #pemerintahan, #hubungi) > .site-container { padding: 17px 14px; border-radius: 14px; }
}

/* The contact area carries the former contact-card background across its section. */
main > section#hubungi { padding-block: clamp(28px, 4vw, 52px); background: radial-gradient(ellipse at 88% 15%, #188258 0, transparent 34%), linear-gradient(112deg,#063b2c 0%,#07563d 58%,#0b684a 100%); }
main > section#hubungi > .site-container { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.contact-box { min-height: 185px; padding: 32px 16px; border: 0; background: transparent; box-shadow: none; }
.contact-box .contact-decoration { color: #f0d06420; }
:root[data-theme="dark"] main > section#hubungi { background: radial-gradient(ellipse at 86% 14%,#166b49 0,transparent 35%),linear-gradient(112deg,#041d16,#073a2a 60%,#0c5036); }

/* Emerald and gold accents make the IDM summary read as a distinct feature. */
main > section#idm { background: radial-gradient(ellipse at 12% 6%,#e1f0e4 0,transparent 38%),linear-gradient(135deg,#f3f7f3,#f8f4e5); }
main > section#idm > .site-container { border-color: #dfe8d6; box-shadow: 0 18px 45px #173f2710; }
.idm-section .idm-copy .section-overline { color: #087951; }
.idm-section .idm-copy h2 em { color: #b28a22; }
.idm-years { border-color: #d7b94f; color: #eff8f1; background: radial-gradient(circle at 100% 0,#16805a,#07513a 57%,#063b2c); box-shadow: 0 14px 30px #064b3820; }
.idm-year { border-color: #ffffff28; }
.idm-year-icon { color: #f0d367; background: #f1d35a20; }
.idm-year small { color: #c8dfd0; }
.idm-year b { color: #fff; }
.idm-empty { border-color: #f0d36a78; color: #f4db79; background: #ffffff12; }
.idm-years .sample-notice { color: #d1e4d6; }
.idm-years .sample-notice :is(svg, i[class^="fa-"]) { color: #f2d66e; }
:root[data-theme="dark"] main > section#idm { background: radial-gradient(ellipse at 8% 5%,#143c29 0,transparent 42%),linear-gradient(135deg,#0c1912,#171d12); }
:root[data-theme="dark"] main > section#idm > .site-container { border-color: #6d5d2a; }
:root[data-theme="dark"] .idm-section .idm-copy .section-overline { color: #83dfb4; }
:root[data-theme="dark"] .idm-section .idm-copy h2 em { color: #f1d56a; }
:root[data-theme="dark"] .idm-years { border-color: #927a30; background: radial-gradient(circle at 100% 0,#126542,#092f22 58%,#061f17); }
:root[data-theme="dark"] .idm-empty { border-color: #897431; color: #f0d66e; background: #ffffff0e; }

/* Keep the hero editorial slider inside its grid track instead of letting
   Swiper's intrinsic width squeeze the headline and overflow the viewport. */
.village-hero-content { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); }
.hero-intro, .hero-photo-card { min-width: 0; }
.hero-photo-card { width: 100%; padding: 11px 11px 28px 0; }
.hero-news-swiper { width: 100%; height: clamp(340px, 31vw, 430px); }
.hero-news-swiper .swiper-wrapper { height: 100%; }
.hero-news-slide { width: 100%; min-width: 0; flex: 0 0 100%; }
.hero-news-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-news-slide .hero-photo-caption { width: min(82%, 470px); }
.hero-news-slide .hero-photo-caption > div { min-width: 0; }
.hero-news-slide .hero-photo-caption b { max-width: 100%; }
.hero-news-swiper .swiper-pagination-bullet { cursor: pointer; }
@media (max-width: 820px) {
    .village-hero-content { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .hero-intro { max-width: 700px; }
    .hero-photo-card { width: min(100%, 760px); margin-inline: auto; }
    .hero-news-swiper { height: clamp(290px, 58vw, 410px); }
}
@media (max-width: 560px) {
    .hero-news-swiper { height: clamp(245px, 72vw, 340px); }
    .hero-news-slide .hero-photo-caption { width: calc(100% - 26px); }
}

/* Public IDM dashboard mirrors the score ring and indicator language used in admin. */
.idm-dashboard{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.82fr);gap:14px;align-items:stretch}
.idm-visual-card,.idm-latest-card{min-width:0;padding:18px;border:1px solid #ffffff28;border-radius:18px;background:linear-gradient(145deg,#07513b,#0b704e);box-shadow:0 16px 36px #064b3825}
.idm-visual-card{display:flex;flex-direction:column}
.idm-visual-heading{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid #ffffff24}
.idm-visual-icon{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;border:1px solid #f0d16640;border-radius:13px;background:#f0d1661b;color:#f5d76b;font-size:15px}
.idm-visual-heading>span:nth-child(2){display:grid;gap:4px;min-width:0}
.idm-visual-heading small,.idm-latest-label{color:#c4dccd;font-size:8px;font-weight:850;letter-spacing:.12em}
.idm-visual-heading b{color:#fff;font:750 13px var(--font-display)}
.idm-live-badge{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:7px 9px;border:1px solid #ffffff2a;border-radius:20px;color:#d7eade;font-size:8px;white-space:nowrap}
.idm-live-badge i{width:6px;height:6px;border-radius:50%;background:#69d6a3;box-shadow:0 0 0 3px #69d6a326}
.idm-chart-area{position:relative;min-height:180px;flex:1;margin-top:12px}
.idm-trend-chart{display:block;width:100%;height:auto;min-height:180px;overflow:visible}
.idm-chart-gridline{stroke:#ffffff20;stroke-width:1;stroke-dasharray:4 6}
.idm-chart-area-fill{fill:url(#idmAreaFill)}
.idm-chart-line{fill:none;stroke:#f0d05e;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 7px #041a1170)}
.idm-chart-point circle{fill:#f1d15b;stroke:#fff;stroke-width:3}
.idm-chart-point:last-of-type circle{fill:#fff;stroke:#f1d15b;stroke-width:4}
.idm-chart-year{fill:#d0e4d6;font:700 11px var(--font-body)}
.idm-chart-legend{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #ffffff22;color:#d4e4d9;font-size:9px}
.idm-chart-legend>span{display:inline-flex;align-items:center;gap:7px}
.idm-chart-legend>span i{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#f0d05e}
.idm-chart-legend small{color:#b4cebd;font-size:8px;text-align:right}
.idm-latest-card{display:flex;flex-direction:column;justify-content:center;gap:18px;border-color:#d5b84c;background:radial-gradient(circle at 100% 0,#16805a,#07513a 63%,#063b2c)}
.idm-latest-label{display:inline-flex;align-items:center;gap:7px;color:#f2d771}
.idm-latest-label i{font-size:12px}
.idm-latest-score-row{display:flex;align-items:center;gap:14px}
.idm-public-score-ring{position:relative;display:grid;flex:0 0 116px;width:116px;height:116px;place-content:center;justify-items:center;gap:3px;border-radius:50%;background:conic-gradient(#f0d05e var(--idm-score,0%),#ffffff24 0);color:#f1d263;filter:drop-shadow(0 8px 15px #031c1333)}
.idm-public-score-ring::before{position:absolute;inset:7px;border:1px solid #ffffff21;border-radius:50%;background:#07543d;content:""}
.idm-public-score-ring b,.idm-public-score-ring small{position:relative;z-index:1}
.idm-public-score-ring b{font:800 19px var(--font-display);letter-spacing:-.04em}
.idm-public-score-ring small{color:#c2d9ca;font-size:7px;font-weight:850;letter-spacing:.12em}
.idm-latest-meta{display:grid;gap:5px;min-width:0}
.idm-latest-meta>small{color:#c2d9ca;font-size:8px;font-weight:850;letter-spacing:.11em}
.idm-latest-meta>b{color:#fff;font:800 26px var(--font-display)}
.idm-latest-status{width:max-content;max-width:100%;padding:6px 9px;border:1px solid #f0d05e6e;border-radius:18px;color:#f5dd87;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.idm-public-components{display:grid;gap:7px;padding-top:14px;border-top:1px solid #ffffff26}
.idm-public-components>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px}
.idm-public-components>div>span{display:grid;width:29px;height:29px;place-items:center;border:1px solid #f0d05e2e;border-radius:9px;background:#f0d05e18;color:#f0d05e;font-size:11px}
.idm-public-components>div>small{display:grid;gap:2px;color:#f1d76f;font-size:9px;font-weight:850}
.idm-public-components>div>small b{color:#bed5c7;font-size:7px;font-weight:500}
.idm-public-components>div>strong{color:#fff;font-size:10px;font-weight:750}
.idm-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px;color:#e5d077;font-size:9px;font-weight:800;letter-spacing:.04em}
.idm-history-heading>span{display:inline-flex;align-items:center;gap:7px}
.idm-history-heading small{color:#c5d9cc;font-size:8px;font-weight:600}
.idm-year{transition:background .18s,transform .18s}
.idm-year:hover{transform:translateX(3px);background:#ffffff0b}
.idm-chart-placeholder{display:grid;min-height:175px;place-content:center;justify-items:center;gap:9px;color:#c0d9ca;text-align:center;font-size:10px}
.idm-chart-placeholder i{color:#f1d05f;font-size:24px}
:root[data-theme="dark"] .idm-visual-card,:root[data-theme="dark"] .idm-latest-card{border-color:#62542b;background:linear-gradient(145deg,#10251b,#0a1d15);box-shadow:0 16px 36px #0003}
:root[data-theme="dark"] .idm-public-score-ring::before{border-color:#364b35;background:#10271c}
:root[data-theme="dark"] .idm-chart-gridline{stroke:#ffffff16}
:root[data-theme="dark"] .idm-chart-year,:root[data-theme="dark"] .idm-chart-legend,:root[data-theme="dark"] .idm-chart-placeholder{color:#bdcfc1}
@media(max-width:900px){.idm-dashboard{grid-template-columns:1fr}.idm-latest-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);align-items:center}.idm-latest-label,.idm-latest-score-row{grid-column:1}.idm-public-components{grid-column:2;grid-row:1/3;padding:0 0 0 14px;border-top:0;border-left:1px solid #ffffff26}}
@media(max-width:600px){.idm-visual-card,.idm-latest-card{padding:14px;border-radius:14px}.idm-latest-card{display:flex}.idm-public-components{width:100%;padding:13px 0 0;border-top:1px solid #ffffff26;border-left:0}.idm-chart-area{min-height:145px}.idm-trend-chart{min-height:145px}.idm-chart-legend{align-items:flex-start;flex-direction:column}.idm-chart-legend small{text-align:left}.idm-live-badge{padding:6px;font-size:7px}.idm-year{gap:8px}.idm-score{font-size:11px}}

/* Keep the IDM section in a deliberate full-width editorial flow. */
.idm-section .idm-layout{grid-template-columns:minmax(0,1fr);gap:22px}
.idm-section .idm-copy{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.8fr) auto;align-items:center;gap:10px 28px}
.idm-copy-main{min-width:0}
.idm-copy-main .section-overline{display:inline-flex}
.idm-section .idm-copy h2{max-width:600px;margin:10px 0 0;font-size:clamp(25px,3vw,38px);line-height:1.12}
.idm-section .idm-copy>p{margin:0;max-width:360px}
.idm-section .idm-copy>.demo-pill{justify-self:end;white-space:nowrap}
.idm-section .idm-dashboard{grid-template-columns:minmax(0,1.55fr) minmax(270px,.82fr)}
.idm-section .idm-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px;border-radius:16px}
.idm-section .idm-history-heading{grid-column:1/-1;margin-bottom:2px}
.idm-section .idm-year{min-width:0;padding:11px 10px;border:1px solid #ffffff28;border-radius:12px;background:#ffffff09}
.idm-section .idm-year:last-of-type{border-bottom:1px solid #ffffff28}
.idm-section .idm-year>span:nth-child(2){min-width:0}
.idm-section .idm-year b{font-size:12px}
.idm-section .idm-year .idm-score{font-size:11px}
.idm-section .idm-year .idm-empty{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.idm-section .idm-empty-state{grid-column:1/-1;min-height:70px}
.idm-empty-dashboard{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px;border:1px solid #d7b94f;border-radius:17px;background:linear-gradient(115deg,#07513b,#0b704e);box-shadow:0 14px 30px #064b3820}
.idm-empty-chart{position:relative;min-width:0;padding:10px;border:1px solid #ffffff25;border-radius:13px;background:#ffffff08}
.idm-empty-chart svg{display:block;width:100%;height:auto;overflow:visible}
.idm-empty-chart svg path:first-child{fill:none;stroke:#ffffff26;stroke-width:1;stroke-dasharray:4 5}
.idm-empty-chart-line{fill:none;stroke:#f0d05e;stroke-width:3;stroke-dasharray:7 7;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.idm-empty-chart svg circle{fill:#f0d05e;stroke:#fff;stroke-width:2}
.idm-empty-chart>span{position:absolute;right:17px;bottom:13px;display:grid;width:33px;height:33px;place-items:center;border:1px solid #f0d05e42;border-radius:10px;background:#f0d05e20;color:#f0d05e;font-size:13px}
.idm-empty-dashboard>div:nth-child(2){display:grid;gap:5px}
.idm-empty-dashboard>div:nth-child(2)>small{color:#f1d770;font-size:8px;font-weight:850;letter-spacing:.13em}
.idm-empty-dashboard>div:nth-child(2)>b{color:#fff;font:750 16px var(--font-display)}
.idm-empty-dashboard>div:nth-child(2)>p{max-width:520px;margin:0;color:#c8ddd0;font-size:10px;line-height:1.65}
.idm-empty-status{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #ffffff2a;border-radius:20px;color:#d5e6dc;font-size:8px;white-space:nowrap}
.idm-empty-status i{width:6px;height:6px;border-radius:50%;background:#f0d05e}
:root[data-theme="dark"] .idm-empty-dashboard{border-color:#66572b;background:linear-gradient(115deg,#10251b,#0a1d15);box-shadow:0 14px 30px #0003}
@media(max-width:900px){.idm-section .idm-copy{grid-template-columns:minmax(0,1fr) auto}.idm-copy-main{grid-column:1/-1}.idm-section .idm-copy>p{max-width:540px}.idm-section .idm-copy>.demo-pill{grid-column:2;grid-row:2}.idm-section .idm-dashboard{grid-template-columns:minmax(0,1.25fr) minmax(230px,.85fr)}}
@media(max-width:650px){.idm-section .idm-copy{grid-template-columns:1fr;gap:9px}.idm-section .idm-copy-main,.idm-section .idm-copy>p,.idm-section .idm-copy>.demo-pill{grid-column:1;grid-row:auto}.idm-section .idm-copy>.demo-pill{justify-self:start}.idm-section .idm-dashboard{grid-template-columns:1fr}.idm-section .idm-years{grid-template-columns:1fr;padding:12px}.idm-section .idm-history-heading{grid-column:1}.idm-section .idm-year{display:flex}.idm-section .idm-year .idm-score{margin-left:auto}.idm-section .idm-empty-state{grid-column:1}.idm-empty-dashboard{grid-template-columns:1fr;gap:12px;padding:14px}.idm-empty-chart{max-width:380px;width:100%;margin-inline:auto}.idm-empty-status{justify-self:start}}

/* Head-of-village greeting with a dedicated portrait column. */
.welcome-card-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.44fr);align-items:center;gap:clamp(22px,4vw,54px)}
.welcome-copy{min-width:0}
.welcome-portrait{position:relative;display:grid;justify-items:center;gap:13px;min-width:0;padding:14px;border:1px solid #e2ece4;border-radius:20px;background:linear-gradient(145deg,#f6faf6,#eef6ef)}
.welcome-portrait:before{position:absolute;inset:8px;border:1px solid #d9e8dc;border-radius:15px;content:"";pointer-events:none}
.welcome-portrait-frame{position:relative;display:block;width:min(100%,270px);aspect-ratio:4/5;overflow:hidden;border:5px solid #fff;border-radius:16px;background:linear-gradient(145deg,#e0efe3,#f7f4e4);box-shadow:0 12px 28px #12402a19}
.welcome-portrait-frame:after{position:absolute;inset:0;border:1px solid #ffffff8c;border-radius:11px;content:"";pointer-events:none}
.welcome-portrait-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
.welcome-portrait-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#15845f;font-size:70px;background:radial-gradient(circle at 50% 32%,#fff 0 16%,transparent 17%),linear-gradient(145deg,#e5f2e8,#f8f2dc)}
.welcome-portrait-caption{position:relative;display:flex;width:min(100%,270px);align-items:center;gap:10px;padding:10px 12px;border:1px solid #dce9df;border-radius:12px;background:#fff;box-shadow:0 6px 16px #16412a0b}
.welcome-portrait-caption>i{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:10px;background:#fcf5db;color:#a47d1c}
.welcome-portrait-caption>span{display:grid;min-width:0;gap:3px}
.welcome-portrait-caption small{color:#a07c24;font-size:7px;font-weight:850;letter-spacing:.12em}
.welcome-portrait-caption b{overflow:hidden;color:#264b37;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.welcome-card .welcome-signature{margin-top:16px;padding-top:14px;border-top:1px solid #e8eee8}
@media(max-width:760px){.welcome-card-layout{grid-template-columns:minmax(0,1fr) minmax(150px,.42fr);gap:20px}.welcome-portrait{padding:10px}.welcome-portrait-frame{width:min(100%,220px)}}
@media(max-width:560px){.welcome-card-layout{grid-template-columns:1fr}.welcome-portrait{grid-row:1;width:min(100%,300px);justify-self:center}.welcome-portrait-frame{width:min(100%,210px)}.welcome-copy{grid-row:2}.welcome-card .welcome-signature{margin-top:13px}}
:root[data-theme="dark"] .welcome-portrait{border-color:#344b3c;background:linear-gradient(145deg,#1c3024,#17261e)}
:root[data-theme="dark"] .welcome-portrait:before{border-color:#344b3c}
:root[data-theme="dark"] .welcome-portrait-frame{border-color:#263d30;background:#20372a}
:root[data-theme="dark"] .welcome-portrait-caption{border-color:#344b3c;background:#1a2b21}
:root[data-theme="dark"] .welcome-portrait-caption b{color:#e0ece3}
:root[data-theme="dark"] .welcome-card .welcome-signature{border-color:#344b3c}

/* ==========================================================================
   PRO SITE FOOTER WITH SATELLITE MAP (KAMPONG BUKIT ALIM)
   ========================================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 60px 0 24px;
    border-top: 4px solid #dcb83c;
    color: #e2ede5;
    background: linear-gradient(180deg, #062b20 0%, #031812 100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.footer-ambient-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 85% 15%, rgba(220, 184, 60, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(18, 182, 126, 0.14) 0%, transparent 55%);
    z-index: 0;
}

.footer-pattern-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
}

/* --- Top Brand & Slogan Strip --- */
.footer-top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand-wrap {
    min-width: 0;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}

.footer-brand-link:hover {
    transform: translateY(-2px);
    color: inherit;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 70px;
    flex: 0 0 58px;
    padding: 4px;
    border: 2px solid #e5c355;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 30%, #0d5e44, #052a1e);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(220, 184, 60, 0.25);
}

.footer-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #e5c355;
}

.footer-brand-title {
    margin: 0;
    color: #ffffff;
    font: 800 22px var(--font-display, 'Outfit', sans-serif);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-brand-region {
    font-size: 11px;
    color: #b0c9b6;
    letter-spacing: 0.02em;
}

/* --- ALIM Pill Badge --- */
.footer-alim-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(220, 184, 60, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.alim-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #f1d770;
    padding-right: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.alim-letter {
    font-size: 12px;
    color: #e3ede6;
    font-weight: 500;
}

.alim-letter b {
    color: #f0cf58;
    font-weight: 850;
    font-size: 13px;
}

.alim-sep {
    color: rgba(220, 184, 60, 0.6);
    font-size: 10px;
}

/* --- Social Wrap --- */
.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #e5ede7;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.06);
    color: #fff;
}

.footer-social-btn.is-wa:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.footer-social-btn.is-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.is-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.footer-social-btn.is-yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* --- Divider --- */
.footer-divider {
    height: 1px;
    margin: 32px 0 40px;
    background: linear-gradient(90deg, transparent, rgba(220, 184, 60, 0.5) 20%, rgba(255, 255, 255, 0.15) 50%, rgba(220, 184, 60, 0.5) 80%, transparent);
}

/* --- Main 3-Column Grid --- */
.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    padding-bottom: 48px;
}

.footer-col {
    min-width: 0;
}

.footer-col-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #ffffff;
    font: 750 16px var(--font-display, sans-serif);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #dcb83c, #1cc76b);
    content: '';
}

.footer-col-heading .heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(220, 184, 60, 0.15);
    color: #f1d770;
    font-size: 13px;
}

.footer-office-desc {
    margin: 0 0 16px;
    color: #bfd3c5;
    font-size: 13px;
    line-height: 1.65;
}

.footer-office-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-info-item .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    margin-top: 2px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5c355;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-info-item .info-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-info-item .info-content strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.footer-info-item .info-content address,
.footer-info-item .info-content p {
    margin: 0;
    color: #b8ccbe;
    font-size: 12.5px;
    line-height: 1.55;
    font-style: normal;
}

.footer-info-item .info-content a {
    color: #dbebe0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-info-item .info-content a:hover {
    color: #f1d770;
}

.footer-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(220, 184, 60, 0.12);
    border: 1px solid rgba(220, 184, 60, 0.25);
    color: #f1d770;
    font-size: 10.5px;
    font-weight: 650;
    width: fit-content;
}

/* --- Nav Links Columns --- */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b8ccbe;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.22s ease;
    padding: 2px 0;
}

.footer-nav-list li a i {
    font-size: 11px;
    color: #e5c355;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-nav-list li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-nav-list li a:hover i {
    opacity: 1;
    transform: translateX(2px);
    color: #f1d770;
}

/* --- Google Satellite Map Card (Col 4) --- */
.footer-col-map {
    position: relative;
}

.footer-map-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(220, 184, 60, 0.35);
    background: rgba(4, 30, 22, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(220, 184, 60, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.footer-map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), 0 0 32px rgba(220, 184, 60, 0.18);
    border-color: rgba(220, 184, 60, 0.55);
}

.footer-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
}

.footer-map-title-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-map-title-box .map-kicker {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #e5c355;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-map-title-box .map-title {
    margin: 0;
    color: #ffffff;
    font: 750 14.5px var(--font-display, sans-serif);
}

.map-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(28, 199, 107, 0.14);
    border: 1px solid rgba(28, 199, 107, 0.4);
    color: #55efc4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.map-live-badge .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00b894;
    box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7);
    animation: pulseSatelliteDot 1.8s infinite;
}

@keyframes pulseSatelliteDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(85, 239, 196, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(85, 239, 196, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(85, 239, 196, 0);
    }
}

.footer-map-viewport {
    position: relative;
    width: 100%;
    background: #02120e;
}

.footer-satellite-iframe {
    display: block;
    width: 100%;
    height: 190px;
    border: none;
    filter: saturate(1.15) contrast(1.1);
}

.footer-map-pin-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(3, 20, 15, 0.88);
    border: 1px solid rgba(220, 184, 60, 0.4);
    color: #f1d770;
    font-size: 10px;
    font-weight: 750;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.footer-map-pin-pill i {
    color: #ff5252;
}

.footer-map-footer {
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(2, 18, 13, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-coords-display {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9cb8a4;
    font-size: 11px;
}

.footer-coords-display i {
    color: #e5c355;
    font-size: 12px;
}

.footer-coords-display strong {
    color: #e4eee7;
    font-family: monospace, sans-serif;
    letter-spacing: 0.02em;
}

.footer-map-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    min-height: 35px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 750;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: nowrap;
}

.footer-map-btn.is-route {
    background: linear-gradient(135deg, #13885d 0%, #0d6846 100%);
    border: 1px solid #20b880;
    color: #ffffff;
}

.footer-map-btn.is-route:hover {
    background: linear-gradient(135deg, #18a974 0%, #108157 100%);
    box-shadow: 0 4px 14px rgba(24, 169, 116, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.footer-map-btn.is-external {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #dbebe0;
}

.footer-map-btn.is-external:hover {
    background: rgba(220, 184, 60, 0.18);
    border-color: #e5c355;
    color: #f1d770;
    transform: translateY(-1px);
}

/* --- Footer Bottom Strip --- */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-copyright p {
    margin: 0;
    color: #c9dbce;
    font-size: 12.5px;
}

.footer-copyright strong {
    color: #ffffff;
}

.footer-jurisdiction {
    color: #8da494;
    font-size: 11px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
    .footer-main-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
        gap: 24px;
    }
}

@media (max-width: 880px) {
    .footer-top-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .footer-alim-pill {
        align-self: flex-start;
    }
    .footer-social-wrap {
        align-self: flex-start;
    }
    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }
    .footer-col-office {
        grid-column: 1 / -1;
    }
}

@media (max-width: 580px) {
    .site-footer {
        padding: 42px 0 20px;
    }
    .footer-brand-title {
        font-size: 18px;
    }
    .footer-brand-logo {
        width: 48px;
        height: 60px;
        flex: 0 0 48px;
    }
    .footer-alim-pill {
        flex-wrap: wrap;
        padding: 6px 12px;
        gap: 6px;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .footer-map-actions {
        flex-direction: column;
    }
    .footer-map-btn {
        width: 100%;
    }
}

/* --- Dark Theme Harmonization --- */
:root[data-theme="dark"] .site-footer {
    border-top-color: #c9a83d;
    background: linear-gradient(180deg, #051a14 0%, #020d0a 100%);
}
:root[data-theme="dark"] .footer-map-card {
    background: rgba(2, 18, 13, 0.95);
    border-color: rgba(201, 168, 61, 0.3);
}


/* ==========================================================================
   ACCESSIBILITY / DIFABEL TOOLS
   Panel aksesibilitas (difabel tools) yang terhubung ke site.js.
   ========================================================================== */

/* ============================================================
   DIFABEL TOOLS â€” floating widget (ikon bulat, hover = label)
   Posisi stack (bawah â†’ atas): Chat â†’ Difabel â†’ Back-to-Top
   ============================================================ */

/* Container seluruh widget aksesibilitas */
.accessibility-tools {
    position: fixed;
    /* tepat di atas .floating-help: 18px + 48px + 10px gap = 76px */
    bottom: 76px;
    right: 20px;
    z-index: 9900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

/* Tombol Toggle â€” ikon bulat mirip chat button */
.accessibility-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #d5b443;
    border-radius: 25px;
    background: linear-gradient(135deg, #07533c, #0a7a56);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(7, 83, 60, 0.45);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s, width 0.25s;
    white-space: nowrap;
    overflow: hidden;
}

/* Ikon */
.accessibility-toggle > i {
    font-size: 20px;
    color: #e5c355;
    flex-shrink: 0;
    transition: color 0.2s;
}

/* Teks tersembunyi â€” muncul saat hover dengan slide-in */
.accessibility-toggle > span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: max-width 0.3s ease, opacity 0.25s ease, margin-left 0.25s ease;
    margin-left: 0;
    white-space: nowrap;
}

.accessibility-toggle:hover > span,
.accessibility-toggle:focus-visible > span {
    max-width: 120px;
    opacity: 1;
    margin-left: 7px;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
    width: auto;
    padding: 0 16px 0 13px;
    background: linear-gradient(135deg, #0a7a56, #0d9e6e);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(7, 83, 60, 0.55);
    outline: none;
}

.accessibility-toggle:focus-visible {
    outline: 3px solid #f0cf58;
    outline-offset: 3px;
}

/* Panel difabel tools */
.accessibility-panel {
    width: 320px;
    border: 1px solid #c9e8d4;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(7, 83, 60, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: a11yPanelIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: bottom right;
}

@keyframes a11yPanelIn {
    from { opacity: 0; transform: scale(0.9) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header panel */
.accessibility-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #07533c, #0a7a56);
    color: #ffffff;
}

.accessibility-panel-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 18px;
    flex-shrink: 0;
}

.accessibility-panel-header small {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.accessibility-panel-header b {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.accessibility-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.accessibility-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Grid opsi aksesibilitas */
.accessibility-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
}

/* Setiap tombol opsi */
.accessibility-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1.5px solid #dfe9e1;
    border-radius: 14px;
    background: #f7faf7;
    color: #183d2c;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.accessibility-option:hover {
    border-color: #07533c;
    background: #edf5ef;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 83, 60, 0.12);
}

.accessibility-option[aria-pressed="true"] {
    border-color: #07533c;
    background: #d4f0e0;
    color: #07533c;
    box-shadow: inset 0 1px 3px rgba(7, 83, 60, 0.15);
}

.accessibility-option-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(7, 83, 60, 0.1);
    color: #07533c;
    font-size: 16px;
    transition: background 0.2s;
}

.accessibility-option[aria-pressed="true"] .accessibility-option-icon {
    background: #07533c;
    color: #f0cf58;
}

.accessibility-option-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: inherit;
}

.accessibility-option-state {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
}

.accessibility-option[aria-pressed="true"] .accessibility-option-state {
    background: rgba(7, 83, 60, 0.15);
    color: #07533c;
}

/* Footer panel (ukuran font + tombol reset) */
.accessibility-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 14px;
    border-top: 1px solid #e8f0ea;
    font-size: 11px;
    color: #718076;
}

.accessibility-panel-footer button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #c9e8d4;
    border-radius: 999px;
    background: #f0f7f2;
    color: #07533c;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.accessibility-panel-footer button:hover {
    background: #d4f0e0;
}

/* Dark theme: panel difabel tools */
:root[data-theme="dark"] .accessibility-panel {
    background: #102219;
    border-color: #1e3a28;
}

:root[data-theme="dark"] .accessibility-option {
    background: #0d1f17;
    border-color: #1e3a28;
    color: #c9e4d4;
}

:root[data-theme="dark"] .accessibility-option:hover {
    background: #17311f;
    border-color: #34d399;
}

:root[data-theme="dark"] .accessibility-option[aria-pressed="true"] {
    background: #163a25;
    border-color: #34d399;
    color: #34d399;
}

:root[data-theme="dark"] .accessibility-option-state {
    background: #0d1f17;
    color: #64748b;
}

:root[data-theme="dark"] .accessibility-panel-footer {
    border-color: #1e3a28;
    color: #64748b;
}

:root[data-theme="dark"] .accessibility-panel-footer button {
    background: #0d1f17;
    border-color: #1e3a28;
    color: #34d399;
}

/* =========================================
   MODE AKSESIBILITAS AKTIF (body classes)
   ========================================= */

/* Kontras Tinggi (diterapkan ke container halaman agar tidak merusak position: fixed pada tombol mengambang) */
body.a11y-high-contrast {
    filter: none !important;
}
body.a11y-high-contrast > :is(.topbar, .site-header, .village-ticker, main, .site-footer) {
    filter: contrast(1.4) saturate(0.65);
}

/* Mode Stabilo (highlight semua tautan) */
body.a11y-stabilo a:not([class*="btn"]):not([class*="button"]):not(.nav-link) {
    background: #fff176 !important;
    color: #000000 !important;
    padding: 1px 3px;
    border-radius: 3px;
    text-decoration: underline !important;
}

/* Garis Panduan Baca */
body.a11y-guide *:hover {
    outline: 2px solid rgba(7, 83, 60, 0.6) !important;
    outline-offset: 2px;
}

/* Kurangi Animasi */
body.a11y-stable *,
body.a11y-stable *::before,
body.a11y-stable *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Fokus keyboard yang terlihat jelas di semua elemen */
body .accessibility-tools :focus-visible {
    outline: 3px solid #f0cf58;
    outline-offset: 2px;
}

/* Mobile: kompres panel agar tidak keluar layar */
@media (max-width: 480px) {
    .accessibility-tools {
        bottom: 76px;
        right: 12px;
    }

    .accessibility-panel {
        width: calc(100vw - 20px);
    }

    /* Pada mobile teks toggle tetap tersembunyi */
    .accessibility-toggle > span {
        max-width: 0 !important;
        opacity: 0 !important;
    }

    .accessibility-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
    }
}

/* Keep the floating accessibility panel inside the viewport so every control remains reachable. */
.accessibility-panel { max-height: calc(100vh - 150px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(9, 129, 91, .42) transparent; }
.accessibility-panel::-webkit-scrollbar { width: 6px; }
.accessibility-panel::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(9, 129, 91, .38); }
@supports (height: 100dvh) { .accessibility-panel { max-height: calc(100dvh - 150px); } }
@media (max-width: 575px) { .accessibility-panel { width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 138px); } }
