/* ==========================================================================
   SC Pemkab HTML — Desain 01 "Biru Resmi"
   Portal pemerintah kabupaten klasik: top bar, mega menu, grid ikon layanan.
   Template oleh sharecode.id — lisensi MIT.
   ========================================================================== */

/* ---------- 1. Font (self-host, lihat NOTICE.md) ---------- */
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* ---------- 2. Variabel (ganti warna/font di sini) ---------- */
:root {
  --blue: #0d47a1;
  --blue-600: #1557b8;
  --blue-700: #0a3a85;
  --blue-800: #08306f;
  --blue-900: #062457;
  --blue-50: #eef4fc;
  --blue-100: #dbe7f8;
  --gold: #fbc02d;
  --gold-600: #e5a90f;
  --gold-50: #fff8e1;
  --ink: #0f1c33;
  --text: #354052;
  --muted: #5f6b7d;
  --line: #dde4ee;
  --bg: #ffffff;
  --tint: #f3f6fb;
  --danger: #c62828;
  --success: #2e7d32;

  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(6, 36, 87, .06), 0 2px 8px rgba(6, 36, 87, .06);
  --shadow: 0 10px 30px -10px rgba(6, 36, 87, .25);
  --shadow-lg: 0 24px 60px -20px rgba(6, 36, 87, .35);
  --container: 1240px;
  --header-h: 140px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 3. Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 125%; }
html.fs--1 { font-size: 93.75%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
main:focus { outline: none; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ic use { pointer-events: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- 4. Komponen umum ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-800); color: #fff; box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffd04f; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(251, 192, 45, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue-900); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--navy { background: var(--blue-900); color: #fff; }
.btn--navy:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.btn--block { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 50%; transition: .2s; flex: none; }
.icon-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--light { color: var(--gold); }
.link-arrow--light:hover { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.eyebrow--gold { color: var(--gold); }
.sec-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem); font-weight: 900; letter-spacing: -.01em; }
.sec-title--light { color: #fff; }
.sec-lead { color: var(--muted); max-width: 62ch; margin: 0; }
.sec-head { margin-bottom: 2rem; }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sec-head--split .sec-title { margin-bottom: .2em; }
.lead { font-size: 1.08rem; color: var(--text); }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--tint); }
.section--first { padding-top: clamp(40px, 5vw, 64px); }

.badge {
  display: inline-flex; align-items: center; gap: .3em; padding: .28em .7em; border-radius: 3px;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
}
.badge--soft { background: var(--blue-50); color: var(--blue-700); }
.badge--gold { background: var(--gold); color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45em .6em; font-size: .84rem; color: var(--muted); margin: 0 0 .6rem; }
.meta .ic { color: var(--blue); }
.meta .badge { margin-right: .2em; }
.meta--lg { font-size: .92rem; margin-bottom: 1.4rem; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #b0bccd; }
.empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--tint); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 1rem; }
.result-count { font-size: .88rem; color: var(--muted); margin: -.3rem 0 1.2rem; }

/* Form field */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; position: relative; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75em .95em; border: 1.5px solid #cdd7e5; border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 71, 161, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__err { margin: 0; font-size: .82rem; color: var(--danger); min-height: 0; }
.field--search { flex-direction: row; align-items: center; margin: 0; min-width: min(100%, 320px); }
.field--search > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.field--search input { padding-left: 2.6em; border-radius: 999px; }
.field--lg input { padding-top: 1em; padding-bottom: 1em; font-size: 1.05rem; }
.field--select { margin: 0; }
.field--select select { border-radius: 999px; padding-right: 2.4em; min-width: 220px; }
.check { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; margin-bottom: .6rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }

