/* SABDOPALON public design, adapted for the village portal. */

:root {
  --home-primary: #08775f;
  --home-ink: #203b32;
  --home-muted: #63736b;
  --home-line: #dce5df;
  --home-paper: #fafbf8;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body.home-portal { margin: 0; background: var(--home-paper); color: var(--home-ink); font-family:'Plus Jakarta Sans',system-ui,sans-serif; -webkit-font-smoothing: antialiased; }
.home-portal h1, .home-portal h2, .home-portal h3 { font-family:'Plus Jakarta Sans',system-ui,sans-serif; letter-spacing: -.04em; }
.home-portal a { color: inherit; text-decoration: none; }
.home-portal button, .home-portal input { font: inherit; }
.home-portal [hidden], .home-portal .hidden { display: none !important; }
.home-portal :where(a, button, input, summary):focus-visible { outline: 3px solid #289a78; outline-offset: 4px; }
.home-portal a, .home-portal button, .home-portal input { -webkit-tap-highlight-color: transparent; }
.home-portal .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.material-symbols-outlined { flex-shrink: 0; vertical-align: middle; }
.num { font-variant-numeric: tabular-nums; }
.home-skip { position: fixed; top: -100px; left: 20px; z-index: 110; background: #fff; padding: 12px 18px; color: var(--home-primary); border-radius: 6px; }
.home-skip:focus { top: 10px; }
.home-government { background: #eef1ed; font-size: 10px; color: #617065; letter-spacing: .035em; }
.home-government>.home-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 29px; }
.home-header { position: sticky; top: 0; z-index: 50; background: var(--home-paper); border-bottom: 1px solid #e4e7e0; }
.home-nav { display: flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 82px; }
.home-brand { flex-shrink: 0; }
.home-brand img { display: block; width: 181px; height: 49px; object-fit: contain; }
.home-nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.home-nav-links>a { position: relative; display: inline-flex; align-items: center; min-height: 54px; font-size: 13px; color: #63736b; white-space: nowrap; }
.home-nav-links>a[aria-current], .home-nav-links>a:hover { color: var(--home-ink); }
.home-nav-links>a[aria-current]:after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 2px; background: var(--home-primary); }
.home-nav-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.home-verify { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; }
.home-verify .material-symbols-outlined { font-size: 15px; }
.home-login { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 11px 17px; border-radius: 6px; background: var(--home-primary); color: white !important; font-size: 13px; font-weight: 500; }
.home-login:hover { background: #065c49; }
.home-login .material-symbols-outlined { font-size: 17px; }
#navToggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d8dfdf; border-radius: 6px; background: transparent; color: var(--home-ink); }
#mobileMenu { border-top: 1px solid var(--home-line); background: var(--home-paper); max-height: calc(100dvh - 82px); overflow-y: auto; }
#mobileMenu>.home-wrap { display: grid; padding-block: 10px 18px; }
#mobileMenu a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid #e6e9e2; }
#mobileMenu a[aria-current] { color: var(--home-primary); }
#mobileMenu .material-symbols-outlined { font-size: 17px; color: #6c8678; }
.home-eyebrow, .home-kicker { display: block; font-size: 10px; line-height: 1.6; font-weight: 600; letter-spacing: .075em; color: #567163; }
.home-hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 62px; height: 450px; padding-top: 32px; }
.home-hero-copy { padding-top: 25px; }
.home-hero-copy>.home-eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .015em; color: #64717e; }
.home-hero h1 { font-size: clamp(55px, 5.3vw, 74px); line-height: 1.07; font-weight: 500; letter-spacing: -.065em; margin: 16px 0 18px; }
.home-hero h1>span { color: var(--home-primary); }
.home-hero-copy>p { max-width: 360px; margin: 0; font-size: 15px; line-height: 1.8; color: var(--home-muted); }
.home-hero-guide { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 0; color: var(--home-primary) !important; font-size: 11px; }
.home-hero-guide:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero-guide .material-symbols-outlined { font-size: 17px; }
.home-hero-figure { position: relative; height: 370px; margin: 0; overflow: hidden; border-radius: 12px; background: #dce5dc; }
.home-hero-photo { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center 55%; }
.home-hero-figure figcaption { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; background: #ffffffed; border-radius: 4px; color: #344f43; font-size: 10px; }
.home-hero-figure figcaption .material-symbols-outlined { font-size: 14px; }
.home-service-panel { position: relative; z-index: 2; display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 20px 32px; margin-top: -76px; padding: 28px 32px 22px; background: #fff; border-radius: 10px; box-shadow: 0 12px 34px -24px #1a345a69; border: 1px solid #e2e6e9; }
.home-search-heading { display: flex; align-items: center; }
.home-search-heading h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.045em; }
.home-search-heading>span { display: none; }
.home-search-form { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; min-height: 56px; border: 1px solid #cbded3; border-radius: 5px; background: #fcfdfd; }
.home-search-form>span { font-size: 22px; color: #8a98a8; }
.home-search-form input { flex: 1; min-width: 0; width: 100%; min-height: 38px; padding: 5px 0; border: 0 !important; box-shadow: none !important; outline: none; background: transparent; color: var(--home-ink); font-size: 14px; }
.home-search-form input::placeholder { color: var(--home-muted); }
.home-search-form:focus-within { border-color: #289a78; box-shadow: 0 0 0 2px #08775f10; }
.home-search-form button { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 10px 19px; border: 0; border-radius: 4px; background: var(--home-primary); color: #fff; font-size: 13px; }
.home-search-form button:hover { background: #065c49; }
.home-search-form button>span { font-size: 18px; }
.home-primary-actions { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-top: 19px; border-top: 1px solid #edf2ed; }
.home-primary-actions>a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 5px; font-size: 13px; font-weight: 500; line-height: 1.45; }
.home-primary-actions>a:not(.home-action-main) { border-right: 1px solid #e1e8e2; }
.home-primary-actions>a:last-child { border-right: 0; }
.home-primary-actions>a:hover { background: #f0f6f1; }
.home-primary-actions .material-symbols-outlined { font-size: 21px; color: var(--home-primary); }
.home-primary-actions .action-arrow { font-size: 17px; margin-left: auto; }
.home-primary-actions>a.home-action-main { background: var(--home-primary); color: #fff; }
.home-primary-actions>a.home-action-main:hover { background: #065c49; }
.home-action-main .material-symbols-outlined { color: #fff; }
.home-directory { padding: 62px 0 54px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.home-section-heading h2 { font-size: 35px; font-weight: 500; line-height: 1.25; margin: 10px 0 0; }
.home-section-heading>p, .home-section-heading>div>p { margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.85; }
.home-section-heading>a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--home-primary); font-size: 12px; white-space: nowrap; }
.home-section-heading>a .material-symbols-outlined { font-size: 17px; }
.home-service-grid { display: grid; grid-template-columns: .95fr 1fr 1fr; gap: 0 26px; }
.home-service-card { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 24px 0; border-bottom: 1px solid var(--home-line); }
.home-service-card:not(.home-service-featured):nth-child(2), .home-service-card:not(.home-service-featured):nth-child(3) { border-top: 1px solid var(--home-line); }
.home-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 36px; margin-top: 3px; color: #42745e; font-size: 25px; }
.home-service-card>div { flex: 1; min-width: 0; }
.home-service-dept { display: block; font-size: 9px; letter-spacing: .06em; color: var(--home-muted); margin-bottom: 6px; }
.home-service-card h3 { font-size: 17px; font-weight: 500; line-height: 1.4; margin: 0 0 9px; letter-spacing: -.025em; }
.home-service-card p { color: var(--home-muted); font-size: 12px; line-height: 1.8; margin: 0; }
.home-service-arrow { font-size: 16px; margin-top: 22px; color: #718a7c; transition: transform .15s; }
.home-service-card:not(.home-service-featured):hover h3 { color: var(--home-primary); }
.home-service-card:hover .home-service-arrow { transform: translate(2px,-2px); }
.home-service-featured { grid-row: span 3; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; margin-right: 12px; border-radius: 10px; background: var(--home-ink); color: #fff !important; border: 0; }
.home-service-featured>.home-service-icon { width: 49px; height: 49px; margin: 0 0 24px; border: 1px solid #ffffff30; border-radius: 8px; font-size: 27px; color: #fff; }
.home-service-featured>div { flex: 0; }
.home-service-featured .home-service-dept { color: #b6d3c2; font-size: 9px; letter-spacing: .07em; margin-bottom: 12px; }
.home-service-featured h3 { font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -.04em; }
.home-service-featured p { color: #c8dfd1; font-size: 14px; line-height: 1.9; margin-top: 14px; }
.home-featured-link { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: auto; padding-top: 32px; min-height: 44px; font-size: 13px; }
.home-featured-link>.material-symbols-outlined { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 18px; border-radius: 50%; background: #ffffff14; }
.home-service-featured:hover { background: #245944; }
.home-upcoming { margin-top: 25px; color: #75808f; }
.home-upcoming summary { width: fit-content; cursor: pointer; min-height: 44px; align-content: center; font-size: 12px; font-weight: 400; }
.home-upcoming summary>span { margin-left: 8px; padding: 3px 7px; border-radius: 3px; background: #eaf0f3; font-size: 10px; }
.home-upcoming>p { margin: 12px 0; font-size: 13px; line-height: 1.8; }
.home-upcoming ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 0; margin: 0; list-style: none; }
.home-upcoming li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--home-line); font-size: 13px; }
.home-upcoming small { font-size: 10px; }
.home-overview { padding: 37px 0; background: #edf1ec; border-block: 1px solid #e1e6de; }
.home-stats-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr .8fr; align-items: center; gap: 36px; }
.home-stats-intro h2 { font-size: 24px; font-weight: 500; line-height: 1.4; margin: 9px 0 0; }
.home-stat { padding-left: 28px; border-left: 1px solid #d1dacf; }
.home-stat>strong { display: block; font-family: 'Plus Jakarta Sans',sans-serif; font-size: 37px; font-weight: 500; line-height: 1.25; letter-spacing: -.06em; }
.home-stat>span { display: block; font-size: 12px; margin: 9px 0 4px; }
.home-stat>small { display: block; font-size: 10px; color: #798579; }
.home-news { padding: 62px 0 65px; }
.home-news-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 58px; align-items: start; }
.home-news-image { display: block; overflow: hidden; border-radius: 7px; background: #e4e9e5; aspect-ratio: 16/9; }
.home-news-image>img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-news-lead:hover .home-news-image>img { transform: scale(1.025); }
.home-news-copy { padding-top: 18px; }
.home-news-date { display: block; color: var(--home-muted); font-size: 11px; }
.home-news-lead h3 { font-size: 23px; font-weight: 500; line-height: 1.5; letter-spacing: -.035em; margin: 11px 0 14px; }
.home-news-read { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; color: var(--home-primary) !important; }
.home-news-read .material-symbols-outlined { font-size: 17px; }
.home-news-list { display: grid; border-top: 1px solid var(--home-line); }
.home-news-row { display: grid; grid-template-columns: minmax(0,1fr) 115px; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--home-line); }
.home-news-row>.home-news-image { grid-column: 2; grid-row: 1; height: 90px; aspect-ratio: auto; border-radius: 4px; }
.home-news-row>.home-news-copy { grid-column: 1; grid-row: 1; padding: 0; }
.home-news-row h3 { margin: 8px 0 0; font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: -.02em; }
.home-news-row h3 a:hover, .home-news-lead h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-footer { background: #203b32; color: #d8e1eb; padding: 46px 0 0; }
.home-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 70px; padding-bottom: 38px; }
.home-footer-brand img { display: block; width: 202px; height: auto; padding: 9px 13px; border-radius: 5px; background: #fafbf8; }
.home-footer-brand p { max-width: 285px; font-size: 12px; line-height: 1.9; color: #aebdd0; margin: 20px 0 0; }
.home-footer-brand>span { display:block; color:#91a5bd; font-size:10px; margin-top:14px; }
.home-footer-contact address { color:#b1c0d2; font-size:12px; line-height:1.9; font-style:normal; margin:0 0 11px; }
.home-footer h2 { font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: #fff; margin: 1px 0 16px; }
.home-footer-links { display: grid; align-content: start; gap: 2px; }
.home-footer-links a { font-size: 12px; line-height: 1.7; color: #b1c0d2; min-height: 31px; padding-block: 4px; }
.home-footer-links a:hover, .home-footer-contact a:hover { color: #fff; text-decoration: underline; }
.home-footer-contact p, .home-footer-contact a { display: block; color: #b1c0d2; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; margin: 0 0 11px; }
.home-footer-contact a { width: fit-content; min-height: 30px; }
.home-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid #ffffff19; color: #8fa3ba; font-size: 10px; line-height: 1.7; }
.home-footer-bottom p { margin: 0; }
.home-footer-bottom { padding-bottom:75px; }
.home-back-link { display: block; padding: 0 24px 76px; margin: 0; text-align: center; font-size: 10px; color: #9cacc0 !important; background: #203b32; }
.home-results { padding-top: 32px; scroll-margin-top: 95px; }
.home-results .home-section-heading { align-items: center; }
.home-results h3 { font-size: 16px; font-weight: 500; margin: 24px 0 14px; }
.home-results h3 small { font-size: 12px; color: var(--home-muted); font-weight: 400; }
.home-result-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.home-result-list>a { display: block; padding: 16px; border: 1px solid var(--home-line); border-radius: 5px; background: #fff; min-width: 0; }
.home-result-list>a:hover { border-color: #8ab9a4; }
.home-result-list strong { display: block; font-size: 14px; font-weight: 500; }
.home-result-list span { display: block; font-size: 11px; line-height: 1.8; color: var(--home-muted); margin-top: 6px; overflow-wrap: anywhere; }
.home-no-results { padding: 22px; background: #edf2f7; border-radius: 5px; font-size: 14px; color: var(--home-muted); }
.home-result-note { margin-top: 15px; color: var(--home-muted); font-size: 12px; }
.home-help { position: fixed; bottom: max(20px,env(safe-area-inset-bottom)); right: 24px; z-index: 55; }
.home-help>summary { display: flex; align-items: center; gap: 9px; padding: 11px 16px; min-height: 46px; border: 1px solid #ffffff80; border-radius: 50px; background: var(--home-ink); color: #fff; font-size: 12px; cursor: pointer; list-style: none; box-shadow: 0 4px 16px #203b3226; }
.home-help>summary::-webkit-details-marker { display: none; }
.home-help>summary>.material-symbols-outlined { font-size: 20px; }
.home-help-menu { position: absolute; bottom: calc(100% + 12px); right: 0; width: 300px; max-width: calc(100vw - 36px); max-height: calc(100dvh - 140px); overflow: auto; padding: 20px 12px 12px; border: 1px solid var(--home-line); border-radius: 8px; box-shadow: 0 10px 32px #203b3226; background: white; color: var(--home-ink); }
.home-help-menu h2 { margin: 0 0 12px; padding-inline: 10px; font-size: 16px; font-weight: 500; }
.home-help-menu>a, .home-help-menu>button { display: flex; align-items: center; gap: 12px; padding: 12px 10px; width: 100%; min-height: 46px; border: 0; border-radius: 4px; font-size: 13px; line-height: 1.5; text-align: left; background: white; color: var(--home-ink); }
.home-help-menu>a:hover, .home-help-menu>button:hover { background: #eef7f1; }
.home-help-menu .material-symbols-outlined { font-size: 21px; color: var(--home-primary); }
.home-portal .a11y-panel:not(.open) { visibility: hidden; pointer-events: none; }
.home-portal .rl-head, .home-portal .rl-submit, .home-portal .a11y-hd, .home-portal .a11y-speak { background: var(--home-primary); }
.home-portal .rl-label, .home-portal .a11y-reset { color: var(--home-primary); }
.home-portal .a11y-tog.on { background: #eef7f1; color: var(--home-primary); border-color: var(--home-primary); }
.home-portal .a11y-tog.on .dot { background: var(--home-primary); }
.home-portal .btn-danger, .home-portal .bg-danger { background-color: var(--home-primary) !important; border-color: var(--home-primary) !important; }
.home-portal .text-danger { color: var(--home-primary) !important; }
.home-portal .btn-outline-danger { color: var(--home-primary); border-color: var(--home-primary); }
.home-portal .btn-outline-danger:hover { color: white; background: var(--home-primary); }
@media (max-width:1279px) {
  .home-nav { min-height: 76px; gap: 24px; }
  .home-nav-links { display: none; }
  #navToggle { display: inline-flex; }
  .home-hero { height: 420px; gap: 40px; }
  .home-hero h1 { font-size: 61px; }
  .home-hero-figure { height: 345px; }
  .home-hero-guide { font-size: 10px; }
  .home-service-panel { margin-top: -65px; }
}
@media (max-width:1000px) {
  .home-wrap { width: calc(100% - 48px); }
  .home-hero { height: 385px; gap: 32px; }
  .home-hero-copy { padding-top: 14px; }
  .home-hero h1 { font-size: 53px; }
  .home-hero-copy>p { font-size: 14px; }
  .home-hero-figure { height: 310px; }
  .home-hero-guide { max-width: 270px; line-height: 1.6; }
  .home-service-panel { grid-template-columns: 210px minmax(0,1fr); gap: 18px; padding: 24px; margin-top: -52px; }
  .home-search-heading h2 { font-size: 22px; }
  .home-primary-actions { gap: 8px; padding-top: 16px; }
  .home-primary-actions>a { font-size: 12px; padding: 12px; gap: 9px; }
  .home-primary-actions .action-arrow { display: none; }
  .home-directory { padding-top: 48px; }
  .home-section-heading h2 { font-size: 31px; }
  .home-service-grid { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .home-service-featured { grid-row: auto; grid-column: 1/-1; display: grid; grid-template-columns: 54px minmax(0,1fr) 140px; align-items: center; gap: 23px; margin: 0 0 25px; padding: 26px; }
  .home-service-featured>.home-service-icon { margin: 0; }
  .home-service-featured h3 { font-size: 24px; margin-bottom: 5px; }
  .home-service-featured .home-service-dept { margin-bottom: 7px; }
  .home-service-featured p { font-size: 13px; margin-top: 0; }
  .home-featured-link { margin: 0; padding: 0; font-size: 12px; }
  .home-service-card:not(.home-service-featured):nth-child(2), .home-service-card:not(.home-service-featured):nth-child(3) { border-top: 0; }
  .home-stats-grid { gap: 20px; }
  .home-stat { padding-left: 18px; }
  .home-stat>strong { font-size: 30px; }
  .home-stats-intro h2 { font-size: 21px; }
  .home-news-grid { gap: 30px; }
  .home-news-row { grid-template-columns: minmax(0,1fr) 85px; gap: 16px; padding-block: 18px; }
  .home-news-row>.home-news-image { height: 82px; }
  .home-news-row h3 { font-size: 14px; }
  .home-footer-grid { gap: 35px; }
}
@media (max-width:700px) {
  .home-government { display: none; }
  .home-nav { min-height: 70px; gap: 15px; }
  .home-brand img { width: 162px; height: 44px; }
  .home-nav-actions { gap: 10px; }
  .home-verify { display: none; }
  .home-login { padding: 10px 14px; gap: 8px; font-size: 12px; }
  .home-login>.material-symbols-outlined { display: none; }
  .home-wrap { width: calc(100% - 36px); }
  .home-hero { gap: 22px; height: 340px; padding-top: 24px; }
  .home-hero h1 { font-size: 44px; }
  .home-hero-copy>.home-eyebrow { font-size: 10px; }
  .home-hero-copy>p { font-size: 13px; }
  .home-hero-guide { display: none; }
  .home-hero-figure { height: 270px; border-radius: 8px; }
  .home-hero-figure figcaption { top: 12px; right: 10px; font-size: 9px; }
  .home-service-panel { grid-template-columns: 170px minmax(0,1fr); gap: 16px; margin-top: -42px; padding: 20px; }
  .home-search-heading h2 { font-size: 21px; }
  .home-search-form { padding-left: 10px; gap: 7px; }
  .home-search-form input { font-size: 12px; }
  .home-search-form button { padding: 10px 13px; }
  .home-search-form button>span { display: none; }
  .home-primary-actions>a { font-size: 11px; gap: 7px; padding: 10px 8px; }
  .home-primary-actions .material-symbols-outlined { font-size: 19px; }
  .home-section-heading>p { font-size: 12px; }
  .home-stats-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .home-stats-intro { grid-column: 1/-1; display: flex; align-items: center; gap: 25px; }
  .home-stats-intro h2 { margin: 0; font-size: 23px; }
  .home-stats-intro h2 br { display: none; }
  .home-stat:first-of-type { padding-left: 0; border-left: 0; }
  .home-overview { padding-block: 28px; }
  .home-stat>span { font-size: 11px; }
  .home-stat>small { font-size: 9px; line-height: 1.7; }
  .home-news-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-news-row { grid-template-columns: minmax(0,1fr) 110px; }
  .home-news-row>.home-news-image { height: 85px; }
  .home-news-row h3 { font-size: 16px; }
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .home-footer-brand { grid-column: 1/-1; }
  .home-footer-brand p { max-width: 360px; }
  .home-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-result-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-help { right: 18px; bottom: max(16px,env(safe-area-inset-bottom)); }
}
@media (max-width:500px) {
  .home-brand img { width: 146px; height: 40px; }
  .home-nav { min-height: 68px; }
  .home-nav-actions { gap: 8px; }
  .home-login { min-height: 42px; padding: 9px 12px; }
  #navToggle { width: 42px; height: 42px; }
  .home-hero { display: grid; grid-template-columns: 1fr; height: auto; gap: 17px; padding-top: 24px; }
  .home-hero-copy { padding: 0; }
  .home-hero-copy>.home-eyebrow { font-size: 10px; }
  .home-hero h1 { font-size: 47px; line-height: 1.03; margin: 12px 0 12px; }
  .home-hero h1 br { display: none; }
  .home-hero h1>span { display: block; }
  .home-hero-copy>p { max-width: 310px; font-size: 13px; line-height: 1.7; }
  .home-hero-figure { height: 145px; border-radius: 7px; }
  .home-hero-photo { object-position: center 53%; }
  .home-hero-figure figcaption { display: none; }
  .home-service-panel { display: block; margin-top: -25px; padding: 19px 16px 16px; border-radius: 8px; }
  .home-search-heading h2 { font-size: 22px; margin-bottom: 13px; }
  .home-search-form { min-height: 50px; padding: 4px 4px 4px 11px; gap: 8px; }
  .home-search-form>span { font-size: 19px; }
  .home-search-form input { font-size: 12px; min-height: 40px; }
  .home-search-form button { min-height: 42px; padding: 10px 14px; font-size: 12px; }
  .home-primary-actions { margin-top: 14px; padding-top: 14px; gap: 6px; }
  .home-primary-actions>a { flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 79px; padding: 10px 4px; font-size: 12px; font-weight: 400; text-align: center; line-height: 1.45; }
  .home-primary-actions .material-symbols-outlined { font-size: 21px; }
  .home-primary-actions>a:not(.home-action-main) { border: 0; }
  .home-directory { padding: 38px 0 32px; }
  .home-section-heading { align-items: center; gap: 15px; margin-bottom: 24px; }
  .home-section-heading h2 { font-size: 28px; margin-top: 8px; }
  .home-section-heading>p { display: none; }
  .home-service-grid { grid-template-columns: 1fr; gap: 0; }
  .home-service-featured { grid-column: auto; grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding: 23px 21px; margin: 0 0 10px; border-radius: 8px; }
  .home-service-featured>.home-service-icon { width: 40px; height: 43px; font-size: 23px; align-self: start; }
  .home-service-featured .home-service-dept { font-size: 8px; }
  .home-service-featured h3 { font-size: 23px; }
  .home-service-featured p { font-size: 12px; line-height: 1.8; margin-top: 9px; }
  .home-featured-link { grid-column: 2; font-size: 12px; padding-top: 8px; }
  .home-featured-link>.material-symbols-outlined { width: 29px; height: 29px; font-size: 16px; }
  .home-service-card:not(.home-service-featured) { padding: 20px 2px; gap: 13px; }
  .home-service-card h3 { font-size: 17px; }
  .home-service-card p { font-size: 13px; line-height: 1.7; }
  .home-service-icon { width: 30px; font-size: 24px; }
  .home-service-arrow { margin-left: 5px; }
  .home-upcoming { margin-top: 17px; }
  .home-upcoming ul { grid-template-columns: 1fr; }
  .home-stats-intro { display: block; }
  .home-stats-intro h2 { font-size: 25px; margin-top: 8px; }
  .home-stats-grid { gap: 21px 14px; }
  .home-stat { padding-left: 12px; }
  .home-stat>strong { font-size: 27px; }
  .home-stat>span { font-size: 10px; line-height: 1.7; }
  .home-stat>small { font-size: 10px; line-height: 1.7; }
  .home-news { padding-block: 36px 38px; }
  .home-news .home-section-heading h2 { font-size: 27px; }
  .home-section-heading>a { gap: 6px; font-size: 11px; }
  .home-news-copy { padding-top: 15px; }
  .home-news-lead h3 { font-size: 20px; line-height: 1.5; margin-top: 9px; }
  .home-news-row { grid-template-columns: minmax(0,1fr) 83px; gap: 18px; padding: 18px 0; }
  .home-news-row h3 { font-size: 14px; line-height: 1.6; }
  .home-news-row>.home-news-image { height: 80px; }
  .home-news-date { font-size: 11px; }
  .home-footer { padding-top: 32px; }
  .home-footer-grid { gap: 28px 26px; padding-bottom: 25px; }
  .home-footer-contact { min-width: 0; }
  .home-footer-contact p,.home-footer-contact a,.home-footer-links a { font-size: 11px; }
  .home-footer-links a { min-height: 36px; }
  .home-footer-brand img { width: 185px; }
  .home-footer-bottom { font-size: 10px; padding-block: 18px; }
  .home-result-list { grid-template-columns: 1fr; }
  .home-results .home-section-heading { align-items: flex-start; }
  .home-results .home-section-heading h2 { font-size: 25px; margin-top: 0; }
  .home-results .home-section-heading p { margin-top: 10px; font-size: 12px; }
}
@media (max-width:370px) {
  .home-wrap { width: calc(100% - 28px); }
  .home-brand img { width: 135px; height: 38px; }
  .home-nav-actions { gap: 6px; }
  .home-hero { padding-top: 18px; gap: 12px; }
  .home-hero h1 { font-size: 40px; margin: 10px 0 10px; }
  .home-hero-figure { height: 105px; }
  .home-hero-copy>p { font-size: 12px; line-height: 1.65; max-width: 275px; }
  .home-service-panel { margin-top: -19px; padding: 16px 13px 13px; }
  .home-search-heading h2 { font-size: 21px; margin-bottom: 11px; }
  .home-search-form input { font-size: 11px; }
  .home-search-form button { padding-inline: 11px; }
  .home-primary-actions { margin-top: 12px; padding-top: 12px; gap: 3px; }
  .home-primary-actions>a { font-size: 12px; min-height: 80px; padding-inline: 3px; }
  .home-stat>strong { font-size: 24px; }
}
@media (max-width:350px) {
  .home-service-panel { padding-top: 14px; padding-bottom: 12px; }
  .home-primary-actions { margin-top: 10px; padding-top: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  *,*:before,*:after { animation: none !important; transition: none !important; }
}
.home-wa-service{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:18px 20px;background:#edf7f0;border:1px solid #cfe5d7;border-radius:8px;color:#125b40;text-decoration:none}
.home-wa-service:hover{background:#e1f1e6;border-color:#98c9ad;color:#125b40}
.home-wa-icon{font-size:30px;line-height:1;color:#08775f}
.home-wa-copy{flex:1;min-width:0;display:grid;gap:4px}
.home-wa-copy strong{font-size:15px;font-weight:600;line-height:1.4}
.home-wa-copy>span{font-size:12px;line-height:1.6;color:#4b6b59}
.home-wa-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;border-radius:6px;background:#08775f;color:#fff;font-size:13px;font-weight:600;white-space:nowrap}
@media(max-width:600px){.home-wa-service{margin-top:16px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:14px}.home-wa-icon{font-size:27px}.home-wa-copy strong{font-size:14px}.home-wa-cta{grid-column:1/-1;justify-self:stretch;margin-top:3px}}


.home-restored-top .home-service-panel{margin-top:24px}
    /* --- jbg-hero (swiper) --- */
    .jbg-hero{position:relative;width:100%;}
    .jbg-swiper{width:100%;height:88vh;min-height:520px;max-height:760px;}
    .jbg-swiper .swiper-slide{background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;}
    .jbg-swiper .swiper-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.08));}
    .jbg-cap{position:relative;z-index:2;max-width:380px;margin-left:3%;margin-bottom:56px;color:#fff;background:rgba(0,0,0,.22);backdrop-filter:blur(8px);border-radius:16px;padding:16px 20px;border:1px solid rgba(255,255,255,.12);}
    .jbg-cap h2{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:20px;font-weight:800;line-height:1.2;margin:0 0 8px;text-shadow:0 1px 8px rgba(0,0,0,.35);}
    .jbg-cap p{font-size:13px;line-height:1.5;color:#f6e9ea;margin:0 0 12px;text-shadow:0 1px 6px rgba(0,0,0,.35);}
    .jbg-btn{display:inline-block;background:#be1e2d;color:#fff;font-weight:700;padding:11px 28px;border-radius:999px;text-decoration:none;transition:.2s;}
    .jbg-btn:hover{background:#98001b;}
    .jbg-swiper .swiper-button-next,.jbg-swiper .swiper-button-prev{color:#fff;}
    .jbg-swiper .swiper-pagination-bullet{background:#fff;opacity:.6;}
    .jbg-swiper .swiper-pagination-bullet-active{background:#be1e2d;opacity:1;width:26px;border-radius:5px;}
    .jbg-banner-image,.jbg-mobile-intro{display:none}
.home-portal .jbg-btn{color:#fff}
@media(max-width:1024px){
  .jbg-hero{padding-top:20px;background:#08775f}
  .jbg-swiper{height:auto;min-height:0;max-height:none;background:#eaf1ed}
  .jbg-swiper .swiper-wrapper{align-items:flex-start}
  .jbg-swiper .swiper-slide{display:block;height:auto;background-image:none!important;background-color:#eaf1ed}
  .jbg-swiper .swiper-slide::after{display:none}
  .jbg-banner-image{display:block;width:100%;height:auto;object-fit:contain}
  .jbg-cap{display:none}
  .jbg-mobile-intro{display:block;background:var(--home-paper);padding:20px max(18px,calc((100vw - 1120px)/2));}
  .jbg-mobile-intro h2{font-size:20px;line-height:1.4;font-weight:600;margin:0 0 6px;color:var(--home-ink)}
  .jbg-mobile-intro p{font-size:13px;line-height:1.6;color:var(--home-muted);margin:0}
  .jbg-swiper .swiper-pagination{position:relative;bottom:auto!important;padding:8px 12px;min-height:30px;line-height:1;background:var(--home-paper)}
  .jbg-swiper .swiper-pagination-bullet{background:#689080;opacity:.5}
  .jbg-swiper .swiper-pagination-bullet-active{background:#08775f;opacity:1}
  .jbg-swiper .swiper-button-next,.jbg-swiper .swiper-button-prev{display:none}
  .home-restored-top .home-service-panel{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.jbg-swiper .swiper-slide{transition-duration:0ms!important}}


.home-portal { --home-primary:#08775f; --home-red:#cc2637; --home-gradient:linear-gradient(105deg,#099c7b 0%,#69866c 44%,#ef3340 100%); }
.home-portal .jbg-btn { background:var(--home-red); color:#fff; }
.home-portal .jbg-btn:hover { background:#ac1d2d; }
.home-portal .jbg-swiper .swiper-pagination-bullet-active { background:#e53142; }
.home-portal .home-primary-actions>.home-action-main { background:var(--home-red); }
.home-portal .home-primary-actions>.home-action-main:hover { background:#ac1d2d; }
.home-portal .home-action-main .material-symbols-outlined { color:#fff; }
.home-portal .home-service-featured { background:#194f3b; }
.home-portal .home-service-featured:hover { background:#216348; }
.home-portal .home-service-icon, .home-portal .home-service-arrow { color:#42745e; }
.home-portal .home-service-featured>.home-service-icon { color:#fff; }
.home-portal .home-overview { background:#edf5ee; border-color:#d8e6dc; }
.home-portal .home-help>summary { background:#176347; }
/* Original footer structure: identity and seals, menu, contacts and visitor counts. */
.home-original-footer { position:relative; margin-top:60px; padding:0; border:0; color:#536c60; background:linear-gradient(180deg,#eef6f0,#deebe2); font-family:'Plus Jakarta Sans',system-ui,sans-serif; }
.home-original-footer:before { content:''; display:block; height:4px; background:var(--home-gradient); }
.home-original-footer .hpf-wrap { max-width:1280px; margin:auto; padding:64px 32px 35px; }
.home-original-footer .hpf-grid { display:grid; grid-template-columns:5fr 3fr 4fr; gap:40px; }
.home-original-footer .hpf-brand>img { display:block; width:auto; height:48px; max-width:100%; object-fit:contain; }
.home-original-footer .hpf-brand>p { max-width:380px; font-size:14px; line-height:1.8; margin:20px 0 0; }
.home-original-footer .hpf-seals { display:flex; align-items:center; gap:12px; margin-top:24px; }
.home-original-footer .hpf-seals>span { display:inline-flex; align-items:center; padding:8px; background:#fff; border-radius:12px; border:1px solid #dfe8e1; }
.home-original-footer .hpf-seals img { display:block; height:32px; width:auto; }
.home-original-footer h3 { font-family:'Plus Jakarta Sans',system-ui,sans-serif; color:#214935; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; margin:0 0 20px; }
.home-original-footer ul { list-style:none; margin:0; padding:0; }
.home-original-footer .hpf-menu li { margin:0 0 10px; }
.home-original-footer .hpf-menu a { display:inline-flex; gap:6px; align-items:center; min-height:30px; color:#536c60; font-size:14px; }
.home-original-footer .hpf-menu .material-symbols-outlined { color:#438269; font-size:16px; }
.home-original-footer a:hover { color:#086e53; text-decoration:underline; text-underline-offset:3px; }
.home-original-footer .hpf-contact li { display:flex; gap:12px; align-items:flex-start; margin:0 0 12px; font-size:14px; line-height:1.7; }
.home-original-footer .hpf-contact li>span:first-child { display:inline-flex; width:36px; height:36px; flex-shrink:0; align-items:center; justify-content:center; border-radius:8px; background:#dceee2; color:#16835b; }
.home-original-footer .hpf-contact li .material-symbols-outlined { font-size:18px; }
.home-original-footer .hpf-contact li>a,.home-original-footer .hpf-contact li>span:last-child:not(:first-child) { padding-top:6px; overflow-wrap:anywhere; min-width:0; }
.home-original-footer .hpf-visitors { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:24px; text-align:center; }
.home-original-footer .hpf-visitors>div { padding:12px 8px; border-radius:12px; background:#f2fbf5; border:1px solid #d2e8da; }
.home-original-footer .hpf-visitors>div:nth-child(2) { background:#e5f3e9; }
.home-original-footer .hpf-visitors>div:last-child { background:#fbecee; border-color:#f0d1d6; }
.home-original-footer .hpf-visitors .num { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:18px; font-weight:800; color:#14744e; margin:0; }
.home-original-footer .hpf-visitors p:last-child { color:#477859; font-size:9px; line-height:1.5; letter-spacing:.05em; text-transform:uppercase; font-weight:600; margin:4px 0 0; }
.home-original-footer .hpf-visitors>div:last-child .num,.home-original-footer .hpf-visitors>div:last-child p:last-child { color:#b52b3e; }
.home-original-footer .hpf-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:56px; padding-top:28px; border-top:1px solid #cddfd3; font-size:12px; line-height:1.7; }
.home-original-footer .hpf-bottom p { margin:0; }
.home-original-footer .hpf-bottom a { flex-shrink:0; }
.home-portal .home-back-link { background:#deebe2; color:#38654c!important; padding:0 24px 80px; font-size:11px; }
.home-original-footer .text-secondary { color:#536c60!important; }
.home-original-footer .text-primary { color:#08775f!important; }
.home-original-footer .hpf-visitors>div:last-child .text-primary { color:#b52b3e!important; }
@media(max-width:767px) {
  .home-original-footer { margin-top:30px; }
  .home-original-footer .hpf-wrap { padding:40px 20px 28px; }
  .home-original-footer .hpf-grid { grid-template-columns:1fr; gap:32px; }
  .home-original-footer .hpf-brand>p { max-width:none; }
  .home-original-footer .hpf-contact { max-width:440px; }
  .home-original-footer .hpf-bottom { flex-direction:column; text-align:center; margin-top:35px; gap:12px; }
}


.legacy-header{position:sticky;top:0;z-index:50;width:100%;margin:0 0 -20px;border:0;border-radius:0 0 20px 20px;background:linear-gradient(105deg,#099c7b 0%,#69866c 44%,#ef3340 100%);box-shadow:0 8px 24px -15px #174b3c66;font-family:'Plus Jakarta Sans',system-ui,sans-serif}
/* The next section extends behind the rounded edge, so corners show its content. */
.legacy-header{transition:background .25s ease,box-shadow .25s ease,backdrop-filter .25s ease}
.legacy-header.is-scrolled{background:linear-gradient(105deg,rgba(9,156,123,.72) 0%,rgba(105,134,108,.72) 44%,rgba(239,51,64,.72) 100%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 6px 24px -12px #174b3c44}
.legacy-header *{box-sizing:border-box}
@media(prefers-reduced-motion:reduce){.legacy-header{transition:none}}
.legacy-header a{text-decoration:none}
.legacy-header :where(a,button):focus-visible{outline:2px solid #fff;outline-offset:3px}
.legacy-header .legacy-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1280px;min-height:68px;padding:0 32px;margin:auto}
.legacy-header .legacy-brand{display:flex;align-items:center;flex-shrink:0;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.legacy-header .legacy-brand img{display:block;height:44px;width:auto;max-width:205px;object-fit:contain;background:transparent;border-radius:0}
.legacy-header .legacy-nav-links{display:flex;align-items:center;gap:2px;padding:4px;background:#00000029;border-radius:999px;box-shadow:none}
.legacy-header .legacy-nav-links>a{padding:8px 16px;border-radius:999px;font-size:14px;line-height:1.5;color:#fff;white-space:nowrap;font-weight:500}
.legacy-header .legacy-nav-links>a:hover{background:#ffffff1f}
.legacy-header .legacy-nav-links>a[aria-current]{background:#00000024;color:#fff;font-weight:600;box-shadow:inset 0 -2px #fff}
.legacy-header .legacy-nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.legacy-header .legacy-verify,.legacy-header .legacy-login{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 20px;color:#fff;font-size:14px;line-height:1.5;font-weight:600;white-space:nowrap;min-height:44px;box-shadow:none}
.legacy-header .legacy-verify{background:#00000024;border:1px solid #ffffff85}
.legacy-header .legacy-verify:hover{background:#ffffff2b}
.legacy-header .legacy-login{background:#b21f30;border:1px solid #ffffff38}
.legacy-header .legacy-login:hover{background:#96192a}
.legacy-header .material-symbols-outlined{flex-shrink:0;vertical-align:middle}
.legacy-header .legacy-verify>.material-symbols-outlined,.legacy-header .legacy-login>.material-symbols-outlined{font-size:20px}
.legacy-header #navToggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:12px;color:#fff;border:1px solid #ffffff85;background:#00000012;cursor:pointer}
.legacy-header #mobileMenu{position:absolute;top:100%;left:0;width:100%;border-radius:0 0 20px 20px;background:#fff;border-top:1px solid #ffffff35;max-height:calc(100dvh - 68px);overflow-y:auto}
.legacy-header #mobileMenu.hidden{display:none!important}
.legacy-header .legacy-mobile-links{display:grid;gap:4px;max-width:1280px;margin:auto;padding:16px 20px}
.legacy-header #mobileMenu a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;padding:12px 16px;border:0;border-radius:12px;font-size:14px;line-height:1.5;color:#3e5c4f}
.legacy-header #mobileMenu a:focus-visible{outline-color:#08775f}
.legacy-header #mobileMenu a[aria-current]{background:#e5f3eb;color:#076c54;font-weight:600}
.legacy-header #mobileMenu .material-symbols-outlined{font-size:20px;color:inherit}
.legacy-header #mobileMenu .legacy-verify{background:#e5f3eb;color:#076c54;border:1px solid #bfdacd;justify-content:center;margin-top:8px}
.legacy-header #mobileMenu .legacy-login{background:#cc2637;color:#fff;justify-content:center;margin-top:8px}
@media(min-width:1280px){.legacy-header #mobileMenu{display:none!important}}
@media(max-width:1279px){.legacy-header .legacy-nav-links{display:none}.legacy-header #navToggle{display:inline-flex}}
@media(max-width:639px){.legacy-header .legacy-nav{padding-inline:20px}.legacy-header .legacy-nav-actions>.legacy-verify,.legacy-header .legacy-nav-actions>.legacy-login{display:none}}

/* Village identity and existing inner pages use the same public portal palette. */
body.village-portal{--ink:#203b32;--muted:#63736b;--accent:#08775f;--accent-hover:#065c49;--line:#dce5df;--surface:#edf5ee;--soft:#e5f3eb;font-size:16px;line-height:1.5}
.village-portal .desa-brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;text-decoration:none}
.village-portal .desa-brand>img{height:44px;width:auto;object-fit:contain}
.village-portal .desa-brand>span{display:grid;gap:4px;line-height:1.2}
.village-portal .desa-brand strong{font-size:18px;font-weight:700;letter-spacing:-.025em;white-space:nowrap}
.village-portal .desa-brand small{font-size:8px;font-weight:600;letter-spacing:.12em}
.village-portal .legacy-header .desa-brand{color:#fff}
.village-portal .legacy-header .desa-brand small{color:#e4f1e9}
.village-portal .footer-desa-brand{color:#214935}
.village-portal .footer-desa-brand small{color:#536c60}
.village-portal .desa-footer-portal{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:12px;color:#08775f;margin-top:20px}
.village-portal .desa-footer-portal .material-symbols-outlined{font-size:20px}
.village-portal .home-original-footer a{overflow-wrap:anywhere}
.village-portal .desa-notice{margin-top:24px}
.village-portal .notice{border-radius:8px;background:#edf5ee;border-color:#d8e6dc}
.village-portal .page-intro{padding-top:70px;background:#edf5ee}
.village-portal .page-intro h1{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:40px;font-weight:600}
.village-portal .section-heading h2{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:600;font-size:30px}
.village-portal .profile-nav a[aria-current]{color:#08775f;background:#e5f3eb}
.village-portal .service-intro{background:#edf5ee;border-color:#d8e6dc}
.village-portal .home-help summary{list-style:none}
.village-portal .home-help summary::-webkit-details-marker{display:none}
.village-portal .jbg-swiper .desa-banner-fallback{min-height:320px;background:#194f3b}
.village-portal .home-news-image{background:#e5ede7}
@media(max-width:639px){.village-portal .desa-brand strong{font-size:17px}.village-portal .page-intro h1{font-size:30px}.village-portal .page-intro{padding-top:52px}.village-portal .legacy-nav{gap:12px}}
@media(prefers-reduced-motion:reduce){.village-portal .legacy-header{transition:none}}

/* Village discovery shortcuts, wrap on small screens. */
.home-actions{display:flex;flex-wrap:wrap;gap:12px 24px;padding:8px 0 20px}.home-actions a{color:#086c55;font-weight:700;padding:12px 0;min-height:44px;border-bottom:1px solid #c8ddd1;text-decoration:none}.home-actions a:focus-visible{outline:3px solid #a20e32;outline-offset:4px}@media(max-width:600px){.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}}
/* Illustrated village discovery: local SVGs, no remote image requests. */
.village-explore{padding:64px 0 70px;background:#f6f8f3}.village-explore-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}.village-explore-heading h2{margin:10px 0 12px;color:#203e33;font-size:clamp(27px,3vw,38px);font-weight:700;line-height:1.2;letter-spacing:-.035em}.village-explore-heading p{color:#64756b;font-size:16px;line-height:1.6;margin:0}.village-explore-all{display:inline-flex;gap:12px;align-items:center;white-space:nowrap;color:#187256;font-size:14px;font-weight:650;text-decoration:none;padding:8px 0;border:0}.village-explore-all span{font-size:22px}.village-explore-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.village-explore-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #dfe7dc;border-radius:16px;overflow:hidden;background:#fff;text-decoration:none;color:#203e33;transition:border-color .2s,transform .2s,box-shadow .2s}.village-explore-art{height:148px;display:flex;align-items:center;justify-content:center;background:#eef4e9}.village-explore-art img{display:block;width:182px;max-width:95%;height:132px;object-fit:contain}.village-explore-pembangunan .village-explore-art{background:#f3f0e3}.village-explore-data .village-explore-art{background:#edf3f5}.village-explore-agenda .village-explore-art{background:#f8efe8}.village-explore-aspirasi .village-explore-art{background:#f1f3e6}.village-explore-copy{flex:1;position:relative;padding:20px 18px 48px}.village-explore-copy h3{margin:0 0 9px;color:#203e33;font-size:18px;font-weight:750;line-height:1.35;letter-spacing:-.02em}.village-explore-copy p{margin:0;color:#64756b;font-size:14px;line-height:1.65}.village-explore-arrow{position:absolute;bottom:15px;right:17px;color:#187256;font-size:22px;line-height:1}.village-explore-card:hover{transform:translateY(-4px);border-color:#80ac8e;box-shadow:0 8px 20px #294b3510;color:#203e33;text-decoration:none}.village-explore-card:focus-visible,.village-explore-all:focus-visible{outline:3px solid #a71032;outline-offset:4px}.village-explore-all:hover{color:#11563f;text-decoration:underline}@media(max-width:1100px){.village-explore-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.village-explore-art{height:140px}}@media(max-width:600px){.village-explore{padding:38px 0 42px}.village-explore-heading{display:block;margin-bottom:23px}.village-explore-heading p{font-size:14px;max-width:34ch}.village-explore-all{margin-top:14px}.village-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.village-explore-card{border-radius:12px}.village-explore-art{height:115px}.village-explore-art img{width:150px;height:108px}.village-explore-copy{padding:15px 13px 39px}.village-explore-copy h3{font-size:16px}.village-explore-copy p{font-size:13px;line-height:1.55}.village-explore-aspirasi{grid-column:1/-1;display:grid;grid-template-columns:110px 1fr}.village-explore-aspirasi .village-explore-art{height:100%;min-height:132px}.village-explore-aspirasi .village-explore-art img{width:110px}.village-explore-aspirasi .village-explore-copy{padding-right:35px}}@media(prefers-reduced-motion:reduce){.village-explore-card{transition:none}.village-explore-card:hover{transform:none}}
.desa-whatsapp-qr{display:grid;grid-template-columns:148px minmax(0,1fr);align-items:center;gap:18px;margin-top:22px;max-width:355px}.desa-whatsapp-qr-image{display:block;width:148px;height:148px;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #cadfd2}.desa-whatsapp-qr-image img{display:block;width:148px;height:148px;max-width:none}.desa-whatsapp-qr strong{display:block;color:#1b5340;font-size:17px;line-height:1.4}.desa-whatsapp-qr p{font-size:14px!important;line-height:1.6!important;margin:8px 0!important;color:#416959!important}.desa-whatsapp-qr small{display:block;font-size:12px;line-height:1.5;color:#527464}.desa-whatsapp-qr-image:focus-visible{outline:3px solid #a71032;outline-offset:4px}@media(max-width:360px){.desa-whatsapp-qr{gap:12px}.desa-whatsapp-qr strong{font-size:16px}}

.home-help>summary{box-sizing:border-box;width:52px;height:52px;min-height:52px;padding:0 15px;gap:0;position:relative;transition:width .24s ease,box-shadow .24s ease;background:#176347}
.home-help>summary>.material-symbols-outlined{flex:0 0 20px;width:20px;font-size:20px}
.home-help-label{display:block;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;margin-left:0;transition:max-width .24s ease,opacity .18s ease,margin .24s ease;font-size:13px}
.home-help>summary::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px solid #38876b;pointer-events:none;animation:help-ripple 2.2s ease-out 3}
.home-help[open]>summary,.home-help>summary:focus-visible{width:126px;box-shadow:0 8px 24px #173c2930}
.home-help[open] .home-help-label,.home-help>summary:focus-visible .home-help-label{max-width:72px;opacity:1;margin-left:10px}
.home-help[open]>.home-help-menu{transform-origin:bottom right;animation:help-reveal .18s ease-out}
@media(hover:hover) and (pointer:fine){.home-help>summary:hover{width:126px;box-shadow:0 8px 24px #173c2930}.home-help>summary:hover .home-help-label{max-width:72px;opacity:1;margin-left:10px}}
@keyframes help-ripple{0%{transform:scale(1);opacity:.35}75%,100%{transform:scale(1.32);opacity:0}}
@keyframes help-reveal{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.home-help>summary,.home-help-label{transition:none}.home-help>summary::after,.home-help[open]>.home-help-menu{animation:none}}