/* Toolbar & chip filter */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; margin-bottom: 2rem; }
.chip {
  padding: .5em 1.05em; border: 1.5px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; font-size: .86rem; font-weight: 500; transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Tabel */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table { font-size: .92rem; }
.table th, .table td { padding: .85em 1em; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--blue); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.table tbody tr:nth-child(even) { background: #f8fafd; }
.table tbody tr:hover { background: var(--gold-50); }
.table tfoot th, .table tfoot td { background: var(--blue-50); font-weight: 700; color: var(--ink); border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table--compact { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table--compact caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: .5em; font-family: var(--font-head); }
.table--compact th { width: 90px; background: var(--blue-50); color: var(--blue-800); }

/* Reveal saat scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 5. Top bar ---------- */
.topbar { background: var(--blue-900); color: #c9d6ec; font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__info, .topbar__tools { display: flex; align-items: center; gap: 20px; list-style: none; }
.topbar__info li { display: flex; align-items: center; gap: 7px; }
.topbar .ic { color: var(--gold); }
.topbar a { color: #e6edf8; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.fontsize { display: flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; overflow: hidden; }
.fontsize button { background: none; border: 0; color: #e6edf8; padding: 3px 9px; font-size: .78rem; font-weight: 600; line-height: 1.5; }
.fontsize button + button { border-left: 1px solid rgba(255, 255, 255, .2); }
.fontsize button:hover, .fontsize button.is-active { background: var(--gold); color: var(--ink); }
.fontsize sup { font-size: .7em; }

/* ---------- 6. Header & mega menu ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.brandbar { position: relative; background: #fff; }
.brandbar::before { content: ""; position: absolute; inset: 0 0 0 60%; background: url("../img/pola-kawung.svg") 0 0 / 72px repeat; opacity: .28; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.brandbar__in { position: relative; }
.brandbar__in { display: flex; align-items: center; gap: 24px; padding-block: 14px; transition: padding .3s; }
.is-scrolled .brandbar__in { padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; color: var(--ink); }
.brand img { width: 52px; height: auto; transition: width .3s; }
.is-scrolled .brand img { width: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text small { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.brand__text strong { font-family: var(--font-head); font-weight: 900; font-size: 1.22rem; color: var(--blue-900); letter-spacing: -.01em; }
.brand__text em { font-style: normal; font-size: .8rem; color: var(--muted); }
.brand--light, .brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text em { color: var(--gold); }

.hsearch { display: flex; align-items: center; width: min(320px, 30vw); border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.hsearch:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 71, 161, .12); }
.hsearch input { flex: 1; min-width: 0; border: 0; padding: .6em 1em; background: transparent; font-size: .9rem; }
.hsearch input:focus { outline: none; }
.hsearch button { border: 0; background: var(--blue); color: #fff; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; margin: 2px; }
.hsearch button:hover { background: var(--blue-800); }

.hotline { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding-left: 20px; border-left: 1px solid var(--line); }
.hotline__ic { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.hotline small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.hotline strong { font-size: 1rem; color: var(--blue-900); }
.hotline:hover strong { color: var(--blue); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff; place-items: center; }
.nav-toggle .ic { width: 24px; height: 24px; }

.mainnav { position: relative; background: var(--blue); border-bottom: 3px solid var(--gold); }
.menu { display: flex; list-style: none; }
.menu__item { position: static; }
.menu__item.has-dropdown { position: relative; }
.menu__link {
  display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 18px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  background: none; border: 0; position: relative; transition: background .2s, color .2s;
}
.menu__link::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.menu__link:hover, .has-mega.is-open > .menu__link { background: var(--blue-800); color: #fff; }
.menu__link.is-active { background: var(--blue-800); }
.menu__link.is-active::after, .menu__link:hover::after { transform: scaleX(1); }
.menu__caret { width: 14px; height: 14px; transition: transform .25s; }
.has-mega.is-open .menu__caret { transform: rotate(180deg); }
.menu__item:first-child .menu__link { padding-left: 0; }
.menu__item:first-child .menu__link::after { left: 0; }
.menu__item:first-child .menu__link:not(.is-active):hover { background: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 3px; background: #fff;
  box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-mega.is-open > .mega, .has-mega.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 40px; padding-block: 32px; }
.mega__title { font-family: var(--font-head); font-weight: 700; color: var(--blue-900); font-size: 1rem; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 2px solid var(--blue-50); }
.mega__col ul { list-style: none; display: grid; gap: 4px; }
.mega__col a { display: flex; gap: 14px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--text); transition: background .2s; }
.mega__col a .ic { width: 38px; height: 38px; padding: 9px; border-radius: 8px; background: var(--blue-50); color: var(--blue); transition: .2s; }
.mega__col a strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.mega__col a small { color: var(--muted); font-size: .82rem; }
.mega__col a:hover { background: var(--tint); }
.mega__col a:hover .ic { background: var(--gold); color: var(--ink); }
.mega__feature { background: var(--tint); border-radius: var(--radius-lg); padding: 16px 18px 18px; border-top: 3px solid var(--gold); }
.mega__feature img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.mega__feature .mega__title { border: 0; padding: 0; margin-bottom: .3rem; }
.mega__feature p { font-size: .87rem; color: var(--muted); margin-bottom: .6rem; }
.mega--grid .mega__in { grid-template-columns: 1fr 320px; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mega__tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; transition: .2s; }
.mega__tile .ic { width: 30px; height: 30px; color: var(--blue); }
.mega__tile:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.mega__tile:hover .ic { color: var(--gold); }
.mega__cta { background: var(--blue-900) url("../img/pola-kawung.svg") 0 0 / 70px repeat; background-blend-mode: soft-light; color: #d5e0f2; border-radius: var(--radius-lg); padding: 24px; font-size: .9rem; }
.mega__cta strong { color: #fff; }
.mega__eyebrow { color: var(--gold); font-weight: 700; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .4rem; }
.dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 3px; min-width: 230px; background: #fff; padding: 8px; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.dropdown a .ic { color: var(--blue); }
.dropdown a:hover { background: var(--tint); }

/* Menu mobile */
.mnav { position: fixed; inset: 0; z-index: 200; background: rgba(6, 20, 45, .55); opacity: 0; transition: opacity .25s; }
.mnav.is-open { opacity: 1; }
.mnav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; padding: 0 20px 28px; transform: translateX(100%); transition: transform .3s var(--ease); }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 3px solid var(--gold); margin-bottom: 16px; position: sticky; top: 0; background: #fff; z-index: 1; }
.mnav__head strong { font-family: var(--font-head); color: var(--blue-900); flex: 1; }
.mnav__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); display: grid; place-items: center; }
.mnav__search { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.mnav__search input { flex: 1; border: 0; padding: .65em 1em; min-width: 0; }
.mnav__search input:focus { outline: none; }
.mnav__search button { border: 0; background: var(--blue); color: #fff; width: 46px; }
.mnav__list { list-style: none; margin-bottom: 20px; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 4px; background: none; border: 0; font-weight: 600; color: var(--ink); text-decoration: none; text-align: left; }
.mnav__link.is-active { color: var(--blue); }
.mnav__link .ic { transition: transform .25s; }
.mnav__link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mnav__sub { list-style: none; display: none; padding: 0 0 12px 12px; border-left: 3px solid var(--gold); margin: 0 0 12px 4px; }
.mnav__group.is-open .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: 8px 10px; color: var(--text); text-decoration: none; font-size: .94rem; }
.mnav__sub a:hover { color: var(--blue); }
body.no-scroll { overflow: hidden; }

/* ---------- 7. Page hero (halaman dalam) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #dbe6f7;
  background: linear-gradient(115deg, var(--blue-900) 0%, var(--blue) 70%, var(--blue-600) 100%);
  border-bottom: 4px solid var(--gold);
}
.page-hero::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 55%; background: url("../img/pola-kawung.svg") 0 0 / 90px repeat; opacity: .16; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border: 50px solid rgba(251, 192, 45, .12); border-radius: 50%; }
.page-hero__in { position: relative; z-index: 1; padding-block: 44px 52px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); font-weight: 900; max-width: 26ch; margin-bottom: .35em; }
.is-article .page-hero h1 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem); max-width: 40ch; }
.page-hero__lead { max-width: 64ch; margin: 0; font-size: 1.04rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .84rem; margin-bottom: 14px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--gold); }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .45); }
.crumbs a { color: #e6edf8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- 8. Beranda ---------- */
/* Ticker */
.ticker { background: var(--gold); color: var(--ink); font-size: .88rem; }
.ticker__in { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.ticker__label { display: flex; align-items: center; gap: 8px; background: var(--blue-900); color: #fff; font-weight: 700; padding: 0 16px; align-self: stretch; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 24px; }
.ticker__label .ic { color: var(--gold); }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__list { display: flex; gap: 48px; list-style: none; width: max-content; animation: ticker 45s linear infinite; }
.ticker__list li { white-space: nowrap; position: relative; }
.ticker__list li::before { content: ""; position: absolute; left: -28px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--blue); transform: rotate(45deg); }
.ticker__list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ticker__list a:hover { text-decoration: underline; }
.ticker:hover .ticker__list, .ticker:focus-within .ticker__list { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero slider */
.hero { position: relative; height: clamp(560px, 78vh, 700px); background: var(--blue-900); overflow: hidden; color: #fff; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 36, 87, .95) 0%, rgba(8, 48, 111, .82) 38%, rgba(13, 71, 161, .25) 72%, rgba(13, 71, 161, 0) 100%), linear-gradient(0deg, rgba(6, 36, 87, .6), transparent 40%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 90px; }
.hero__content > * { max-width: 600px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero__eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--gold); }
.hero__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 900; line-height: 1.18; letter-spacing: -.015em; margin-bottom: .45em; }
.hero__text { font-size: 1.08rem; color: #dbe6f7; max-width: 540px; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__slide.is-active .hero__content > * { animation: heroIn .9s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__nav { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% - 45px)); display: flex; flex-direction: column; align-items: flex-end; gap: 16px; pointer-events: none; }
.hero__nav > * { pointer-events: auto; }
.hero__tabs { display: flex; flex-direction: column; gap: 6px; width: 230px; }
.hero__tab { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 12px 16px; text-align: left; background: rgba(6, 36, 87, .45); border: 1px solid rgba(255, 255, 255, .14); color: #c9d6ec; border-radius: var(--radius); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .25s; }
.hero__tab:hover { background: rgba(6, 36, 87, .7); color: #fff; }
.hero__tab.is-active { background: rgba(6, 36, 87, .85); border-color: rgba(251, 192, 45, .6); color: #fff; }
.hero__num { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: var(--gold); grid-row: span 2; }
.hero__tabtxt { font-weight: 600; font-size: .92rem; }
.hero__bar { height: 3px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.hero__tab.is-active .hero__bar i { animation: bar var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__bar i { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; display: grid; place-items: center; transition: .2s; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Grid ikon layanan cepat */
.quick { position: relative; z-index: 5; margin-top: -84px; }
.quick__box { display: grid; grid-template-columns: 290px 1fr; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick__intro { background: var(--blue) url("../img/pola-kawung.svg") 0 0 / 80px repeat; background-blend-mode: soft-light; color: #dbe6f7; padding: 32px 30px; position: relative; }
.quick__intro::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 4px; background: var(--gold); }
.quick__intro h2 { color: #fff; font-size: 1.6rem; font-weight: 900; margin-bottom: .4em; }
.quick__intro p { font-size: .9rem; }
.quick__grid { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.quick__grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick__grid li:nth-child(5n) { border-right: 0; }
.quick__grid li:nth-last-child(-n+5) { border-bottom: 0; }
.qtile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; height: 100%; padding: 22px 10px; text-decoration: none; color: var(--ink); position: relative; transition: background .25s; }
.qtile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.qtile__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; transition: .25s; box-shadow: inset 0 0 0 1px var(--blue-100); }
.qtile__ic .ic { width: 26px; height: 26px; }
.qtile strong { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.qtile small { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.qtile:hover { background: var(--tint); color: var(--ink); }
.qtile:hover::after { transform: scaleX(1); }
.qtile:hover .qtile__ic { background: var(--blue); color: var(--gold); transform: translateY(-3px); }

/* Sambutan */
.welcome__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.welcome__photo { margin: 0; position: relative; padding: 0 22px 22px 0; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-50); }
.welcome__photo::before { content: ""; position: absolute; inset: 22px 0 0 22px; border: 3px solid var(--gold); border-radius: var(--radius-lg); }
.frame img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.nameplate { position: absolute; left: -12px; bottom: 50px; background: var(--blue-900); color: #fff; padding: 14px 20px 14px 18px; border-left: 5px solid var(--gold); box-shadow: var(--shadow); max-width: 86%; }
.nameplate strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.nameplate span { font-size: .82rem; color: var(--gold); }
.welcome__quote { margin: 2.4rem 0 1.4rem; padding: 0 0 0 26px; border-left: 3px solid var(--blue-100); position: relative; color: var(--text); }
.welcome__quote::before { content: "“"; position: absolute; left: -6px; top: -40px; font-family: var(--font-head); font-size: 4.6rem; color: var(--gold); line-height: 1; }
.welcome__quote p:first-child { font-family: var(--font-head); font-style: italic; color: var(--ink); }
.welcome__sign { display: flex; align-items: center; gap: 18px; margin-bottom: 1.6rem; }
.welcome__sign img { width: 150px; }
.welcome__sign strong { display: block; color: var(--ink); font-family: var(--font-head); }
.welcome__sign span { font-size: .86rem; color: var(--muted); }
.welcome__leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.leader-chip { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: .2s; }
.leader-chip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--blue-50); border: 2px solid var(--gold); }
.leader-chip strong { display: block; font-size: .86rem; color: var(--ink); line-height: 1.3; }
.leader-chip small { color: var(--muted); font-size: .78rem; }
.leader-chip:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }

/* Statistik */
.stats { position: relative; padding: clamp(56px, 7vw, 88px) 0; background: var(--blue-900); color: #c9d6ec; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-kawung.svg") center / 110px repeat; opacity: .07; }
.stats::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 33%, #fff 33% 34%, var(--blue) 34% 100%); }
.stats .container { position: relative; }
.stats__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 2.4rem; }
.stats__head p { font-size: .84rem; margin: 0; max-width: 340px; }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); }
.stat { padding: 26px 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat dt { display: flex; flex-direction: column; gap: 10px; font-size: .82rem; color: #c9d6ec; min-height: 4.4em; }
.stat dt .ic { width: 28px; height: 28px; color: var(--gold); }
.stat dd { margin: 0; }
.stat dd span { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.1rem); color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .78rem; color: var(--gold); }

/* Berita beranda */
.news-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.news-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.news-feature { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-feature__img { display: block; overflow: hidden; }
.news-feature__img img, .news-item__img img, .card__img img, .dest__img img { transition: transform .6s var(--ease); }
.news-feature:hover img, .news-item:hover img, .card:hover .card__img img, .dest:hover img { transform: scale(1.05); }
.news-feature__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-feature__body { padding: 20px 22px 24px; border-top: 4px solid var(--gold); }
.news-feature h3 { font-size: 1.25rem; }
.news-feature h3 a, .news-item h3 a, .card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.news-feature h3 a:hover, .news-item h3 a:hover, .card__title a:hover { background-size: 100% 2px; color: var(--blue-800); }
.news-feature p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: 0; }
.news-item__img { display: block; border-radius: var(--radius); overflow: hidden; }
.news-item__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-item .meta { margin-bottom: .35rem; font-size: .78rem; }
.news-item h3 { font-size: .96rem; margin: 0; line-height: 1.4; }

.side-panel { display: flex; flex-direction: column; gap: 20px; }
.tabs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.tabs__list { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); }
.tabs__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border: 0; background: none; font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs__btn[aria-selected="true"] { background: #fff; color: var(--blue); border-bottom-color: var(--gold); }
.tabs__panel { padding: 8px 20px 20px; }
.notice-list { list-style: none; margin-bottom: 14px; }
.notice-list li { border-bottom: 1px dashed var(--line); }
.notice-list a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); }
.notice-list a:hover strong { color: var(--blue); }
.notice-list__date { display: block; font-size: .76rem; color: var(--blue); font-weight: 600; margin-bottom: 2px; }
.notice-list strong { font-weight: 600; font-size: .9rem; line-height: 1.4; display: inline; margin-right: 6px; }
.doc-mini { list-style: none; margin-bottom: 14px; }
.doc-mini li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.doc-mini li > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 6px; background: #fdecea; color: var(--danger); }
.doc-mini span { flex: 1; }
.doc-mini strong { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.doc-mini small { color: var(--muted); font-size: .76rem; }
.ikm { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label ring" "note ring"; gap: 4px 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-800), var(--blue)); color: #c9d6ec; }
.ikm__label { grid-area: label; color: #fff; font-family: var(--font-head); font-weight: 700; margin: 0; align-self: end; }
.ikm__note { grid-area: note; font-size: .8rem; margin: 0; align-self: start; }
.ikm__ring { grid-area: ring; --v: 80; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--v) * 1%), rgba(255, 255, 255, .15) 0); display: grid; place-items: center; }
.ikm__ring span { width: 82px; height: 82px; border-radius: 50%; background: var(--blue-800); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ikm__ring strong { color: #fff; font-family: var(--font-head); font-size: 1.35rem; }
.ikm__ring small { font-size: .62rem; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; }

/* Agenda beranda */
.agenda-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.agenda-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 0 20px 20px; display: flex; flex-direction: column; gap: 14px; transition: .25s; }
.agenda-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.agenda-card__date { align-self: flex-start; display: flex; flex-direction: column; align-items: center; background: var(--blue); color: #fff; padding: 12px 16px 10px; border-radius: 0 0 var(--radius) var(--radius); border-top: 4px solid var(--gold); line-height: 1; }
.agenda-card__date strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; }
.agenda-card__date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; color: var(--gold); }
.agenda-card h3 { font-size: 1rem; margin: .6em 0 .5em; }
.agenda-card p { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); margin: 0 0 4px; }
.agenda-card p .ic { color: var(--blue); margin-top: 3px; }

/* Mosaik wisata */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.mosaic__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; color: #fff; text-decoration: none; }
.mosaic__item--big { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 36, 87, .92), rgba(6, 36, 87, .1) 55%, transparent); }
.mosaic__cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mosaic__cap strong { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; }
.mosaic__item--big .mosaic__cap strong { font-size: 1.6rem; }
.mosaic__cap small { display: flex; align-items: center; gap: 6px; color: #dbe6f7; font-size: .82rem; }
.mosaic__cap small .ic { color: var(--gold); }
.mosaic__item:hover { color: #fff; }

/* Aplikasi & video */
.apps__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blue-900); border-radius: var(--radius-lg); overflow: hidden; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video-thumb:hover img { transform: scale(1.04); opacity: 1; }
.video-thumb__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(251, 192, 45, .3); transition: transform .3s; }
.video-thumb__play .ic { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-thumb:hover .video-thumb__play { transform: scale(1.1); }
.video-thumb__dur { position: absolute; right: 10px; bottom: 10px; background: rgba(6, 20, 45, .8); color: #fff; font-size: .76rem; padding: 2px 8px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.app-list { list-style: none; display: grid; gap: 10px; }
.app { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: .25s; }
.app > .ic:first-child { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: var(--blue); color: var(--gold); }
.app span { flex: 1; }
.app strong { display: block; color: var(--ink); }
.app small { color: var(--muted); font-size: .84rem; }
.app__go { color: var(--muted); transition: transform .2s; }
.app:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.app:hover .app__go { color: var(--blue); transform: translateX(3px); }

/* ---------- 9. Profil daerah ---------- */
.with-side { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); align-items: start; }
.subnav { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: #fff; }
.subnav__title { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.subnav ul { list-style: none; display: grid; gap: 2px; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; border-left: 3px solid transparent; }
.subnav a .ic { color: var(--blue); }
.subnav a:hover { background: var(--tint); }
.subnav a.is-active { background: var(--blue-50); color: var(--blue-800); border-left-color: var(--gold); font-weight: 600; }
.block { padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.block:last-child { border: 0; margin: 0; padding: 0; }
.timeline { list-style: none; position: relative; margin-top: 2rem; }
.timeline::before { content: ""; position: absolute; left: 44px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-100); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 1.6rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 38px; top: 38px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue-100); }
.timeline__year { align-self: start; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 900; text-align: center; padding: 6px 0; border-radius: var(--radius); position: relative; z-index: 1; }
.timeline h3 { font-size: 1.05rem; margin-bottom: .25em; }
.timeline p { margin: 0; color: var(--muted); }
.emblem { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; margin-top: 1.6rem; }
.emblem__img { background: radial-gradient(circle, var(--blue-50) 0 55%, transparent 56%), repeating-conic-gradient(from 0deg, rgba(251, 192, 45, .25) 0 6deg, transparent 6deg 12deg); border-radius: 50%; padding: 40px; aspect-ratio: 1; display: grid; place-items: center; }
.emblem__img img { width: 72%; }
.emblem__list { margin: 0; display: grid; gap: 14px; }
.emblem__list div { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.emblem__list dt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.emblem__list dt i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.emblem__list dd { margin: 4px 0 0 26px; font-size: .93rem; color: var(--muted); }
.vision { position: relative; margin: 1.4rem 0 1.8rem; padding: 32px 36px 32px 40px; background: var(--blue-900) url("../img/pola-kawung.svg") 0 0 / 80px repeat; background-blend-mode: soft-light; color: #fff; border-radius: var(--radius-lg); border-left: 6px solid var(--gold); }
.vision__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vision p { font-family: var(--font-head); font-size: clamp(1.1rem, .9rem + .8vw, 1.45rem); line-height: 1.5; margin: .4em 0 0; font-style: italic; }
.missions { list-style: none; counter-reset: m; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.missions li { counter-increment: m; position: relative; padding: 18px 18px 18px 70px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.missions li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--blue); }
.missions li::after { content: ""; position: absolute; left: 18px; top: 50px; width: 30px; height: 3px; background: var(--gold); }
.missions strong { color: var(--ink); }
.geo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; margin-top: 1.4rem; }
.geo__map { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.geo__map figcaption { font-size: .8rem; color: var(--muted); padding: 8px 14px; border-top: 1px solid var(--line); }
.facts { list-style: none; margin-bottom: 1.4rem; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.facts span { color: var(--muted); }
.facts strong { color: var(--ink); text-align: right; }

/* ---------- 10. Pemerintahan ---------- */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leader { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.leader__img { background: linear-gradient(180deg, var(--blue-50), var(--blue-100)); border-right: 4px solid var(--gold); }
.leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader__body { padding: 24px; }
.leader__body h3 { font-size: 1.15rem; margin: .6em 0 .8em; }
.leader__facts { list-style: none; display: grid; gap: 8px; margin-bottom: 1rem; font-size: .88rem; }
.leader__facts span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.leader__body > p { font-size: .9rem; color: var(--muted); margin: 0; }
.sekda { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.sekda__img { border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--blue-50), var(--blue-100)); border-bottom: 5px solid var(--gold); }
.assist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1.4rem; }
.assist div { background: #fff; border-radius: var(--radius-lg); padding: 18px; border-top: 3px solid var(--blue); box-shadow: var(--shadow-sm); }
.assist strong { display: block; font-family: var(--font-head); color: var(--blue); }
.assist span { display: block; font-size: .86rem; color: var(--ink); font-weight: 600; margin: 4px 0 8px; }
.assist em { font-style: normal; font-size: .84rem; color: var(--muted); }
.org { display: grid; gap: 34px; padding: 32px; background: var(--tint); border-radius: var(--radius-lg); }
.org__row { display: flex; justify-content: center; gap: 20px; position: relative; flex-wrap: wrap; }
.org__row + .org__row::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 34px; background: var(--blue); }
.org__row--5 { padding-top: 0; }
.org__row--5::after { content: ""; position: absolute; top: -17px; left: 10%; right: 10%; height: 2px; background: var(--blue); }
.org__row--5::before { height: 17px !important; }
.org__node { background: #fff; border: 1.5px solid var(--blue-100); border-radius: var(--radius); padding: 14px 18px; text-align: center; min-width: 180px; flex: 0 1 200px; position: relative; }
.org__row--5 .org__node::before { content: ""; position: absolute; top: -18px; left: 50%; width: 2px; height: 17px; background: var(--blue); }
.org__node strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.org__node span { font-size: .8rem; color: var(--muted); }
.org__node--top { background: var(--blue-900); border-color: var(--blue-900); border-bottom: 4px solid var(--gold); }
.org__node--top strong { color: #fff; }
.org__node--top span { color: var(--gold); }
.org__node--mid { background: var(--blue); border-color: var(--blue); }
.org__node--mid strong { color: #fff; }
.org__node--mid span { color: #dbe6f7; }
.opd-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.opd { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: .2s; }
.opd:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.opd__ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.opd__ic .ic { width: 22px; height: 22px; }
.opd__cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.opd h3 { font-family: var(--font-body); font-weight: 700; font-size: .98rem; margin: 2px 0 8px; }
.opd p { display: flex; gap: 8px; margin: 0 0 3px; font-size: .84rem; color: var(--muted); }
.opd p .ic { color: var(--blue); margin-top: 3px; }
.opd a { text-decoration: none; }

/* ---------- 11. Layanan publik ---------- */
.svc-search { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 28px 32px; background: var(--blue-50); border-radius: var(--radius-lg); border-left: 6px solid var(--gold); margin-bottom: 24px; }
.svc-search h2 { font-size: 1.35rem; margin-bottom: .2em; }
.svc-search p { margin: 0; color: var(--muted); font-size: .92rem; }
.svc-search .field--search { width: 100%; }
.svc-nav { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 40px; }
.svc-nav__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .84rem; line-height: 1.3; transition: .2s; }
.svc-nav__item .ic { width: 28px; height: 28px; color: var(--blue); }
.svc-nav__item:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.svc-nav__item:hover .ic { color: var(--gold); }
.svc-group { margin-bottom: 36px; }
.svc-group__head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--blue); position: relative; }
.svc-group__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 80px; height: 2px; background: var(--gold); }
.svc-group__ic { width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: var(--gold); display: grid; place-items: center; flex: none; }
.svc-group__ic .ic { width: 26px; height: 26px; }
.svc-group__head h2 { font-size: 1.3rem; margin: 0; }
.svc-group__head p { margin: 0; color: var(--muted); font-size: .88rem; }
.accordion { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc__h { margin: 0; font-family: var(--font-body); font-size: 1rem; }
.acc__btn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; background: none; border: 0; text-align: left; font-weight: 600; color: var(--ink); }
.acc__btn:hover { color: var(--blue); }
.acc__ic { color: var(--blue); transition: transform .25s; width: 20px; height: 20px; }
.acc__btn[aria-expanded="true"] { background: var(--blue-50); color: var(--blue-800); }
.acc__btn[aria-expanded="true"] .acc__ic { transform: rotate(45deg); }
.acc__panel { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.acc__panel p { margin: 0; }
.svc-spec { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin: 0; }
.svc-spec dt { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.svc-spec dd { margin: 0; font-size: .92rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 28px 22px 22px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--blue); }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 46px; width: 12px; height: 12px; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); transform: rotate(45deg); }
.steps__n { position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; color: var(--blue-50); line-height: 1; }
.steps li > .ic { width: 40px; height: 40px; color: var(--blue); margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; font-size: .9rem; color: var(--muted); }
.maklumat { display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; padding: 22px 26px; border: 2px dashed var(--gold); border-radius: var(--radius-lg); background: var(--gold-50); }
.maklumat > .ic { width: 36px; height: 36px; color: var(--blue); }
.maklumat p { margin: 0; font-size: .95rem; color: var(--ink); }

/* ---------- 12. Berita ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__img { position: relative; display: block; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__img .badge { position: absolute; left: 14px; top: 14px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--gold); }
.card__title { font-size: 1.06rem; line-height: 1.4; }
.card__body > p:not(.meta):not(.card__foot) { font-size: .9rem; color: var(--muted); }
.card__foot { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.card__foot .ic { color: var(--blue); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager__btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager__btn:hover { border-color: var(--blue); color: var(--blue); }
.pager__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Detail berita */
.with-aside { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.article__fig { margin: 0 0 1.8rem; }
.article__fig img { width: 100%; border-radius: var(--radius-lg); }
.article__fig figcaption { font-size: .84rem; color: var(--muted); padding: 10px 2px; border-bottom: 1px solid var(--line); }
.prose { font-size: 1.04rem; max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; padding-left: 14px; border-left: 4px solid var(--gold); }
.prose ol, .prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.8em 0; padding: 24px 28px; background: var(--blue-50); border-left: 5px solid var(--blue); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.prose blockquote p { font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--ink); }
.prose blockquote cite { font-style: normal; font-size: .88rem; font-weight: 600; color: var(--blue); }
.article__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 20px 0; margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--tint); text-decoration: none; font-size: .84rem; color: var(--blue-800); }
.tags a:hover { background: var(--blue); color: #fff; }
.share { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.article__nav a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: .2s; }
.article__nav a:last-child { text-align: right; }
.article__nav small { display: flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.article__nav a:last-child small { justify-content: flex-end; }
.article__nav strong { font-family: var(--font-head); font-size: .95rem; line-height: 1.4; }
.article__nav a:hover { border-color: var(--blue); background: var(--tint); }
.aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: #fff; }
.widget__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--blue-50); position: relative; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--gold); }
.widget .field--search { min-width: 0; }
.widget--blue { background: var(--blue-900) url("../img/pola-kawung.svg") 0 0 / 70px repeat; background-blend-mode: soft-light; border: 0; color: #c9d6ec; }
.widget--blue .widget__title { color: #fff; border-color: rgba(255, 255, 255, .15); }
.widget--blue p { font-size: .9rem; }
.popular { list-style: none; counter-reset: p; }
.popular li { counter-increment: p; display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.popular li:last-child { border: 0; }
.popular li::before { content: counter(p); font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--gold-600); line-height: 1; min-width: 22px; }
.popular a { text-decoration: none; color: var(--ink); }
.popular strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.popular small { color: var(--muted); font-size: .78rem; }
.popular a:hover strong { color: var(--blue); }

/* ---------- 13. Pengumuman & agenda ---------- */
.ann-list { list-style: none; display: grid; gap: 12px; }
.ann { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); transition: .2s; }
.ann:hover { border-left-color: var(--gold); box-shadow: var(--shadow-sm); }
.ann__ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.ann__ic .ic { width: 22px; height: 22px; }
.ann h2 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin: 0 0 4px; }
.ann__file { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .82rem; color: var(--muted); }
.agenda-page { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; }
.agenda-page__side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.agenda-page .chips { margin-bottom: 20px; }
.cal { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.cal__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 18px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; border-bottom: 3px solid var(--gold); }
.cal__title .ic { color: var(--gold); }
.cal__days, .cal__grid { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; padding: 0 12px; }
.cal__days { padding-top: 12px; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.cal__days li:first-child { color: var(--danger); }
.cal__grid { padding-bottom: 12px; gap: 3px; }
.cal__grid li { aspect-ratio: 1; display: grid; place-items: center; font-size: .86rem; }
.cal__grid li:first-child { grid-column-start: 1; }
.cal__grid a, .cal__grid span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--text); }
.cal__grid .has-ev a { background: var(--blue); color: #fff; font-weight: 700; }
.cal__grid .has-ev a:hover { background: var(--gold); color: var(--ink); }
.cal__grid .is-today span, .cal__grid .is-today a { box-shadow: inset 0 0 0 2px var(--gold); font-weight: 700; color: var(--ink); }
.cal__legend { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }
.cal__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.cal__dot--today { background: #fff; box-shadow: inset 0 0 0 2px var(--gold); margin-left: 10px; }
.ag-list { list-style: none; display: grid; gap: 14px; }
.ag { display: grid; grid-template-columns: 88px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .2s; }
.ag:hover, .ag:target { box-shadow: var(--shadow); border-color: var(--blue-100); }
.ag:target { outline: 3px solid var(--gold); }
.ag__date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--blue); color: #fff; line-height: 1; border-right: 4px solid var(--gold); }
.ag__date strong { font-family: var(--font-head); font-size: 2rem; font-weight: 900; }
.ag__date span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-top: 6px; }
.ag__body { padding: 16px 20px; }
.ag h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 8px 0 6px; }
.ag p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-size: .86rem; color: var(--muted); }
.ag p .ic { color: var(--blue); }

/* ---------- 14. PPID & form ---------- */
.ppid-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.ppid-cat { padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--blue); }
.ppid-cat:nth-child(2) { border-bottom-color: var(--gold); }
.ppid-cat:nth-child(4) { border-bottom-color: #8a94a6; }
.ppid-cat > .ic { width: 34px; height: 34px; color: var(--blue); margin-bottom: 10px; }
.ppid-cat h2 { font-size: 1.05rem; margin-bottom: .3em; }
.ppid-cat p { margin: 0; font-size: .88rem; color: var(--muted); }
.form-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.card-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mini-steps { counter-reset: ms; list-style: none; display: grid; gap: 10px; margin: 1.2rem 0 1.4rem; }
.mini-steps li { counter-increment: ms; display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.mini-steps li::before { content: counter(ms); width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem; }
.contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: .5rem; }
.contact-line .ic { color: var(--blue); }
.faq { margin-top: 1.6rem; }

/* ---------- 15. Potensi & wisata ---------- */
.potensi { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.potensi li { padding: 26px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.potensi li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--blue-50); z-index: 0; }
.potensi li > * { position: relative; z-index: 1; }
.potensi li > .ic { width: 38px; height: 38px; color: var(--blue); margin-bottom: 14px; }
.potensi strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--blue-900); }
.potensi h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin: 4px 0 6px; }
.potensi p { margin: 0; font-size: .88rem; color: var(--muted); }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dest { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; }
.dest:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.dest__img { position: relative; overflow: hidden; }
.dest__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dest__img .badge { position: absolute; left: 14px; bottom: 14px; }
.dest__body { padding: 20px; }
.dest h3 { font-size: 1.1rem; }
.dest__body > p:last-child { font-size: .9rem; color: var(--muted); margin: 0; }
.invest { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue-900), var(--blue)); color: #dbe6f7; position: relative; overflow: hidden; }
.invest::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 40%; background: url("../img/pola-kawung.svg") 0 0 / 90px repeat; opacity: .15; }
.invest > * { position: relative; z-index: 1; max-width: 680px; }
.invest p:last-child { margin: 0; }

/* ---------- 16. Galeri ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gitem.is-hidden, .is-hidden { display: none !important; }
.gitem__link { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.gitem__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gitem__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 36, 87, .9), transparent 60%); opacity: .75; transition: opacity .3s; }
.gitem__cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-size: .86rem; font-weight: 600; line-height: 1.35; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.gitem__zoom { position: absolute; z-index: 1; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.gitem__link:hover img { transform: scale(1.06); }
.gitem__link:hover::after { opacity: 1; }
.gitem__link:hover .gitem__zoom, .gitem__link:focus-visible .gitem__zoom { transform: scale(1); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(4, 14, 34, .94); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox__fig { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox__fig img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__fig figcaption { color: #dbe6f7; margin-top: 14px; font-size: .95rem; }
.lightbox__fig figcaption b { color: var(--gold); margin-right: 8px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; border-radius: 50%; width: 50px; height: 50px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--ink); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -25px; }
.lightbox .ic { width: 24px; height: 24px; }

.video-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.video-feature h2 { font-size: 1.6rem; margin: .6em 0 .5em; }
.video-feature p { color: var(--muted); }
.video-thumb--lg .video-thumb__play { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.video-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.video-grid .meta { margin: 12px 0 4px; }
.video-title { font-size: 1.02rem; line-height: 1.4; }
.vmodal { position: fixed; inset: 0; z-index: 400; background: rgba(4, 14, 34, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.vmodal__box { width: min(1000px, 100%); }
.vmodal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; margin-bottom: 10px; font-family: var(--font-head); }
.vmodal__close { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.vmodal__close:hover { background: var(--gold); color: var(--ink); }

/* ---------- 17. Kontak & 404 ---------- */
.contact-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-cards li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; border-top: 4px solid var(--blue); }
.contact-cards li > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--gold); color: var(--ink); margin-bottom: 12px; }
.contact-cards h2 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-cards p { margin: 0; font-size: .92rem; }
.map-wrap { height: 420px; background: var(--blue-50); border-top: 4px solid var(--gold); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.nf { padding: clamp(60px, 10vw, 120px) 0; background: radial-gradient(circle at 50% 0, var(--blue-50), #fff 70%); text-align: center; }
.nf__in { max-width: 720px; }
.nf__code { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 3rem + 10vw, 9rem); color: var(--blue); line-height: 1; margin-bottom: 1.4rem; }
.nf__code img { width: clamp(80px, 12vw, 120px); }
.nf h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.nf p { color: var(--muted); }
.nf__search { max-width: 520px; margin: 1.6rem auto; }
.nf__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9c8e2; font-size: .92rem; margin-top: 0; }
.footer__ribbon { background: var(--gold); color: var(--ink); }
.footer__ribbon-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 20px; }
.footer__ribbon p { margin: 0; max-width: 760px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 40px; padding-block: 56px 44px; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand .brand__text strong { font-size: 1.08rem; }
.footer__brand address p { display: flex; gap: 10px; margin-bottom: .6rem; }
.footer__brand .ic { color: var(--gold); margin-top: 3px; }
.site-footer a { color: #e6edf8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; margin-bottom: 1rem; padding-bottom: .6rem; position: relative; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold); }
.footer__title--mt { margin-top: 1.6rem; }
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
.footer__hours th, .footer__hours td { padding: 4px 0; text-align: left; font-weight: 400; }
.footer__hours td { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.footer__visits { list-style: none; display: grid; gap: 6px; }
.footer__visits li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255, 255, 255, .14); padding-bottom: 4px; }
.footer__visits strong { color: #fff; font-variant-numeric: tabular-nums; }
.footer__bottom { background: #041a40; font-size: .84rem; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--gold); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 140%); max-width: min(560px, calc(100% - 32px)); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: var(--radius); border-left: 5px solid var(--gold); box-shadow: var(--shadow-lg); font-size: .93rem; visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast.is-error { border-left-color: #ef5350; }

/* ---------- 19. Responsif ---------- */
@media (max-width: 1200px) {
  .menu__link { padding: 0 13px; font-size: .88rem; }
  .menu__link::after { left: 13px; right: 13px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .news-layout { grid-template-columns: 1fr 320px; }
  .news-main { grid-template-columns: 1fr; }
  .svc-nav { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .mainnav, .hotline { display: none; }
  .nav-toggle { display: grid; }
  .hsearch { width: min(300px, 36vw); }
  .topbar__in { min-height: 34px; }
  .quick__box { grid-template-columns: 1fr; }
  .quick__intro::after { top: auto; left: 0; height: 4px; width: auto; }
  .news-layout { grid-template-columns: 1fr; }
  .side-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .agenda-row { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: 1fr; }
  .opd-grid, .card-grid, .dest-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .with-side { grid-template-columns: 1fr; gap: 24px; }
  .subnav { position: static; }
  .subnav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .subnav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .86rem; }
  .with-aside, .agenda-page { grid-template-columns: 1fr; }
  .aside, .agenda-page__side { position: static; }
  .agenda-page__side { grid-template-columns: 1fr 1fr; }
  .ppid-cats, .potensi, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__nav { top: auto; bottom: 104px; transform: none; flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hero__tabs { flex-direction: row; width: auto; }
  .hero__tab { padding: 8px 12px; gap: 4px 10px; }
  .hero__content { padding-bottom: 170px; justify-content: flex-end; }
}
@media (max-width: 480px) {
  .topbar__info { display: none; }
  .topbar__in { justify-content: flex-end; }
}
@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .hide-sm { display: none !important; }
  .hsearch { display: none; }
  .brand__text strong { font-size: 1.02rem; }
  .brand__text em { display: none; }
  .hero { height: auto; min-height: 560px; }
  .hero__slides { position: relative; height: 560px; }
  .hero__content { padding-bottom: 150px; }
  .hero__tabtxt, .hero__bar { display: none; }
  .hero__num { grid-row: auto; font-size: 1rem; }
  .hero__tab { padding: 8px 12px; }
  .hero__nav { bottom: 100px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(6, 36, 87, .96) 20%, rgba(8, 48, 111, .75) 60%, rgba(13, 71, 161, .35)); }
  .quick { margin-top: -80px; }
  .quick__intro { padding: 24px 22px; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick__grid li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .quick__grid li:nth-child(2n) { border-right: 0 !important; }
  .quick__grid li:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .welcome__grid, .apps__grid, .geo, .emblem, .sekda, .form-split, .video-feature, .svc-search { grid-template-columns: 1fr; }
  .welcome__photo { max-width: 420px; }
  .welcome__leaders, .missions, .assist, .form__row, .side-panel, .agenda-page__side, .article__nav { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid rgba(255, 255, 255, .12) !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .agenda-row, .opd-grid, .card-grid, .dest-grid, .video-grid, .ppid-cats, .potensi, .contact-cards, .steps { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .mosaic__item--big { grid-column: span 2; grid-row: span 1; }
  .mosaic__item--big .mosaic__cap strong { font-size: 1.2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gitem__cap .badge { display: none; }
  .leader { grid-template-columns: 1fr; }
  .leader__img { border-right: 0; border-bottom: 4px solid var(--gold); }
  .leader__img img { aspect-ratio: 1; height: auto; }
  .sekda__img { max-width: 280px; }
  .emblem__img { max-width: 260px; }
  .svc-nav { grid-template-columns: repeat(2, 1fr); }
  .svc-nav__item:last-child:nth-child(odd) { grid-column: span 2; }
  .svc-spec { grid-template-columns: 1fr; }
  .org { padding: 20px 14px; }
  .org__row--5::after { display: none; }
  .org__row--5 .org__node::before { display: none; }
  .org__node { flex-basis: 100%; }
  .ann { grid-template-columns: auto 1fr; }
  .ann .btn { grid-column: 1 / -1; justify-self: start; }
  .ann__ic { width: 40px; height: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { padding: 60px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .timeline::before { left: 34px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 16px; }
  .timeline li::before { display: none; }
  .field--select select { min-width: 0; width: 100%; }
  .toolbar > * { width: 100%; }
  .table { font-size: .85rem; }
}

/* ---------- 20. Hormati preferensi gerak & cetak ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__list { animation: none; flex-wrap: wrap; width: auto; gap: 8px 48px; }
  .ticker__list li:nth-child(n+2) { display: none; }
  .hero__bg { transform: none; }
}
@media print {
  .topbar, .mainnav, .nav-toggle, .hsearch, .hotline, .site-footer, .to-top, .aside, .ticker, .share, .article__nav { display: none !important; }
  .site-header { position: static; box-shadow: none; }
  .page-hero { background: none; color: #000; border: 0; }
  .page-hero h1 { color: #000; }
  .with-aside { display: block; }
}
