/* =========================================================
   KORPRI Kabupaten Semarang — stylesheet utama
   Ukuran hero diatur lewat variabel --hero-ratio / --hero-min / --hero-max (lihat :root).
   ========================================================= */
:root {
  --navy: #123d79;
  --navy-dark: #0b2d5d;
  --blue: #225ca2;
  --blue-soft: #edf4fb;
  --gold: #c8a04a;
  --gold-light: #e5d19a;
  --gold-brand: #c99c2e;
  --ink: #24364b;
  --muted: #66788c;
  --line: #dce4ed;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --font: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  --content: 1320px; /* lebar konten desktop (kiri-kanan) — disamakan dengan situs Balai Penyuluhan KB Bawen */
  --header-h: 84px;
  /* HERO (desktop) — rasio 17:5 (3,4 : 1), tinggi minimal 250px, maksimal 460px.
     Gambar hero ideal: 2040 x 600 px (atau 3060 x 900 px untuk layar retina).
     Layar 1500px -> tinggi 441px (sebelumnya ±600px). Ubah rasio di sini bila gambar baru berbeda. */
  --hero-ratio: 17 / 5;
  --hero-min: 250px;
  --hero-max: 460px;
  --hero-pos: center 22%; /* titik fokus gambar bila terpotong (layar > ±1560px) */
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 12px); scrollbar-gutter: stable; overflow-y: scroll; }
/* Peramban lama tanpa scrollbar-gutter: tampilkan jalur scroll terus-menerus agar lebar halaman tidak berubah */
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
/* Body = kolom setinggi layar: footer selalu di dasar layar pada halaman pendek (tidak melayang / melompat) */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 15.5px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: #0b2d5d; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e7bd5d; outline-offset: 3px; }
.container { width: min(calc(100% - 44px), var(--content)); margin-inline: auto; }
.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; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: #fff; color: var(--navy-dark); padding: 10px 14px; border: 1px solid var(--line); }
.skip-link:focus { top: 8px; }

/* ---------- Header (model: logo + judul 2 baris | menu tengah | cari + bahasa) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1400px; margin-inline: auto; min-height: var(--header-h); padding-inline: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); min-width: 0; }
.brand-mark { flex: none; display: block; width: 46px; height: 43px; background: url("../assets/korpri-mark.png") center / contain no-repeat; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
/* KORPRI direntangkan otomatis agar selebar "KABUPATEN SEMARANG" (lebar blok ditentukan baris kedua) */
.brand-name { display: flex; justify-content: space-between; color: var(--navy-dark); font-size: 25px; font-weight: 500; line-height: .82; }
.brand-name i { font-style: normal; }
.brand-place { color: #b8881f; font-size: 11px; font-weight: 400; letter-spacing: .05em; margin-right: -.05em; line-height: 1; white-space: nowrap; }
.site-navigation { justify-self: center; }
.site-navigation ul { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; color: #3a4f6d; padding: 8px 11px; font-size: 14px; line-height: 1.25; font-weight: 600; white-space: nowrap; transition: color .18s ease; }
.nav-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; background: transparent; transition: background .18s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { background: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 6px; }
/* Tombol Login dan Logout di header memakai SATU aturan (.header-auth-btn) supaya tampilannya selalu sama:
   putih, garis navy, sudut 6px; saat disorot berubah navy. Tinggi dikunci (32px) agar sejajar dengan ikon cari dan ID/EN.
   Selektor dua kelas (.header-tools .header-auth-btn) sengaja dipakai agar `font: inherit` pada .admin-logout (admin.css) tidak mengalahkan ukuran huruf. */
.header-tools .header-auth-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 32px; padding: 0 13px; border: 1px solid var(--navy); border-radius: 6px; background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 650; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .16s ease, color .16s ease; }
.header-tools .header-auth-btn:hover { background: var(--navy); color: #fff; }
.header-tools .header-auth-btn:focus-visible { outline: 2px solid var(--gold-brand); outline-offset: 2px; }
.admin-login-desktop[hidden], .admin-login-mobile[hidden] { display: none !important; }
.admin-login-mobile { display: none !important; }
.admin-login-mobile-btn { border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; }
.icon-btn, .lang-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #1f3a5f; cursor: pointer; border-radius: 6px; }
.icon-btn { width: 40px; height: 40px; }
.icon-btn:hover, .lang-btn:hover { background: var(--blue-soft); }
.icon-btn svg { width: 19px; height: 19px; }
.lang { position: relative; display: flex; align-items: center; }
/* Teks ID/EN dan Login/Logout: tiap font menaruh huruf pada ketinggian berbeda di dalam kotak barisnya (Segoe UI, Arial, Roboto, ...),
   sedangkan ikon selalu persis di tengah. Karena itu teks dipangkas ke tinggi huruf kapital -> kotaknya = huruf, jadi pusat huruf
   = pusat tombol di font apa pun. Peramban yang belum mendukung memakai tinggi baris tetap 20px (selisih paling banyak ±1px). */
.lang-btn > span, .header-auth-btn > span { display: block; line-height: 20px; }
@supports (text-box: trim-both cap alphabetic) {
  .lang-btn > span, .header-auth-btn > span { line-height: 1; text-box: trim-both cap alphabetic; }
}
.lang-btn { gap: 4px; height: 40px; padding: 0 8px; font-size: 13.5px; font-weight: 700; }
.lang-btn svg { width: 12px; height: 12px; transition: transform .18s ease; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(20,45,75,.14); z-index: 5; }
.lang-menu[hidden] { display: none; }
.lang-menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; background: transparent; padding: 9px 10px; border-radius: 5px; color: var(--ink); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.lang-menu button:hover:not(:disabled) { background: var(--blue-soft); }
.lang-menu button[aria-current="true"] { color: var(--navy); background: var(--blue-soft); }
.lang-menu button:disabled { color: #8d9bab; cursor: not-allowed; }
.lang-menu small { font-size: 10.5px; font-weight: 600; color: #8d9bab; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 6px; width: 42px; height: 40px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); margin: 4px 0; border-radius: 2px; transform-origin: center; transition: transform .22s ease, opacity .18s ease, margin .22s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.35); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Dropdown "Tentang Kami" ---------- */
/* Desktop: kolom menu setinggi header agar panel dropdown jatuh tepat di bawah header */
.site-navigation ul > li { display: flex; align-items: center; min-height: var(--header-h); }
.has-sub { position: relative; }
.nav-parent { gap: 5px; border: 0; background: transparent; cursor: pointer; text-align: left; }
/* Desktop: span chevron tidak punya gambar, tetapi tetap menambah celah 5px di kanan "Tentang Kami" sehingga jaraknya tampak lebih lebar
   dari menu lain. Disembunyikan di desktop; panah dropdown versi HP (<= 1180px) tetap tampil. */
.site-navigation .nav-chevron { display: none; }
.has-sub.is-open > .nav-parent { color: var(--navy); }
.site-navigation .sub-menu { position: absolute; left: 0; top: calc(100% + 1px); z-index: 70; display: block; gap: 0; min-width: 290px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(20,45,75,.14); opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility 0s linear .16s; }
.site-navigation .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.site-navigation .sub-menu > li { display: block; min-height: 0; }
.site-navigation .sub-menu a { display: block; padding: 9px 12px; border-radius: 5px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.site-navigation .sub-menu a:hover, .site-navigation .sub-menu a:focus-visible { background: var(--blue-soft); color: var(--navy); }
.site-navigation .sub-menu a[aria-current="page"] { background: var(--blue-soft); color: var(--navy); font-weight: 600; }

/* ---------- Area isi halaman (diisi router) ---------- */
#konten-utama {
  flex: 1 0 auto;
  /* Cegah scroll anchoring browser menggeser viewport saat konten async berubah. */
  overflow-anchor: none;
}
#konten-utama:focus { outline: none; }
/* Footer disembunyikan sampai halaman pertama selesai dirender, supaya tidak 'terdorong' turun saat isi muncul */
#konten-utama[data-loading] ~ .site-footer { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; overflow: hidden; background: #eaf2fa; }
.hero-image { display: block; width: 100%; aspect-ratio: var(--hero-ratio); min-height: var(--hero-min); max-height: var(--hero-max); background: #eaf2fa url("../assets/hero-korpri-kabupaten-semarang-natural.webp") var(--hero-pos) / cover no-repeat; }
/* Teks hero: di desktop menimpa sisi kiri gambar (langit kosong), sejajar dengan kolom konten.
   Di HP (<= 760px) teks pindah ke bawah gambar — lihat media query. */
.hero-copy-wrap { position: absolute; inset: 0; display: flex; align-items: center; padding-bottom: 2%; pointer-events: none; }
.hero-copy-wrap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.38) 40%, rgba(255,255,255,0) 64%); }
.hero-copy-wrap .container { position: relative; }
.hero-copy { max-width: min(640px, 58%); pointer-events: auto; }
.hero-kicker { margin: 0 0 clamp(6px, .9vw, 12px); color: var(--navy); font-size: clamp(13px, 1.3vw, 19px); font-weight: 500; line-height: 1.4; letter-spacing: .005em; }
.hero-copy h1 { margin: 0; color: var(--navy); font-size: clamp(24px, 2.7vw, 42px); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
.hero-line { display: block; white-space: nowrap; }
.hero-rule { display: block; width: clamp(40px, 4.6vw, 64px); height: 3px; margin: clamp(10px, 1.5vw, 20px) 0; background: var(--gold-brand); }
.hero-desc { max-width: 31em; margin: 0; color: #3f5370; text-shadow: 0 0 10px rgba(255,255,255,.75), 0 0 3px rgba(255,255,255,.6); font-size: clamp(12.5px, 1.2vw, 17px); line-height: 1.6; }

/* ---------- Teks & komponen umum ---------- */
.section-space { padding-block: 54px; }
.section-alt { background: var(--wash); }
.eyebrow { margin: 0 0 8px; color: #a17d2c; font-size: 11.5px; line-height: 1.4; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: #1a3555; line-height: 1.25; }
h2, .section-heading > h1 { font-size: clamp(23px, 2vw, 29px); font-weight: 720; letter-spacing: -.018em; margin-bottom: 13px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 1em; }
.lead { max-width: 740px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-heading { margin-bottom: 26px; }
.section-heading > p:not(.eyebrow) { max-width: 780px; color: var(--muted); margin-bottom: 0; }
.section-heading h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 720; letter-spacing: -.012em; margin-bottom: 10px; }
.gap-top { margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13.5px; font-weight: 700; border-bottom: 1px solid #b4c5d9; padding-bottom: 2px; }
.text-link:hover { color: #966e17; border-bottom-color: var(--gold); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 43px; padding: 10px 18px; border: 1px solid transparent; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.button-primary { color: #fff; background: var(--navy); border-color: var(--navy); }
.button-primary:hover { color: #fff; background: var(--navy-dark); }
.button-light { color: var(--navy-dark); background: #fff; border-color: #fff; white-space: nowrap; }
.button-light:hover { background: #f6edda; border-color: #f6edda; }
.button-outline { color: var(--navy); background: #fff; border-color: #b8c7d8; }
.button-outline:hover { background: var(--blue-soft); border-color: var(--blue); }
.small-source { color: #7e8da0; font-size: 11.5px; }

/* ---------- Beranda ---------- */
.welcome-section { border-bottom: 1px solid #edf0f4; }
.welcome-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 78px; align-items: center; }
.welcome-grid > div:first-child h2 { max-width: 600px; }
.welcome-grid .lead { max-width: 635px; margin-bottom: 20px; }
.welcome-note { border-left: 3px solid var(--gold); padding: 5px 0 5px 28px; color: #415775; }
.welcome-note p { font-size: 17px; line-height: 1.8; margin-bottom: 14px; }
.note-mark { display: block; color: var(--gold); font-size: 42px; line-height: 1; font-family: Georgia, serif; }
.note-line { display: block; width: 38px; height: 2px; background: var(--gold); margin: 10px 0; }
.welcome-note small { font-size: 12px; color: var(--muted); }
.quick-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.quick-link { display: grid; grid-template-columns: 42px 1fr 20px; gap: 14px; align-items: center; padding: 21px 20px; min-height: 96px; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .18s ease; }
.quick-link:hover { background: #f8fbff; }
.quick-number { align-self: start; padding-top: 3px; color: #b18b3d; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.quick-link strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
.quick-link small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.quick-arrow { color: var(--gold); font-size: 22px; }
.closing-band { background: var(--navy); color: #fff; padding: 32px 0; }
.closing-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.closing-band h2 { color: #fff; margin-bottom: 0; font-size: clamp(22px, 2.3vw, 28px); }
.eyebrow-light { color: #e5ce8d; }

/* ---------- Profil ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 56px; align-items: start; }
.prose { min-width: 0; }
.prose h3 { font-size: 21px; margin: 3px 0 12px; }
.prose h3:not(:first-child) { margin-top: 33px; }
.prose p, .prose li { color: #4f6176; font-size: 15px; line-height: 1.85; }
.prose ul { padding-left: 22px; }
.prose li { margin: 7px 0; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 26px; }
.value-list > div { border-top: 2px solid var(--gold); padding-top: 11px; }
.value-list strong { color: var(--navy); }
.value-list p { margin: 3px 0 0; font-size: 13px; }
.side-panel { padding: 21px; border: 1px solid var(--line); background: #fbfcfe; }
.side-panel h3 { font-size: 17px; }
.side-panel > a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: #36516f; font-size: 13px; }
.side-panel > a span { color: var(--gold); }
.side-note { margin-top: 18px; padding: 15px; background: var(--blue-soft); }
.side-note strong { color: var(--navy); font-size: 13px; }
.side-note p { color: #617389; font-size: 12.5px; margin: 6px 0; }
.side-note a { font-size: 12.5px; font-weight: 700; }

/* ---------- Kepengurusan ---------- */
.leaders-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.leader-card { border: 1px solid var(--line); padding: 23px 21px; background: #fff; }
.leader-initials { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d6b66c; background: #f8f2e2; color: var(--navy); font-size: 17px; font-weight: 800; margin-bottom: 18px; }
.leader-role { color: #a17d2c; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 4px; }
.leader-card h4 { font-size: 18px; }
.leader-card p:last-child { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.field-item { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.field-item span { min-width: 23px; color: #b08b42; font-size: 11px; font-weight: 800; }
.field-item strong { color: #36516f; font-size: 14px; font-weight: 650; }

/* ---------- Program ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.program-card { padding: 24px 25px 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.program-number { display: inline-block; margin-bottom: 11px; color: #ae8939; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.program-card h3 { font-size: 19px; margin-bottom: 9px; }
.program-card > p { color: var(--muted); font-size: 13.5px; }
.program-meta { border-top: 1px solid #e8edf2; padding-top: 11px; margin-top: 15px; }
.program-meta strong { display: block; color: #37516f; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.program-meta span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- Berita ---------- */
.news-controls { max-width: 590px; margin-bottom: 25px; }
.news-controls label { display: block; color: var(--navy); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.search-row { position: relative; }
.search-row input { width: 100%; min-height: 47px; border: 1px solid #c9d5e2; background: #fff; padding: 11px 44px 11px 14px; border-radius: 2px; color: var(--ink); font-size: 14px; }
.search-icon { position: absolute; right: 15px; top: 7px; font-size: 25px; color: #7d8da0; pointer-events: none; }
.news-controls small { display: block; color: #7a8999; font-size: 11.5px; margin-top: 6px; }
.news-list { border-top: 1px solid var(--line); }
.news-list-item { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 23px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.news-list-item[hidden] { display: none; }
.news-date { width: 68px; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8f3e7; border-top: 3px solid var(--gold); color: var(--navy); }
.news-date strong { font-size: 23px; line-height: 1.2; }
.news-date span { margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.news-date-blue { background: var(--blue-soft); border-top-color: var(--blue); }
.news-date-gold { background: #faf6e9; }
.news-list-item h3 { font-size: 20px; line-height: 1.4; margin-bottom: 7px; }
.news-list-item h3 a { color: #1a3555; }
.news-list-item h3 a:hover { color: var(--blue); }
.news-list-item p:not(.article-meta) { color: #5e7085; font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
.news-list-item .small-source { font-size: 11.5px; }
.article-meta { color: #7b8a9c; font-size: 10.5px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 9px; }
.empty-state { color: var(--muted); padding: 24px 0; }
.empty-state[hidden] { display: none; }

/* ---------- Publikasi ---------- */
.publication-list { border-top: 1px solid var(--line); background: #fff; }
.publication-item { display: flex; align-items: center; gap: 17px; padding: 20px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.publication-item:hover { background: #fbfcfe; }
.publication-icon { display: grid; place-items: center; flex: 0 0 50px; height: 50px; color: var(--navy); background: var(--blue-soft); border-bottom: 2px solid var(--gold); font-size: 12px; font-weight: 800; }
.publication-copy { flex: 1; min-width: 0; }
.publication-copy strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.publication-copy small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.publication-arrow { color: var(--gold); font-size: 21px; }

/* ---------- Galeri ---------- */
.gallery-feature { display: grid; grid-template-columns: 1.45fr .8fr; gap: 34px; align-items: center; }
.gallery-open { display: block; border: 0; background: #eaf0f7; padding: 0; overflow: hidden; cursor: zoom-in; }
.gallery-img { display: block; width: 100%; aspect-ratio: 1983 / 793; background: url("../assets/hero-korpri-kabupaten-semarang-natural.webp") center / cover no-repeat; transition: transform .25s ease; }
.gallery-open:hover .gallery-img { transform: scale(1.025); }
.gallery-caption h3 { font-size: 24px; }
.gallery-caption p:last-child { color: var(--muted); font-size: 14px; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 30px; background: rgba(5,18,36,.93); color: white; }
.lightbox.is-open { display: flex; }
.lightbox-image { width: min(1100px, 94vw); aspect-ratio: 1983 / 793; max-height: 78vh; background: url("../assets/hero-korpri-kabupaten-semarang-natural.webp") center / contain no-repeat; }
.lightbox p { color: #eef4fa; font-size: 13px; margin: 0; }
.lightbox-close { position: absolute; top: 15px; right: 22px; border: 1px solid rgba(255,255,255,.45); color: white; background: transparent; width: 44px; height: 44px; font-size: 30px; line-height: 1; cursor: pointer; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.contact-main h3 { font-size: 22px; }
.contact-main > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 14px; }
.contact-details { margin-top: 25px; border-top: 1px solid var(--line); }
.contact-details > div { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-icon { flex: 0 0 35px; display: grid; place-items: center; width: 35px; height: 35px; background: var(--blue-soft); color: var(--navy); font-size: 18px; }
.contact-details small { display: block; color: #7c8b9c; font-size: 11px; margin-bottom: 3px; }
.contact-details strong, .contact-details a { color: #304965; display: inline-block; font-size: 14px; font-weight: 650; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-side { background: #fff; border: 1px solid var(--line); padding: 25px; }
.contact-side-head { display: flex; align-items: center; gap: 13px; }
.contact-side-head h3 { font-size: 19px; margin: 0; }
.contact-side-mark { display: grid; place-items: center; flex: 0 0 45px; height: 45px; background: var(--navy); color: var(--gold-light); font-weight: 800; font-size: 20px; }
.contact-side > p, .contact-side li { color: #5f7185; font-size: 13px; line-height: 1.7; }
.contact-side > p { margin: 17px 0 9px; }
.contact-side ol { padding-left: 19px; }
.contact-side li { margin: 6px 0; }
.contact-side .small-source { padding-top: 13px; border-top: 1px solid var(--line); color: #7d8997; font-size: 11px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden; color: #d8e1ed;
  border-top: 3px solid #d8b354;
  background: linear-gradient(108deg,#061c42 0%,#0a3470 56%,#071d43 100%); /* sama di semua halaman */
}
.site-footer::after {
  position: absolute; z-index: -1; content: ""; width: 420px; height: 220px; right: -80px; bottom: -120px;
  border: 1px solid rgba(230,202,131,.12); border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(230,202,131,.025),0 0 0 32px rgba(230,202,131,.02),0 0 0 48px rgba(230,202,131,.015);
  pointer-events: none;
}
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.1fr; gap: 38px; padding-top: 43px; padding-bottom: 37px; }
.brand-footer { min-width: 0; gap: 10px; color: #fff; }
.brand-footer .brand-mark { width: 48px; height: 45px; }
.brand-footer .brand-name { font-size: 23px; color: #fff; }
.brand-footer .brand-place { font-size: 10.5px; color: #bfcde0; }
.footer-brand > p, .footer-contact > p { color: #bac9db; font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.footer-grid h2 { color: #fff; font-size: 14px; line-height: 1.3; font-weight: 700; margin: 5px 0 14px; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 7px 0; }
.footer-links a, .footer-contact > a { color: #c9d7e8; font-size: 12px; }
.footer-links a:hover, .footer-contact > a:hover { color: var(--gold-light); }
.footer-contact > a { display: inline-block; margin-top: 12px; }
.footer-contact > a.footer-instagram { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.footer-instagram svg { display: block; width: 20px; height: 20px; flex: none; }
.footer-instagram span { display: block; line-height: 1; }
.footer-bottom { border-top: 1px solid rgba(235,214,164,.24); background: rgba(0,0,0,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; color: #d4deec; font-size: 10.5px; }

/* ---------- Responsif ---------- */
@media (min-width: 1600px) { .container { --content: 1320px; } }
@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; justify-self: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px rgba(20,45,75,.08); padding: 7px 18px 14px; }
  .site-navigation.is-open { display: block; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .site-navigation ul { display: block; max-width: 1000px; margin: 0 auto; }
  .site-navigation ul > li { display: block; min-height: 0; }
  .site-navigation ul > li.admin-login-mobile:not([hidden]) { display: block !important; }
  .admin-login-desktop { display: none !important; }
  .nav-link { display: flex; width: 100%; min-height: 43px; padding: 10px 9px; border-bottom: 1px solid #eef1f5; }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: #f4f7fb; border-left: 3px solid var(--gold); padding-left: 12px; }
  /* Tentang Kami menjadi accordion di dalam menu mobile */
  .nav-parent { justify-content: space-between; border-width: 0 0 1px; }
  .site-navigation .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 0 14px; border: 0; border-radius: 0; background: #fafbfd; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .site-navigation .has-sub.is-open > .sub-menu { display: block; }
  .site-navigation .sub-menu a { padding: 11px 9px; border-radius: 0; border-bottom: 1px solid #eef1f5; font-size: 13.5px; white-space: normal; }
  .menu-toggle { display: block; margin-left: 4px; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .welcome-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 860px) {
  .article-layout, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  :root { --header-h: 56px; }
  body { font-size: 14.5px; line-height: 1.65; }
  .container { width: min(calc(100% - 30px), var(--content)); }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 32px; }
  .brand-copy { gap: 3px; }
  .brand-name { font-size: 20px; }
  .brand-place { font-size: 9px; }
  .menu-toggle { flex: 0 0 38px; width: 38px; height: 34px; padding: 7px; }
  .menu-toggle span { margin: 3px 0; }
  .icon-btn { width: 36px; height: 36px; }
  .section-space { padding-block: 38px; }
  h2 { font-size: 23px; }
  h3 { font-size: 16px; }
  .lead { font-size: 14.5px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 28px; }
  .welcome-note { padding-left: 19px; }
  .welcome-note p { font-size: 15px; }
  .quick-links-grid { grid-template-columns: 1fr; }
  .quick-link { min-height: 82px; padding: 16px 14px; grid-template-columns: 31px 1fr 16px; gap: 10px; }
  .quick-link strong { font-size: 14px; }
  .quick-link small { font-size: 12px; }
  .closing-band { padding: 27px 0; }
  .closing-band-inner { align-items: flex-start; flex-direction: column; gap: 19px; }
  .closing-band h2 { font-size: 23px; }
  .section-heading { margin-bottom: 20px; }
  .prose h3 { font-size: 19px; }
  .side-panel { padding: 18px; }
  .value-list { gap: 14px; }
  .leaders-grid { grid-template-columns: 1fr; gap: 12px; }
  .leader-card { padding: 19px; }
  .leader-initials { margin-bottom: 12px; }
  .field-grid, .program-grid { grid-template-columns: 1fr; }
  .program-card { padding: 21px 18px; }
  .program-card h3 { font-size: 18px; }
  .news-list-item { grid-template-columns: 57px minmax(0,1fr); gap: 13px; padding: 20px 0; }
  .news-date { width: 54px; min-height: 66px; }
  .news-date strong { font-size: 20px; }
  .news-date span { font-size: 8px; }
  .news-list-item h3 { font-size: 17px; }
  .news-list-item p:not(.article-meta) { font-size: 13px; }
  .publication-item { gap: 12px; padding: 16px 2px; }
  .publication-icon { flex-basis: 42px; height: 42px; font-size: 10px; }
  .publication-copy strong { font-size: 13.5px; }
  .publication-copy small { font-size: 11.5px; }
  .gallery-feature { grid-template-columns: 1fr; gap: 19px; }
  .gallery-img { aspect-ratio: 4 / 3; }
  .gallery-caption h3 { font-size: 21px; }
  .contact-main h3 { font-size: 20px; }
  .contact-side { padding: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 18px; padding-top: 32px; padding-bottom: 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-grid h2 { font-size: 13px; margin-bottom: 10px; }
  .footer-links a, .footer-contact > a { font-size: 11.5px; }
  .footer-brand > p, .footer-contact > p { font-size: 11.5px; }
  .footer-bottom-inner { flex-direction: column; gap: 3px; font-size: 10px; }
  .site-footer { border-top-width: 2px; }
}
@media (max-width: 640px) {
  /* Hero HP: komposisi sama dengan desktop (teks di langit kiri, aparatur di kanan), seluruhnya diperkecil mengikuti lebar layar */
  .hero-image { aspect-ratio: 2.05 / 1; min-height: 0; max-height: none; height: auto; background-position: 85% 22%; }
  .hero-copy-wrap { padding-bottom: 1%; }
  .hero-copy-wrap::before { background: linear-gradient(90deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.44) 42%, rgba(255,255,255,0) 66%); }
  .hero-copy { max-width: 52%; }
  .hero-kicker { font-size: max(9.5px, 2.6vw); line-height: 1.35; margin-bottom: 1.6vw; }
  .hero-copy h1 { font-size: max(13.5px, min(3.7vw, 26px)); line-height: 1.18; letter-spacing: -.015em; }
  .hero-line { display: inline; white-space: normal; }
  .hero-rule { width: 11vw; max-width: 56px; height: 2px; margin: 2.4vw 0; }
  .hero-desc { max-width: none; font-size: max(9px, min(2.38vw, 15px)); line-height: 1.5; }
}
@media (max-width: 560px) {
  .header-inner { gap: 6px; padding-inline: 10px; }
  .header-tools { gap: 1px; }
  .lang { display: flex; }
  .lang-btn { height: 34px; padding: 0 5px; font-size: 12px; }
  .icon-btn { width: 32px; height: 34px; }
  .menu-toggle { margin-left: 1px; }
}

/* Pencarian inline di bawah header — mengikuti alur halaman, tanpa modal/backdrop. */
.site-search-inline[hidden] { display: none !important; }
.site-search-inline { position: relative; z-index: 4; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.site-search-inline-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 16px 0 14px; }
.site-search-inline-form { display: flex; align-items: center; gap: 9px; }
.site-search-inline-field { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 0 13px; border: 1px solid #c7d3e2; border-radius: 7px; background: #fff; color: #71849a; }
.site-search-inline-field:focus-within { border-color: #4679b5; box-shadow: 0 0 0 3px rgba(44,99,163,.10); }
.site-search-inline-field svg { flex: 0 0 18px; width: 18px; height: 18px; }
.site-search-inline-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 14px; }
.site-search-submit, .site-search-close { min-height: 40px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 7px; background: var(--navy); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.site-search-close { border-color: #d4deea; background: #fff; color: #3a4f6d; }
.site-search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.site-search-result { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; padding: 10px 12px; border: 1px solid #e0e7ef; border-radius: 7px; background: #fff; color: var(--ink); }
.site-search-result:hover, .site-search-result:focus-visible { border-color: #b7cce3; background: #fdfefe; }
.site-search-result strong { color: var(--navy); font-size: 13px; }
.site-search-result span { grid-column: 1; color: #718198; font-size: 11.5px; }
.site-search-result b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #b58a30; font-size: 19px; }
.site-search-hint, .site-search-empty { margin: 10px 0 0; color: #718198; font-size: 13px; }
@media (max-width: 560px) {
  .site-search-inline-inner { width: calc(100% - 24px); padding: 11px 0 12px; }
  .site-search-inline-form { flex-wrap: wrap; gap: 7px; }
  .site-search-inline-field { flex-basis: 100%; min-height: 42px; }
  .site-search-submit, .site-search-close { flex: 1; min-height: 37px; }
  .site-search-results { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 18px; }
  .brand-place { font-size: 8.5px; }
  .brand-mark { width: 31px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* =========================================================
   Beranda — tata letak mengikuti mockup desktop + mobile.
   Header, hero, dan footer menggunakan komponen yang sudah ada.
   ========================================================= */
.home-about { padding-block: 22px 24px; background: #fff; }
.home-about-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.home-eyebrow { margin: 0 0 4px; color: #5276a4; font-size: 11.5px; line-height: 1.4; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-about-copy h2 { max-width: 540px; margin: 0 0 11px; color: #142e4e; font-size: clamp(23px, 2vw, 30px); line-height: 1.22; letter-spacing: -.025em; }
.home-about-copy > p:not(.home-eyebrow) { max-width: 610px; margin: 0; color: #53667d; font-size: 15px; line-height: 1.65; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 22px; border: 1px solid #174e93; border-radius: 6px; font-size: 13.5px; line-height: 1.2; font-weight: 750; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.home-button span { font-size: 17px; line-height: 1; }
.home-button-primary { color: #fff; background: #164b91; box-shadow: 0 2px 5px rgba(18,61,121,.08); }
.home-button-primary:hover { color: #fff; background: #0d3469; }
.home-button-outline { color: #174e93; background: #fff; }
.home-button-outline:hover { color: #fff; background: #174e93; }
.home-quote-panel { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 20px 14px; border: 1px solid #e3eefb; border-radius: 11px; background: linear-gradient(135deg, #edf6ff 0%, #e4f0fd 100%); text-align: center; }
.home-quote-emblem { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 7px; overflow: hidden; border-radius: 50%; background: #16477f; box-shadow: inset 0 0 0 2px #d5b85d; }
.home-quote-emblem img { display: block; width: 26px; height: 26px; object-fit: contain; }
.home-quote-panel > p { margin: 0; color: #17477e; font-size: 16px; font-weight: 700; line-height: 1.38; }
.home-quote-values { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 14px; padding-top: 11px; border-top: 1px solid #c5d8ee; }
.home-quote-values span { color: #17477e; font-size: 12.5px; line-height: 1.2; font-weight: 700; }
.home-quote-values span + span { border-left: 1px solid #c5d8ee; }
.home-access { padding-block: 19px 22px; background: #fff; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 15px; }
.home-section-heading h2 { margin: 0 0 3px; color: #16375e; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.3; letter-spacing: -.015em; }
.home-section-heading p { margin: 0; color: #74849a; font-size: 14.5px; line-height: 1.55; }
.home-access-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.home-access-card { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; align-items: start; column-gap: 8px; padding: 15px 16px 14px; border: 1px solid #e0ebf8; border-radius: 9px; background: linear-gradient(145deg,#f6faff,#eef5fd); color: #173b68; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-access-card:hover { transform: translateY(-2px); border-color: #b6cde9; box-shadow: 0 8px 20px rgba(24,65,115,.07); color: #123d79; }
.home-access-icon { grid-column: 1 / -1; justify-self: start; flex: none; display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 10px; border-radius: 11px; color: #fff; background: #1c58a4; box-shadow: 0 3px 7px rgba(22,75,145,.15); }
.home-access-icon svg { display: block; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-access-card-copy { display: block; min-width: 0; }
.home-access-card strong { display: block; margin-bottom: 3px; color: #143a6b; font-size: 15.5px; line-height: 1.35; }
.home-access-card small { display: block; color: #697b90; font-size: 13px; line-height: 1.5; }
/* Panah satu baris dengan judul kartu (tinggi baris = tinggi baris judul: 15.5px × 1.35) */
.home-access-arrow { align-self: start; color: #1a58a2; font-size: 19px; line-height: 21px; }
.home-latest { padding-block: 22px 24px; background: #f5f8fc; border-block: 1px solid #edf1f6; }
.home-latest-heading { align-items: center; margin-bottom: 16px; }
.home-latest-heading h2 { margin-bottom: 3px; }
.home-see-all { flex: none; display: inline-flex; align-items: center; gap: 8px; color: #245a99; font-size: 13.5px; font-weight: 750; white-space: nowrap; }
.home-see-all span { font-size: 17px; }
.home-see-all:hover { color: #9a7528; }
.home-latest-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 14px; align-items: stretch; }
.home-featured-news { min-width: 0; display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); overflow: hidden; border: 1px solid #e4eaf2; border-radius: 8px; background: #fff; }
.home-featured-photo { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: center; }
.home-featured-copy { min-width: 0; padding: 20px 22px 18px; }
.home-news-label { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 12px; border-radius: 12px; background: #1d5ba3; color: #fff; font-size: 11.5px; line-height: 1.1; font-weight: 750; }
.home-featured-copy h3 { margin: 8px 0 5px; color: #193d69; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.35; }
.home-featured-copy h3 a { color: inherit; }
.home-featured-copy h3 a:hover { color: #1b5ca7; }
.home-featured-copy time { display: block; margin-bottom: 7px; color: #8a98a9; font-size: 12.5px; line-height: 1.35; }
.home-featured-copy p { margin: 0; color: #65768b; font-size: 14.5px; line-height: 1.65; }
.home-news-list { min-width: 0; display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid #e4eaf2; border-radius: 8px; background: #fff; }
.home-news-mini { min-width: 0; display: grid; grid-template-columns: 88px minmax(0,1fr) 16px; align-items: center; gap: 13px; padding: 11px 14px; }
.home-news-mini + .home-news-mini { border-top: 1px solid #e8edf3; }
.home-news-mini img { display: block; width: 88px; height: 62px; border-radius: 5px; object-fit: cover; }
.home-news-mini h3 { margin: 0 0 4px; color: #23456e; font-size: 14.5px; line-height: 1.35; }
.home-news-mini h3 a { color: inherit; }
.home-news-mini h3 a:hover { color: #1b5ca7; }
.home-news-mini time { display: block; color: #8492a4; font-size: 12px; line-height: 1.3; }
.home-mini-arrow { display: grid; place-items: center; width: 20px; height: 24px; color: #1d5ba3; font-size: 20px; }
.home-focus { padding-block: 22px 17px; background: #fff; }
.home-focus-heading { margin-bottom: 14px; }
.home-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.home-focus-card { min-width: 0; overflow: hidden; border: 1px solid #e1e9f2; border-radius: 8px; background: #fff; box-shadow: 0 3px 8px rgba(19,57,100,.035); }
.home-focus-card > img { display: block; width: 100%; height: 96px; object-fit: cover; object-position: center 45%; }
.home-focus-card-content { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 12px 16px 13px; }
.home-focus-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1d58a0; color: #fff; }
.home-focus-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.home-focus-card h3 { margin: 0 0 2px; color: #1b3f6b; font-size: 16px; line-height: 1.35; }
.home-focus-card p { margin: 0; color: #718096; font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .home-about-grid { grid-template-columns: minmax(0,1fr) minmax(270px,.9fr); gap: 25px; }
  .home-latest-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
  .home-featured-news { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .home-featured-copy { padding: 16px 16px 14px; }
  .home-news-mini { grid-template-columns: 76px minmax(0,1fr) 12px; gap: 11px; padding: 10px 12px; }
  .home-news-mini img { width: 76px; height: 54px; }
}
@media (max-width: 760px) {
  .home-about { padding-block: 18px 20px; }
  .home-about-grid { grid-template-columns: 1fr; gap: 19px; }
  .home-about-copy h2 { max-width: 540px; font-size: 24px; }
  .home-about-copy > p:not(.home-eyebrow) { font-size: 14.5px; }
  .home-quote-panel { min-height: 176px; padding: 13px 16px; }
  .home-quote-emblem { width: 34px; height: 34px; margin-bottom: 5px; }
  .home-quote-emblem img { width: 23px; height: 23px; }
  .home-quote-panel > p { font-size: 15px; }
  .home-quote-values { margin-top: 10px; padding-top: 9px; }
  .home-quote-values span { font-size: 11.5px; }
  .home-access { display: none; } /* Akses Informasi Cepat disembunyikan di mobile; menu yang sama sudah ada di navigasi. */
  .home-section-heading { margin-bottom: 12px; }
  .home-section-heading h2 { font-size: 22px; }
  .home-section-heading p { font-size: 13.5px; }
  .home-access-grid { grid-template-columns: 1fr; gap: 7px; }
  .home-access-card { min-height: 68px; display: flex; flex-direction: row; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 7px; }
  .home-access-icon { width: 30px; height: 30px; margin: 0; border-radius: 8px; }
  .home-access-icon svg { width: 17px; height: 17px; }
  .home-access-card-copy { flex: 1; padding-right: 0; }
  .home-access-card strong { margin: 0 0 1px; font-size: 14.5px; }
  .home-access-card small { font-size: 12.5px; line-height: 1.45; }
  .home-access-arrow { align-self: auto; margin: 0; padding: 0 2px 0 0; font-size: 21px; line-height: 1; }
  .home-latest { padding-block: 19px 20px; }
  .home-latest-heading { align-items: center; }
  .home-latest-heading h2 { font-size: 22px; }
  .home-latest-heading > div:first-child { flex: 1 1 auto; min-width: 0; }
  .home-latest-heading p { max-width: none; } /* dulu dibatasi 260px untuk tombol "Lihat semua" di kanan; tombol itu sudah tidak ada */
  .home-see-all { font-size: 12.5px; }
  .home-latest-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-featured-news { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .home-featured-photo { min-height: 100%; }
  .home-featured-copy { padding: 12px 12px; }
  .home-news-label { min-height: 20px; padding: 3px 9px; font-size: 10.5px; }
  .home-featured-copy h3 { margin: 7px 0 5px; font-size: 15.5px; line-height: 1.3; }
  .home-featured-copy time { margin-bottom: 5px; font-size: 11.5px; }
  .home-featured-copy p { font-size: 13px; line-height: 1.5; }
  .home-news-list { grid-template-rows: none; }
  .home-news-mini { grid-template-columns: 80px minmax(0,1fr) 15px; gap: 9px; padding: 10px 12px; }
  .home-news-mini img { width: 80px; height: 56px; }
  .home-news-mini h3 { font-size: 14px; }
  .home-news-mini time { font-size: 11.5px; }
  .home-focus { padding-block: 19px 16px; }
  .home-focus-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-focus-card { display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: stretch; min-height: 84px; }
  .home-focus-card > img { height: 100%; min-height: 84px; }
  .home-focus-card-content { min-height: 84px; gap: 11px; padding: 10px 12px; }
  .home-focus-icon { width: 34px; height: 34px; }
  .home-focus-icon svg { width: 19px; height: 19px; }
  .home-focus-card h3 { font-size: 14.5px; }
  .home-focus-card p { font-size: 12.5px; }
}
@media (max-width: 380px) {
  .home-about-copy h2 { font-size: 22px; }
  .home-button { gap: 7px; min-height: 42px; padding-inline: 16px; font-size: 12.5px; }
}

/* =========================================================
   TENTANG KAMI — desain halaman turunan sesuai mockup desktop/mobile
   Ditambahkan secara terisolasi agar Beranda, Publikasi, Galeri, dan Kontak tetap utuh.
   ========================================================= */
.about-page { background: #fff; }
.about-hero { position: relative; isolation: isolate; min-height: 258px; overflow: hidden; display: flex; align-items: center; color: #fff; background: #0b3970 url("../assets/hero-menu.webp") var(--hero-menu-pos) / var(--hero-menu-size) no-repeat; }
.about-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,39,82,.95) 0%, rgba(8,55,105,.88) 42%, rgba(10,56,103,.43) 72%, rgba(7,43,82,.27) 100%); }
.about-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--gold-brand), #f0dca2 48%, rgba(240,220,162,0)); }
.about-hero-inner { position: relative; padding-block: 26px 34px; }
.about-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; color: #d8e5f3; font-size: 12px; }
.about-breadcrumb a { color: #fff; }
.about-breadcrumb a:hover { color: #f4dda1; }
.about-hero-kicker { margin: 0 0 6px; color: #f0d58f; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.about-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(28px, 3.3vw, 42px); font-weight: 760; line-height: 1.15; letter-spacing: -.025em; text-shadow: 0 2px 14px rgba(0,0,0,.16); }
.about-hero-desc { max-width: 670px; margin: 11px 0 0; color: #e5edf7; font-size: 14px; line-height: 1.7; }
.about-hero-accent { display: block; width: 48px; height: 3px; margin-top: 17px; background: var(--gold-brand); }
.about-content { padding-block: 38px 54px; background: linear-gradient(180deg, #f8fafc 0%, #fff 190px); }
.about-layout { display: grid; grid-template-columns: 258px minmax(0,1fr); align-items: start; gap: 30px; }
.about-sidebar { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 15px; min-width: 0; }
.about-sidebar-card { padding: 0; border: 1px solid #dce5ef; background: #fff; box-shadow: 0 6px 18px rgba(20,48,83,.045); }
.about-sidebar-title { margin: 0; padding: 15px 17px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 760; }
.about-sidebar nav ul { display: block; margin: 0; padding: 7px; list-style: none; }
.about-sidebar nav li { margin: 0; }
.about-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 39px; padding: 9px 10px; color: #4a5f79; border-bottom: 1px solid #edf1f6; border-left: 3px solid transparent; font-size: 12px; line-height: 1.45; transition: background .16s ease, color .16s ease; }
.about-sidebar nav li:last-child a { border-bottom: 0; }
.about-sidebar nav a:hover { color: var(--navy); background: #f5f8fc; }
.about-sidebar nav a.is-current { color: #103f7d; background: #eaf2fb; border-left-color: var(--gold-brand); font-weight: 750; }
.about-nav-arrow { flex: 0 0 auto; color: #b08b3c; font-size: 20px; line-height: .8; }
.about-sidebar-note { position: relative; overflow: hidden; padding: 19px 17px 18px; color: #fff; background: linear-gradient(135deg, #113b72, #082b59); }
.about-sidebar-note::after { content: ""; position: absolute; width: 135px; height: 135px; right: -56px; bottom: -66px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 15px rgba(255,255,255,.035), 0 0 0 31px rgba(255,255,255,.025); }
.about-sidebar-emblem { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; color: #f1d796; border: 1px solid rgba(230,205,137,.55); border-radius: 50%; font-size: 18px; }
.about-sidebar-note strong { display: block; position: relative; z-index: 1; color: #fff; font-size: 14px; line-height: 1.45; }
.about-sidebar-note p { position: relative; z-index: 1; margin: 7px 0 13px; color: #cad8e9; font-size: 11.5px; line-height: 1.65; }
.about-sidebar-note a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: #f1d796; font-size: 11.5px; font-weight: 750; }
.about-sidebar-note a:hover { color: #fff; }
.about-mobile-nav { display: none; }
.about-main { min-width: 0; }
.about-main h2 { color: #133b70; }
.about-kicker { margin: 0 0 6px; color: #a27a24; font-size: 10.5px; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.about-section-heading { margin-bottom: 18px; }
.about-section-heading--first { margin-bottom: 23px; }
.about-section-heading h2, .about-intro-copy h2, .about-team-feature h2, .about-history-feature h2, .about-program-feature h2 { margin: 0 0 9px; font-size: clamp(22px, 2.1vw, 29px); font-weight: 760; letter-spacing: -.025em; line-height: 1.25; }
.about-section-heading > p:not(.about-kicker) { max-width: 750px; margin-bottom: 0; color: #62748a; font-size: 13px; line-height: 1.7; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(220px,.82fr); gap: 18px; align-items: stretch; }
.about-white-card { padding: clamp(18px,2.2vw,27px); border: 1px solid #e0e8f1; background: #fff; box-shadow: 0 8px 22px rgba(23,58,100,.055); }
.about-intro-copy h2 { font-size: 23px; }
.about-intro-copy .prose p { color: #53667d; font-size: 13px; line-height: 1.8; }
.about-inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding-bottom: 3px; color: var(--navy); border-bottom: 1px solid #cfb36a; font-size: 12px; font-weight: 750; }
.about-inline-link span { color: #b08b3c; font-size: 18px; }
.about-feature-image { position: relative; min-height: 100%; margin: 0; overflow: hidden; background: #e9eff7; }
.about-feature-image img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.about-feature-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px 15px 12px; color: #fff; background: linear-gradient(transparent, rgba(5,35,70,.8)); font-size: 11px; }
.about-subsection { margin-top: 34px; }
.about-icon-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.about-icon-card { min-width: 0; padding: 19px 16px 18px; border: 1px solid #e0e8f1; background: #fff; box-shadow: 0 5px 16px rgba(19,52,90,.035); }
.about-icon { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 12px; border-radius: 50%; color: var(--navy); background: #e9f2fd; border: 1px solid #d4e4f7; font-size: 21px; font-weight: 700; }
.about-icon-card h3 { margin: 0 0 7px; color: #1b3d69; font-size: 14px; }
.about-icon-card p { margin: 0; color: #64768b; font-size: 11.5px; line-height: 1.65; }
.about-value-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; border-top: 1px solid #e0e8f1; }
.about-value-grid > article { display: flex; gap: 12px; align-items: flex-start; padding: 17px 5px; border-bottom: 1px solid #e0e8f1; }
.about-value-grid > article > span { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 50%; color: var(--navy); background: #edf4fc; font-size: 19px; }
.about-value-grid h3 { margin: 1px 0 4px; color: #1c3c67; font-size: 13px; }
.about-value-grid p { margin: 0; color: #68798c; font-size: 11.5px; line-height: 1.6; }
.about-leadership-banner { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 21px 0 25px; padding: 17px 20px; color: #fff; background: linear-gradient(115deg,#123f7b,#0a2e60); }
.about-leadership-banner > div { display: flex; align-items: center; gap: 13px; }
/* Logo KORPRI sama dengan header/footer: kelas .brand-mark (assets/korpri-mark.png), ukuran seperti logo footer */
.about-banner-mark { width: 48px; height: 45px; flex: 0 0 48px; }
.about-leadership-banner strong, .about-leadership-banner span { display: block; }
.about-leadership-banner strong { color: #fff; font-size: 14px; }
.about-leadership-banner > div div > span { margin-top: 3px; color: #d5e3f3; font-size: 11.5px; }
.about-leadership-banner .about-banner-period { color: #ead393; font-size: 12px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.about-main .leaders-grid { gap: 13px; }
.about-main .leader-card { padding: 18px 16px 17px; border: 1px solid #dfe7f1; border-top: 3px solid var(--gold-brand); background: #fff; box-shadow: 0 7px 18px rgba(20,48,83,.04); }
.about-main .leader-initials { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #d8e6f7; background: #edf4fc; color: #17467f; margin-bottom: 12px; font-size: 15px; }
.about-main .leader-role { color: #a07b2f; font-size: 9.5px; letter-spacing: .08em; }
.about-main .leader-card h4 { color: #183c6b; font-size: 15px; line-height: 1.35; }
.about-main .leader-card p:last-child { color: #677a90; font-size: 11.5px; line-height: 1.6; }
.about-org-chart { padding: 23px; border: 1px solid #e0e8f1; background: linear-gradient(180deg,#f5f9fe,#fff); text-align: center; }
.about-org-node { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 61px; padding: 11px 15px; border: 1px solid #d5e1ef; border-radius: 5px; background: #fff; box-shadow: 0 4px 10px rgba(17,52,93,.045); }
.about-org-node strong { color: #17447b; font-size: 12px; }
.about-org-node span { margin-top: 3px; color: #6e7f92; font-size: 10px; }
.about-org-node--top, .about-org-node--chair { width: min(100%,300px); margin-inline: auto; color: #fff; background: #164b87; border-color: #164b87; }
.about-org-node--top strong, .about-org-node--chair strong { color: #fff; }
.about-org-node--top span, .about-org-node--chair span { color: #dce9f7; }
.about-org-stem { width: 1px; height: 22px; margin: 0 auto; background: #9cb6d5; }
.about-org-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; max-width: 700px; margin-inline: auto; }
.about-org-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.about-org-fields > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; min-height: 77px; padding: 12px; text-align: left; border: 1px solid #dbe6f2; background: #fff; }
.about-org-fields span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eaf2fb; color: #19477f; font-size: 9px; font-weight: 800; }
.about-org-fields strong { color: #385572; font-size: 10.5px; line-height: 1.45; }
.about-fields-list .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.about-accordion-list { border-top: 1px solid #dfe7f0; }
.about-accordion-list details { border-bottom: 1px solid #dfe7f0; background: #fff; }
.about-accordion-list summary { display: flex; align-items: center; gap: 13px; min-height: 54px; padding: 13px 14px; color: #2d496b; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 720; }
.about-accordion-list summary::-webkit-details-marker { display: none; }
.about-accordion-list summary::after { content: "+"; margin-left: auto; color: #b18a3b; font-size: 21px; font-weight: 400; }
.about-accordion-list details[open] summary::after { content: "−"; }
.about-accordion-list summary > span { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; color: #17477f; background: #eaf2fb; border-radius: 50%; font-size: 9px; font-weight: 800; }
.about-accordion-list details > p { margin: 0; padding: 0 48px 17px 56px; color: #65788e; font-size: 12px; line-height: 1.7; }
.about-editorial-image { position: relative; height: 135px; margin-bottom: 22px; overflow: hidden; background: #e6eef7; }
.about-editorial-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-editorial-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(8,41,78,.45),rgba(8,41,78,0) 75%); }
.about-editorial-image > span { position: absolute; z-index: 1; left: 18px; bottom: 15px; color: #fff; font-size: 13px; font-weight: 750; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.about-vision-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.about-vision-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #dfe7f1; background: #fff; box-shadow: 0 6px 18px rgba(22,58,99,.035); }
.about-vision-card--vision { background: linear-gradient(145deg,#f1f6fc,#fff); }
.about-vision-card h3 { margin: 0 0 10px; color: #19477c; font-size: 18px; }
.about-vision-card > p:not(.about-kicker) { color: #60748b; font-size: 12.5px; line-height: 1.75; }
.about-vision-card ol { margin: 0 0 17px; padding-left: 19px; color: #60748b; font-size: 12px; line-height: 1.75; }
.about-vision-card li { margin-bottom: 6px; padding-left: 2px; }
.about-card-footnote { margin-top: auto; padding-top: 9px; color: #a17b2e; border-top: 1px solid #e8edf4; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.about-history-feature { display: grid; grid-template-columns: 175px minmax(0,1fr); gap: 20px; align-items: center; margin-bottom: 20px; }
.about-history-feature > img { width: 100%; height: 130px; object-fit: cover; }
.about-history-feature h2 { margin: 0 0 7px; font-size: 25px; }
.about-history-feature p:last-child { margin: 0; color: #687b91; font-size: 12px; line-height: 1.7; }
.about-timeline { position: relative; margin: 26px 0 4px 12px; padding-left: 26px; border-left: 2px solid #d7e4f4; }
.about-timeline-item { position: relative; padding: 0 0 26px 3px; }
.about-timeline-item:last-child { padding-bottom: 0; }
.about-timeline-dot { position: absolute; top: 2px; left: -34px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #174b86; box-shadow: 0 0 0 2px #b8cde5; }
.about-timeline-label { margin: 0 0 5px; color: #a17d2c; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-timeline-item h3 { margin: 0 0 7px; color: #1b416f; font-size: 16px; }
.about-timeline-item p:last-child { margin: 0; color: #65788e; font-size: 12px; line-height: 1.75; }
.about-history-copy { padding: 18px 20px; border: 1px solid #e0e8f1; background: #fff; }
.about-history-copy p { font-size: 12.5px; }
.about-goal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.about-goal-grid article { display: flex; align-items: flex-start; gap: 13px; padding: 17px 16px; border: 1px solid #dfe7f1; background: #fff; }
.about-goal-grid article > span { display: grid; place-items: center; flex: 0 0 35px; height: 35px; color: #fff; border-radius: 50%; background: #164982; font-size: 10px; font-weight: 800; }
.about-goal-grid h3 { margin: 1px 0 5px; color: #23466e; font-size: 13px; }
.about-goal-grid p { margin: 0; color: #677a8f; font-size: 11.5px; line-height: 1.65; }
.about-function-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.about-function-grid article { display: flex; gap: 13px; align-items: flex-start; padding: 17px 16px; background: #f7f9fc; border: 1px solid #e2e9f2; }
.about-function-grid .about-icon { flex: 0 0 38px; width: 38px; height: 38px; margin: 0; }
.about-function-grid h3 { margin: 0 0 5px; color: #24476d; font-size: 13px; }
.about-function-grid p { margin: 0; color: #6a7b8f; font-size: 11.5px; line-height: 1.65; }
.about-program-feature { display: grid; grid-template-columns: minmax(0,1fr) 185px; gap: 18px; align-items: center; margin-bottom: 20px; padding: 20px; background: #f4f8fd; border: 1px solid #dfe8f2; }
.about-program-feature h2 { margin: 0 0 8px; font-size: 25px; }
.about-program-feature p:not(.about-kicker) { margin: 0; color: #63758b; font-size: 12px; line-height: 1.7; }
.about-program-feature > img { display: block; width: 100%; height: 120px; object-fit: cover; }
.about-program-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #61758c; font-size: 10px; }
.about-program-count strong { color: #17477e; font-size: 19px; }
.about-program-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.about-program-card { display: flex; flex-direction: column; min-width: 0; padding: 17px 15px 15px; border: 1px solid #dfe7f1; background: #fff; box-shadow: 0 5px 16px rgba(20,48,83,.035); }
.about-program-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; }
.about-program-icon { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; color: #194a80; border-radius: 50%; background: #eaf2fb; font-size: 17px; }
.about-program-number { color: #9b7a34; font-size: 8.5px; font-weight: 800; letter-spacing: .08em; }
.about-program-card h3 { margin: 0 0 7px; color: #1c416e; font-size: 13px; line-height: 1.4; }
.about-program-card > p { margin: 0 0 14px; color: #687b90; font-size: 11px; line-height: 1.65; }
.about-program-meta { margin-top: auto; padding-top: 11px; border-top: 1px solid #e8edf3; }
.about-program-meta strong { display: block; margin-bottom: 4px; color: #385777; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.about-program-meta span { display: block; color: #748398; font-size: 10px; line-height: 1.6; }

@media (max-width: 1050px) {
  .about-layout { grid-template-columns: 225px minmax(0,1fr); gap: 22px; }
  .about-org-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-feature-image img { max-height: 260px; min-height: 190px; }
}
@media (max-width: 760px) {
  .about-hero { min-height: 220px; align-items: flex-end; background-position: 63% center; }
  .about-hero::before { background: linear-gradient(90deg,rgba(5,39,82,.9),rgba(8,55,105,.7) 70%,rgba(7,43,82,.52)); }
  .about-hero-inner { padding-block: 22px 25px; }
  .about-breadcrumb { gap: 7px; margin-bottom: 13px; font-size: 10px; }
  .about-hero-kicker { font-size: 9px; }
  .about-hero h1 { font-size: clamp(25px,6.5vw,32px); }
  .about-hero-desc { max-width: 95%; margin-top: 8px; font-size: 12px; line-height: 1.6; }
  .about-hero-accent { width: 38px; height: 2px; margin-top: 12px; }
  .about-content { padding-block: 0 34px; background: #fff; }
  .about-layout { display: block; }
  .about-sidebar { display: none; }
  .about-mobile-nav { display: block; overflow: hidden; padding-block: 13px 12px; background: #f4f7fb; border-bottom: 1px solid #dfe7f1; }
  .about-mobile-nav p { margin: 0 0 8px; color: #a07b2d; font-size: 8.5px; font-weight: 800; letter-spacing: .12em; }
  .about-mobile-nav nav { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
  .about-mobile-nav nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 31px; padding: 7px 10px; color: #38536f; border: 1px solid #dbe5f0; background: #fff; font-size: 10px; white-space: nowrap; }
  .about-mobile-nav nav a.is-current { color: #fff; border-color: #17477f; background: #17477f; }
  .about-main { padding-top: 23px; }
  .about-section-heading--first { margin-bottom: 18px; }
  .about-section-heading h2, .about-intro-copy h2, .about-team-feature h2, .about-history-feature h2, .about-program-feature h2 { font-size: 22px; }
  .about-section-heading > p:not(.about-kicker) { font-size: 12px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-white-card { padding: 17px; }
  .about-intro-copy .prose p { font-size: 12px; }
  .about-feature-image img { height: auto; min-height: 0; max-height: 220px; aspect-ratio: 16/9; }
  .about-subsection { margin-top: 25px; }
  .about-icon-grid { grid-template-columns: 1fr; gap: 8px; }
  .about-icon-card { display: grid; grid-template-columns: 38px minmax(0,1fr); column-gap: 11px; padding: 13px; }
  .about-icon-card .about-icon { grid-row: span 2; width: 35px; height: 35px; margin: 0; font-size: 18px; }
  .about-icon-card h3 { align-self: end; margin-bottom: 3px; font-size: 12px; }
  .about-icon-card p { font-size: 10.5px; }
  .about-value-grid { grid-template-columns: 1fr; }
  .about-value-grid > article { padding-block: 13px; }
  .about-leadership-banner { align-items: flex-start; padding: 14px; }
  .about-banner-mark { width: 37px; height: 34px; flex-basis: 37px; }
  .about-leadership-banner strong { font-size: 12px; }
  .about-leadership-banner > div div > span { font-size: 10px; }
  .about-leadership-banner .about-banner-period { font-size: 9px; }
  .about-main .leaders-grid { grid-template-columns: 1fr; gap: 9px; }
  .about-main .leader-card { display: grid; grid-template-columns: 43px minmax(0,1fr); column-gap: 11px; padding: 13px; }
  .about-main .leader-initials { grid-row: span 3; width: 40px; height: 40px; margin: 0; font-size: 12px; }
  .about-main .leader-role { margin: 0 0 2px; align-self: end; font-size: 8px; }
  .about-main .leader-card h4 { margin: 0 0 3px; font-size: 13px; }
  .about-main .leader-card p:last-child { margin: 0; font-size: 10px; }
  .about-org-chart { padding: 14px 10px; }
  .about-org-node { min-height: 51px; padding: 9px 8px; }
  .about-org-node strong { font-size: 10px; }
  .about-org-node span { font-size: 8.5px; }
  .about-org-row { gap: 6px; }
  .about-org-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .about-org-fields > div { min-height: 68px; padding: 9px; gap: 5px; }
  .about-org-fields strong { font-size: 9px; }
  .about-fields-list .field-grid { grid-template-columns: 1fr; }
  .about-accordion-list summary { min-height: 49px; gap: 9px; padding: 11px 8px; font-size: 11px; }
  .about-accordion-list details > p { padding: 0 14px 14px 45px; font-size: 11px; }
  .about-editorial-image { height: 110px; margin-bottom: 16px; }
  .about-editorial-image > span { left: 12px; bottom: 11px; font-size: 10px; }
  .about-vision-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .about-vision-card { padding: 17px; }
  .about-vision-card h3 { font-size: 16px; }
  .about-vision-card > p:not(.about-kicker), .about-vision-card ol { font-size: 11.5px; }
  .about-history-feature { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .about-history-feature > img { height: 105px; }
  .about-history-feature h2 { font-size: 19px; }
  .about-history-feature p:last-child { font-size: 10.5px; }
  .about-timeline { margin-left: 10px; padding-left: 20px; }
  .about-timeline-dot { left: -28px; }
  .about-timeline-item { padding-bottom: 20px; }
  .about-timeline-item h3 { font-size: 14px; }
  .about-timeline-item p:last-child { font-size: 11px; }
  .about-history-copy { padding: 14px; }
  .about-history-copy p { font-size: 11.5px; }
  .about-goal-grid, .about-function-grid { grid-template-columns: 1fr; gap: 8px; }
  .about-goal-grid article, .about-function-grid article { padding: 13px; }
  .about-program-feature { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .about-program-feature > img { height: 115px; }
  .about-program-grid { grid-template-columns: 1fr; gap: 9px; }
  .about-program-card { padding: 14px; }
  .about-program-card h3 { font-size: 12.5px; }
  .about-program-card > p { font-size: 10.5px; }
  .about-program-meta span { font-size: 10px; }
}
@media (max-width: 400px) {
  .about-hero { min-height: 215px; }
  .about-org-row { grid-template-columns: 1fr; max-width: 240px; }
  .about-org-row + .about-org-stem { height: 15px; }
  .about-program-feature h2 { font-size: 20px; }
  .about-leadership-banner .about-banner-period { display: none; }
}

/* =========================================================
   SUBMENU TENTANG KAMI — penyelarasan mockup yang mudah dibaca
   Header global tidak diubah: seluruh halaman memakai header dan breakpoint
   yang sama dengan Beranda. Aturan berikut hanya menyentuh konten submenu.
   ========================================================= */
.about-page { background: #fff; }
.about-layout { display: block; }
/* Ikuti lebar .container global seperti Beranda; jangan batasi konten pada 1160px */
.about-main { width: 100%; max-width: none; margin-inline: 0; min-width: 0; }
.about-main > :first-child { margin-top: 0; }
.about-hero { min-height: 178px; align-items: center; background-position: center 43%; }
.about-hero::before { background: linear-gradient(90deg, rgba(7,39,78,.92) 0%, rgba(8,48,91,.82) 46%, rgba(8,48,91,.45) 100%); }
.about-hero::after { height: 3px; }
.about-hero-inner { padding-block: 21px 23px; }
.about-breadcrumb { gap: 9px; margin-bottom: 10px; font-size: 12px; line-height: 1.4; color: #d7e5f5; }
.about-breadcrumb a { color: #fff; }
.about-hero-kicker { margin-bottom: 5px; color: #f0d58f; font-size: 11px; letter-spacing: .13em; }
.about-hero h1 { max-width: 850px; font-size: clamp(29px, 2.8vw, 38px); line-height: 1.16; }
.about-hero-desc { max-width: 720px; margin-top: 8px; font-size: 14px; line-height: 1.6; color: #e5edf7; }
.about-hero-accent { width: 40px; height: 3px; margin-top: 11px; }
.about-content { padding-block: 30px 42px; background: linear-gradient(180deg, #f8fafc 0%, #fff 190px); }
.about-section-heading { margin-bottom: 17px; }
.about-section-heading--first { margin-bottom: 20px; }
.about-section-heading h2, .about-intro-copy h2, .about-team-feature h2, .about-history-feature h2, .about-program-feature h2 { margin-bottom: 8px; font-size: clamp(23px, 2vw, 28px); line-height: 1.25; }
.about-section-heading > p:not(.about-kicker) { max-width: 800px; font-size: 14px; line-height: 1.7; }
.about-kicker { margin-bottom: 5px; font-size: 11px; letter-spacing: .1em; }
.about-intro-grid { grid-template-columns: minmax(0, 1.06fr) minmax(270px, .94fr); gap: 22px; }
.about-white-card { padding: 22px 24px; box-shadow: 0 5px 16px rgba(23,58,100,.045); }
.about-intro-copy h2 { font-size: 23px; }
.about-intro-copy .prose p { font-size: 14px; line-height: 1.75; }
.about-feature-image img { min-height: 230px; max-height: 300px; }
.about-feature-image figcaption { padding: 22px 14px 11px; font-size: 12px; }
.about-subsection { margin-top: 27px; }
.about-icon-grid { gap: 12px; }
.about-icon-card { padding: 17px 15px; box-shadow: 0 4px 13px rgba(19,52,90,.035); }
.about-icon { width: 39px; height: 39px; margin-bottom: 10px; font-size: 20px; }
.about-icon-card h3 { margin-bottom: 6px; font-size: 15px; line-height: 1.4; }
.about-icon-card p { font-size: 13px; line-height: 1.6; }
.about-value-grid h3 { font-size: 14px; }
.about-value-grid p { font-size: 13px; line-height: 1.6; }
.about-value-grid > article { padding: 15px 6px; }
.about-leadership-banner { margin: 17px 0 22px; padding: 16px 19px; }
.about-leadership-banner strong { font-size: 15px; }
.about-leadership-banner > div div > span { font-size: 13px; }
.about-main .leaders-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.about-main .leader-card { padding: 16px 15px; box-shadow: 0 5px 14px rgba(20,48,83,.035); }
.about-main .leader-initials { width: 43px; height: 43px; margin-bottom: 10px; font-size: 14px; }
.about-main .leader-role { font-size: 11px; line-height: 1.45; }
.about-main .leader-card h4 { font-size: 15px; line-height: 1.4; }
.about-main .leader-card p:last-child { font-size: 13px; line-height: 1.55; }
.about-org-chart { padding: 22px; }
.about-org-node { min-height: 48px; padding: 10px 12px; }
.about-org-node strong { font-size: 13px; }
.about-org-node span { font-size: 11.5px; }
.about-org-fields { gap: 10px; }
.about-org-fields > div { min-height: 68px; padding: 12px; }
.about-org-fields strong { font-size: 12.5px; line-height: 1.4; }
.about-org-fields span { font-size: 11.5px; line-height: 1.5; }
.about-accordion-list details { border-bottom: 1px solid #e4eaf2; }
.about-accordion-list summary { min-height: 48px; padding: 11px 14px; font-size: 14px; line-height: 1.45; }
.about-accordion-list details > p { padding: 0 17px 14px 44px; font-size: 13px; line-height: 1.65; }
.about-editorial-image { height: 150px; margin-bottom: 15px; }
.about-editorial-image > span { left: 14px; bottom: 12px; font-size: 12px; }
.about-vision-grid { gap: 14px; margin-top: 14px; }
.about-vision-card { padding: 20px; }
.about-vision-card h3 { font-size: 18px; }
.about-vision-card > p:not(.about-kicker), .about-vision-card ol { font-size: 14px; line-height: 1.7; }
.about-history-feature { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; margin-bottom: 18px; }
.about-history-feature > img { width: 100%; height: 160px; object-fit: cover; }
.about-history-feature h2 { font-size: 23px; }
.about-history-feature p:last-child { font-size: 13.5px; line-height: 1.7; }
.about-timeline { margin-top: 21px; }
.about-timeline-item { padding-bottom: 18px; }
.about-timeline-item h3 { font-size: 15px; }
.about-timeline-item p:last-child { font-size: 13px; line-height: 1.65; }
.about-goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-goal-grid article { padding: 16px; gap: 12px; }
.about-goal-grid article > span { flex-basis: 34px; height: 34px; font-size: 12px; }
.about-goal-grid h3, .about-function-grid h3 { font-size: 15px; line-height: 1.4; }
.about-goal-grid p, .about-function-grid p { font-size: 13px; line-height: 1.65; }
.about-function-grid { gap: 12px; }
.about-function-grid article { padding: 15px; gap: 12px; }
.about-function-grid .about-icon { flex-basis: 36px; width: 36px; height: 36px; }
.about-program-feature { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; margin-bottom: 18px; padding: 19px; }
.about-program-feature h2 { font-size: 24px; }
.about-program-feature p:not(.about-kicker) { font-size: 14px; line-height: 1.7; }
.about-program-feature > img { height: 135px; }
.about-program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-program-card { padding: 16px 15px; box-shadow: 0 4px 13px rgba(20,48,83,.035); }
.about-program-card-top { margin-bottom: 11px; }
.about-program-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 16px; }
.about-program-number { font-size: 10px; }
.about-program-card h3 { font-size: 14px; line-height: 1.45; }
.about-program-card > p { font-size: 12.5px; line-height: 1.65; }
.about-program-meta { padding-top: 10px; }
.about-program-meta strong { font-size: 10px; }
.about-program-meta span { font-size: 11.5px; line-height: 1.55; }

@media (max-width: 1050px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-feature-image img { min-height: 200px; max-height: 280px; }
  .about-history-feature { grid-template-columns: 220px minmax(0,1fr); }
  .about-program-feature { grid-template-columns: minmax(0,1fr) 220px; }
}
@media (max-width: 760px) {
  .about-hero { min-height: 190px; align-items: center; background-position: 65% center; }
  .about-hero::before { background: linear-gradient(90deg, rgba(7,39,78,.9), rgba(8,48,91,.72) 72%, rgba(8,48,91,.58)); }
  .about-hero-inner { padding-block: 17px 19px; }
  .about-breadcrumb { margin-bottom: 9px; font-size: 11px; }
  .about-hero-kicker { margin-bottom: 4px; font-size: 10px; }
  .about-hero h1 { font-size: clamp(25px, 6.4vw, 32px); }
  .about-hero-desc { max-width: 96%; margin-top: 7px; font-size: 13px; line-height: 1.55; }
  .about-hero-accent { width: 32px; margin-top: 9px; }
  .about-content { padding-block: 24px 32px; }
  .about-section-heading { margin-bottom: 14px; }
  .about-section-heading--first { margin-bottom: 17px; }
  .about-section-heading h2, .about-intro-copy h2, .about-team-feature h2, .about-history-feature h2, .about-program-feature h2 { font-size: 22px; }
  .about-section-heading > p:not(.about-kicker) { font-size: 13.5px; }
  .about-intro-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .about-white-card { padding: 17px; }
  .about-intro-copy h2 { font-size: 20px; }
  .about-intro-copy .prose p { font-size: 13.5px; line-height: 1.7; }
  .about-feature-image img { min-height: 0; max-height: none; aspect-ratio: 16 / 9; }
  .about-subsection { margin-top: 22px; }
  .about-icon-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .about-icon-card { display: block; padding: 13px 11px; }
  .about-icon-card .about-icon { width: 32px; height: 32px; margin-bottom: 7px; font-size: 16px; }
  .about-icon-card h3 { font-size: 13px; }
  .about-icon-card p { font-size: 12px; line-height: 1.5; }
  .about-value-grid { grid-template-columns: 1fr; }
  .about-value-grid > article { padding-block: 12px; gap: 10px; }
  .about-value-grid h3 { font-size: 13.5px; }
  .about-value-grid p { font-size: 12.5px; }
  .about-leadership-banner { align-items: flex-start; padding: 13px; gap: 10px; }
  .about-leadership-banner strong { font-size: 13px; }
  .about-leadership-banner > div div > span { font-size: 11.5px; }
  .about-main .leaders-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .about-main .leader-card { display: block; padding: 12px; }
  .about-main .leader-initials { width: 35px; height: 35px; margin-bottom: 7px; font-size: 12px; }
  .about-main .leader-role { font-size: 10px; }
  .about-main .leader-card h4 { font-size: 13px; }
  .about-main .leader-card p:last-child { font-size: 11.5px; }
  .about-org-chart { padding: 14px 10px; }
  .about-org-node { min-height: 43px; padding: 8px 7px; }
  .about-org-node strong { font-size: 11.5px; }
  .about-org-node span { font-size: 10.5px; }
  .about-org-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .about-org-fields > div { min-height: 62px; padding: 9px; gap: 5px; }
  .about-org-fields strong { font-size: 11px; }
  .about-org-fields span { font-size: 10.5px; }
  .about-accordion-list summary { min-height: 45px; padding: 10px 10px; font-size: 12.5px; }
  .about-accordion-list details > p { padding: 0 12px 12px 36px; font-size: 12px; }
  .about-editorial-image { height: 120px; margin-bottom: 12px; }
  .about-editorial-image > span { left: 11px; bottom: 9px; font-size: 11px; }
  .about-vision-grid { grid-template-columns: minmax(0,1fr); gap: 9px; margin-top: 11px; }
  .about-vision-card { padding: 15px; }
  .about-vision-card h3 { font-size: 16px; }
  .about-vision-card > p:not(.about-kicker), .about-vision-card ol { font-size: 12.5px; line-height: 1.65; }
  .about-history-feature { grid-template-columns: 115px minmax(0,1fr); gap: 12px; margin-bottom: 13px; }
  .about-history-feature > img { height: 115px; }
  .about-history-feature h2 { font-size: 18px; }
  .about-history-feature p:last-child { font-size: 12px; line-height: 1.55; }
  .about-timeline { margin-left: 9px; padding-left: 18px; }
  .about-timeline-dot { left: -25px; }
  .about-timeline-item { padding-bottom: 15px; }
  .about-timeline-item h3 { font-size: 13px; }
  .about-timeline-item p:last-child { font-size: 12px; }
  .about-history-copy { padding: 12px; }
  .about-history-copy p { font-size: 12.5px; }
  .about-goal-grid, .about-function-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .about-goal-grid article, .about-function-grid article { padding: 12px; }
  .about-goal-grid h3, .about-function-grid h3 { font-size: 13px; }
  .about-goal-grid p, .about-function-grid p { font-size: 12px; }
  .about-program-feature { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 13px; }
  .about-program-feature h2 { font-size: 20px; }
  .about-program-feature p:not(.about-kicker) { font-size: 13px; }
  .about-program-feature > img { height: 120px; }
  .about-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .about-program-card { padding: 11px; }
  .about-program-card h3 { font-size: 12.5px; }
  .about-program-card > p { font-size: 11.5px; }
  .about-program-meta strong { font-size: 9.5px; }
  .about-program-meta span { font-size: 10.5px; }
}
@media (max-width: 400px) {
  .about-icon-grid { grid-template-columns: 1fr; }
  .about-icon-card { display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 9px; }
  .about-icon-card .about-icon { grid-row: span 2; margin: 0; }
  .about-program-grid { grid-template-columns: minmax(0,1fr); }
  .about-main .leaders-grid { grid-template-columns: minmax(0,1fr); }
  .about-history-feature { grid-template-columns: 95px minmax(0,1fr); gap: 10px; }
  .about-history-feature > img { height: 95px; }
}

/* Penyempurnaan keterbacaan label dan informasi sekunder pada submenu. */
.about-card-footnote { font-size: 11px; letter-spacing: .05em; }
.about-timeline-label { font-size: 11px; letter-spacing: .08em; }
.about-history-copy p { font-size: 13.5px; line-height: 1.7; }
.about-program-count { font-size: 12px; }
.about-program-number { font-size: 10.5px; }
.about-org-fields > div > span { font-size: 11px; }
@media (max-width: 760px) {
  .about-card-footnote { font-size: 10.5px; }
  .about-timeline-label { font-size: 10.5px; }
  .about-history-copy p { font-size: 12.5px; }
  .about-program-count { font-size: 11.5px; }
  .about-program-number { font-size: 10px; }
}

/* =========================================================
   Publikasi, Galeri, Kontak — halaman informasional responsif
   Header/footer tetap menggunakan komponen global Beranda.
   ========================================================= */
.publication-page, .contact-page { background:#fff; }
.gallery-page { background:#f4f7fb; }
.listing-toolbar { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.listing-toolbar h2 { margin:0 0 5px; color:var(--navy-dark); font-size:clamp(24px,2.3vw,31px); line-height:1.25; letter-spacing:-.02em; }
.listing-intro { max-width:740px; margin:0; color:var(--muted); font-size:15px; line-height:1.65; }
.listing-search { display:flex; align-items:center; gap:8px; width:min(340px,38%); min-height:46px; padding:0 13px; border:1px solid #d8e2ee; border-radius:7px; background:#fff; color:var(--navy); box-shadow:0 3px 12px rgba(14,49,88,.035); }
.listing-search:focus-within { border-color:#6d98ce; box-shadow:0 0 0 3px rgba(34,92,162,.11); }
.listing-search input { width:100%; min-width:0; border:0; outline:0; color:var(--ink); background:transparent; font-size:14px; }
.listing-search input::placeholder { color:#8a9aab; }
.listing-search > span:last-child { font-size:25px; line-height:1; }
.filter-row { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 25px; padding-bottom:17px; border-bottom:1px solid var(--line); }
.filter-chip { min-height:38px; padding:7px 17px; border:1px solid #dbe4ee; border-radius:999px; color:#445974; background:#fff; font-size:13.5px; font-weight:650; cursor:pointer; transition:background .16s ease,color .16s ease,border-color .16s ease; }
.filter-chip:hover { border-color:#9bb9dc; color:var(--navy); }
.filter-chip.is-selected { border-color:var(--navy); background:var(--navy); color:#fff; }
.pub-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pub-card { min-width:0; overflow:hidden; border:1px solid #e0e7f0; border-radius:9px; background:#fff; box-shadow:0 4px 15px rgba(13,51,92,.045); transition:transform .18s ease,box-shadow .18s ease; }
.pub-card:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(13,51,92,.1); }
.pub-card[hidden], .gallery-card[hidden] { display:none !important; }
.pub-card-image { position:relative; display:block; overflow:hidden; aspect-ratio:1.55 / 1; background:#eaf1f8; }
.pub-card-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.pub-card:hover .pub-card-image img { transform:scale(1.035); }
.pub-card-category { position:absolute; left:12px; top:12px; display:inline-flex; align-items:center; min-height:25px; padding:4px 9px; border:1px solid rgba(255,255,255,.55); border-radius:4px; color:#fff; background:rgba(10,53,103,.93); font-size:11px; font-weight:750; }
.pub-card-body { display:flex; flex-direction:column; align-items:flex-start; padding:15px 15px 17px; min-height:230px; }
.pub-card-date { display:flex; gap:6px; margin:0 0 8px; color:#78899d; font-size:12px; line-height:1.4; }
.pub-card-body h2 { margin:0 0 8px; font-size:17px; line-height:1.4; letter-spacing:-.01em; }
.pub-card-body h2 a { color:#143e70; }
.pub-card-body h2 a:hover { color:#2765a6; }
.pub-card-description { margin:0 0 12px; color:#63758a; font-size:13.5px; line-height:1.65; }
.pub-card-link { display:inline-flex; align-items:center; gap:7px; margin-top:auto; color:#164e8d; font-size:13px; font-weight:750; }
.pub-card-link span { color:var(--gold-brand); font-size:18px; transition:transform .16s ease; }
.pub-card-link:hover span { transform:translateX(3px); }
.pagination-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:28px; }
.pagination-summary { color:#72849a; font-size:13px; }
.pagination-controls { display:flex; align-items:center; gap:6px; }
.pagination-button { display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:0 9px; border:1px solid #dce5ef; border-radius:5px; color:#34516f; background:#fff; font-size:13px; cursor:pointer; }
.pagination-button:hover:not(:disabled), .pagination-button.is-current { color:#fff; border-color:var(--navy); background:var(--navy); }
.pagination-button:disabled { opacity:.4; cursor:not-allowed; }
.listing-empty { padding:35px 20px; text-align:center; border:1px dashed #cbd8e6; border-radius:9px; background:#f8fafc; }
.listing-empty strong { color:var(--navy-dark); font-size:17px; }
.listing-empty p { margin:5px 0 0; color:var(--muted); font-size:14px; }
/* Galeri: kartu foto (gambar + judul berita + tanggal), 4 kolom, paginasi di bawah. */
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.gallery-card { min-width:0; overflow:hidden; border:1px solid #dfe6ef; border-radius:10px; background:#fff; box-shadow:0 1px 2px rgba(13,51,92,.04); transition:border-color .16s ease,box-shadow .16s ease; }
.gallery-card:hover { border-color:#b7cbe3; box-shadow:0 6px 18px rgba(13,51,92,.1); }
.gallery-open { display:flex; flex-direction:column; width:100%; height:100%; padding:0; border:0; color:inherit; background:transparent; text-align:left; cursor:zoom-in; }
.gallery-open:focus-visible { outline-offset:-3px; }
.gallery-card-image { display:block; flex:none; overflow:hidden; aspect-ratio:2.05 / 1; background:#e6eef7; }
.gallery-card-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.gallery-card-body { display:flex; flex:1; flex-direction:column; gap:6px; padding:11px 11px 13px; }
.gallery-card-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; color:var(--navy-dark); font-size:13px; font-weight:700; line-height:1.42; }
.gallery-card-date { margin-top:auto; color:#7a8a9c; font-size:12.5px; line-height:1.4; }
.gallery-pager { display:flex; flex-direction:column; align-items:center; gap:12px; margin-top:34px; }
.gallery-pager[hidden], .gallery-pager-buttons[hidden] { display:none !important; }
.gallery-pager-buttons { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
.gallery-page-btn { min-width:38px; height:38px; padding:0 13px; border:1px solid #dbe4ee; border-radius:9px; color:#27405f; background:#fff; font-size:13px; font-weight:650; line-height:1; cursor:pointer; transition:border-color .16s ease,color .16s ease,background-color .16s ease; }
.gallery-page-btn:hover:not(:disabled):not(.is-current) { border-color:#9bb9dc; color:var(--navy); }
.gallery-page-btn.is-current { border-color:var(--navy-dark); color:#fff; background:var(--navy-dark); cursor:default; }
.gallery-page-btn:disabled { border-color:#e6ecf3; color:#a5b1c0; background:#f8fafc; cursor:not-allowed; }
.gallery-page-gap { min-width:18px; color:#8a9aab; text-align:center; }
.gallery-pager-summary { margin:0; color:#74869b; font-size:12.5px; }
.gallery-loading { margin:24px 0; padding:22px; color:var(--muted); text-align:center; border:1px dashed #cbd8e6; border-radius:9px; background:#f8fafc; }
.gallery-loading[hidden] { display:none !important; }
.lightbox-story-link { display:inline-flex; align-items:center; justify-content:center; gap:6px; color:#fff; font-size:14px; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.lightbox { position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:32px; background:rgba(3,17,35,.9); }
.lightbox.is-open { display:flex; }
/* Tombol tutup: tanda X digambar dengan dua garis CSS (bukan huruf "×") supaya persis di tengah lingkaran. */
.lightbox-close { position:absolute; top:20px; right:24px; z-index:2; width:44px; height:44px; padding:0; border:1.5px solid #e2b95e; border-radius:50%; color:transparent; background:rgba(255,255,255,.08); font-size:0; line-height:0; cursor:pointer; transition:background-color .16s ease, border-color .16s ease, transform .16s ease; }
.lightbox-close::before, .lightbox-close::after { content:""; position:absolute; top:50%; left:50%; width:16px; height:2px; border-radius:2px; background:#fff; transform:translate(-50%,-50%) rotate(45deg); }
.lightbox-close::after { transform:translate(-50%,-50%) rotate(-45deg); }
.lightbox-close:hover { border-color:#f1c98c; background:rgba(226,185,94,.2); }
.lightbox-close:focus-visible { outline:2px solid #f1c98c; outline-offset:3px; }
.lightbox-figure { display:flex; flex-direction:column; align-items:center; gap:12px; max-width:min(1100px,94vw); max-height:88vh; margin:0; }
.lightbox-photo { display:block; max-width:100%; max-height:78vh; width:auto; height:auto; object-fit:contain; border-radius:6px; box-shadow:0 15px 45px rgba(0,0,0,.25); }
.lightbox-figure figcaption { max-width:850px; color:#fff; text-align:center; font-size:14px; line-height:1.6; }
.contact-page-heading { margin-bottom:25px; }
.contact-cards-grid { display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1.12fr); gap:22px; align-items:stretch; }
.contact-info-card, .contact-form-card, .contact-map-card { min-width:0; padding:23px; border:1px solid #e0e7f0; border-radius:9px; background:#fff; box-shadow:0 4px 17px rgba(13,51,92,.045); }
.contact-panel-heading { display:flex; align-items:center; gap:12px; padding-bottom:17px; margin-bottom:5px; border-bottom:1px solid #e6edf4; }
.contact-heading-icon { display:grid; place-items:center; flex:0 0 43px; width:43px; height:43px; border-radius:8px; color:var(--navy); background:#eaf2fc; font-size:22px; font-weight:700; }
.contact-panel-heading .eyebrow { margin:0 0 2px; font-size:10.5px; }
.contact-panel-heading h2 { margin:0; color:var(--navy-dark); font-size:21px; line-height:1.3; }
.contact-info-item { display:flex; align-items:flex-start; gap:12px; padding:16px 0; border-bottom:1px solid #edf1f6; }
.contact-detail-icon { display:grid; place-items:center; flex:0 0 35px; width:35px; height:35px; border-radius:50%; color:var(--navy); background:#edf4fc; font-size:18px; }
.contact-info-item strong { display:block; margin-bottom:3px; color:#233f61; font-size:14px; }
.contact-info-item p, .contact-info-item a { display:block; margin:0; color:#62758b; font-size:13.5px; line-height:1.6; overflow-wrap:anywhere; }
.contact-info-item a { color:#1b5797; font-weight:650; }
.contact-website-link { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; padding:11px 13px; border-radius:5px; color:#fff; background:var(--navy); font-size:13px; font-weight:700; }
.contact-website-link span { color:var(--gold-light); font-size:17px; }
.contact-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 13px; padding-top:12px; }
.contact-form-grid label { display:flex; flex-direction:column; gap:6px; min-width:0; color:#304963; font-size:13px; font-weight:650; }
.contact-form-grid label > span { color:#bb4444; }
.contact-field-full { grid-column:1/-1; }
.contact-form-grid input, .contact-form-grid textarea { display:block; width:100%; min-width:0; border:1px solid #d8e2ed; border-radius:5px; padding:11px 12px; outline:none; color:var(--ink); background:#fff; font-size:13.5px; font-weight:400; }
.contact-form-grid input { min-height:43px; }
.contact-form-grid textarea { min-height:128px; resize:vertical; }
.contact-form-grid input:focus, .contact-form-grid textarea:focus { border-color:#719bd0; box-shadow:0 0 0 3px rgba(34,92,162,.1); }
.contact-form-grid input::placeholder, .contact-form-grid textarea::placeholder { color:#95a4b4; }
.contact-form-note { margin:13px 0 12px; color:#7b8998; font-size:11.5px; line-height:1.6; }
.contact-submit { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:45px; padding:11px 16px; border:0; border-radius:5px; color:#fff; background:linear-gradient(100deg,#0c3973,#205fa4); font-size:14px; font-weight:750; cursor:pointer; }
.contact-submit:hover { background:#0b2d5d; }
.contact-submit span { color:var(--gold-light); font-size:18px; }
.contact-form-status { margin:9px 0 0; color:#28613d; font-size:12px; line-height:1.5; }
.contact-map-card { grid-column:1/-1; }
.contact-map-frame { height:270px; overflow:hidden; border-radius:6px; background:#eaf1f8; }
.contact-map-frame iframe { display:block; width:100%; height:100%; border:0; }
.contact-map-caption { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:15px; }
.contact-map-caption strong { color:#243e60; font-size:14px; }
.contact-map-caption p { margin:3px 0 0; color:var(--muted); font-size:13px; }
.contact-map-caption a { flex:none; color:#185494; font-size:13px; font-weight:750; }
@media (max-width:1100px) {
  .pub-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .contact-cards-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:15px; }
  .contact-info-card, .contact-form-card, .contact-map-card { padding:19px; }
}
@media (max-width:900px) {
  .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .pub-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-cards-grid { grid-template-columns:minmax(0,1fr); }
  .contact-map-card { grid-column:auto; }
  .contact-map-frame { height:250px; }
}
@media (max-width:760px) {
  .listing-toolbar { align-items:stretch; flex-direction:column; gap:15px; }
  .listing-toolbar h2 { font-size:25px; }
  .listing-intro { font-size:14px; }
  .listing-search { width:100%; min-height:44px; }
  .filter-row { flex-wrap:nowrap; overflow-x:auto; padding:0 0 13px; margin-bottom:19px; scrollbar-width:thin; }
  .filter-chip { flex:none; min-height:36px; padding:7px 14px; font-size:13px; }
  .pub-card-grid { gap:14px; }
  .pub-card-body { min-height:0; padding:12px 12px 14px; }
  .pub-card-body h2 { font-size:16px; }
  .pub-card-description { font-size:13px; }
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } /* mobile: 2 kolom × 3 baris, 6 foto per halaman */
  .gallery-card-body { padding:10px 11px 12px; }
  .gallery-card-title { font-size:13px; }
  .gallery-card-date { font-size:12px; }
  .gallery-pager { margin-top:26px; }
  .gallery-page-btn { min-width:36px; height:36px; padding:0 11px; }
  .contact-info-card, .contact-form-card, .contact-map-card { padding:17px; }
  .contact-panel-heading h2 { font-size:19px; }
  .contact-form-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .contact-field-full { grid-column:auto; }
  .contact-form-grid input { min-height:45px; }
  .contact-form-grid textarea { min-height:120px; }
  .contact-map-frame { height:220px; }
  .contact-map-caption { align-items:flex-start; flex-direction:column; gap:10px; }
  .pagination-row { align-items:flex-start; flex-direction:column; }
  .lightbox { padding:18px; }
  .lightbox-close { top:12px; right:12px; width:40px; height:40px; }
  .lightbox-close::before, .lightbox-close::after { width:14px; }
}
@media (max-width:440px) {
  .pub-card-grid { grid-template-columns:minmax(0,1fr); }
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pub-card-image { aspect-ratio:1.65 / 1; }
  .gallery-card-image { aspect-ratio:2 / 1; }
  .pub-card-body { padding:14px; }
  .pub-card-body h2 { font-size:17px; }
  .gallery-card-body { padding:10px 9px 11px; }
  .gallery-card-title { font-size:12.5px; }
  .gallery-page-label { display:inline; }
  .gallery-page-btn--nav { padding:0 9px; font-size:14px; }
  .contact-map-frame { height:205px; }
}

/* ---------- Stabilitas antarganti halaman ----------
   Hindari efek mengangkat/membesarkan kartu saat pointer tertinggal di posisi yang sama
   setelah router mengganti isi halaman. Ini mencegah efek hover yang tampak bergetar. */
.home-access-card,
.pub-card,
.gallery-card,
.gallery-img,
.pub-card-image img,
.gallery-card-image img {
  transform: none;
}
.home-access-card:hover,
.pub-card:hover,
.gallery-card:hover,
.gallery-open:hover .gallery-img,
.pub-card:hover .pub-card-image img,
.gallery-card:hover .gallery-card-image img {
  transform: none !important;
}
/* Umpan balik hover tetap ada tanpa menggeser posisi elemen. */
.home-access-card,
.pub-card,
.gallery-card {
  transition-property: border-color, box-shadow, background-color, color;
}
.pub-card-link span { transform: none; }
.pub-card-link:hover span { transform: none; }

/* Ganti halaman tanpa gerakan sisaan dari hover/animasi elemen halaman sebelumnya.
   Kelas ini hanya aktif sesaat setelah navigasi dan dilepas saat pointer digerakkan. */
body.route-settling *,
body.route-settling *::before,
body.route-settling *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}
body.route-settling .home-access-card:hover,
body.route-settling .pub-card:hover,
body.route-settling .gallery-card:hover,
body.route-settling .gallery-open:hover .gallery-img,
body.route-settling .pub-card:hover .pub-card-image img,
body.route-settling .gallery-card:hover .gallery-card-image img,
body.route-settling .pg-card:hover,
body.route-settling .news-card-image:hover img,
body.route-settling .pub-card-link:hover span {
  transform: none !important;
}

/* ---------- Hero terpadu: Tentang Kami, Publikasi, Galeri, Kontak ----------
   Keempatnya memakai SATU komponen (pageHero di js/lib/html.js → kelas .about-hero*), sehingga gradasi, ukuran huruf,
   dan garis aksen selalu sama saat berpindah menu. Ubah tampilan hero cukup di sini.
   Ukuran tetap mencegah halaman terasa meloncat; lebar teks mengikuti container global Beranda. */
.about-hero {
  box-sizing: border-box;
  width: 100%;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
  flex: 0 0 250px;
}
.about-hero-inner {
  box-sizing: border-box;
  width: min(calc(100% - 44px), var(--content));
  max-width: var(--content);
  margin-inline: auto;
}
.about-hero-inner { padding-block: 20px 22px; }
.about-hero h1 { max-width: 980px; }
.about-hero-desc { max-width: 780px; }

@media (min-width: 1600px) {
  .about-hero-inner { width: min(calc(100% - 52px), var(--content)); }
}
@media (max-width: 760px) {
  .about-hero {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    flex-basis: 220px;
  }
  .about-hero-inner {
    width: min(calc(100% - 30px), var(--content));
    padding-block: 12px 14px;
  }
  .about-hero h1 { font-size: clamp(25px, 6.4vw, 32px); line-height: 1.14; }
  .about-hero-desc { max-width: 100%; font-size: 13px; line-height: 1.45; }
  .about-breadcrumb { margin-bottom: 6px; }
  .about-hero-accent { margin-top: 7px; }
}
@media (max-width: 440px) {
  .about-hero {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    flex-basis: 220px;
  }
  .about-hero-inner { width: calc(100% - 28px); }
  .about-hero-desc { font-size: 12.5px; }
}

/* ---------- Gambar hero halaman selain Beranda (batik KORPRI: assets/hero-menu.webp) ----------
   Dipakai .about-hero di semua halaman selain Beranda; gradasi navy di atasnya ada di .about-hero::before.
   Ukuran gambar dilebarkan sedikit dari "cover": 112% lebar hero, tetapi tidak pernah lebih kecil dari 930px
   (batas ini menjamin gambar tetap menutup hero setinggi 250px, juga di HP). Ubah 112% untuk melebarkan/menyempitkan. */
:root { --hero-menu-size: max(112%, 930px) auto; --hero-menu-pos: center 30%; } /* 30% = baris lambang KORPRI tampil utuh */
.about-hero { background-position: var(--hero-menu-pos); }

/* Item header admin perlu menghormati [hidden] meski daftar navigasi memakai display:flex. */
.admin-logout-mobile[hidden], .admin-logout-desktop[hidden], .admin-link-mobile[hidden], .admin-link-desktop[hidden], .admin-login-desktop[hidden], .admin-login-mobile[hidden] { display: none !important; }

/* =========================================================
   Profil Pengurus (/profil-pengurus): judul, tab bidang, kartu pengurus.
   Ukuran foto datang dari satu sumber: FOTO di js/lib/pengurus.js (1000 x 800 px) -> variabel
   --pengurus-foto-rasio dan --pengurus-foto-tutup yang dipasang di .pg-page. Kode di bawah tidak perlu diubah
   bila ukuran foto diganti. Gaya kontrol admin ada di css/admin.css.
   ========================================================= */
.pg-page { --pg-ink: #0b3972; --pg-navy: #0e3f7d; --pg-blue: #1a5fc7; --pg-text: #3a5a8c;
  position: relative; isolation: isolate; flex: 1 0 auto; overflow: hidden; padding: 40px 0 76px;
  background: linear-gradient(180deg, #fcfcff 0%, #f6f9fe 100%); }
/* Lengkung biru muda dekoratif di tepi kiri dan kanan halaman */
.pg-page::before, .pg-page::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.pg-page::before { left: -270px; bottom: 60px; width: 430px; height: 580px; transform: rotate(18deg); background: linear-gradient(160deg, #e6effb, #f3f7fe 72%); }
.pg-page::after { right: -250px; top: 190px; width: 400px; height: 540px; transform: rotate(-14deg); background: linear-gradient(200deg, #e9f0fc, #f4f8fe 72%); }

.pg-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; min-height: 32px; }
.pg-tab { min-height: 32px; padding: 5px 17px; border: 1px solid #dde8f8; border-radius: 9px; background: rgba(255,255,255,.88); color: #2b57a0; font-size: 12.5px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.pg-tab:hover { border-color: #9bb9e3; background: #fff; }
.pg-tab.is-selected { border-color: var(--pg-navy); background: var(--pg-navy); color: #fff; font-weight: 700; box-shadow: 0 4px 10px rgba(14,63,125,.22); }

.pg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; align-items: stretch; }
.pg-card { position: relative; display: flex; flex-direction: column; cursor: pointer; transition: transform .18s ease; }
.pg-card:hover { transform: translateY(-3px); }

/* Foto: kotak berrasio 5:4 (= 1000 x 800 px). Latar biru bergelombang tampil di balik foto transparan atau bila foto belum ada. */
.pg-photo { position: relative; width: 100%; aspect-ratio: var(--pengurus-foto-rasio, 5 / 4); overflow: hidden; border-radius: 11px;
  background:
    radial-gradient(130% 120% at 106% 112%, rgba(182,208,242,.6) 0 36%, transparent 37%),
    radial-gradient(120% 110% at -6% 122%, rgba(201,220,247,.75) 0 34%, transparent 35%),
    linear-gradient(135deg, #e7effb, #d8e6f8); }
.pg-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.pg-photo--kosong::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 38%; aspect-ratio: 1; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='34' r='17' fill='%23b4c9e6'/%3E%3Cpath d='M12 100c0-24 17-38 38-38s38 14 38 38z' fill='%23b4c9e6'/%3E%3C/svg%3E") center bottom / contain no-repeat; }

/* Panel nama: menumpuk sedikit di atas bagian bawah foto (--pengurus-foto-tutup) */
.pg-info { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text more" "badge badge"; column-gap: 10px; align-content: start; margin-top: calc(-1 * var(--pengurus-foto-tutup, 8px)); padding: 15px 14px 16px 20px; border-radius: 11px; background: #fff; box-shadow: 0 8px 22px rgba(30,72,135,.10), 0 1px 3px rgba(30,72,135,.07); transition: box-shadow .18s ease; }
.pg-card:hover .pg-info { box-shadow: 0 12px 28px rgba(30,72,135,.17), 0 1px 3px rgba(30,72,135,.08); }
.pg-text { grid-area: text; min-width: 0; }
.pg-name { margin: 0; color: var(--pg-ink); font-size: 15px; font-weight: 700; line-height: 1.32; overflow-wrap: anywhere; }
.pg-role { margin: 4px 0 0; color: var(--pg-text); font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.pg-badge { grid-area: badge; justify-self: start; margin-top: 11px; display: inline-flex; align-items: center; max-width: 100%; padding: 3px 13px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.5; }
.pg-badge--emas { background: linear-gradient(180deg, #fee6a3, #fcd67b); color: #3b3010; }
.pg-badge--biru { background: #c8e4fd; color: #1e4a88; }
.pg-badge--hijau { background: #cdeedc; color: #1b5a3a; }
.pg-badge--ungu { background: #e2d9f8; color: #47318a; }

.pg-more { grid-area: more; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #d3e1f4; border-radius: 50%; background: #fff; color: #12408a; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.pg-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg-more:hover, .pg-card:hover .pg-more { border-color: var(--pg-navy); background: var(--pg-navy); color: #fff; }

.pg-empty { margin: 4px 0 0; padding: 30px 20px; border: 1px dashed #c3d5ee; border-radius: 12px; background: rgba(255,255,255,.75); color: #4a6a98; font-size: 14.5px; text-align: center; }
.pg-empty[hidden] { display: none; }

/* Pagination profil: navy KORPRI dengan aksen emas, mengikuti warna kartu pengurus. */
.pg-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 12px 14px; border: 1px solid #e9eef6; border-radius: 15px; background: rgba(237,242,249,.72); }
.pg-pagination[hidden] { display: none !important; }
.pg-page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 0 11px; border: 1px solid #e4eaf3; border-radius: 11px; background: #fff; color: #526987; font: inherit; font-size: 12.5px; font-weight: 650; line-height: 1; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.pg-page-btn:hover:not(:disabled) { border-color: #adc3e0; color: #0e3f7d; background: #fafdff; }
.pg-page-btn.is-current { border-color: #d4ae4f; background: #0e3f7d; color: #fff; box-shadow: 0 0 0 2px rgba(212,174,79,.22), 0 3px 8px rgba(14,63,125,.16); }
.pg-page-btn:focus-visible { outline: 3px solid rgba(212,174,79,.55); outline-offset: 2px; }
.pg-page-btn:disabled { color: #a9b3c1; background: #f7f8fb; border-color: #edf0f5; cursor: not-allowed; box-shadow: none; }
.pg-page-btn--prev, .pg-page-btn--next { padding-inline: 13px; }

/* Kerangka tunggu (sebelum data tiba) */
.pg-card--skeleton { cursor: default; }
.pg-card--skeleton:hover { transform: none; }
.pg-skel { display: block; border-radius: 6px; background: linear-gradient(90deg, #e8eff9 0%, #f4f8fd 50%, #e8eff9 100%); background-size: 200% 100%; animation: pg-shimmer 1.3s linear infinite; }
.pg-skel--name { width: 82%; height: 15px; }
.pg-skel--role { width: 56%; height: 12px; margin-top: 9px; }
.pg-skel--badge { grid-area: badge; width: 104px; height: 21px; margin-top: 12px; border-radius: 999px; }
@keyframes pg-shimmer { to { background-position: -200% 0; } }

/* Detail pengurus */
html.pg-noscroll { overflow: hidden; }
.pg-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 18px; overflow-y: auto; background: rgba(8,28,60,.62); }
.pg-modal-box { position: relative; width: min(560px, 100%); max-height: 100%; overflow-y: auto; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(5,20,50,.45); }
.pg-modal-box .pg-photo { border-radius: 0; }
.pg-modal-body { padding: 20px 26px 28px; }
.pg-modal-body .pg-badge { margin: 0; }
.pg-modal-body h2 { margin: 11px 0 0; color: var(--pg-ink); font-size: 22px; font-weight: 750; line-height: 1.25; letter-spacing: -.01em; }
.pg-modal-body .pg-role { margin-top: 5px; font-size: 15px; }
.pg-profil { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #e3ecf8; color: #34475f; font-size: 14.5px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
/* Tombol tutup detail pengurus. Tanda × digambar dengan dua garis CSS (bukan huruf) agar selalu tepat di tengah
   di semua font/perangkat. Cincin fokus memakai box-shadow: putih tipis lalu emas, tanpa bayangan tombol di celahnya. */
.pg-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--pg-navy); font-size: 0; line-height: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(5,25,55,.22); transition: background-color .16s ease, box-shadow .16s ease; }
.pg-modal-close::before, .pg-modal-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.pg-modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pg-modal-close:hover { background: #fff; box-shadow: 0 3px 10px rgba(5,25,55,.28); }
.pg-modal-close:focus-visible { outline: 2px solid transparent; outline-offset: 3px; box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #d4ae4f; } /* outline transparan tetap tampil di mode kontras tinggi */

@media (max-width: 1020px) { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pg-page { padding: 28px 0 56px; }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pg-tabs { flex-wrap: nowrap; margin: 20px 0; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; }
  .pg-tab { flex: none; }
  .pg-info { padding: 14px 12px 15px 15px; }
  .pg-name { font-size: 14px; }
}
@media (max-width: 520px) {
  /* Tetap dua kartu ke kanan dan tiga baris per halaman pada ponsel kecil. */
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .pg-info { grid-template-columns: minmax(0, 1fr) 25px; column-gap: 5px; padding: 10px 9px 12px; }
  .pg-name { font-size: 12.2px; line-height: 1.3; }
  .pg-role { font-size: 10.5px; }
  .pg-badge { padding: 3px 8px; font-size: 9.2px; }
  .pg-more { width: 25px; height: 25px; }
  .pg-more svg { width: 14px; height: 14px; }
  .pg-pagination { gap: 6px; margin-top: 23px; padding: 10px 8px; }
  .pg-page-btn { min-width: 34px; min-height: 36px; padding-inline: 9px; font-size: 11.5px; }
  .pg-page-btn--prev, .pg-page-btn--next { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pg-info, .pg-tab, .pg-more { transition: none; }
  .pg-card:hover { transform: none; }
  .pg-skel { animation: none; }
}

/* =========================================================
   SEJARAH KORPRI — area konten mengikuti referensi visual.
   Header, hero, closing/footer, serta halaman lain tetap memakai gaya bersama.
   ========================================================= */
.about-page--sejarah .history-editorial { max-width: 100%; }
.about-page--sejarah .history-intro-grid { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(135px, .42fr); gap: clamp(18px, 2vw, 27px); align-items: stretch; margin: 0 0 8px; padding: 0 2px; }
/* Foto mengambang di kiri; teks mengalir di sampingnya lalu turun memenuhi lebar penuh di bawah foto. */
.about-page--sejarah .history-archive-figure { float: left; width: clamp(240px, 46%, 470px); margin: 4px clamp(18px, 2vw, 27px) 2px 0; }
.about-page--sejarah .history-archive-figure img { display: block; width: 100%; aspect-ratio: 1.74 / 1; object-fit: cover; object-position: center; border-radius: 10px; }
.about-page--sejarah .history-archive-figure figcaption { margin: 8px 2px 0; color: #5b7089; font-size: 12.5px; font-style: italic; line-height: 1.5; }
.about-page--sejarah .history-intro-copy { min-width: 0; padding: 0 0 2px; }
.about-page--sejarah .history-intro-copy::after { content: ""; display: block; clear: both; }
.about-page--sejarah .history-intro-copy .about-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-size: 11px; letter-spacing: .13em; }
.about-page--sejarah .history-intro-copy .about-kicker::before { content: ""; width: 20px; height: 1px; background: #c79b3b; }
.about-page--sejarah .history-intro-copy h2 { margin: 0 0 11px; color: #143b70; font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.05vw, 29px); line-height: 1.2; letter-spacing: -.025em; }
.about-page--sejarah .history-intro-copy h2 span { color: #c49332; }
.about-page--sejarah .history-intro-copy > p:not(.about-kicker) { margin: 0 0 10px; color: #234a7c; font-size: 14px; line-height: 1.7; }
.about-page--sejarah .history-intro-copy > p:last-child { margin-bottom: 0; }
.about-page--sejarah .history-intro-quote { position: relative; min-width: 0; align-self: center; margin: 12px 0 0; padding: 43px 4px 8px 17px; border-left: 1px solid #d6ad50; background: radial-gradient(ellipse at 100% 0, rgba(221,232,244,.42), transparent 70%); }
.about-page--sejarah .history-intro-quote .history-quote-mark { position: absolute; top: 0; left: 12px; color: #d0a248; font-family: Georgia, serif; font-size: 48px; line-height: 1; }
.about-page--sejarah .history-intro-quote blockquote { margin: 0; color: #164078; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-style: italic; line-height: 1.55; }
.about-page--sejarah .history-intro-quote p { margin: 13px 0 0; color: #204a7b; font-size: 12px; line-height: 1.6; }
.about-page--sejarah .history-milestones { margin: 0 0 3px; padding: 15px 16px 14px; border: 1px solid #e2edf7; border-radius: 10px; background: linear-gradient(145deg, #f0f6fc 0%, #f7fbff 100%); }
.about-page--sejarah .history-milestones-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 9px; }
.about-page--sejarah .history-milestones-heading .about-kicker { display: flex; align-items: center; gap: 7px; margin: 0; color: #153e72; font-size: 11px; letter-spacing: .12em; }
.about-page--sejarah .history-milestones-heading .about-kicker::before { content: ""; width: 19px; height: 1px; background: #c69a3d; }
.about-page--sejarah .history-milestone-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 8px; }
.about-page--sejarah .history-milestone-card { position: relative; min-width: 0; padding: 0 9px 0 0; border: 0; border-right: 1px solid #cfdbe8; border-radius: 0; background: transparent; box-shadow: none; }
.about-page--sejarah .history-milestone-card:last-child { padding-right: 0; border-right: 0; }
/* Pill biru + lencana ikon bulat yang menimpa ujung kirinya (mengikuti referensi desain). */
.about-page--sejarah .history-milestone-label { position: relative; display: flex; align-items: center; min-height: 48px; margin-left: 28px; padding: 3px 8px 3px 42px; border-radius: 11px; color: #fff; background: linear-gradient(100deg, #052b63 0%, #02397a 100%); box-shadow: 0 5px 12px rgba(5,43,99,.14); }
.about-page--sejarah .history-milestone-icon { position: absolute; top: 50%; left: -28px; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; transform: translateY(-50%); border: 1.5px solid rgba(255,255,255,.82); border-radius: 50%; color: #f1c98c; background: radial-gradient(circle at 30% 22%, #0b3a7c 0%, #052a5f 58%, #021c4a 100%); box-shadow: 0 4px 10px rgba(3,31,72,.25); }
.about-page--sejarah .history-milestone-icon svg { display: block; width: 36px; height: 36px; }
.about-page--sejarah .history-milestone-label > div { flex: 1; min-width: 0; }
.about-page--sejarah .history-milestone-label h3 { margin: 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.about-page--sejarah .history-milestone-year { display: block; margin: 2px 0 0; color: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 400; line-height: 1.3; }
.about-page--sejarah .history-milestone-chevron { display: none; flex: none; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; color: #f1c98c; background: rgba(241,201,140,.14); box-shadow: inset 0 0 0 1px rgba(241,201,140,.38); line-height: 0; }
.about-page--sejarah .history-milestone-chevron svg { display: block; width: 15px; height: 15px; }
.about-page--sejarah .history-milestone-description { margin: 12px 9px 0 13px; color: #214c7c; font-size: 14px; line-height: 1.7; }
.about-page--sejarah .history-full-narrative { margin: 13px 0 0; border-top: 1px solid #d9e5f1; }
.about-page--sejarah .history-full-narrative > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px 0; color: #143e73; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.about-page--sejarah .history-full-narrative > summary::-webkit-details-marker { display: none; }
.about-page--sejarah .history-full-narrative-content { margin-top: 17px; padding: 18px; border: 1px solid #dce7f1; border-radius: 8px; background: #fff; }
.about-page--sejarah .history-narrative-heading { margin-bottom: 18px; }
.about-page--sejarah .history-narrative-heading .about-kicker { color: #a17b2e; }
.about-page--sejarah .history-narrative-heading h2 { margin: 0 0 8px; color: #123b72; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2vw, 29px); line-height: 1.25; }
.about-page--sejarah .history-narrative-heading > p:not(.about-kicker) { margin: 0; color: #61768e; font-size: 14px; line-height: 1.7; }
.about-page--sejarah .history-chapter { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 15px; margin: 0 0 15px; padding: 17px 18px; border: 1px solid #e1e9f2; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(23,58,100,.035); scroll-margin-top: 100px; }
.about-page--sejarah .history-chapter-number { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e4d3a5; border-radius: 50%; color: #a37b28; background: #fffaf0; font-size: 13px; font-weight: 800; }
.about-page--sejarah .history-period { margin: 0 0 5px; color: #a17c2d; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.about-page--sejarah .history-chapter-content > h3 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #e9eef4; color: #123b72; font-size: 20px; line-height: 1.35; letter-spacing: -.015em; }
.about-page--sejarah .history-chapter-content > p:not(.history-period) { margin: 0 0 12px; color: #52677e; font-size: 14px; line-height: 1.8; }
.about-page--sejarah .history-chapter-content > p:last-of-type { margin-bottom: 0; }
.about-page--sejarah .history-quote { position: relative; margin-top: 18px; padding: 15px 18px 14px 48px; border-left: 3px solid #c8a14b; border-radius: 0 6px 6px 0; background: linear-gradient(100deg,#f5f8fc,#fffaf0); }
.about-page--sejarah .history-quote-mark { position: absolute; top: 8px; left: 12px; color: #c49a40; font-family: Georgia,serif; font-size: 38px; line-height: 1; }
.about-page--sejarah .history-quote blockquote { margin: 0; color: #173f72; font-family: Georgia,serif; font-size: 16px; font-style: italic; line-height: 1.6; }
.about-page--sejarah .history-quote p { margin: 8px 0 0; color: #7a6947; font-size: 12px; font-weight: 700; line-height: 1.6; }
.about-page--sejarah .history-endnote { display: flex; align-items: flex-start; gap: 11px; margin-top: 19px; padding: 16px 18px; border: 1px solid #e7d8b2; border-radius: 7px; background: #fffaf0; }
.about-page--sejarah .history-endnote > span { flex: 0 0 auto; color: #b58a30; font-size: 18px; }
.about-page--sejarah .history-endnote p { margin: 0; color: #425c79; font-size: 14px; font-weight: 600; line-height: 1.75; }
/* Laptop sempit: judul terpanjang bisa turun ke dua baris, jadi semua pill dibuat setinggi sama. */
@media (min-width: 1051px) and (max-width: 1290px) {
  .about-page--sejarah .history-milestone-label { min-height: 58px; }
}
@media (max-width: 1050px) {
  .about-page--sejarah .history-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .about-page--sejarah .history-intro-quote { grid-column: 1 / -1; align-self: stretch; margin: 0; padding: 14px 18px 13px 52px; border-left: 3px solid #d6ad50; }
  .about-page--sejarah .history-intro-quote .history-quote-mark { top: 5px; left: 12px; }
  .about-page--sejarah .history-intro-quote blockquote { font-size: 16px; }
  .about-page--sejarah .history-intro-quote p { margin-top: 7px; }
  .about-page--sejarah .history-milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .about-page--sejarah .history-milestone-card { border-right: 0; padding-right: 4px; }
}
@media (max-width: 640px) {
  .about-page--sejarah .history-intro-grid { grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 20px; padding: 0; }
  .about-page--sejarah .history-archive-figure { float: none; width: 100%; margin: 0 0 14px; }
  .about-page--sejarah .history-archive-figure img { aspect-ratio: 1.74 / 1; }
  .about-page--sejarah .history-archive-figure figcaption { font-size: 12px; }
  .about-page--sejarah .history-intro-copy h2 { font-size: 25px; }
  .about-page--sejarah .history-intro-copy > p:not(.about-kicker) { font-size: 13.5px; line-height: 1.72; margin-bottom: 10px; }
  .about-page--sejarah .history-intro-quote { grid-column: auto; margin: 0 0 2px; padding: 15px 13px 14px 48px; }
  .about-page--sejarah .history-intro-quote .history-quote-mark { top: 5px; left: 10px; font-size: 39px; }
  .about-page--sejarah .history-intro-quote blockquote { font-size: 16px; }
  .about-page--sejarah .history-milestones { margin-bottom: 0; padding: 15px 12px 13px; border-radius: 10px; }
  .about-page--sejarah .history-milestones-heading { margin-bottom: 8px; }
    .about-page--sejarah .history-milestone-grid { grid-template-columns: minmax(0,1fr); gap: 10px; padding-top: 8px; }
  .about-page--sejarah .history-milestone-card { padding: 0; border: 0; }
  .about-page--sejarah .history-milestone-label { min-height: 46px; margin-left: 24px; padding: 3px 12px 3px 40px; border-radius: 9px; }
  .about-page--sejarah .history-milestone-icon { left: -24px; width: 48px; height: 48px; }
  .about-page--sejarah .history-milestone-icon svg { width: 30px; height: 30px; }
  .about-page--sejarah .history-milestone-label h3 { font-size: 13px; }
  .about-page--sejarah .history-milestone-year { font-size: 12px; }
  .about-page--sejarah .history-milestone-chevron { display: grid; }
  .about-page--sejarah .history-milestone-description { display: none; }
  .about-page--sejarah .history-full-narrative { margin-top: 11px; }
  .about-page--sejarah .history-full-narrative > summary { align-items: center; font-size: 13.5px; }
  .about-page--sejarah .history-full-narrative-content { margin-top: 12px; padding: 10px; }
  .about-page--sejarah .history-narrative-heading { margin-bottom: 13px; }
  .about-page--sejarah .history-narrative-heading h2 { font-size: 22px; }
  .about-page--sejarah .history-chapter { grid-template-columns: 29px minmax(0,1fr); gap: 9px; margin-bottom: 10px; padding: 13px 10px; }
  .about-page--sejarah .history-chapter-number { width: 28px; height: 28px; font-size: 11px; }
  .about-page--sejarah .history-chapter-content > h3 { margin-bottom: 10px; padding-bottom: 9px; font-size: 17px; }
  .about-page--sejarah .history-chapter-content > p:not(.history-period) { margin-bottom: 11px; font-size: 13.5px; line-height: 1.8; }
  .about-page--sejarah .history-quote { padding: 14px 12px 13px 40px; }
  .about-page--sejarah .history-quote-mark { left: 10px; font-size: 35px; }
  .about-page--sejarah .history-quote blockquote { font-size: 15px; }
  .about-page--sejarah .history-endnote { padding: 12px; gap: 8px; }
  .about-page--sejarah .history-endnote p { font-size: 13.5px; }
}

/* =========================================================
   BERITA — layout stabil dan sesuai referensi pengguna
   ========================================================= */
.home-latest-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px; }
/* Pengunjung biasa: satu-satunya isi (tombol Tambah Berita) tersembunyi, jadi wadahnya jangan ikut menyisakan celah di kanan judul. */
.home-latest-heading .home-latest-actions:not(:has(> :not([hidden]))) { display: none; }
.home-news-add, .news-admin-add { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:0 16px; border:1px solid #082c56; border-radius:8px; color:#fff; background:#082c56; font-size:13px; font-weight:750; cursor:pointer; box-shadow:0 3px 8px rgba(7,37,77,.1); transition:background .15s ease,border-color .15s ease; }
.home-news-add:hover, .news-admin-add:hover { color:#fff; background:#123f73; border-color:#c99c2e; }
.home-news-add[hidden], .news-admin-add[hidden] { display:none !important; }
.home-latest-grid { grid-template-columns:minmax(0,1.08fr) minmax(0,.98fr); gap:22px; align-items:stretch; }
.home-featured-news { display:flex; flex-direction:column; min-height:374px; border-color:#e2d3a5; box-shadow:0 4px 12px rgba(13,51,92,.04); }
.home-featured-image-link { display:block; flex:0 0 auto; height:215px; overflow:hidden; background:#e8edf4; }
.home-featured-photo { display:block; width:100%; height:100%; min-height:0; object-fit:cover; object-position:center 42%; }
.home-featured-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; min-height:158px; padding:12px 15px 14px; }
.home-news-meta { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-bottom:5px; }
.home-news-meta time, .home-news-mini time { color:#9b7a32; font-size:12px; line-height:1.35; }
.home-news-label { min-height:21px; padding:3px 8px; border:1px solid #dce7f5; border-radius:4px; color:#486b9a; background:#f3f7fc; font-size:11px; font-weight:700; }
.home-featured-copy h3 { margin:3px 0 5px; color:#143b70; font-size:clamp(17px,1.4vw,20px); line-height:1.35; }
.home-featured-copy h3 a { color:inherit; }
.home-featured-copy > p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:0 0 7px; color:#6d7b8e; font-size:13.5px; line-height:1.5; }
.home-news-readmore { display:inline-flex; gap:8px; align-items:center; margin-top:auto; color:#0b315f; font-size:12.5px; font-weight:750; }
.home-news-readmore span { color:#c49a2f; font-size:17px; }
.home-news-list { min-height:374px; grid-template-rows:repeat(4,minmax(0,1fr)); border:0; border-radius:0; background:transparent; }
.home-news-mini { grid-template-columns:78px minmax(0,1fr); gap:12px; min-height:0; padding:8px 0; border-bottom:1px solid #e4eaf2; }
.home-news-mini + .home-news-mini { border-top:0; }
.home-mini-photo-link { display:block; width:78px; height:60px; overflow:hidden; border-radius:5px; background:#e8edf4; }
.home-news-mini img { width:100%; height:100%; border-radius:0; object-fit:cover; }
.home-news-mini > div { min-width:0; }
.home-news-mini h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:2px 0 0; color:#173b68; font-size:13.2px; line-height:1.38; font-weight:650; }
.home-news-mini h3 a { color:inherit; }
.home-news-mini time { display:block; }
.home-news-empty { grid-column:1 / -1; min-height:180px; display:grid; align-content:center; justify-items:center; padding:24px; border:1px dashed #cbd8e6; border-radius:9px; background:#fff; color:#173b68; text-align:center; }
.home-news-empty p { margin:5px 0 0; color:#718096; }

.news-listing { min-height:680px; padding-block:42px 58px; background:#f6f8fb; }
.news-page-heading { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:22px; }
.news-page-heading h1 { margin:0 0 5px; color:#153a68; font-size:clamp(25px,2.4vw,32px); line-height:1.25; letter-spacing:-.025em; }
.news-page-heading p:not(.eyebrow) { margin:0; color:#74849a; font-size:14px; line-height:1.6; }
.news-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:23px; }
.news-search { display:flex; align-items:center; gap:9px; flex:1; max-width:560px; min-height:45px; padding:0 13px; border:1px solid #dbe4ee; border-radius:8px; background:#fff; color:#173c6b; }
.news-search:focus-within { border-color:#9bb7d7; box-shadow:0 0 0 3px rgba(16,73,132,.08); }
.news-search > span { font-size:23px; line-height:1; }
.news-search input { width:100%; min-width:0; padding:0; border:0; outline:0; background:transparent; color:#223c5b; font:inherit; font-size:14px; }
.news-search input::placeholder { color:#9aa8b8; }
.news-sort-wrap { display:flex; align-items:center; gap:10px; color:#6d7d91; font-size:13px; white-space:nowrap; }
.news-sort-wrap select { min-width:140px; height:43px; padding:0 32px 0 12px; border:1px solid #dbe4ee; border-radius:8px; background:#fff; color:#173c6b; font:inherit; font-size:13px; cursor:pointer; }
.news-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; gap:18px; }
.news-card { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid #e0e7f0; border-radius:9px; background:#fff; box-shadow:0 4px 15px rgba(13,51,92,.04); }
.news-card-image { display:block; height:auto; aspect-ratio:1.65 / 1; overflow:hidden; background:#e9eef5; }
.news-card-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .2s ease; }
.news-card-image:hover img { transform:scale(1.025); }
.news-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:14px 15px 15px; }
.news-card-date { margin:0 0 7px; color:#9a7a36; font-size:12px; line-height:1.4; }
.news-card-body h2 { margin:0 0 8px; font-size:16px; line-height:1.4; letter-spacing:-.01em; }
.news-card-body h2 a { color:#153d70; }
.news-card-body h2 a:hover { color:#a17d2c; }
.news-card-description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:0 0 12px; color:#6d7c90; font-size:13px; line-height:1.6; }
.news-card-read { display:inline-flex; align-items:center; gap:7px; margin-top:auto; padding:0; border:0; color:#0e3a6d; background:transparent; font-size:12.5px; font-weight:750; cursor:pointer; text-align:left; }
.news-card-read span { color:#c99c2e; font-size:17px; }
.news-card-admin { display:flex; flex-wrap:wrap; gap:7px; width:100%; margin-top:13px; padding-top:11px; border-top:1px solid #e9eef4; }
.news-card-admin button { min-height:31px; padding:4px 11px; border:1px solid #d3deeb; border-radius:6px; color:#113c6c; background:#fff; font-size:12px; font-weight:700; cursor:pointer; }
.news-card-admin button:hover { border-color:#c99c2e; background:#fffaf0; }
.news-card-admin button.is-danger { color:#a33128; border-color:#eed0cc; }
.news-demo-note { align-self:center; color:#9a7a36; font-size:11px; }
.news-list-empty { padding:42px 20px; border:1px dashed #cbd8e6; border-radius:9px; background:#fff; text-align:center; }
.news-list-empty strong { color:#143b70; font-size:17px; }
.news-list-empty p { margin:5px 0 0; color:#718096; font-size:14px; }
.news-list-pagination { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:25px; }
.news-pagination-summary { margin:0; color:#74849a; font-size:12.5px; }
.news-pagination-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.news-page-btn { display:inline-flex; align-items:center; justify-content:center; min-width:39px; min-height:39px; padding:0 10px; border:1px solid #e2e7ef; border-radius:11px; color:#314e73; background:#fff; font-size:13px; font-weight:650; cursor:pointer; }
.news-page-btn:hover:not(:disabled) { border-color:#c99c2e; }
.news-page-btn.is-current { border:2px solid #c99c2e; color:#fff; background:#0b2d5d; }
.news-page-btn:disabled { color:#acb6c3; background:#f2f5f9; cursor:not-allowed; opacity:.68; }
.news-article-overlay { position:fixed; inset:0; z-index:190; display:flex; align-items:center; justify-content:center; padding:18px; overflow-y:auto; background:rgba(5,20,42,.7); }
.news-article-dialog { position:relative; width:min(820px,100%); max-height:calc(100dvh - 36px); overflow:auto; border-radius:13px; background:#fff; box-shadow:0 25px 75px rgba(2,15,34,.38); }
.news-article-close { position:absolute; top:11px; right:11px; z-index:2; display:grid; place-items:center; width:38px; height:38px; border:1px solid rgba(255,255,255,.65); border-radius:50%; color:#0b2d5d; background:rgba(255,255,255,.96); font-size:27px; line-height:1; cursor:pointer; box-shadow:0 3px 12px rgba(4,20,43,.18); }
.news-article-cover { display:block; width:100%; max-height:390px; aspect-ratio:16 / 7; object-fit:cover; background:#edf2f7; }
.news-article-body { padding:24px clamp(18px,4vw,36px) 32px; }
.news-article-date { margin:0 0 6px; color:#9a7a36; font-size:13px; }
.news-article-body h2 { margin:0 0 18px; color:#123b6d; font-size:clamp(22px,3vw,30px); line-height:1.32; }
.news-article-copy { color:#475d77; font-size:15px; line-height:1.85; white-space:pre-line; overflow-wrap:anywhere; }
.news-article-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:22px; }
.news-article-gallery img { display:block; width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:7px; }
.news-article-source { margin:20px 0 0; padding-top:15px; border-top:1px solid #e6edf4; }
.news-article-source a { color:#123e71; font-weight:700; }
body.news-dialog-open { overflow:hidden; }

@media (max-width: 1100px) {
  .news-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .home-latest-grid { grid-template-columns:minmax(0,1fr) minmax(0,.92fr); gap:16px; }
  .home-featured-image-link { height:200px; }
  .home-featured-news, .home-news-list { min-height:390px; }
  .home-news-mini { grid-template-columns:70px minmax(0,1fr); gap:10px; }
  .home-mini-photo-link { width:70px; height:56px; }
  .news-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home-latest-actions { gap:9px; }
  .home-latest-grid { grid-template-columns:minmax(0,1fr); }
  .home-featured-news { min-height:0; }
  .home-featured-image-link { height:clamp(175px,48vw,235px); }
  .home-featured-copy { min-height:150px; }
  .home-news-list { min-height:0; grid-template-rows:none; grid-auto-rows:minmax(70px,auto); } /* jumlah berita kecil berubah (mobile 2, halaman terakhir bisa kurang): tidak ada baris kosong */
  .home-news-mini { grid-template-columns:78px minmax(0,1fr); padding:11px 0; }
  .home-mini-photo-link { width:78px; height:59px; }
  .news-listing { padding-block:29px 42px; }
  .news-page-heading { align-items:flex-start; flex-direction:column; gap:13px; }
  .news-admin-add { min-height:40px; }
  .news-toolbar { align-items:stretch; flex-direction:column; gap:10px; }
  .news-search { max-width:none; }
  .news-sort-wrap { justify-content:space-between; }
  .news-sort-wrap select { flex:1; max-width:230px; }
  .news-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .news-card-body { padding:11px 11px 12px; }
  .news-card-body h2 { font-size:14px; }
  .news-card-description { font-size:12px; line-height:1.5; }
  .news-card-date { font-size:11px; }
  .news-card-admin { gap:5px; }
  .news-card-admin button { padding-inline:9px; }
  .news-list-pagination { align-items:stretch; flex-direction:column; }
  .news-pagination-controls { justify-content:center; gap:5px; }
  .news-page-btn { min-width:35px; min-height:37px; padding-inline:8px; border-radius:9px; }
  .news-pagination-summary { text-align:center; }
  .news-article-overlay { padding:10px; }
  .news-article-dialog { max-height:calc(100dvh - 20px); }
  .news-article-cover { aspect-ratio:4 / 3; }
  .news-article-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .home-latest-heading { align-items:flex-start; }
  .home-latest-heading > div:first-child { min-width:0; }
  .home-latest-actions { align-items:flex-end; flex-direction:column; gap:6px; }
  .home-news-add { min-height:35px; padding-inline:10px; font-size:11.5px; }
  .news-card-grid { gap:9px; }
  .news-card-body { padding:10px; }
  .news-card-read { font-size:11.5px; }
}
.news-card-grid[hidden], .news-list-pagination[hidden], .news-list-empty[hidden] { display:none !important; }

/* Berita di Beranda: Lihat Semua memperluas daftar di halaman yang sama. */
.home-see-all {
  border: 0;
  padding: 5px 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.home-see-all:focus-visible { outline: 2px solid #c99c2e; outline-offset: 4px; border-radius: 3px; }
.home-news-all { margin-top: 27px; padding-top: 25px; border-top: 1px solid #dfe7f0; }
.home-news-all[hidden] { display: none !important; }
.home-news-all-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.home-news-all-heading .eyebrow { margin:0 0 5px; color:#9a7a36; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.home-news-all-heading h3 { margin:0; color:#153a68; font-size:clamp(21px,2vw,27px); line-height:1.25; }
.home-news-all-help { max-width:390px; margin:0; color:#74849a; font-size:13px; line-height:1.6; text-align:right; }
.home-news-admin-actions { display:flex; flex-wrap:wrap; gap:6px; }
.home-news-admin-actions button { min-height:28px; padding:3px 9px; border:1px solid #d3deeb; border-radius:6px; color:#113c6c; background:#fff; font-size:11.5px; font-weight:750; cursor:pointer; }
.home-news-admin-actions button:hover { border-color:#c99c2e; background:#fffaf0; }
.home-news-admin-actions button.is-danger { color:#a33128; border-color:#eed0cc; }
.is-home-featured-actions { margin-top:11px; padding-top:9px; border-top:1px solid #e9eef4; }
.home-mini-copy { min-width:0; }
.is-home-mini-actions { margin-top:7px; }
.is-home-mini-actions button { min-height:24px; padding:2px 7px; font-size:10.5px; }
.home-news-all .news-card-read { text-decoration:none; }
.home-news-all .news-card-read:hover { color:#9a7528; }
.news-card-read { text-decoration:none; }
.news-card-read:hover { color:#9a7528; }

/* Detail berita punya URL tersendiri: /berita/judul-berita. */
.news-detail-page { min-height:65vh; padding-block:32px 60px; background:#f6f8fb; }
.news-detail-article { max-width:960px; margin-inline:auto; overflow:hidden; border:1px solid #e1e8f0; border-radius:13px; background:#fff; box-shadow:0 8px 28px rgba(13,51,92,.06); }
.news-detail-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:18px 24px 0; color:#8290a2; font-size:12px; }
.news-detail-breadcrumb a, .news-detail-back { color:#214f83; font-weight:700; text-decoration:none; }
.news-detail-breadcrumb a:hover, .news-detail-back:hover { color:#9a7528; }
.news-detail-back { display:inline-flex; margin:13px 24px 17px; font-size:13px; }
.news-detail-cover { display:block; width:calc(100% - 48px); max-height:500px; margin:0 24px; aspect-ratio:16 / 8.5; border-radius:9px; object-fit:cover; background:#e9eef5; }
.news-detail-body { padding:23px clamp(18px,4.5vw,48px) 42px; }
.news-detail-body h1 { margin:6px 0 20px; color:#133a69; font-size:clamp(27px,3.3vw,38px); line-height:1.25; letter-spacing:-.025em; }
.news-detail-category { margin:0; color:#9a7a36; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.news-detail-loading { padding:50px 0; color:#61748a; text-align:center; }
.news-detail-not-found { padding:50px 20px; text-align:center; }
.news-detail-not-found h1 { color:#153a68; }
.news-detail-not-found p { color:#6d7d91; }
.news-detail-not-found .button { display:inline-flex; margin:8px 4px 0; padding:11px 15px; border-radius:7px; font-weight:700; text-decoration:none; }
.news-detail-not-found .button-primary { color:#fff; background:#0b2d5d; }
.news-detail-not-found .button-secondary { color:#153a68; border:1px solid #d7e0ea; background:#fff; }
@media (max-width:760px) {
  .home-news-all { margin-top:20px; padding-top:19px; }
  .home-news-all-heading { align-items:flex-start; flex-direction:column; gap:7px; }
  .home-news-all-help { text-align:left; }
  .home-news-admin-actions { gap:4px; }
  .is-home-featured-actions { margin-top:8px; }
  .news-detail-page { padding-block:18px 35px; }
  .news-detail-article { border-radius:9px; }
  .news-detail-breadcrumb { padding:15px 15px 0; }
  .news-detail-back { margin:12px 15px 14px; }
  .news-detail-cover { width:calc(100% - 30px); margin-inline:15px; aspect-ratio:4 / 3; }
  .news-detail-body { padding:18px 16px 28px; }
  .news-detail-body h1 { font-size:25px; }
  .news-detail-body .news-article-copy { font-size:14px; line-height:1.8; }
}

/* Detail berita: artikel + slider di kiri, Berita Terbaru di kanan. */
.news-detail-page { background:#fff; padding-block:28px 64px; }
.nd-layout { display:grid; grid-template-columns:minmax(0,1fr) 292px; gap:34px; align-items:start; max-width:var(--content); margin-inline:auto; }
.nd-main h1 { margin:0; padding-bottom:14px; color:#111827; font-size:clamp(24px,2.6vw,37px); font-weight:600; line-height:1.22; letter-spacing:-.025em; }
.nd-meta { margin:0 0 22px; padding-bottom:16px; border-bottom:1px solid #e5e7eb; color:#6b7280; font-size:13px; }
.nd-slider { position:relative; overflow:hidden; border-radius:6px; background:#0b2d5d; }
.nd-track { display:flex; transition:transform .35s ease; }
.nd-slide { flex:0 0 100%; aspect-ratio:16 / 9; }
.nd-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.nd-counter { position:absolute; top:14px; right:14px; padding:4px 11px; border-radius:999px; background:rgba(11,45,93,.88); color:#fff; font-size:12px; font-weight:700; }
.nd-arrow { position:absolute; top:50%; width:36px; height:36px; margin-top:-18px; border:0; border-radius:50%; background:rgba(11,45,93,.85); color:#fff; font-size:24px; line-height:1; cursor:pointer; }
.nd-arrow:hover { background:#174b8d; }
.nd-prev { left:12px; } .nd-next { right:12px; }
.nd-dots { position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:7px; }
.nd-dots button { width:9px; height:9px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.6); cursor:pointer; transition:width .2s ease, background .2s ease; }
.nd-dots button.is-active { width:24px; background:#e0b43a; }
.nd-copy { margin-top:22px; color:#374151; font-size:17px; line-height:1.85; }
.nd-copy p { margin:0 0 18px; }
.nd-side { position:sticky; top:96px; }
.nd-side-title { margin:0 0 14px; padding-left:10px; border-left:3px solid #c99c2e; color:#111827; font-size:16px; font-weight:600; line-height:1.3; }
.nd-side-item { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid #e5e7eb; color:inherit; text-decoration:none; }
.nd-side-item img { flex:none; width:82px; height:88px; border-radius:4px; object-fit:cover; background:#e9eef5; }
.nd-side-item time { display:block; margin-bottom:4px; color:#9a7528; font-size:12.5px; }
.nd-side-item strong { display:block; color:#111827; font-size:14px; line-height:1.45; font-weight:600; }
.nd-side-item:hover strong { color:#174b8d; }
@media (max-width:900px) {
  .nd-layout { grid-template-columns:1fr; gap:28px; }
  .nd-side { position:static; }
  .nd-copy { font-size:15px; line-height:1.8; }
}

/* =========================================================
   Katalog Publikasi KORPRI — skala huruf mengikuti halaman lain.
   Terbatas ke isi halaman Publikasi; header, hero, footer, dan menu lain tidak disentuh.
   ========================================================= */
.publication-page { padding-block: 30px 54px; background:#fff; }
.publication-page .pub-catalog-layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:28px; align-items:start; }
.publication-page .pub-catalog-main { min-width:0; }
.publication-page .pub-tabs { display:flex; align-items:stretch; gap:4px; width:100%; overflow-x:auto; border-bottom:1px solid #e2eaf3; margin:0 0 22px; scrollbar-width:thin; }
.publication-page .pub-tab { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:0 0 auto; min-height:49px; padding:8px 12px 11px; border:0; border-bottom:3px solid transparent; background:transparent; color:#536984; font-size:14px; font-weight:600; white-space:nowrap; cursor:pointer; }
.publication-page .pub-tab:hover { color:var(--navy); background:#f8fbff; }
.publication-page .pub-tab.is-selected { color:var(--navy); border-bottom-color:#1b64b8; }
.publication-page .pub-tab-icon { color:#627b9a; font-size:18px; line-height:1; }
.publication-page .pub-tab.is-selected .pub-tab-icon { color:#155fb3; }
.publication-page .pub-count { display:inline-flex; align-items:center; justify-content:center; min-width:23px; height:22px; padding:0 7px; border-radius:999px; background:#edf2f8; color:#4c617b; font-size:12px; font-weight:700; line-height:1; }
.publication-page .pub-tab.is-selected .pub-count, .publication-page .pub-sidebar-filter.is-selected .pub-count { color:#1157a4; background:#dceafa; }
.publication-page .pub-toolbar { display:grid; grid-template-columns:minmax(0,1fr) 140px; gap:12px; margin-bottom:24px; }
.publication-page .pub-search { display:flex; align-items:center; gap:10px; min-width:0; height:46px; padding:0 13px; border:1px solid #dce5ef; border-radius:7px; background:#fff; color:#7890aa; }
.publication-page .pub-search:focus-within { border-color:#7aa5d5; box-shadow:0 0 0 3px rgba(34,92,162,.09); }
.publication-page .pub-search-icon { display:grid; flex:0 0 auto; place-items:center; width:20px; height:20px; }
.publication-page .pub-search-icon svg { display:block; width:18px; height:18px; }
.publication-page .pub-search input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:14px; }
.publication-page .pub-search input::placeholder { color:#91a0b2; }
.publication-page .pub-search-clear { flex:0 0 26px; width:26px; height:26px; padding:0; border:0; border-radius:50%; color:#526981; background:#eef3f8; font-size:18px; cursor:pointer; line-height:1; }
.publication-page .pub-search-clear[hidden] { display:none; }
.publication-page .pub-sort-label { min-width:0; }
.publication-page .pub-category-label { display:none; } /* hanya HP: menggantikan kartu Kategori di sidebar */
.publication-page .pub-sort { width:100%; height:46px; padding:0 36px 0 14px; border:1px solid #dce5ef; border-radius:7px; color:#354e69; font:inherit; font-size:14px; cursor:pointer; -webkit-appearance:none; appearance:none; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23526981' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 12px; }
.publication-page .pub-sort:focus-visible { outline:0; border-color:#7aa5d5; box-shadow:0 0 0 3px rgba(34,92,162,.09); }
.publication-page .pub-list-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin:2px 0 18px; }
.publication-page .pub-list-heading .eyebrow { margin:0 0 5px; color:#4275aa; font-size:11.5px; font-weight:800; letter-spacing:.12em; }
.publication-page .pub-list-heading h2 { margin:0; color:#112f56; font-size:clamp(23px,2vw,28px); line-height:1.25; letter-spacing:-.02em; }
.publication-page .pub-list-subtitle { margin:6px 0 0; color:#6e8096; font-size:14px; line-height:1.6; }
.publication-page .pub-total { flex:none; padding-bottom:4px; color:#71849a; font-size:12.5px; white-space:nowrap; }
.publication-page .pub-total strong { color:#355878; font-size:16px; }
/* Admin: tombol "Tambah Publikasi" di pojok kanan judul daftar. Padding bawah menjaga posisi jumlah referensi seperti semula. */
.publication-page .pub-list-heading-side { display:flex; flex:none; align-items:center; gap:14px; padding-bottom:4px; }
.publication-page .pub-list-heading-side .pub-total { padding-bottom:0; }
/* align-content:start — tinggi daftar dikunci (min-height lewat JS) agar bar paginasi tidak naik di halaman terakhir;
   baris kartu harus tetap setinggi isinya, bukan meregang mengisi sisa ruang. */
.publication-page .pub-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; align-content:start; gap:16px; }
.publication-page .pub-card { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto auto; gap:12px; min-width:0; padding:13px; border:1px solid #e3eaf2; border-radius:9px; background:#fff; box-shadow:0 2px 8px rgba(22,58,98,.025); }
.publication-page .pub-card:hover { border-color:#c8d9eb; box-shadow:0 5px 15px rgba(17,55,96,.07); }
.publication-page .pub-card[hidden] { display:none !important; }
.publication-page .pub-card-image { grid-column:1/-1; grid-row:1; display:block; width:100%; aspect-ratio:16 / 9; height:auto; margin:0; overflow:hidden; border-radius:6px; background:#edf3fa; }
.publication-page .pub-card-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.publication-page .pub-card-content { display:flex; flex-direction:column; align-items:flex-start; grid-column:1/-1; grid-row:2; min-width:0; padding:1px 0 0; }
.publication-page .pub-card-category { position:static; display:inline-flex; align-items:center; max-width:100%; min-height:23px; margin:0 0 8px; padding:4px 9px; overflow:hidden; border:0; border-radius:999px; color:#1b5b9e; background:#e9f3ff; font-size:11px; font-weight:800; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.publication-page .pub-tag-regulasi { color:#6346b5; background:#f0eaff; }
.publication-page .pub-tag-organisasi { color:#2b5f7b; background:#e3f5fb; }
.publication-page .pub-tag-program { color:#15714e; background:#e0f7eb; }
.publication-page .pub-tag-pengumuman { color:#925b16; background:#fff2d8; }
.publication-page .pub-tag-event { color:#15558e; background:#e3f1ff; }
.publication-page .pub-tag-laporan { color:#68519a; background:#eee9fc; }
.publication-page .pub-tag-publikasi-umum { color:#405b74; background:#e9eff5; }
.publication-page .pub-card-content h2 { margin:0 0 7px; color:#102e55; font-size:15.5px; font-weight:750; line-height:1.4; letter-spacing:-.012em; }
.publication-page .pub-card-content h2 a { color:inherit; text-decoration:none; }
.publication-page .pub-card-content h2 a:hover { color:#1765b4; }
.publication-page .pub-card-description { display:-webkit-box; margin:0; overflow:hidden; color:#6a7e96; font-size:13px; line-height:1.58; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.publication-page .pub-card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; grid-column:1/-1; grid-row:3; min-width:0; padding-top:10px; border-top:1px solid #f0f3f7; color:#71849a; font-size:12px; line-height:1.45; }
.publication-page .pub-card-meta > span { display:inline-flex; align-items:center; gap:6px; min-width:0; overflow-wrap:anywhere; }
.publication-page .pub-format { color:#526b86; }
.publication-page .pub-card-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; grid-column:1/-1; grid-row:4; min-width:0; }
.publication-page .pub-card-link { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:37px; max-width:100%; margin:0; padding:8px 12px; border:1px solid #d4dfeb; border-radius:6px; color:#174f8e; background:#fff; font-size:12.5px; font-weight:750; line-height:1.3; text-decoration:none; }
.publication-page .pub-card-link > span { color:#155aa7; font-size:16px; line-height:1; }
.publication-page .pub-card-link:hover { border-color:#9fbee0; background:#f6faff; }
.publication-page .pub-card-link-primary { border-color:#145daa; color:#fff; background:#155fb4; }
.publication-page .pub-card-link-primary > span { color:#fff; }
.publication-page .pub-card-link-primary:hover { border-color:#0b468b; color:#fff; background:#0b4d99; }
.publication-page .pub-card-source { max-width:55%; overflow:hidden; color:#7f8fa2; font-size:11.5px; line-height:1.4; text-align:right; text-overflow:ellipsis; }
/* Admin: chip kategori di kiri, tombol Ubah / Hapus di pojok kanan (gaya sama dengan kartu Berita). */
.publication-page .pub-card-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 8px; width:100%; min-width:0; margin:0 0 8px; }
.publication-page .pub-card-head .pub-card-category { flex:0 1 auto; min-width:0; margin:0; }
.publication-page .pub-card-admin { display:flex; flex:none; gap:6px; margin-left:auto; }
.publication-page .pub-card-admin button { min-height:30px; padding:4px 11px; border:1px solid #d3deeb; border-radius:6px; color:#113c6c; background:#fff; font-family:inherit; font-size:12px; font-weight:700; line-height:1.2; cursor:pointer; }
.publication-page .pub-card-admin button:hover { border-color:#c99c2e; background:#fffaf0; }
.publication-page .pub-card-admin button.is-danger { color:#a33128; border-color:#eed0cc; }
.publication-page .pub-card-admin button:focus-visible { outline:2px solid #c99c2e; outline-offset:2px; }
.publication-page .pub-sidebar { display:flex; flex-direction:column; gap:14px; min-width:0; }
.publication-page .pub-sidebar-card { padding:17px 15px; border:1px solid #e2eaf2; border-radius:9px; background:#fff; }
.publication-page .pub-sidebar-card h2 { margin:0 0 12px; color:#102f57; font-size:16px; line-height:1.4; }
.publication-page .pub-sidebar-filters { display:flex; flex-direction:column; gap:4px; }
.publication-page .pub-sidebar-filter { display:flex; align-items:center; justify-content:space-between; gap:9px; width:100%; min-height:39px; padding:7px 9px; border:0; border-radius:6px; color:#36516f; background:transparent; font-size:13.5px; text-align:left; cursor:pointer; }
.publication-page .pub-sidebar-filter:hover { background:#f5f9fd; }
.publication-page .pub-sidebar-filter.is-selected { color:#1559a4; background:#eaf3fd; font-weight:750; }
.publication-page .pub-filter-label { min-width:0; }
.publication-page .pub-sidebar-filter .pub-count { flex:none; min-width:23px; height:22px; }
.publication-page .pub-official-card { position:relative; padding:19px 16px 17px; background:linear-gradient(155deg,#eff6fd 0%,#f8fbff 100%); }
.publication-page .pub-sidebar-icon { display:grid; place-items:center; width:38px; height:38px; margin-bottom:10px; border-radius:9px; color:#fff; background:#2c78bc; font-size:22px; line-height:1; }
.publication-page .pub-official-card h2 { margin-bottom:6px; font-size:17px; }
.publication-page .pub-official-card p { margin:0 0 12px; color:#627992; font-size:13px; line-height:1.6; }
.publication-page .pub-official-card > a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; border-top:1px solid rgba(191,210,232,.65); color:#244f7c; font-size:13px; font-weight:700; text-decoration:none; }
.publication-page .pub-official-card > a span { color:#1b65b4; font-size:16px; }
/* Pagination publikasi mengikuti alur konten seperti halaman Profil Pengurus. */
.publication-page .pub-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; width:auto; max-width:100%; margin:30px 0 0; padding:12px 14px; border:1px solid #e9eef6; border-radius:15px; background:rgba(237,242,249,.72); }
.publication-page .pub-pagination[hidden] { display:none !important; }
.publication-page .pub-pagination-summary { display:none; }
.publication-page .pub-pagination .pagination-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; }
.publication-page .pub-pagination .pagination-button { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; height:auto; padding:0 11px; border:1px solid #e4eaf3; border-radius:11px; background:#fff; color:#526987; font:inherit; font-size:12.5px; font-weight:650; line-height:1; cursor:pointer; transition:background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.publication-page .pub-pagination .pagination-button:hover:not(:disabled) { border-color:#adc3e0; color:#0e3f7d; background:#fafdff; }
.publication-page .pub-pagination .pagination-button.is-current { border-color:#d4ae4f; background:#0e3f7d; color:#fff; box-shadow:0 0 0 2px rgba(212,174,79,.22), 0 3px 8px rgba(14,63,125,.16); }
.publication-page .pub-pagination .pagination-button:focus-visible { outline:3px solid rgba(212,174,79,.55); outline-offset:2px; }
.publication-page .pub-pagination .pagination-button:disabled { color:#a9b3c1; background:#f7f8fb; border-color:#edf0f5; cursor:not-allowed; box-shadow:none; }
.publication-page .pub-pagination .pagination-button--prev, .publication-page .pub-pagination .pagination-button--next { padding-inline:13px; }
.publication-page .listing-empty { margin-top:8px; font-size:14px; }
.publication-page .listing-empty p { margin-top:6px; color:#71849a; font-size:14px; line-height:1.6; }
.publication-page .pub-source-note { margin:19px 0 0; color:#7f8fa2; font-size:12.5px; line-height:1.65; }
@media (max-width:1200px) {
  .publication-page .pub-catalog-layout { grid-template-columns:minmax(0,1fr) 244px; gap:22px; }
  .publication-page .pub-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .publication-page .pub-tab { padding-inline:10px; font-size:13.5px; }
  .publication-page .pub-card { grid-template-columns:minmax(0,1fr); gap:11px 12px; }
  .publication-page .pub-card-image { width:100%; height:auto; aspect-ratio:16 / 9; }
  .publication-page .pub-card-content h2 { font-size:15px; }
  .publication-page .pub-card-description { font-size:13px; }
}
@media (max-width:760px) {
  .publication-page { padding-block:24px 40px; }
  .publication-page .pub-catalog-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  /* Tab kategori: tidak digeser ke samping; kalau kategori bertambah, tab turun ke baris berikutnya. */
  .publication-page .pub-tabs { flex-wrap:wrap; gap:8px; overflow:visible; border-bottom:0; margin-bottom:17px; }
  .publication-page .pub-tab { min-height:40px; padding:6px 13px; border:1px solid #dce5ef; border-radius:999px; background:#fff; }
  .publication-page .pub-tab:hover { background:#f8fbff; }
  .publication-page .pub-tab.is-selected { border-color:#1b64b8; background:#eaf3fd; }
  /* Toolbar HP: pencarian satu baris penuh; di bawahnya dropdown Kategori dan Urutkan berdampingan. Kartu Kategori di sidebar disembunyikan. */
  .publication-page .pub-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:20px; }
  .publication-page .pub-search { grid-column:1 / -1; }
  .publication-page .pub-category-label { display:block; }
  .publication-page .pub-category-card { display:none; }
  .publication-page .pub-search, .publication-page .pub-sort { height:44px; }
  .publication-page .pub-list-heading h2 { font-size:23px; }
  .is-admin .publication-page .pub-list-heading { flex-wrap:wrap; align-items:flex-start; }
  .is-admin .publication-page .pub-list-heading-side { width:100%; justify-content:space-between; padding-bottom:0; }
  .publication-page .pub-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } /* mobile: dua kartu per baris */
  .publication-page .pub-card { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto auto; gap:10px; padding:11px; }
  .publication-page .pub-card-image { width:100%; height:auto; aspect-ratio:16 / 9; }
  .publication-page .pub-card-content h2 { font-size:14px; }
  .publication-page .pub-card-description { font-size:12.5px; line-height:1.55; -webkit-line-clamp:4; }
  .publication-page .pub-card-source { display:none; }
  /* Sidebar HP: Kategori Publikasi memenuhi lebar, Sumber Resmi di bawahnya (kartu Format Referensi sudah dihapus). */
  .publication-page .pub-sidebar { gap:12px; }
  .publication-page .pub-sidebar-card { padding:13px 11px; }
  .publication-page .pub-sidebar-card h2 { margin-bottom:10px; font-size:15px; }
  .publication-page .pub-sidebar-filter { gap:5px; min-height:39px; padding:6px 7px; font-size:12.5px; line-height:1.35; }
  .publication-page .pub-sidebar-filter .pub-count { min-width:21px; height:21px; padding:0 6px; }
}
@media (max-width:380px) {
  .publication-page .pub-sidebar-card { padding:12px 10px; }
  .publication-page .pub-sidebar-filter { gap:4px; padding:6px; font-size:12px; }
}
@media (max-width:520px) {
  .publication-page .pub-pagination { gap:6px; margin-top:23px; padding:10px 8px; border-radius:12px; }
  .publication-page .pub-pagination .pagination-controls { gap:6px; }
  /* Di HP kecil, ukuran huruf dan jarak toolbar dipadatkan. */
  .publication-page .pub-toolbar { gap:8px; margin-bottom:18px; }
  .publication-page .pub-search, .publication-page .pub-sort { height:42px; }
  .publication-page .pub-search { gap:6px; padding:0 8px; }
  .publication-page .pub-search-icon { width:17px; height:17px; }
  .publication-page .pub-search-icon svg { width:16px; height:16px; }
  .publication-page .pub-search input { font-size:12px; }
  .publication-page .pub-sort { height:42px; padding:0 25px 0 8px; font-size:12px; background-position:right 8px center; }
  /* Dua kartu per baris, dua baris per halaman pada mobile (4 publikasi). */
  .publication-page .pub-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .publication-page .pub-card { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto auto; gap:8px; padding:8px; }
  .publication-page .pub-card-image { width:100%; height:auto; aspect-ratio:16 / 9; }
  .publication-page .pub-card-category { min-height:20px; margin-bottom:5px; padding:3px 7px; font-size:9.5px; }
  .publication-page .pub-card-head { margin-bottom:5px; }
  .publication-page .pub-card-head .pub-card-category { margin-bottom:0; }
  .publication-page .pub-card-admin { width:100%; gap:5px; }
  .publication-page .pub-card-admin button { flex:1 1 0; min-height:28px; padding:3px 6px; font-size:11px; }
  .publication-page .pub-card-content h2 { margin-bottom:5px; font-size:13px; line-height:1.35; }
  .publication-page .pub-card-description { font-size:11.5px; line-height:1.45; -webkit-line-clamp:4; }
  .publication-page .pub-card-meta { gap:5px; padding-top:7px; font-size:10.5px; }
  .publication-page .pub-card-meta > span { gap:4px; }
  .publication-page .pub-card-actions { gap:5px; align-items:flex-start; flex-direction:column; }
  .publication-page .pub-card-link { min-height:31px; padding:6px 8px; font-size:11px; }
  .publication-page .pub-card-source { display:none; }
  .publication-page .pub-pagination { align-items:center; flex-direction:row; gap:6px; padding:10px 8px; }
  .publication-page .pub-pagination .pagination-button { min-width:32px; min-height:36px; padding:0 8px; font-size:12px; }
  .publication-page .pub-pagination .pagination-button--prev, .publication-page .pub-pagination .pagination-button--next { padding-inline:9px; }
}

/* =========================================================
   BERITA TERBARU (Beranda) — pagination, gaya sama dengan Publikasi
   ========================================================= */
.home-latest .home-news-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; width:auto; max-width:100%; margin:24px 0 0; padding:12px 14px; border:1px solid #e9eef6; border-radius:15px; background:rgba(237,242,249,.72); }
.home-latest .home-news-pagination[hidden] { display:none !important; }
.home-latest .home-news-pagination .pagination-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; }
.home-latest .home-news-pagination .pagination-button { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; height:auto; padding:0 11px; border:1px solid #e4eaf3; border-radius:11px; background:#fff; color:#526987; font:inherit; font-size:12.5px; font-weight:650; line-height:1; cursor:pointer; transition:background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.home-latest .home-news-pagination .pagination-button:hover:not(:disabled) { border-color:#adc3e0; color:#0e3f7d; background:#fafdff; }
.home-latest .home-news-pagination .pagination-button.is-current { border-color:#d4ae4f; background:#0e3f7d; color:#fff; box-shadow:0 0 0 2px rgba(212,174,79,.22), 0 3px 8px rgba(14,63,125,.16); }
.home-latest .home-news-pagination .pagination-button:focus-visible { outline:3px solid rgba(212,174,79,.55); outline-offset:2px; }
.home-latest .home-news-pagination .pagination-button:disabled { color:#a9b3c1; background:#f7f8fb; border-color:#edf0f5; cursor:not-allowed; box-shadow:none; }
.home-latest .home-news-pagination .pagination-button--prev, .home-latest .home-news-pagination .pagination-button--next { padding-inline:13px; }

/* Halaman terakhir berisi satu berita saja: kartu utama memenuhi lebar, tidak menyisakan kolom kosong. */
.home-latest-grid > .home-featured-news:only-child { grid-column:1 / -1; flex-direction:row; min-height:0; }
.home-latest-grid > .home-featured-news:only-child .home-featured-image-link { flex:0 0 46%; height:auto; min-height:260px; }
.home-latest-grid > .home-featured-news:only-child .home-featured-copy { justify-content:center; padding:20px 24px; }

@media (max-width:760px) {
  .home-latest-grid > .home-featured-news:only-child { flex-direction:column; }
  .home-latest-grid > .home-featured-news:only-child .home-featured-image-link { flex:0 0 auto; height:clamp(175px,48vw,235px); min-height:0; }
  .home-latest-grid > .home-featured-news:only-child .home-featured-copy { justify-content:flex-start; padding:12px 15px 14px; }
}
@media (max-width:520px) {
  .home-latest .home-news-pagination { gap:6px; margin-top:18px; padding:10px 8px; border-radius:12px; }
  .home-latest .home-news-pagination .pagination-controls { gap:6px; }
  .home-latest .home-news-pagination .pagination-button { min-width:32px; min-height:36px; padding:0 8px; font-size:12px; }
  .home-latest .home-news-pagination .pagination-button--prev, .home-latest .home-news-pagination .pagination-button--next { padding-inline:9px; }
}

/* =========================================================
   PROFIL PENGURUS — blok judul di bawah hero (eyebrow, judul dua warna, kalimat pengantar)
   ========================================================= */
.pg-heading { margin: 0 0 20px; }
.pg-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: #1c3f75; font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.pg-eyebrow-line { flex: none; width: 52px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #e3b341, #f2cf72); }
.pg-title { margin: 0 0 10px; color: var(--pg-navy); font-size: clamp(30px, 3.1vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.pg-title span { color: var(--pg-blue); }
.pg-intro { max-width: 540px; min-height: 3.1em; margin: 0; color: #35557f; font-size: 15px; line-height: 1.55; }
/* Urutan: judul → (panel admin, hanya saat admin masuk) → filter. Jarak atas panel admin sudah ditangani margin judul. */
.pg-heading + .pg-admin { margin-top: 0; }
.pg-admin[hidden] + .pg-tabs { margin-top: 0; }
@media (max-width: 760px) {
  .pg-heading { margin-bottom: 16px; }
  .pg-title { font-size: 28px; }
  .pg-intro { max-width: none; font-size: 14px; }
}
@media (max-width: 520px) {
  .pg-eyebrow { gap: 10px; font-size: 10px; letter-spacing: .17em; }
  .pg-eyebrow-line { width: 40px; }
  .pg-title { font-size: 26px; }
}

/* =========================================================
   ISI TIGA HALAMAN TENTANG KAMI — Program, Tujuan/Fungsi, Visi/Misi
   Semua aturan dibatasi pada kartu isi; header, hero global, footer, dan menu lain tidak diubah.
   ========================================================= */
.corp-section-heading { margin: 0 0 16px; }
.corp-section-heading h2 { margin: 0 0 8px; color: #123f79; font-size: clamp(23px, 2vw, 29px); font-weight: 780; letter-spacing: -.025em; line-height: 1.25; }
.corp-section-heading > p:not(.about-kicker) { max-width: 920px; margin: 0; color: #647991; font-size: 14px; line-height: 1.7; }
.corp-program-section, .corp-goals-section, .corp-vision-section { margin-top: 31px; }
.corp-program-section--first, .corp-goals-section--first { margin-top: 0; }
.corp-card { min-width: 0; background: #fff; border: 1px solid #cfe0f2; border-radius: 3px; box-shadow: 0 3px 12px rgba(21,55,91,.025); }
.corp-icon { display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; color: #104581; }
.corp-icon svg { display: block; width: 100%; height: 100%; }
.corp-card-number { color: #b78b35; font-size: 10px; font-weight: 850; letter-spacing: .09em; }
.corp-card-detail { margin-top: auto; padding-top: 12px; border-top: 1px solid #e8edf4; }
.corp-card-detail strong { display: block; margin: 0 0 5px; color: #385775; font-size: 10.5px; font-weight: 800; line-height: 1.4; }
.corp-card-detail span { display: block; color: #6e8095; font-size: 12px; line-height: 1.6; }
.corp-inline-source { margin: 11px 0 0; color: #7c8da0; font-size: 11.5px; line-height: 1.6; }
.corp-inline-source a { color: #174d86; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.corp-inline-source a:hover { color: #a17b2f; }
.corp-priority-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.corp-priority-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 240px; padding: 20px 19px 17px; border-top: 3px solid #c9a04a; }
.corp-priority-card > .corp-icon { margin-bottom: 9px; }
.corp-priority-card h3, .corp-national-card h3, .corp-field-card h3, .corp-goal-card h3, .corp-function-card h3, .corp-mission-card h3 { margin: 0 0 8px; color: #153f74; font-size: 15px; font-weight: 780; line-height: 1.45; }
.corp-priority-card > p, .corp-national-card > p, .corp-field-card > p, .corp-goal-card > p, .corp-function-card > p, .corp-mission-card > p { margin: 0 0 14px; color: #657991; font-size: 13px; line-height: 1.7; }
.corp-national-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.corp-national-card { display: flex; flex-direction: column; padding: 17px 15px 15px; }
.corp-national-top, .corp-field-top, .corp-mission-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }
.corp-national-top .corp-icon, .corp-field-top .corp-icon, .corp-mission-top .corp-icon { width: 35px; height: 35px; flex-basis: 35px; }
.corp-field-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.corp-field-card { display: flex; flex-direction: column; padding: 16px 15px 15px; }
.corp-field-number, .corp-mission-number { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; color: #fff; background: #c29a48; border-radius: 50%; font-size: 12px; font-weight: 850; }
.corp-field-card h3 { font-size: 13.5px; }
.corp-field-card > p { font-size: 12px; }
.corp-field-card .corp-card-detail strong { font-size: 9.5px; }
.corp-field-card .corp-card-detail span { font-size: 11.5px; }
.corp-program-callout, .corp-goals-callout, .corp-vision-callout { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 18px 21px; border-left: 4px solid #cda651; border-radius: 3px; background: #eaf3fc; }
.corp-callout-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; color: #174a82; }
.corp-callout-mark .corp-icon { width: 42px; height: 42px; }
.corp-program-callout h2, .corp-goals-callout h2, .corp-vision-callout h2 { margin: 0 0 6px; color: #123f79; font-size: 17px; font-weight: 800; line-height: 1.4; }
.corp-program-callout p, .corp-goals-callout p, .corp-vision-callout p { margin: 0; color: #58718d; font-size: 12.5px; line-height: 1.7; }
.corp-source-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; margin-top: 27px; padding: 20px 22px; background: #fff; border: 1px solid #d7e3f1; }
.corp-source-panel h2 { margin: 0 0 7px; color: #153f74; font-size: 17px; line-height: 1.4; }
.corp-source-panel > div > p:not(.about-kicker) { margin: 0; color: #6b7e93; font-size: 12px; line-height: 1.65; }
.corp-source-panel ul { display: grid; gap: 8px; align-content: center; margin: 0; padding-left: 18px; color: #b58c3d; }
.corp-source-panel li { padding-left: 2px; color: #627891; font-size: 12px; line-height: 1.55; }
.corp-source-panel a { color: #174982; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.corp-source-panel a:hover { color: #a17b2f; }
.corp-editorial-note { margin: 11px 0 0; color: #718398; font-size: 11px; line-height: 1.6; }

/* Tujuan dan fungsi: tujuan ringkas, delapan fungsi resmi tidak dihilangkan. */
.corp-goal-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.corp-goal-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 183px; padding: 18px 17px 15px; }
.corp-goal-card > .corp-icon { margin-bottom: 10px; }
.corp-goal-card h3 { font-size: 14px; }
.corp-goal-card > p { margin-bottom: 0; font-size: 12.5px; }
.corp-function-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.corp-function-card { padding: 17px 18px 16px; }
.corp-function-head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.corp-function-head .corp-icon { flex-basis: 44px; width: 44px; height: 44px; }
.corp-function-head .corp-card-number { display: block; margin-bottom: 3px; }
.corp-function-head h3 { margin-bottom: 0; }
.corp-function-card > p { margin-bottom: 9px; font-size: 12px; }
.corp-function-card ul { margin: 0; padding: 11px 0 0 18px; border-top: 1px solid #e8edf4; color: #5c7189; }
.corp-function-card li { padding-left: 2px; margin: 0 0 6px; font-size: 12px; line-height: 1.6; }
.corp-function-card li:last-child { margin-bottom: 0; }

/* Visi dan misi: rumusan nasional disajikan lengkap, judul kartu diringkas. */
.corp-vision-feature { display: flex; align-items: center; gap: 22px; margin: 0 0 29px; padding: 22px 24px; border: 1px solid #cfe0f2; border-left: 4px solid #c9a04a; background: #fff; }
.corp-vision-feature > .corp-icon { flex: 0 0 62px; width: 62px; height: 62px; }
.corp-vision-feature .about-kicker { color: #b18737; }
.corp-vision-feature h2 { margin: 0 0 9px; color: #153f74; font-size: clamp(21px,2vw,27px); line-height: 1.3; }
.corp-vision-feature blockquote { margin: 0; max-width: 940px; color: #536f8e; font-size: 14px; line-height: 1.75; }
.corp-mission-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 13px; }
.corp-mission-card { grid-column: span 2; display: flex; flex-direction: column; padding: 18px 18px 17px; }
.corp-mission-card:nth-child(4), .corp-mission-card:nth-child(5) { grid-column: span 3; }
.corp-mission-top { justify-content: flex-start; margin-bottom: 12px; }
.corp-mission-number { color: #fff; }
.corp-mission-card h3 { font-size: 14px; }
.corp-mission-card > p { margin-bottom: 0; font-size: 12.5px; }
.corp-vision-motto { display: block; margin: 0 0 6px; color: #143f75; font-size: 17px; }
.corp-vision-motto span { padding: 0 5px; color: #bf9545; }

@media (max-width: 1100px) {
  .corp-national-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .corp-field-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .corp-goal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .corp-section-heading { margin-bottom: 13px; }
  .corp-section-heading h2 { font-size: 22px; }
  .corp-section-heading > p:not(.about-kicker) { font-size: 12.5px; line-height: 1.65; }
  .corp-program-section, .corp-goals-section, .corp-vision-section { margin-top: 25px; }
  .corp-program-section--first, .corp-goals-section--first { margin-top: 0; }
  .corp-priority-grid, .corp-national-grid, .corp-field-grid, .corp-goal-grid, .corp-function-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .corp-priority-card { min-height: 0; padding: 16px; }
  .corp-national-card, .corp-field-card, .corp-goal-card, .corp-function-card { padding: 15px; }
  .corp-priority-card h3, .corp-national-card h3, .corp-field-card h3, .corp-goal-card h3, .corp-function-card h3 { font-size: 14px; }
  .corp-priority-card > p, .corp-national-card > p, .corp-field-card > p, .corp-goal-card > p, .corp-function-card > p { font-size: 12px; }
  .corp-card-detail span { font-size: 11.5px; }
  .corp-program-callout, .corp-goals-callout, .corp-vision-callout { align-items: flex-start; gap: 11px; margin-top: 19px; padding: 15px; }
  .corp-callout-mark, .corp-callout-mark .corp-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .corp-program-callout h2, .corp-goals-callout h2, .corp-vision-callout h2 { font-size: 15px; }
  .corp-program-callout p, .corp-goals-callout p, .corp-vision-callout p { font-size: 11.5px; }
  .corp-source-panel { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 20px; padding: 16px; }
  .corp-source-panel h2 { font-size: 16px; }
  .corp-source-panel li { font-size: 11.5px; overflow-wrap: anywhere; }
  .corp-function-head .corp-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .corp-function-card li { font-size: 11.5px; }
  .corp-vision-feature { align-items: flex-start; gap: 13px; margin-bottom: 24px; padding: 17px 15px; }
  .corp-vision-feature > .corp-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .corp-vision-feature h2 { font-size: 19px; }
  .corp-vision-feature blockquote { font-size: 12.5px; line-height: 1.7; }
  .corp-mission-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .corp-mission-card, .corp-mission-card:nth-child(4), .corp-mission-card:nth-child(5) { grid-column: auto; padding: 15px; }
  .corp-mission-card h3 { font-size: 13.5px; }
  .corp-mission-card > p { font-size: 12px; }
  .corp-vision-motto { font-size: 15px; }
}
@media (max-width: 760px) {
  .about-page--program .about-content,
  .about-page--tujuan-fungsi .about-content,
  .about-page--visi-misi .about-content { padding-top: 25px; }
}

/* Penyesuaian keterbacaan untuk tiga halaman Tentang Kami saja.
   Ukuran teks isi disejajarkan dengan halaman Profil Pengurus dan halaman Tentang Kami lain;
   header, hero global, footer, navigasi, serta halaman lainnya tidak disentuh. */
.about-page--program .corp-section-heading > p:not(.about-kicker),
.about-page--tujuan-fungsi .corp-section-heading > p:not(.about-kicker),
.about-page--visi-misi .corp-section-heading > p:not(.about-kicker) { font-size: 14.5px; line-height: 1.75; }
.about-page--program .corp-priority-card h3,
.about-page--program .corp-national-card h3,
.about-page--program .corp-field-card h3,
.about-page--tujuan-fungsi .corp-goal-card h3,
.about-page--tujuan-fungsi .corp-function-card h3,
.about-page--visi-misi .corp-mission-card h3 { font-size: 16px; line-height: 1.45; }
.about-page--program .corp-priority-card > p,
.about-page--program .corp-national-card > p,
.about-page--program .corp-field-card > p,
.about-page--tujuan-fungsi .corp-goal-card > p,
.about-page--tujuan-fungsi .corp-function-card > p,
.about-page--visi-misi .corp-mission-card > p { font-size: 14px; line-height: 1.75; }
.about-page--program .corp-card-number,
.about-page--tujuan-fungsi .corp-card-number,
.about-page--visi-misi .corp-card-number { font-size: 12px; letter-spacing: .06em; }
.about-page--program .corp-card-detail strong,
.about-page--tujuan-fungsi .corp-card-detail strong { font-size: 12px; line-height: 1.5; }
.about-page--program .corp-card-detail span,
.about-page--tujuan-fungsi .corp-card-detail span { font-size: 13.5px; line-height: 1.7; }
.about-page--program .corp-field-card h3 { font-size: 15.5px; }
.about-page--program .corp-field-card .corp-card-detail strong { font-size: 12px; }
.about-page--program .corp-field-card .corp-card-detail span { font-size: 13px; }
.about-page--program .corp-inline-source { font-size: 13px; line-height: 1.7; }
.about-page--program .corp-program-callout p,
.about-page--tujuan-fungsi .corp-goals-callout p { font-size: 14px; line-height: 1.75; }
.about-page--program .corp-source-panel h2,
.about-page--tujuan-fungsi .corp-source-panel h2,
.about-page--visi-misi .corp-source-panel h2 { font-size: 18px; }
.about-page--program .corp-source-panel li,
.about-page--tujuan-fungsi .corp-source-panel li,
.about-page--visi-misi .corp-source-panel li { font-size: 13.5px; line-height: 1.7; }
.about-page--tujuan-fungsi .corp-function-card li { font-size: 13.5px; line-height: 1.7; }
.about-page--visi-misi .corp-vision-feature blockquote { font-size: 15.5px; line-height: 1.8; }
.about-page--visi-misi .corp-mission-card h3 { font-size: 16px; }
.about-page--visi-misi .corp-mission-card > p { font-size: 14px; line-height: 1.75; }
.about-page--visi-misi .corp-vision-motto { font-size: 18px; }

@media (max-width: 760px) {
  .about-page--program .corp-section-heading > p:not(.about-kicker),
  .about-page--tujuan-fungsi .corp-section-heading > p:not(.about-kicker),
  .about-page--visi-misi .corp-section-heading > p:not(.about-kicker) { font-size: 14px; line-height: 1.7; }
  .about-page--program .corp-priority-card h3,
  .about-page--program .corp-national-card h3,
  .about-page--program .corp-field-card h3,
  .about-page--tujuan-fungsi .corp-goal-card h3,
  .about-page--tujuan-fungsi .corp-function-card h3,
  .about-page--visi-misi .corp-mission-card h3 { font-size: 15.5px; }
  .about-page--program .corp-priority-card > p,
  .about-page--program .corp-national-card > p,
  .about-page--program .corp-field-card > p,
  .about-page--tujuan-fungsi .corp-goal-card > p,
  .about-page--tujuan-fungsi .corp-function-card > p,
  .about-page--visi-misi .corp-mission-card > p { font-size: 13.5px; line-height: 1.7; }
  .about-page--program .corp-card-detail strong,
  .about-page--tujuan-fungsi .corp-card-detail strong { font-size: 12px; }
  .about-page--program .corp-card-detail span,
  .about-page--tujuan-fungsi .corp-card-detail span,
  .about-page--program .corp-field-card .corp-card-detail span { font-size: 13px; line-height: 1.65; }
  .about-page--program .corp-field-card h3 { font-size: 15px; }
  .about-page--program .corp-program-callout p,
  .about-page--tujuan-fungsi .corp-goals-callout p { font-size: 13.5px; line-height: 1.7; }
  .about-page--program .corp-source-panel li,
  .about-page--tujuan-fungsi .corp-source-panel li,
  .about-page--visi-misi .corp-source-panel li { font-size: 13px; line-height: 1.65; }
  .about-page--tujuan-fungsi .corp-function-card li { font-size: 13px; line-height: 1.7; }
  .about-page--visi-misi .corp-vision-feature blockquote { font-size: 14px; line-height: 1.75; }
  .about-page--visi-misi .corp-mission-card h3 { font-size: 15px; }
  .about-page--visi-misi .corp-mission-card > p { font-size: 13.5px; line-height: 1.7; }
  .about-page--visi-misi .corp-vision-motto { font-size: 16px; }
}

/* STRUKTUR KELEMBAGAAN — bagan pengurus yang dibangun dari data Profil Pengurus.
   Satu garis tegak di tengah: Ketua -> Pengurus Harian -> Bidang dan Unsur Pelaksana.
   Semua baris kartu rata tengah, jadi jumlah pengurus berapa pun tidak meninggalkan kolom kosong. */
.about-page--struktur .sk-chart {
  --sk-line: #9bbbe4;
  --sk-ink: #143b70;
  --sk-muted: #5f7289;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px, 3vw, 34px) clamp(12px, 2.4vw, 28px);
  border: 1px solid #e0eaf6;
  border-radius: 15px;
  background: linear-gradient(180deg, #f4f8fe 0%, #fff 46%, #f7faff 100%);
  box-shadow: 0 8px 25px rgba(16, 59, 111, .07);
}
.about-page--struktur .sk-root { display: flex; justify-content: center; width: 100%; }
.about-page--struktur .sk-stem { flex: 0 0 auto; width: 2px; height: 22px; background: var(--sk-line); }
.about-page--struktur .sk-tier { display: flex; flex-direction: column; align-items: center; width: 100%; }
.about-page--struktur .sk-tier-label {
  margin: 0;
  padding: 6px 18px;
  border: 1px solid #cfdef0;
  border-radius: 999px;
  color: var(--sk-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

/* Kartu orang: Ketua dan Pengurus Harian */
.about-page--struktur .sk-person {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid #d7e3f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 59, 111, .05);
}
.about-page--struktur .sk-person-copy { min-width: 0; }
.about-page--struktur .sk-person-role { margin: 0 0 3px; color: #1a5aa5; font-size: 13px; font-weight: 700; line-height: 1.4; }
.about-page--struktur .sk-person-name { margin: 0; color: var(--sk-ink); font-size: 16px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.about-page--struktur .sk-person--chair {
  width: min(100%, 480px);
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  color: #fff;
  background: linear-gradient(125deg, #0d4e9a, #073574);
  box-shadow: 0 12px 26px rgba(8, 50, 107, .2);
}
.about-page--struktur .sk-person--chair .sk-person-role { color: #f6d98a; font-size: 13.5px; }
.about-page--struktur .sk-person--chair .sk-person-name { color: #fff; font-size: 20px; }

/* Foto / inisial (dipakai semua kartu) */
.about-page--struktur .sk-photo { flex: 0 0 auto; width: 64px; height: 76px; overflow: hidden; border-radius: 10px; background: #e6eef9; }
.about-page--struktur .sk-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-page--struktur .sk-photo span { display: grid; place-items: center; width: 100%; height: 100%; color: #14529b; font-size: 18px; font-weight: 800; }
.about-page--struktur .sk-person--chair .sk-photo { width: 86px; height: 100px; border: 3px solid rgba(255, 255, 255, .9); border-radius: 12px; }

/* Pengurus Harian: dua–tiga kartu digambar sebagai cabang pohon */
.about-page--struktur .sk-branch { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; margin: 0; padding: 0; list-style: none; }
.about-page--struktur .sk-branch > li { flex: 0 1 380px; min-width: 0; }
.about-page--struktur .sk-branch--tree { flex-wrap: nowrap; gap: 0; }
.about-page--struktur .sk-branch--tree > li {
  position: relative;
  padding: 22px 7px 22px;
  background:
    linear-gradient(var(--sk-line), var(--sk-line)) 50% 100% / 2px 22px no-repeat,
    linear-gradient(var(--sk-line), var(--sk-line)) 0 100% / 100% 2px no-repeat;
}
.about-page--struktur .sk-branch--tree > li::before,
.about-page--struktur .sk-branch--tree > li::after { position: absolute; top: 0; content: ""; background: var(--sk-line); }
.about-page--struktur .sk-branch--tree > li::before { left: calc(50% - 1px); width: 2px; height: 22px; }
.about-page--struktur .sk-branch--tree > li::after { left: 0; right: 0; height: 2px; }
.about-page--struktur .sk-branch--tree > li:first-child::after { left: 50%; }
.about-page--struktur .sk-branch--tree > li:last-child::after { right: 50%; }
.about-page--struktur .sk-branch--tree > li:first-child { background-position: 50% 100%, 100% 100%; background-size: 2px 22px, 50% 2px; }
.about-page--struktur .sk-branch--tree > li:last-child { background-position: 50% 100%, 0 100%; background-size: 2px 22px, 50% 2px; }
.about-page--struktur .sk-stem--short { height: 14px; }

/* Bidang dan Unsur Pelaksana */
.about-page--struktur .sk-panel { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: clamp(12px, 2vw, 20px); border: 1px solid #d9e5f3; border-radius: 16px; background: #f1f6fc; }
.about-page--struktur .sk-units { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.about-page--struktur .sk-unit { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d7e3f2; border-top: 3px solid var(--gold-brand); border-radius: 12px; background: #fff; }
.about-page--struktur .sk-units > .sk-unit { flex: 0 1 calc((100% - 28px) / 3); }
.about-page--struktur .sk-unit-title { display: flex; align-items: center; min-height: 66px; margin: 0; padding: 12px 16px; border-bottom: 1px solid #e6eef8; color: var(--sk-ink); font-size: 15px; font-weight: 780; line-height: 1.35; overflow-wrap: anywhere; }
.about-page--struktur .sk-unit--wide .sk-unit-title { min-height: 0; }
.about-page--struktur .sk-members { display: grid; gap: 8px; padding: 12px 12px 14px; }
.about-page--struktur .sk-unit--wide .sk-members { display: flex; flex-wrap: wrap; justify-content: center; }
.about-page--struktur .sk-unit--wide .sk-member { flex: 0 1 calc((100% - 24px) / 4); }
.about-page--struktur .sk-member { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px 11px; border: 1px solid #e4ecf6; border-radius: 10px; background: #fbfdff; }
.about-page--struktur .sk-member .sk-photo { width: 46px; height: 54px; border-radius: 8px; }
.about-page--struktur .sk-member .sk-photo span { font-size: 14px; }
.about-page--struktur .sk-member-copy { min-width: 0; }
.about-page--struktur .sk-member-name { margin: 0; color: var(--sk-ink); font-size: 14px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.about-page--struktur .sk-member-role { margin: 2px 0 0; color: var(--sk-muted); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.about-page--struktur .sk-unit-empty { margin: 0; padding: 10px 4px; color: var(--sk-muted); font-size: 13px; line-height: 1.6; text-align: center; }

/* Keadaan kosong */
.about-page--struktur .sk-empty-state,
.about-page--struktur .sk-chair-empty { padding: 22px; border: 1px dashed #bbcee7; border-radius: 10px; color: #5c718b; background: #f8fbff; font-size: 14px; text-align: center; }
.about-page--struktur .sk-chair-empty { display: flex; flex-direction: column; gap: 4px; width: min(100%, 430px); color: #fff; border-style: solid; border-color: transparent; background: linear-gradient(125deg, #0d4e9a, #073574); }
.about-page--struktur .sk-chair-empty strong { font-size: 15px; }
.about-page--struktur .sk-chair-empty span { color: #d9e8fb; font-size: 12px; }

@media (max-width: 1000px) {
  .about-page--struktur .sk-units > .sk-unit { flex-basis: calc((100% - 14px) / 2); }
  .about-page--struktur .sk-unit--wide .sk-member { flex-basis: calc((100% - 8px) / 2); }
}
@media (max-width: 760px) {
  /* Cabang pohon jadi tumpukan: setiap kartu tetap tersambung ke garis tengah */
  .about-page--struktur .sk-branch--tree { flex-direction: column; align-items: center; }
  .about-page--struktur .sk-branch--tree > li { flex: none; width: 100%; max-width: 420px; padding: 14px 0 0; background: none; }
  .about-page--struktur .sk-stem--short { height: 22px; }
  .about-page--struktur .sk-branch--tree > li::before { height: 14px; }
  .about-page--struktur .sk-branch--tree > li::after { display: none; }
  .about-page--struktur .sk-branch--tree > li:first-child { padding-top: 0; }
  .about-page--struktur .sk-branch--tree > li:first-child::before { display: none; }
}
@media (max-width: 600px) {
  .about-page--struktur .sk-chart { padding: 16px 10px; border-radius: 12px; }
  .about-page--struktur .sk-units > .sk-unit { flex-basis: 100%; }
  .about-page--struktur .sk-unit-title { min-height: 0; }
  .about-page--struktur .sk-person { padding: 12px; }
  .about-page--struktur .sk-person--chair { padding: 14px; gap: 14px; }
  .about-page--struktur .sk-person--chair .sk-photo { width: 72px; height: 84px; }
  .about-page--struktur .sk-person--chair .sk-person-name { font-size: 18px; }
  .about-page--struktur .sk-unit--wide .sk-member { flex-basis: 100%; }
}

/* Ellipsis pagination: konsisten di seluruh halaman berkonten. */
.news-page-gap, .pagination-gap, .pg-page-gap { display:inline-flex; align-items:center; justify-content:center; min-width:20px; color:#8290a3; font-size:13px; font-weight:700; user-select:none; }

/* Penyempurnaan menu dan footer pada perangkat mobile */
@media (max-width: 1180px) {
  .nav-parent { position: relative; padding-right: 28px; }
  .nav-parent::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .18s ease;
  }
  .has-sub.is-open > .nav-parent::after { transform: translateY(-25%) rotate(225deg); }
  .site-navigation .sub-menu a::before {
    content: "– ";
    color: var(--gold-light, #c9a85e);
    font-weight: 700;
  }
}
@media (max-width: 760px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
    font-size: clamp(8px, 2.35vw, 10px);
  }
  .footer-bottom-inner > span { min-width: 0; }
  .footer-bottom-inner > span:last-child { text-align: right; }
}

/* Perbaikan lanjutan mobile: panah accordion Tentang Kami dan header Sumber Resmi sejajar. */
@media (max-width: 1180px) {
  .site-navigation .nav-parent { position: relative; display: flex; align-items: center; justify-content: space-between; padding-right: 42px; }
  .site-navigation .nav-parent::after { content: ""; display: block; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
  .site-navigation .has-sub.is-open > .nav-parent::after { transform: translateY(-25%) rotate(225deg); }
}
@media (max-width: 760px) {
  .publication-page .pub-official-card .pub-sidebar-icon { float: left; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 11px 0 0; }
  .publication-page .pub-official-card h2 { min-height: 36px; display: flex; align-items: center; margin: 0 0 5px; }
  .publication-page .pub-official-card > p { clear: both; padding-top: 2px; }
}

/* Koreksi posisi panah submenu: pastikan menempel di sisi kanan baris Tentang Kami pada menu mobile. */
@media (max-width: 1180px) {
  .site-navigation .has-sub > .nav-parent {
    box-sizing: border-box;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding-right: 44px;
  }
  .site-navigation .has-sub > .nav-parent::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: auto !important;
    right: 17px !important;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  .site-navigation .has-sub.is-open > .nav-parent::after {
    transform: translateY(-25%) rotate(225deg);
  }
}

/* /program: tata letak mobile lebih ringkas agar tidak terlalu panjang saat discroll.
   Hanya halaman Program Utama yang disentuh; halaman Tentang Kami lainnya tetap sama. */
@media (max-width: 760px) {
  .about-page--program .corp-program-section { margin-top: 21px; }
  .about-page--program .corp-program-section--first { margin-top: 0; }
  .about-page--program .corp-section-heading { margin-bottom: 11px; }
  .about-page--program .corp-section-heading h2 { font-size: 20px; line-height: 1.35; }
  .about-page--program .corp-section-heading > p:not(.about-kicker) { font-size: 12.5px; line-height: 1.55; }
  .about-page--program .corp-priority-grid,
  .about-page--program .corp-national-grid,
  .about-page--program .corp-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .about-page--program .corp-priority-card,
  .about-page--program .corp-national-card,
  .about-page--program .corp-field-card { min-width: 0; padding: 12px 11px; }
  .about-page--program .corp-priority-card { min-height: 0; }
  /* Item terakhir yang jumlahnya ganjil memakai lebar penuh di mobile,
     agar tidak menyisakan ruang kosong di sisi kanan. */
  .about-page--program .corp-priority-grid > .corp-priority-card:last-child,
  .about-page--program .corp-field-grid > .corp-field-card:last-child { grid-column: 1 / -1; }
  .about-page--program .corp-priority-card > .corp-icon { width: 30px; height: 30px; margin-bottom: 6px; }
  .about-page--program .corp-national-top,
  .about-page--program .corp-field-top { gap: 6px; margin-bottom: 8px; }
  .about-page--program .corp-national-top .corp-icon,
  .about-page--program .corp-field-top .corp-icon { width: 29px; height: 29px; flex-basis: 29px; }
  .about-page--program .corp-field-number { width: 29px; height: 29px; flex-basis: 29px; font-size: 10px; }
  .about-page--program .corp-priority-card h3,
  .about-page--program .corp-national-card h3,
  .about-page--program .corp-field-card h3 { font-size: 13px; line-height: 1.4; margin-bottom: 6px; overflow-wrap: anywhere; }
  .about-page--program .corp-priority-card > p,
  .about-page--program .corp-national-card > p,
  .about-page--program .corp-field-card > p { font-size: 11.5px; line-height: 1.55; margin-bottom: 9px; }
  .about-page--program .corp-card-detail { margin-top: auto; padding-top: 8px; }
  .about-page--program .corp-card-detail strong,
  .about-page--program .corp-field-card .corp-card-detail strong { font-size: 10px; line-height: 1.4; margin-bottom: 4px; }
  .about-page--program .corp-card-detail span,
  .about-page--program .corp-field-card .corp-card-detail span { font-size: 10.5px; line-height: 1.5; }
  .about-page--program .corp-inline-source { font-size: 11px; line-height: 1.5; margin-top: 10px; }
  .about-page--program .corp-program-callout { margin-top: 17px; padding: 13px; }
  .about-page--program .corp-program-callout h2 { font-size: 14px; }
  .about-page--program .corp-program-callout p { font-size: 11.5px; line-height: 1.55; }
  .about-page--program .corp-source-panel { margin-top: 16px; padding: 13px; gap: 9px; }
  .about-page--program .corp-source-panel h2 { font-size: 15px; }
  .about-page--program .corp-source-panel li { font-size: 11.5px; line-height: 1.55; }
}
@media (max-width: 360px) {
  .about-page--program .corp-priority-grid,
  .about-page--program .corp-national-grid,
  .about-page--program .corp-field-grid { gap: 7px; }
  .about-page--program .corp-priority-card,
  .about-page--program .corp-national-card,
  .about-page--program .corp-field-card { padding: 10px 9px; }
}

/* Panah Tentang Kami: elemen khusus agar tidak bentrok dengan pseudo-element nav-link. */
@media (max-width: 1180px) {
  .site-navigation .nav-parent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    padding-right: 0 !important;
    text-align: left;
  }
  .site-navigation .nav-parent::after { content: none !important; display: none !important; }
  .site-navigation .nav-parent-label { flex: 0 1 auto; }
  .site-navigation .nav-chevron {
    display: block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-left: auto;
    margin-right: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
    pointer-events: none;
  }
  .site-navigation .has-sub.is-open > .nav-parent .nav-chevron {
    transform: translateY(2px) rotate(225deg);
  }
}

/* FIX final: panah hanya memakai span .nav-chevron; nonaktifkan semua pseudo-arrow lama. */
@media (max-width: 1180px) {
  .site-navigation .has-sub > .nav-parent::after,
  .site-navigation .nav-parent::after { content: none !important; display: none !important; }
}

/* /tujuan-fungsi dan /visi-misi: kartu mobile dibuat lebih ringkas seperti /program. */
@media (max-width: 760px) {
  .about-page--tujuan-fungsi .corp-goals-section,
  .about-page--visi-misi .corp-vision-section { margin-top: 21px; }
  .about-page--tujuan-fungsi .corp-section-heading,
  .about-page--visi-misi .corp-section-heading { margin-bottom: 11px; }
  .about-page--tujuan-fungsi .corp-section-heading h2,
  .about-page--visi-misi .corp-section-heading h2 { font-size: 20px; line-height: 1.35; }
  .about-page--tujuan-fungsi .corp-section-heading > p:not(.about-kicker),
  .about-page--visi-misi .corp-section-heading > p:not(.about-kicker) { font-size: 12.5px; line-height: 1.55; }
  .about-page--tujuan-fungsi .corp-goal-grid,
  .about-page--tujuan-fungsi .corp-function-grid,
  .about-page--visi-misi .corp-mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .about-page--tujuan-fungsi .corp-goal-card,
  .about-page--tujuan-fungsi .corp-function-card,
  .about-page--visi-misi .corp-mission-card { min-width: 0; min-height: 0; padding: 12px 11px; }
  .about-page--tujuan-fungsi .corp-goal-card > .corp-icon { width: 30px; height: 30px; margin-bottom: 6px; }
  .about-page--tujuan-fungsi .corp-function-head { align-items: flex-start; gap: 7px; margin-bottom: 8px; }
  .about-page--tujuan-fungsi .corp-function-head .corp-icon { flex: 0 0 29px; width: 29px; height: 29px; }
  .about-page--tujuan-fungsi .corp-function-head .corp-card-number { font-size: 9px; }
  .about-page--tujuan-fungsi .corp-goal-card h3,
  .about-page--tujuan-fungsi .corp-function-card h3,
  .about-page--visi-misi .corp-mission-card h3 { font-size: 13px; line-height: 1.4; margin-bottom: 6px; overflow-wrap: anywhere; }
  .about-page--tujuan-fungsi .corp-goal-card > p,
  .about-page--tujuan-fungsi .corp-function-card > p,
  .about-page--visi-misi .corp-mission-card > p { font-size: 11.5px; line-height: 1.55; margin-bottom: 8px; }
  .about-page--tujuan-fungsi .corp-function-card ul { padding: 8px 0 0 14px; }
  .about-page--tujuan-fungsi .corp-function-card li { font-size: 10.5px; line-height: 1.5; margin-bottom: 5px; }
  .about-page--visi-misi .corp-mission-top { gap: 6px; margin-bottom: 8px; }
  .about-page--visi-misi .corp-mission-number { flex: 0 0 29px; width: 29px; height: 29px; font-size: 10px; }
  .about-page--visi-misi .corp-mission-top .corp-icon { flex: 0 0 29px; width: 29px; height: 29px; }
  .about-page--visi-misi .corp-mission-card:nth-child(4) { grid-column: auto; }
  .about-page--visi-misi .corp-mission-card:nth-child(5) { grid-column: 1 / -1; }
  .about-page--visi-misi .corp-vision-feature { gap: 11px; margin-bottom: 18px; padding: 13px 12px; }
  .about-page--visi-misi .corp-vision-feature > .corp-icon { flex: 0 0 32px; width: 32px; height: 32px; }
  .about-page--visi-misi .corp-vision-feature h2 { font-size: 17px; line-height: 1.35; }
  .about-page--visi-misi .corp-vision-feature blockquote { font-size: 11.5px; line-height: 1.55; }
  .about-page--tujuan-fungsi .corp-goals-callout,
  .about-page--visi-misi .corp-vision-callout { margin-top: 17px; padding: 13px; }
  .about-page--tujuan-fungsi .corp-goals-callout h2,
  .about-page--visi-misi .corp-vision-callout h2 { font-size: 14px; }
  .about-page--tujuan-fungsi .corp-goals-callout p { font-size: 11.5px; line-height: 1.55; }
  .about-page--tujuan-fungsi .corp-source-panel,
  .about-page--visi-misi .corp-source-panel { margin-top: 16px; padding: 13px; gap: 9px; }
  .about-page--tujuan-fungsi .corp-source-panel h2,
  .about-page--visi-misi .corp-source-panel h2 { font-size: 15px; }
  .about-page--tujuan-fungsi .corp-source-panel li,
  .about-page--visi-misi .corp-source-panel li { font-size: 11.5px; line-height: 1.55; }
}
@media (max-width: 360px) {
  .about-page--tujuan-fungsi .corp-goal-grid,
  .about-page--tujuan-fungsi .corp-function-grid,
  .about-page--visi-misi .corp-mission-grid { gap: 7px; }
  .about-page--tujuan-fungsi .corp-goal-card,
  .about-page--tujuan-fungsi .corp-function-card,
  .about-page--visi-misi .corp-mission-card { padding: 10px 9px; }
}

/* Penyegaran halaman Kontak: rapi, formal, dan konsisten dengan identitas KORPRI. */
.contact-page { background:linear-gradient(180deg,#f6f9fd 0%,#fff 340px); }
.contact-page-heading { max-width:790px; margin:0 auto 30px; text-align:center; }
.contact-page-heading .eyebrow { display:inline-flex; align-items:center; gap:9px; color:#a77c2d; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.contact-page-heading .eyebrow::before,.contact-page-heading .eyebrow::after { content:""; width:22px; height:1px; background:#c8a45d; }
.contact-page-heading h2 { margin:7px 0 9px; color:#102f55; font-size:clamp(25px,3vw,34px); letter-spacing:-.025em; }
.contact-page-heading .listing-intro { max-width:610px; margin:0 auto; color:#687b91; line-height:1.75; }
.contact-cards-grid { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:20px; align-items:start; }
.contact-info-card,.contact-form-card,.contact-map-card { padding:25px; border:1px solid #e1e8f1; border-radius:14px; box-shadow:0 10px 28px rgba(16,47,85,.055); }
.contact-info-card { border-top:3px solid #c7a45c; }
.contact-panel-heading { gap:14px; padding-bottom:18px; margin-bottom:8px; border-bottom:1px solid #e8edf4; }
.contact-heading-icon { flex-basis:46px; width:46px; height:46px; border-radius:12px; color:#fff; background:linear-gradient(145deg,#123e70,#0b2b50); box-shadow:0 5px 12px rgba(14,54,97,.15); }
.contact-panel-heading .eyebrow { color:#a27a30; letter-spacing:.08em; text-transform:uppercase; font-weight:800; }
.contact-panel-heading h2 { font-size:21px; letter-spacing:-.015em; }
.contact-info-item { gap:13px; padding:17px 0; border-bottom:1px solid #edf1f6; }
.contact-detail-icon { flex-basis:38px; width:38px; height:38px; border-radius:11px; color:#1c548e; background:#eef4fb; }
.contact-info-item strong { color:#17395f; font-size:13px; }
.contact-info-item p,.contact-info-item a { font-size:13px; line-height:1.7; }
.contact-website-link { margin-top:18px; padding:13px 15px; border-radius:8px; background:linear-gradient(100deg,#102f55,#1c548e); }
.contact-form-grid { gap:15px 13px; padding-top:15px; }
.contact-form-grid label { gap:7px; font-size:12.5px; }
.contact-form-grid input,.contact-form-grid textarea { border-radius:8px; border-color:#dce5ef; background:#fbfcfe; transition:border-color .18s,box-shadow .18s,background .18s; }
.contact-form-grid input:focus,.contact-form-grid textarea:focus { background:#fff; border-color:#6794c5; box-shadow:0 0 0 3px rgba(34,92,162,.1); }
.contact-form-grid textarea { min-height:140px; }
.contact-form-note { padding:11px 12px; border-radius:7px; background:#f5f8fc; }
.contact-submit { min-height:47px; border-radius:8px; background:linear-gradient(100deg,#123e70,#1f5f9f); box-shadow:0 5px 12px rgba(18,62,112,.13); }
.contact-map-card { grid-column:1/-1; padding:23px; }
.contact-map-frame { height:330px; border:1px solid #e0e7f0; border-radius:10px; }
.contact-map-caption { align-items:center; gap:18px; padding-top:17px; }
.contact-map-caption strong { color:#17395f; }
.contact-map-caption a { display:inline-flex; align-items:center; gap:8px; padding:11px 15px; border:1px solid #d5e2f0; border-radius:8px; background:#f4f8fd; white-space:nowrap; }
.contact-map-caption a:hover { background:#eaf2fc; }
@media (max-width:860px) {
  .contact-page-heading { margin-bottom:23px; }
  .contact-cards-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .contact-info-card,.contact-form-card,.contact-map-card { padding:20px; }
  .contact-map-frame { height:280px; }
}
@media (max-width:760px) {
  .contact-page { padding-top:34px; background:linear-gradient(180deg,#f6f9fd 0%,#fff 250px); }
  .contact-page-heading { text-align:left; margin-bottom:20px; }
  .contact-page-heading h2 { font-size:25px; }
  .contact-page-heading .listing-intro { margin:0; font-size:13.5px; }
  .contact-page-heading .eyebrow::after { display:none; }
  .contact-info-card,.contact-form-card,.contact-map-card { padding:17px; border-radius:12px; }
  .contact-panel-heading { gap:11px; padding-bottom:14px; }
  .contact-heading-icon { flex-basis:40px; width:40px; height:40px; border-radius:10px; font-size:20px; }
  .contact-panel-heading h2 { font-size:18px; }
  .contact-info-item { gap:10px; padding:14px 0; }
  .contact-detail-icon { flex-basis:34px; width:34px; height:34px; font-size:16px; }
  .contact-info-item p,.contact-info-item a { font-size:12.5px; }
  .contact-map-frame { height:235px; }
  .contact-map-caption { align-items:stretch; gap:12px; }
  .contact-map-caption a { justify-content:center; }
}

/* Keep required-field asterisks inline with their labels, e.g. "Nama lengkap*". */
.contact-form-grid label:not(.sr-only) { display:block; }
.contact-form-grid label:not(.sr-only) > span { display:inline; margin-left:2px; }
.contact-form-grid label:not(.sr-only) > input,
.contact-form-grid label:not(.sr-only) > textarea { margin-top:7px; }

/* Stabilitas paginasi: browser tidak boleh mengompensasi perubahan tinggi daftar dengan scroll anchoring. */
#konten-utama .pub-grid,
#konten-utama .news-card-grid,
#konten-utama .gallery-grid,
#konten-utama [data-pg-grid],
#konten-utama .home-latest-grid,
#konten-utama .pub-pagination,
#konten-utama .news-list-pagination,
#konten-utama .gallery-pager,
#konten-utama [data-pg-pagination],
#konten-utama .home-news-pagination {
  overflow-anchor: none;
}

/* Tombol kembali ke Beranda: konsisten di bawah hero semua halaman internal */
.back-home-row { position: relative; z-index: 1; background: #f6f8fb; border-bottom: 1px solid #e4eaf1; }
.back-home-row > .container { display: flex; align-items: center; min-height: 56px; padding-block: 10px; }
.back-home-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: #173d68; font-size: 13px; font-weight: 750; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.back-home-link svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.back-home-link:hover { color: #956f22; }
.back-home-link:focus-visible { outline: 3px solid rgba(193, 151, 57, .42); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 700px) {
  .back-home-row > .container { min-height: 48px; padding-block: 7px; }
  .back-home-link { gap: 7px; font-size: 12px; }
}

/* Redesign khusus halaman Kontak — tidak mengubah header, logo, hero, atau menu lain. */
.contact-page-v2 {
  --contact-navy: #102f55;
  --contact-blue: #1d568f;
  --contact-gold: #c7a258;
  background: linear-gradient(180deg, #f4f7fb 0%, #f8fafc 240px, #fff 650px);
}
.contact-page-v2 .contact-v2-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, .82fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  max-width: none;
  margin: 0 0 28px;
  text-align: left;
}
.contact-page-v2 .contact-v2-heading-copy { min-width: 0; }
.contact-page-v2 .contact-v2-heading .eyebrow {
  gap: 10px;
  margin: 0 0 10px;
  color: #96712d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-page-v2 .contact-v2-heading .eyebrow::before { width: 28px; height: 2px; background: var(--contact-gold); }
.contact-page-v2 .contact-v2-heading .eyebrow::after { display: none; }
.contact-page-v2 .contact-v2-heading h2 {
  max-width: 640px;
  margin: 0;
  color: var(--contact-navy);
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 790;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.contact-page-v2 .contact-v2-heading .listing-intro {
  max-width: 640px;
  margin: 12px 0 0;
  color: #65788f;
  font-size: 15px;
  line-height: 1.75;
}
.contact-v2-heading-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 126px;
  overflow: hidden;
  padding: 23px 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--contact-gold);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(125deg, #0c2a4d 0%, #164777 100%);
  box-shadow: 0 12px 28px rgba(16,47,85,.13);
}
.contact-v2-heading-note::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -66px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(240,213,143,.19);
  border-radius: 50%;
  box-shadow: 0 0 0 19px rgba(255,255,255,.025), 0 0 0 40px rgba(255,255,255,.02);
  pointer-events: none;
}
.contact-v2-note-icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 47px;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid rgba(240,213,143,.45);
  border-radius: 10px;
  color: #f1d58f;
  background: rgba(255,255,255,.07);
}
.contact-v2-note-icon svg { width: 23px; height: 23px; }
.contact-v2-heading-note > div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; }
.contact-v2-note-label { color: #f0d58f; font-size: 9.5px; font-weight: 850; letter-spacing: .11em; line-height: 1.5; }
.contact-v2-heading-note strong { max-width: 260px; color: #fff; font-size: 16px; line-height: 1.45; font-weight: 720; }
.contact-v2-note-accent { position: absolute; right: 0; bottom: 0; width: 56px; height: 3px; background: var(--contact-gold); }
.contact-page-v2 .contact-v2-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 20px;
}
.contact-page-v2 .contact-info-card,
.contact-page-v2 .contact-form-card,
.contact-page-v2 .contact-map-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20,48,82,.055);
}
.contact-page-v2 .contact-v2-info { border-top: 3px solid var(--contact-gold); }
.contact-page-v2 .contact-panel-heading {
  gap: 13px;
  padding-bottom: 17px;
  margin-bottom: 5px;
  border-bottom: 1px solid #e9eef4;
}
.contact-page-v2 .contact-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #164879, #0c2d53);
  box-shadow: 0 5px 12px rgba(14,54,97,.13);
  font-size: 0;
}
.contact-page-v2 .contact-heading-icon svg { width: 22px; height: 22px; }
.contact-page-v2 .contact-panel-heading .eyebrow { margin: 0 0 3px; color: #a17b32; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-page-v2 .contact-panel-heading h2 { margin: 0; color: var(--contact-navy); font-size: 21px; font-weight: 780; letter-spacing: -.02em; line-height: 1.3; }
.contact-page-v2 .contact-info-item { align-items: flex-start; gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf1f6; }
.contact-page-v2 .contact-detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #e5edf7;
  border-radius: 9px;
  color: #1b548d;
  background: #f1f6fc;
  font-size: 0;
}
.contact-page-v2 .contact-detail-icon svg { width: 18px; height: 18px; }
.contact-page-v2 .contact-info-item strong { margin: 0 0 4px; color: #183b61; font-size: 13px; font-weight: 800; }
.contact-page-v2 .contact-info-item p,
.contact-page-v2 .contact-info-item a { margin: 0; color: #687b90; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-page-v2 .contact-info-item a { color: #1a568f; font-weight: 720; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-page-v2 .contact-website-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px solid #163e69;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(110deg, #102f55, #1b568e);
  font-size: 12.5px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-page-v2 .contact-website-link:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(16,47,85,.16); }
.contact-page-v2 .contact-website-link svg { flex: 0 0 17px; width: 17px; height: 17px; color: #f0d58f; }
.contact-page-v2 .contact-v2-form { padding: 25px 27px 26px; }
.contact-v2-form-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; margin-bottom: 16px; border-bottom: 1px solid #e9eef4; }
.contact-v2-form-symbol { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: #17518a; background: #edf4fc; }
.contact-v2-form-symbol svg { width: 19px; height: 19px; }
.contact-v2-form-step { color: #8493a5; font-size: 9.5px; font-weight: 850; letter-spacing: .12em; }
.contact-page-v2 .contact-v2-form-heading { padding: 0; margin: 0; border: 0; }
.contact-page-v2 .contact-v2-form-heading .eyebrow { margin-bottom: 4px; }
.contact-page-v2 .contact-v2-form-heading h2 { font-size: 25px; }
.contact-v2-form-intro { margin: 8px 0 0; color: #77889c; font-size: 12.5px; line-height: 1.65; }
.contact-v2-form-intro span { color: #b84242; font-weight: 800; }
.contact-page-v2 .contact-form-grid { gap: 13px 14px; padding-top: 18px; }
.contact-page-v2 .contact-form-grid label:not(.sr-only) { color: #304963; font-size: 12.5px; font-weight: 750; line-height: 1.5; }
.contact-page-v2 .contact-form-grid label:not(.sr-only) > span { color: #b84242; }
.contact-page-v2 .contact-form-grid input,
.contact-page-v2 .contact-form-grid textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #d9e3ee;
  border-radius: 7px;
  color: #203e60;
  background: #f9fbfd;
  font-family: inherit;
  font-size: 13px;
  font-weight: 450;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.contact-page-v2 .contact-form-grid input { min-height: 44px; }
.contact-page-v2 .contact-form-grid textarea { min-height: 130px; resize: vertical; }
.contact-page-v2 .contact-form-grid input:focus,
.contact-page-v2 .contact-form-grid textarea:focus { border-color: #6d98c5; outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(36,96,154,.11); }
.contact-page-v2 .contact-form-grid input::placeholder,
.contact-page-v2 .contact-form-grid textarea::placeholder { color: #9aa8b8; font-weight: 400; }
.contact-page-v2 .contact-form-note { margin: 12px 0; padding: 10px 12px; border-left: 2px solid #d8c08b; border-radius: 0 5px 5px 0; color: #75869a; background: #f7f9fc; font-size: 11.5px; line-height: 1.6; }
.contact-page-v2 .contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 47px;
  padding: 12px 16px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(105deg, #102f55, #1d568f);
  box-shadow: 0 5px 12px rgba(16,47,85,.13);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-page-v2 .contact-submit svg { width: 17px; height: 17px; color: #f0d58f; }
.contact-page-v2 .contact-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(16,47,85,.18); }
.contact-page-v2 .contact-submit:disabled { opacity: .68; cursor: wait; }
.contact-page-v2 .contact-form-status { color: #28613d; font-size: 12px; line-height: 1.6; }
.contact-page-v2 .contact-v2-map { grid-column: 1 / -1; padding: 25px; }
.contact-v2-map-title { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.7fr); align-items: center; gap: 24px; margin-bottom: 20px; }
.contact-page-v2 .contact-v2-map-title .contact-panel-heading { padding: 0; margin: 0; border: 0; }
.contact-v2-map-lead { max-width: 390px; margin: 0; justify-self: end; color: #718297; font-size: 13px; line-height: 1.7; }
.contact-v2-map-layout { display: grid; grid-template-columns: minmax(245px,.68fr) minmax(0,1.32fr); align-items: stretch; gap: 16px; }
.contact-v2-map-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 25px;
  border: 1px solid #e2ebf5;
  border-left: 3px solid var(--contact-gold);
  border-radius: 9px;
  background: linear-gradient(145deg, #f4f8fd, #fbfcfe);
}
.contact-v2-map-tag { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid #dbe7f5; border-radius: 4px; color: #1e568b; background: #fff; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.contact-v2-map-details h3 { margin: 16px 0 8px; color: var(--contact-navy); font-size: 19px; font-weight: 800; line-height: 1.35; }
.contact-v2-map-details p { margin: 0 0 7px; color: #667b92; font-size: 13px; line-height: 1.65; }
.contact-v2-map-details .contact-v2-map-address { margin-top: 3px; }
.contact-v2-map-details a { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; padding: 11px 13px; border: 1px solid #cfddeb; border-radius: 6px; color: #174b80; background: #fff; font-size: 12px; font-weight: 800; transition: background .16s ease, border-color .16s ease; }
.contact-v2-map-details a:hover { border-color: #b8cce0; background: #f0f6fc; }
.contact-v2-map-details a svg { width: 16px; height: 16px; }
.contact-page-v2 .contact-v2-map-frame { position: relative; height: 100%; min-height: 310px; overflow: hidden; border: 1px solid #dfe7f0; border-radius: 9px; background: #eaf1f8; }
.contact-page-v2 .contact-v2-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 310px; border: 0; }
.contact-page-v2 a:focus-visible,
.contact-page-v2 button:focus-visible { outline: 3px solid rgba(199,162,88,.48); outline-offset: 3px; }

@media (max-width: 980px) {
  .contact-page-v2 .contact-v2-heading { grid-template-columns: minmax(0,1fr) minmax(245px,.8fr); gap: 22px; }
  .contact-v2-heading-note { padding: 19px; }
  .contact-page-v2 .contact-v2-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 15px; }
  .contact-page-v2 .contact-info-card,
  .contact-page-v2 .contact-form-card,
  .contact-page-v2 .contact-map-card { padding: 20px; }
  .contact-page-v2 .contact-v2-form { padding: 20px; }
  .contact-v2-map-layout { grid-template-columns: minmax(210px,.72fr) minmax(0,1.28fr); }
  .contact-v2-map-details { padding: 20px; }
}
@media (max-width: 760px) {
  .contact-page-v2 { padding-top: 32px; background: linear-gradient(180deg, #f4f7fb 0%, #fff 430px); }
  .contact-page-v2 .contact-v2-heading { grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 22px; }
  .contact-page-v2 .contact-v2-heading h2 { font-size: clamp(25px, 6vw, 31px); }
  .contact-page-v2 .contact-v2-heading .listing-intro { margin-top: 9px; font-size: 13.5px; line-height: 1.7; }
  .contact-v2-heading-note { min-height: auto; padding: 15px 16px; }
  .contact-v2-note-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .contact-v2-heading-note strong { max-width: none; font-size: 14px; }
  .contact-v2-note-label { font-size: 9px; }
  .contact-page-v2 .contact-v2-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .contact-page-v2 .contact-info-card,
  .contact-page-v2 .contact-form-card,
  .contact-page-v2 .contact-map-card,
  .contact-page-v2 .contact-v2-form { padding: 18px; }
  .contact-page-v2 .contact-panel-heading h2 { font-size: 19px; }
  .contact-page-v2 .contact-v2-form-heading h2 { font-size: 23px; }
  .contact-page-v2 .contact-info-item { padding: 13px 0; }
  .contact-page-v2 .contact-info-item p,
  .contact-page-v2 .contact-info-item a { font-size: 12.5px; }
  .contact-page-v2 .contact-form-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .contact-page-v2 .contact-field-full { grid-column: auto; }
  .contact-page-v2 .contact-form-grid input { min-height: 45px; }
  .contact-v2-map-title { grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 15px; }
  .contact-v2-map-lead { justify-self: start; font-size: 12.5px; }
  .contact-v2-map-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .contact-v2-map-details { padding: 18px; }
  .contact-v2-map-details h3 { margin-top: 12px; font-size: 18px; }
  .contact-page-v2 .contact-v2-map-frame,
  .contact-page-v2 .contact-v2-map-frame iframe { min-height: 245px; height: 245px; }
}
@media (max-width: 400px) {
  .contact-page-v2 .contact-v2-heading .eyebrow { font-size: 9.5px; }
  .contact-v2-heading-note { align-items: flex-start; gap: 12px; }
  .contact-page-v2 .contact-info-card,
  .contact-page-v2 .contact-form-card,
  .contact-page-v2 .contact-map-card,
  .contact-page-v2 .contact-v2-form { padding: 15px; }
  .contact-page-v2 .contact-heading-icon { flex-basis: 39px; width: 39px; height: 39px; }
  .contact-page-v2 .contact-detail-icon { flex-basis: 33px; width: 33px; height: 33px; }
  .contact-page-v2 .contact-v2-map-frame,
  .contact-page-v2 .contact-v2-map-frame iframe { min-height: 215px; height: 215px; }
}

/* Kontak (desktop/tablet 2 kolom): kartu kiri dan kanan dibuat sejajar.
   - garis pemisah judul kiri = garis pemisah topline kanan
   - tombol "Kunjungi situs Pemkab Semarang" sejajar dengan tombol "Kirim Pesan"
   Mobile (<= 760px) tidak berubah. */
.contact-page-v2 .contact-form-status:empty { display: none; }
@media (min-width: 761px) {
  .contact-page-v2 .contact-v2-info { display: flex; flex-direction: column; }
  /* Garis emas 3px di atas kartu kiri memakan 2px lebih banyak dari border kartu kanan */
  .contact-page-v2 .contact-v2-info { padding-top: 18px; }
  .contact-page-v2 .contact-v2-info > .contact-panel-heading,
  .contact-page-v2 .contact-v2-form-topline { box-sizing: border-box; height: 62px; flex: 0 0 auto; }
  .contact-page-v2 .contact-v2-form-topline { padding-bottom: 15px; }
  .contact-page-v2 .contact-v2-info > .contact-panel-heading { padding-bottom: 17px; }
  /* Baris info mengisi tinggi kartu secara merata agar tombol turun ke dasar kartu */
  .contact-page-v2 .contact-v2-info .contact-info-item { flex: 1 1 auto; align-items: center; }
  .contact-page-v2 .contact-v2-info .contact-info-item:last-of-type { margin-bottom: 17px; }
  .contact-page-v2 .contact-v2-info .contact-website-link { flex: 0 0 auto; margin-top: auto; }
  .contact-page-v2 .contact-v2-form { padding-bottom: 20px; }
}
@media (min-width: 981px) {
  .contact-page-v2 .contact-v2-info { padding-top: 23px; }
  .contact-page-v2 .contact-v2-form { padding-bottom: 25px; }
}

/* Kontak: bila admin menghapus salah satu kartu info/formulir, kartu yang tersisa memenuhi lebar baris. */
.contact-page-v2 .contact-v2-grid--solo > .contact-v2-info,
.contact-page-v2 .contact-v2-grid--solo > .contact-v2-form { grid-column: 1 / -1; width: min(100%, 780px); justify-self: center; }

/* ---------- Pesan Masuk (/#pesan-masuk) ----------
   Halaman penuh di dalam <main> (bukan dialog). Gaya tombol mengikuti Ubah/Hapus di Beranda. */
.inbox-page { min-height: 52vh; background: linear-gradient(180deg, #f4f7fb 0%, #fff 420px); }
.inbox-root { max-width: 940px; margin: 0 auto; }
.inbox-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 16px 18px; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(20,48,82,.055); }
.inbox-summary { display: flex; align-items: center; gap: 12px; min-width: 0; }
.inbox-summary-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #164879, #0c2d53); box-shadow: 0 5px 12px rgba(14,54,97,.13); }
.inbox-summary-icon svg { width: 22px; height: 22px; }
.inbox-summary > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inbox-summary strong { color: #102f55; font-size: 17px; font-weight: 780; letter-spacing: -.01em; }
.inbox-live { display: flex; align-items: center; gap: 7px; color: #7a8a9c; font-size: 12px; }
.inbox-live:not(:empty)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c0cad6; }
.inbox-live.is-on::before { background: #2e9b57; box-shadow: 0 0 0 3px rgba(46,155,87,.16); }
.inbox-search { position: relative; display: block; flex: 1 1 260px; max-width: 380px; }
.inbox-search > svg { position: absolute; top: 50%; left: 12px; width: 17px; height: 17px; color: #8493a5; transform: translateY(-50%); pointer-events: none; }
.inbox-search input { width: 100%; min-height: 42px; padding: 10px 12px 10px 37px; border: 1px solid #d9e3ee; border-radius: 8px; color: #203e60; background: #f9fbfd; font: inherit; font-size: 13.5px; }
.inbox-search input:focus { border-color: #6d98c5; outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(36,96,154,.11); }
.inbox-list { display: grid; gap: 14px; margin-top: 16px; }
.inbox-item { padding: 18px 20px 16px; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(20,48,82,.045); }
.inbox-item.is-new { border-left: 4px solid #c7a258; background: #fffdf8; }
.inbox-item-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.inbox-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #164879, #0c2d53); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.inbox-from { display: flex; flex-direction: column; min-width: 0; }
.inbox-from strong { color: #102f55; font-size: 14.5px; font-weight: 780; overflow-wrap: anywhere; }
.inbox-from a, .inbox-from span { color: #1a568f; font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.inbox-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: #77889c; font-size: 12px; text-align: right; }
.inbox-badge { padding: 2px 9px; border-radius: 999px; color: #102f55; background: #f0d58f; font-size: 10.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.inbox-subject { margin: 14px 0 6px; color: #17395f; font-size: 16.5px; font-weight: 780; line-height: 1.4; overflow-wrap: anywhere; }
.inbox-body { margin: 0; color: #3d5269; font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-link { margin-top: 6px; padding: 0; border: 0; color: #1a568f; background: none; font: inherit; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.inbox-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf1f6; }
.inbox-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 31px; padding: 4px 12px; border: 1px solid #d3deeb; border-radius: 6px; color: #113c6c; background: #fff; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.inbox-btn:hover { border-color: #c99c2e; background: #fffaf0; }
.inbox-btn.is-danger { color: #a33128; border-color: #eed0cc; }
.inbox-btn.is-primary { color: #fff; border-color: #102f55; background: linear-gradient(105deg, #102f55, #1d568f); }
.inbox-btn.is-primary:hover { border-color: #c99c2e; background: #134273; }
.inbox-btn:disabled { opacity: .6; cursor: wait; }
.inbox-btn:focus-visible, .inbox-link:focus-visible { outline: 3px solid rgba(199,162,88,.48); outline-offset: 2px; }
.inbox-confirm-text { color: #a33128; font-size: 12.5px; font-weight: 700; }
.inbox-row-error { flex-basis: 100%; color: #a33128; font-size: 12.5px; line-height: 1.5; }
.inbox-more { margin-top: 16px; text-align: center; }
.inbox-notice { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; color: #4a5f77; box-shadow: 0 8px 26px rgba(20,48,82,.055); }
.inbox-notice h2 { margin: 0 0 6px; color: #102f55; font-size: 20px; }
.inbox-notice p { margin: 0 0 14px; font-size: 14px; line-height: 1.7; }
.inbox-notice p:last-child { margin-bottom: 0; }
.inbox-notice.is-error { flex-direction: column; border-color: #eed0cc; background: #fff8f7; color: #8a2b23; }
.inbox-notice-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; margin: 0 auto 4px; border-radius: 12px; color: #1b548d; background: #eef4fb; }
.inbox-notice-icon svg { width: 24px; height: 24px; }
.inbox-notice--lock .inbox-notice-icon { margin: 0; }
.inbox-empty { padding: 44px 24px; border: 1px dashed #cfd9e6; border-radius: 12px; background: #fff; color: #5d7189; text-align: center; }
.inbox-empty h2 { margin: 8px 0 6px; color: #102f55; font-size: 19px; }
.inbox-empty p { max-width: 460px; margin: 0 auto; font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) {
  .inbox-toolbar { padding: 14px; }
  .inbox-search { max-width: none; flex-basis: 100%; }
  .inbox-item { padding: 15px 15px 13px; }
  .inbox-item-head { grid-template-columns: 40px minmax(0, 1fr); }
  .inbox-meta { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: space-between; align-items: center; text-align: left; }
  .inbox-notice { flex-direction: column; padding: 18px; }
  .inbox-actions .inbox-btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Label kecil (eyebrow/kicker): huruf biasa, tanpa kapital semua, tanpa
   spasi huruf lebar, tanpa garis dekoratif. Ditaruh paling akhir agar
   menggantikan gaya lama di seluruh halaman.
   ========================================================================== */
.eyebrow, .home-eyebrow, .about-hero-kicker, .about-kicker, .pg-eyebrow,
.home-news-all-heading .eyebrow, .news-detail-category,
.contact-page-heading .eyebrow, .contact-panel-heading .eyebrow,
.contact-page-v2 .contact-v2-heading .eyebrow, .contact-page-v2 .contact-panel-heading .eyebrow,
.publication-page .pub-list-heading .eyebrow,
.about-page--sejarah .history-period, .about-page--sejarah .history-intro-copy .about-kicker,
.about-page--sejarah .history-milestones-heading .about-kicker {
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; font-size: 14px; line-height: 1.45;
}
.leader-role, .program-meta strong, .article-meta, .about-card-footnote, .about-timeline-label,
.about-program-meta strong, .about-mobile-nav p, .contact-v2-note-label, .contact-v2-form-step,
.contact-v2-map-tag, .news-date span {
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 600;
}
.eyebrow::before, .eyebrow::after, .about-kicker::before, .about-kicker::after,
.contact-page-heading .eyebrow::before, .contact-page-heading .eyebrow::after,
.contact-page-v2 .contact-v2-heading .eyebrow::before, .contact-page-v2 .contact-v2-heading .eyebrow::after,
.pg-eyebrow-line { display: none !important; }
.pg-eyebrow { gap: 0; }
@media (max-width: 640px) {
  .eyebrow, .home-eyebrow, .about-hero-kicker, .about-kicker, .pg-eyebrow,
  .contact-page-heading .eyebrow, .contact-panel-heading .eyebrow,
  .contact-page-v2 .contact-v2-heading .eyebrow, .contact-page-v2 .contact-panel-heading .eyebrow { font-size: 13px !important; }
}

/* ================= EVENT & PENDAFTARAN ================= */
.event-page { background:#f7f9fc; min-height:420px; }
.event-toolbar { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.event-toolbar h2 { margin:4px 0 8px; color:#173c70; font-size:clamp(25px,3vw,34px); }
.event-toolbar p:not(.eyebrow) { margin:0; color:#66758a; }
.event-add,.event-submit { border:0; border-radius:9px; background:#17477f; color:#fff; font:inherit; font-weight:700; padding:13px 19px; cursor:pointer; }
.event-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.event-card { background:#fff; border:1px solid #e4eaf1; border-radius:14px; overflow:hidden; box-shadow:0 8px 24px #183b650b; display:flex; flex-direction:column; }
.event-card-media { display:block; aspect-ratio:16/8.5; background:#eaf0f7; overflow:hidden; }
.event-card-media img { width:100%;height:100%;object-fit:cover; }
.event-card-body { padding:20px; display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.event-status { display:inline-flex; border-radius:30px; padding:6px 11px; background:#e8f5ed; color:#247345; font-size:12px; font-weight:750; }
.event-date { color:#64758a; font-size:13px; margin:13px 0 7px; }
.event-card h2 { margin:0 0 9px; font-size:20px; line-height:1.35; color:#173c70; }
.event-card h2 a { color:inherit; text-decoration:none; }
.event-card-body>p:not(.event-date) { color:#64758a; font-size:14px; line-height:1.65; margin:0 0 14px; }
.event-card-meta { display:flex; flex-wrap:wrap; gap:8px 14px; color:#52657d; font-size:12px; margin-top:auto; padding:10px 0 16px; }
.event-link { display:flex; justify-content:space-between; gap:20px; width:100%; color:#17477f; font-weight:750; text-decoration:none; border-top:1px solid #edf0f4; padding-top:14px; }
.event-delete { margin-top:12px; border:0; background:#fff0f0; color:#a22b2b; border-radius:7px; padding:8px 11px; cursor:pointer; }
.event-loading,.event-empty { color:#68788d; text-align:center; padding:42px 20px; }
.event-empty { background:#fff; border:1px dashed #cbd6e3; border-radius:12px; }
.event-empty strong { color:#183f70; font-size:18px; }
.event-detail { max-width:1180px; margin:auto; }
.event-back { display:inline-block; color:#17477f; text-decoration:none; font-weight:700; margin-bottom:20px; }
.event-detail-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr); gap:34px; align-items:start; }
.event-detail-image { display:block; width:100%; max-height:390px; object-fit:cover; border-radius:14px; margin-bottom:22px; background:#eaf0f7; }
.event-detail-main h2 { color:#173c70; font-size:clamp(27px,3vw,38px); line-height:1.2; margin:10px 0 16px; }
.event-description { color:#52657b; line-height:1.8; font-size:16px; }
.event-facts { margin:25px 0 0; border-top:1px solid #dfe6ee; }
.event-facts div { display:grid; grid-template-columns:150px 1fr; gap:14px; padding:13px 0; border-bottom:1px solid #e5eaf0; }
.event-facts dt { color:#738197; font-size:14px; }.event-facts dd { margin:0; color:#233e5e; font-weight:650; }
.event-form-panel { background:#fff; border:1px solid #e2e9f1; border-radius:15px; padding:25px; box-shadow:0 12px 34px #193d660d; }
.event-form-panel h3 { color:#173c70; font-size:23px; margin:5px 0 8px; }.event-form-intro { color:#6b788a; font-size:14px; line-height:1.6; margin:0 0 20px; }
#event-registration>label:not(.event-consent) { display:block; color:#334a65; font-size:13px; font-weight:700; margin:0 0 14px; }
#event-registration input:not([type=checkbox]) { display:block; width:100%; margin-top:6px; border:1px solid #d5deea; border-radius:8px; padding:12px; font:inherit; font-size:14px; color:#203a58; background:#fff; }
#event-registration input:focus { outline:2px solid #9bbce2; border-color:#477db7; }
.event-participants-head { display:flex; justify-content:space-between; align-items:center; margin:20px 0 10px; color:#274664; font-size:14px; }
.event-participants-head span { color:#718096; font-size:12px; }
.event-participant { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:12px; margin-bottom:9px; border:1px solid #e3eaf1; border-radius:9px; background:#f9fbfd; }
.event-participant label { min-width:0; color:#536780; font-size:12px; font-weight:700; }.event-participant input { box-sizing:border-box; }
.event-remove-person { position:absolute; right:-7px; top:-8px; border:0; border-radius:50%; width:24px; height:24px; background:#a83232; color:white; cursor:pointer; }
.event-add-person { width:100%; border:1px dashed #9bb1c9; border-radius:8px; padding:10px; background:#f6f9fc; color:#17477f; font-weight:700; cursor:pointer; }
.event-consent { display:flex; align-items:flex-start; gap:9px; margin:18px 0; color:#64758a; font-size:12px; line-height:1.5; }.event-consent input { margin-top:3px; }
.event-submit { width:100%; display:flex; justify-content:space-between; align-items:center; }.event-submit:disabled { opacity:.6; cursor:wait; }.event-form-message { min-height:20px; color:#247345; font-size:13px; line-height:1.5; }
@media(max-width:900px) {.event-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.event-detail-layout {grid-template-columns:1fr;}.event-form-panel {max-width:none;}}
@media(max-width:600px) {.event-toolbar {align-items:flex-start;flex-direction:column;}.event-grid {grid-template-columns:1fr;gap:15px;}.event-card-media {aspect-ratio:16/8;}.event-card-body {padding:17px;}.event-detail-layout {gap:24px;}.event-form-panel {padding:19px;}.event-participant {grid-template-columns:1fr;}.event-facts div {grid-template-columns:115px 1fr;gap:8px;font-size:13px;}}
.event-create-dialog { width:min(680px,calc(100% - 28px)); max-height:88vh; overflow:auto; border:0; border-radius:16px; padding:0; box-shadow:0 24px 80px #102d4c55; color:#263e59; }
.event-create-dialog::backdrop { background:#10243dcc; backdrop-filter:blur(3px); }
.event-create-dialog form { padding:26px; }.event-dialog-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }.event-dialog-head h2 { margin:4px 0 0; color:#173c70; font-size:25px; }.event-dialog-close { border:0; background:#edf2f7; color:#34516f; width:36px; height:36px; border-radius:50%; font-size:25px; cursor:pointer; }
.event-create-dialog label { display:block; margin:0 0 14px; color:#455c76; font-size:13px; font-weight:700; }.event-create-dialog input,.event-create-dialog textarea,.event-create-dialog select { display:block; box-sizing:border-box; width:100%; margin-top:6px; border:1px solid #d5deea; border-radius:8px; padding:11px 12px; background:#fff; color:#243d59; font:inherit; font-size:14px; }.event-create-dialog textarea { resize:vertical; }.event-dialog-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.event-dialog-error { min-height:20px; color:#ad3434; font-size:13px; }.event-dialog-actions { display:flex; justify-content:flex-end; gap:10px; }.event-dialog-cancel { border:1px solid #d7e0ea; background:#fff; border-radius:8px; padding:12px 18px; color:#52657b; font-weight:700; cursor:pointer; }
@media(max-width:520px) {.event-create-dialog form {padding:19px;}.event-dialog-row {grid-template-columns:1fr;gap:0;}}

/* Penyelarasan Event & Agenda dengan skala katalog Publikasi */
.event-page { padding-block:30px 54px; }
.event-page .container { max-width:var(--content); }
.event-toolbar { gap:18px; margin-bottom:22px; }
.event-toolbar h2 { margin:3px 0 6px; font-size:clamp(23px,2vw,28px); }
.event-toolbar p:not(.eyebrow) { font-size:14px; line-height:1.6; }
.event-grid { gap:16px; }
.event-card { border-radius:9px; box-shadow:0 2px 8px rgba(22,58,98,.035); }
.event-card-body { padding:15px; }
.event-card h2 { font-size:16px; line-height:1.4; }
.event-card-body>p:not(.event-date) { font-size:13px; line-height:1.58; }
.event-detail { max-width:var(--content); }
.event-back { margin-bottom:12px; font-size:13px; }
.event-detail-layout { grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); gap:26px; }
.event-detail-image { max-height:330px; margin-bottom:16px; border-radius:9px; }
.event-detail-main h2 { font-size:clamp(23px,2.2vw,29px); line-height:1.28; margin:8px 0 12px; }
.event-description { font-size:14px; line-height:1.7; }
.event-facts { margin-top:19px; }
.event-facts div { grid-template-columns:125px 1fr; gap:12px; padding:10px 0; }
.event-facts dt,.event-facts dd { font-size:13px; }
.event-form-panel { padding:20px; border-radius:10px; box-shadow:0 4px 15px rgba(13,51,92,.045); }
.event-form-panel h3 { font-size:19px; }
.event-form-intro { font-size:13px; margin-bottom:16px; }
#event-registration>label:not(.event-consent) { font-size:12.5px; margin-bottom:12px; }
#event-registration input:not([type=checkbox]) { padding:10px 11px; font-size:13px; }
.event-participant { padding:10px; gap:9px; }
.event-add-person { padding:9px; font-size:13px; }
.event-submit { padding:11px 15px; font-size:13px; }
@media(max-width:900px) {
  .event-detail-layout { grid-template-columns:1fr; gap:20px; }
  .event-form-panel { max-width:none; }
}
@media(max-width:600px) {
  .event-page { padding-block:22px 38px; }
  .event-toolbar { margin-bottom:18px; }
  .event-card-body { padding:14px; }
  .event-detail-layout { gap:18px; }
  .event-form-panel { padding:17px; }
}

/* Final compact alignment: jarak konten setelah tombol kembali dan kartu Event setara katalog Publikasi. */
.back-home-row + .section-space { padding-top:24px !important; }
.event-page { padding-bottom:44px; }
.event-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; align-content:start; gap:16px; }
.event-card { min-width:0; border:1px solid #e3eaf2; border-radius:9px; box-shadow:0 2px 8px rgba(22,58,98,.025); }
.event-card-media { aspect-ratio:16 / 9; }
.event-card-body { padding:13px; }
.event-status { min-height:23px; padding:4px 9px; font-size:11px; line-height:1.2; }
.event-date { margin:0 0 8px; font-size:12px; line-height:1.45; }
.event-card h2 { margin:0 0 7px; font-size:15.5px; line-height:1.4; }
.event-card-body>p:not(.event-date) { display:-webkit-box; margin:0; overflow:hidden; font-size:13px; line-height:1.58; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.event-card-meta { gap:8px 12px; padding:10px 0; font-size:12px; line-height:1.45; }
.event-link { align-items:center; justify-content:flex-start; gap:7px; min-height:37px; padding-top:10px; font-size:12.5px; line-height:1.3; }
.event-link b { margin-left:auto; font-size:16px; }
@media(max-width:900px) {
  .event-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .back-home-row + .section-space { padding-top:18px !important; }
  .event-page { padding-bottom:34px; }
  .event-grid { grid-template-columns:1fr; gap:15px; }
  .event-card-body { padding:13px; }
}

/* Event pagination dan grid mengikuti pola katalog Publikasi: 6 kartu per halaman. */
.event-page .event-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; width:auto; max-width:100%; margin:30px 0 0; padding:12px 14px; border:1px solid #e9eef6; border-radius:15px; background:rgba(237,242,249,.72); }
.event-page .event-pagination[hidden] { display:none !important; }
.event-page .event-pagination .pagination-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; }
.event-page .event-pagination .pagination-button { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; padding:0 11px; border:1px solid #e4eaf3; border-radius:11px; background:#fff; color:#526987; font:inherit; font-size:12.5px; font-weight:650; line-height:1; cursor:pointer; transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease; }
.event-page .event-pagination .pagination-button:hover:not(:disabled) { border-color:#adc3e0; color:#0e3f7d; background:#fafdff; }
.event-page .event-pagination .pagination-button.is-current { border-color:#d4ae4f; background:#0e3f7d; color:#fff; box-shadow:0 0 0 2px rgba(212,174,79,.22),0 3px 8px rgba(14,63,125,.16); }
.event-page .event-pagination .pagination-button:disabled { color:#a9b3c1; background:#f7f8fb; border-color:#edf0f5; cursor:not-allowed; box-shadow:none; }
@media(max-width:600px) {
  .event-page .event-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .event-page .event-card-body { padding:11px; }
  .event-page .event-card h2 { font-size:14px; }
  .event-page .event-card-body>p:not(.event-date) { font-size:12px; line-height:1.5; -webkit-line-clamp:3; }
  .event-page .event-card-meta { font-size:10.5px; gap:6px; }
  .event-page .event-link { font-size:11px; gap:4px; }
  .event-page .event-pagination { gap:6px; margin-top:23px; padding:10px 8px; border-radius:12px; }
  .event-page .event-pagination .pagination-controls { gap:6px; }
  .event-page .event-pagination .pagination-button { min-width:32px; min-height:36px; padding:0 8px; font-size:12px; }
  .event-page .event-pagination .pagination-button--prev,.event-page .event-pagination .pagination-button--next { padding-inline:9px; }
}

/* Event: model lomba karya, timeline, dan pengelolaan event */
.event-admin-actions,.event-detail-admin { display:flex; align-items:center; gap:8px; margin-top:10px; }
.event-detail-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.event-detail-top .event-back { margin:0; }
.event-edit,.event-delete { border:1px solid #dbe4ee; border-radius:7px; padding:7px 11px; background:#f7f9fc; color:#234a75; font-size:12px; font-weight:700; cursor:pointer; }
.event-admin-actions .event-delete,.event-detail-admin .event-delete { margin:0; background:#fff3f2; color:#a22b2b; border-color:#f2d8d5; }
.event-model-label { display:inline-flex; margin-left:7px; padding:4px 9px; border-radius:20px; background:#eef3f9; color:#526987; font-size:11px; font-weight:700; vertical-align:middle; }
.event-info-block { margin-top:24px; padding:20px; border:1px solid #e2e9f1; border-radius:11px; background:#fff; }
.event-info-block h3 { margin:0 0 16px; color:#173c70; font-size:19px; }
.event-info-block>div { margin-top:15px; }
.event-info-block>div>strong,.event-document>strong { display:block; color:#2b4665; font-size:13px; }
.event-info-block p { margin:5px 0 0; color:#596d84; font-size:14px; line-height:1.65; }
.event-timeline { display:grid; gap:8px; margin-top:8px; }
.event-timeline-item { display:flex; justify-content:space-between; gap:14px; padding:10px 12px; border-radius:8px; background:#f5f8fc; color:#405975; font-size:13px; }
.event-timeline-item span { flex:none; color:#687b91; }
.event-document { margin-top:17px; padding:14px; border-radius:9px; background:#f6f9fd; }
.event-document a { display:inline-flex; margin-top:10px; color:#17477f; font-size:13px; font-weight:750; text-decoration:underline; }
.event-no-registration { align-self:start; }
.event-no-registration p { color:#66778c; font-size:14px; line-height:1.65; }
.event-create-dialog .event-dialog-subtitle { margin:5px 0 0; color:#6c7c90; font-size:13px; line-height:1.5; }
.event-create-dialog label small { display:block; margin-top:7px; color:#738196; font-size:11.5px; font-weight:400; line-height:1.5; }
.event-create-dialog [data-model-fields="submission"] { margin:18px 0; padding:17px; border:1px solid #e0e8f1; border-radius:10px; background:#f8fafd; }
.event-create-dialog [data-model-fields="submission"][hidden] { display:none !important; }
.event-create-dialog [data-model-fields="submission"] h3 { margin:0 0 14px; color:#17477f; font-size:16px; }
.event-dialog-subsection { margin:12px 0 16px; }
.event-dialog-subsection>strong { color:#455c76; font-size:13px; }
.event-dialog-subsection>p { margin:5px 0 10px; color:#738196; font-size:12px; line-height:1.5; }
.event-timeline-fields { display:grid; gap:8px; }
.event-timeline-field { display:grid; grid-template-columns:minmax(0,1fr) 155px 32px; gap:7px; }
.event-timeline-field input { min-width:0; margin:0 !important; }
.event-timeline-field button { border:0; border-radius:7px; background:#fff0f0; color:#a22b2b; font-size:20px; cursor:pointer; }
.event-add-timeline { margin-top:9px; padding:8px 11px; border:1px dashed #9bb1c9; border-radius:7px; background:#fff; color:#17477f; font-size:12px; font-weight:700; cursor:pointer; }
.event-drive-field small { display:block; margin-top:6px; color:#738196; font-size:11.5px; font-weight:400; line-height:1.5; }
@media(max-width:600px) {
 .event-detail-top { align-items:flex-start; flex-direction:column; }
 .event-info-block { padding:15px; }
 .event-timeline-field { grid-template-columns:1fr 125px 30px; }
 .event-timeline-item { flex-direction:column; gap:3px; }
 .event-create-dialog [data-model-fields="submission"] { padding:12px; }
}

/* Formulir pendaftaran event: terstruktur per bagian dan adaptif untuk perorangan/tim. */
#event-registration { display:flex; flex-direction:column; gap:0; }
#event-registration .event-form-kicker { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:0 0 14px; color:#74849a; font-size:10px; font-weight:800; letter-spacing:.08em; }
#event-registration .event-form-kicker span:first-child { color:#1d578e; }
#event-registration .event-form-kicker b,#event-registration .event-form-section label>b,#event-registration .event-consent b { color:#b33e36; }
#event-registration .event-form-section { min-width:0; margin:0 0 13px; padding:15px 0 3px; border:0; border-top:1px solid #e7edf3; }
#event-registration .event-form-section legend { display:flex; align-items:center; gap:9px; width:100%; padding:0; color:#1b416a; font-size:13px; font-weight:800; }
#event-registration .event-form-section legend>span { display:grid; place-items:center; width:25px; height:25px; border-radius:7px; background:#edf4fb; color:#245c91; font-size:10px; }
#event-registration .event-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; row-gap:0; margin-top:13px; }
#event-registration .event-form-section label { display:block; min-width:0; margin:0 0 12px; color:#3c526d; font-size:12px; line-height:1.45; font-weight:750; }
#event-registration .event-form-section label small { display:inline; margin-left:4px; color:#8794a5; font-size:10px; font-weight:500; }
#event-registration .event-form-section input:not([type=checkbox]),#event-registration .event-form-section textarea { display:block; box-sizing:border-box; width:100%; margin-top:6px; border:1px solid #d7e1eb; border-radius:7px; padding:10px 11px; background:#fff; color:#213b59; font:inherit; font-size:13px; font-weight:450; }
#event-registration .event-form-section textarea { min-height:76px; resize:vertical; }
#event-registration .event-form-section input:focus,#event-registration .event-form-section textarea:focus { outline:2px solid #9bbce2; outline-offset:1px; border-color:#477db7; }
#event-registration .event-participants-head { margin:7px 0 10px; }
#event-registration .event-participants-head>div { display:flex; flex-direction:column; gap:3px; }
#event-registration .event-participants-head small { color:#8491a2; font-size:11px; font-weight:450; }
#event-registration .event-participant { grid-template-columns:repeat(2,minmax(0,1fr)); padding:13px; border-color:#e1e9f1; background:#f8fafc; }
#event-registration .event-participant-index { grid-column:1/-1; color:#245c91; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
#event-registration .event-participant label { margin:0; font-size:11px; }
#event-registration .event-participant label:nth-of-type(3) { grid-column:1/-1; }
#event-registration .event-participant input { margin-top:5px !important; }
#event-registration .required-mark { color:#b33e36; }
#event-registration .optional-mark { color:#8996a6; font-size:10px; font-weight:500; }
#event-registration .event-remove-person { top:8px; right:8px; width:23px; height:23px; background:#edf2f7; color:#52657b; font-size:17px; }
#event-registration .event-remove-person:disabled { opacity:.35; cursor:not-allowed; }
#event-registration .event-privacy-note { margin:4px 0 14px; padding:12px 13px; border-left:3px solid #8daeca; border-radius:5px; background:#f3f7fb; }
#event-registration .event-privacy-note strong { color:#2c5279; font-size:11px; }
#event-registration .event-privacy-note p { margin:4px 0 0; color:#697b90; font-size:11px; line-height:1.6; }
#event-registration .event-consent { display:flex; align-items:flex-start; gap:9px; margin:9px 0; color:#5f7085; font-size:11px; line-height:1.55; font-weight:500; }
#event-registration .event-consent input { flex:0 0 auto; margin:2px 0 0; accent-color:#1d578e; }
#event-registration .event-submit { margin-top:9px; }
#event-registration .event-form-message { margin:12px 0 0; }
#event-registration .event-form-message.is-success { padding:13px; border:1px solid #cfe5d6; border-radius:8px; background:#f2faf4; color:#24623d; }
@media(max-width:600px) {
  #event-registration .event-form-grid { grid-template-columns:1fr; }
  #event-registration .event-participant { grid-template-columns:1fr; }
  #event-registration .event-participant label:nth-of-type(3) { grid-column:auto; }
}

/* Event detail: formulir berada di bawah informasi dan batas pendaftaran, dengan lebar penuh. */
.event-detail-layout { display:block !important; }
.event-detail-main { width:100%; min-width:0; }
.event-form-panel { width:100%; box-sizing:border-box; margin-top:28px; padding:clamp(20px,3vw,34px); }
.event-form-panel > .eyebrow, .event-form-panel > h3, .event-form-panel > .event-form-intro { max-width:820px; }
#event-registration { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:30px; align-items:start; }
#event-registration .event-form-kicker, #event-registration .event-form-section:last-of-type, #event-registration .event-submit, #event-registration .event-form-message { grid-column:1/-1; }
#event-registration .event-form-section { min-width:0; }
#event-registration .event-form-section:nth-of-type(1), #event-registration .event-form-section:nth-of-type(2) { grid-column:span 1; }
#event-registration .event-form-section:nth-of-type(3) { grid-column:1/-1; }
#event-registration select { display:block; box-sizing:border-box; width:100%; margin-top:6px; border:1px solid #d7e1eb; border-radius:7px; padding:10px 11px; background:#fff; color:#213b59; font:inherit; font-size:13px; }
#event-registration select:focus { outline:2px solid #9bbce2; outline-offset:1px; border-color:#477db7; }
@media(max-width:760px) { #event-registration { display:flex; } .event-form-panel { margin-top:20px; padding:17px; } }
@media(min-width:761px) {#event-registration .event-form-section:nth-of-type(2) {grid-column:1/-1;}#event-registration .event-form-section:nth-of-type(3) {grid-column:span 1;}}

/* Upload gambar event dari perangkat */
.event-image-upload {margin:16px 0;padding:16px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafc}.event-image-upload>label {display:block;margin-bottom:9px;color:#244568;font-weight:750}.event-image-upload>label small,.event-image-upload>small {color:#718198;font-weight:450;font-size:12px}.event-image-upload input[type=file] {display:block;width:100%;box-sizing:border-box;padding:12px;border:1px dashed #aebfd2;border-radius:9px;background:#fff;color:#425a75;font:inherit;font-size:13px}.event-image-preview {position:relative;width:min(100%,520px);margin-top:13px;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#e8eef5}.event-image-preview img {width:100%;height:100%;object-fit:cover}.event-image-preview button {position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;border-radius:50%;background:#fff;color:#9b302b;font-size:22px;cursor:pointer;box-shadow:0 2px 8px #0002}.event-image-upload>small {display:block;margin-top:9px;line-height:1.55}

/* Event detail v6 — susunan ringkas, proporsional, dan nyaman di desktop/mobile. */
.event-detail { max-width:var(--content); }
.event-detail-layout { display:block !important; }
.event-detail-main { width:100%; min-width:0; }
.event-overview { display:grid; grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr); gap:24px; align-items:center; }
.event-detail-image { width:100%; height:auto; aspect-ratio:16/9; max-height:none; object-fit:cover; margin:0; border-radius:11px; }
.event-overview-copy { min-width:0; }
.event-overview-tags { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.event-overview-copy .event-date { margin:12px 0 5px; }
.event-overview-copy h2 { margin:5px 0 9px; font-size:clamp(23px,2.2vw,31px); line-height:1.25; }
.event-overview-copy .event-description { font-size:14px; line-height:1.65; }
.event-info-block { margin-top:20px; padding:17px 19px; }
.event-info-block h3 { margin-bottom:12px; }
.event-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 22px; }
.event-info-grid>div { min-width:0; margin:0 !important; }
.event-info-grid>div>strong { font-size:12px; }
.event-info-grid p { font-size:13px; line-height:1.55; }
.event-info-grid .event-timeline { margin-top:6px; }
.event-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 18px; margin-top:17px; padding:12px 15px; border:1px solid #e5ebf2; border-radius:9px; background:#f8fafc; }
.event-facts div { display:block; min-width:0; padding:4px 0; border:0; }
.event-facts dt { margin-bottom:4px; font-size:11px; }
.event-facts dd { font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.event-form-panel { margin-top:22px; padding:23px 25px; }
.event-form-panel > .eyebrow { margin-bottom:4px; }
.event-form-panel h3 { margin:3px 0 5px; }
.event-form-intro { margin-bottom:12px; }
#event-registration { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:26px; row-gap:0; align-items:start; }
#event-registration .event-form-kicker,
#event-registration .event-form-section:last-of-type,
#event-registration .event-submit,
#event-registration .event-form-message { grid-column:1/-1; }
#event-registration .event-form-section { min-width:0; margin-bottom:8px; padding-top:11px; }
#event-registration .event-form-section:nth-of-type(1),
#event-registration .event-form-section:nth-of-type(2),
#event-registration .event-form-section:nth-of-type(3) { grid-column:span 1; }
#event-registration .event-form-section legend { margin-bottom:2px; }
#event-registration .event-form-grid { gap:0 12px; margin-top:9px; }
#event-registration .event-form-section label { margin-bottom:9px; font-size:12px; }
#event-registration .event-form-section input:not([type=checkbox]),
#event-registration .event-form-section textarea,
#event-registration select { margin-top:4px; padding:9px 10px; font-size:12.5px; }
#event-registration .event-form-section textarea { min-height:60px; }
#event-registration .event-participant { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 10px; padding:10px; }
#event-registration .event-participant label:nth-of-type(3) { grid-column:1/-1; }
#event-registration .event-participants-head { margin:4px 0 8px; }
#event-registration .event-privacy-note { margin:3px 0 9px; padding:9px 11px; }
#event-registration .event-consent { margin:7px 0; }
#event-registration .event-submit { margin-top:7px; }
@media(max-width:900px) {
 .event-overview { grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr); gap:18px; }
 .event-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .event-form-panel { padding:20px; }
}
@media(max-width:680px) {
 .event-detail-top { margin-bottom:10px; }
 .event-overview { grid-template-columns:1fr; gap:12px; }
 .event-detail-image { aspect-ratio:16/7; max-height:210px; }
 .event-overview-copy .event-date { margin-top:8px; }
 .event-overview-copy h2 { font-size:22px; margin:4px 0 7px; }
 .event-overview-copy .event-description { font-size:13px; line-height:1.55; }
 .event-info-block { margin-top:14px; padding:13px 14px; }
 .event-info-grid { grid-template-columns:1fr 1fr; gap:10px 14px; }
 .event-info-block p { font-size:12px; }
 .event-facts { margin-top:12px; padding:9px 11px; gap:6px 12px; }
 .event-facts dt { font-size:10px; }
 .event-facts dd { font-size:11.5px; }
 .event-form-panel { margin-top:15px; padding:15px; }
 .event-form-panel h3 { font-size:18px; }
 .event-form-intro { font-size:12px; line-height:1.5; margin-bottom:8px; }
 #event-registration { display:grid; grid-template-columns:1fr; }
 #event-registration .event-form-kicker,
 #event-registration .event-form-section,
 #event-registration .event-submit,
 #event-registration .event-form-message { grid-column:1; }
 #event-registration .event-form-section { margin-bottom:5px; padding-top:9px; }
 #event-registration .event-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 9px; }
 #event-registration .event-form-section label { margin-bottom:8px; font-size:11px; }
 #event-registration .event-form-section input:not([type=checkbox]),
 #event-registration .event-form-section textarea,
 #event-registration select { padding:8px 9px; font-size:12px; }
 #event-registration .event-form-section textarea { min-height:54px; }
 #event-registration .event-participant { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding:9px; }
 #event-registration .event-participant label { font-size:10.5px; }
 #event-registration .event-participant label:nth-of-type(3) { grid-column:1/-1; }
 #event-registration .event-consent { font-size:10.5px; line-height:1.45; }
 #event-registration .event-privacy-note p { font-size:10.5px; }
}
@media(max-width:390px) {
 .event-info-grid { grid-template-columns:1fr; }
 #event-registration .event-form-grid { grid-template-columns:1fr; }
 #event-registration .event-participant { grid-template-columns:1fr; }
 #event-registration .event-participant label:nth-of-type(3) { grid-column:auto; }
}
@media(min-width:681px) {#event-registration .event-form-section:last-of-type {grid-column:1/-1;}}

/* Hasil pendaftar ditampilkan langsung dari masing-masing event untuk admin. */
.event-results { border:1px solid #c9d9ec; border-radius:7px; padding:7px 11px; background:#edf4fc; color:#17477f; font-size:12px; font-weight:750; cursor:pointer; }
.event-results:hover { background:#e2eefb; border-color:#9db9dc; }
.event-detail-admin { flex-wrap:wrap; justify-content:flex-end; }
.event-results-dialog { width:min(900px,calc(100vw - 28px)); max-width:900px; max-height:min(88vh,900px); overflow:auto; }
.event-results-content { padding:0; }
.event-results-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:18px 0 12px; }
.event-results-status { margin:0; color:#53677f; font-size:13px; font-weight:650; }
.event-results-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0 16px; }
.event-results-summary>div { display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid #e2e9f1; border-radius:10px; background:#f7f9fc; }
.event-results-summary strong { color:#17477f; font-size:22px; }
.event-results-summary span { color:#65778d; font-size:12px; }
.event-results-list { display:grid; gap:10px; }
.event-result-row { padding:14px 16px; border:1px solid #e2e9f1; border-radius:10px; background:#fff; }
.event-result-row strong { display:block; color:#203f63; font-size:14px; }
.event-result-row small { display:block; margin:4px 0 9px; color:#718096; font-size:11.5px; }
.event-result-row p { margin:5px 0; color:#53677f; font-size:12.5px; line-height:1.5; overflow-wrap:anywhere; }
.event-result-row a { color:#17477f; font-weight:700; text-decoration:underline; }
@media(max-width:600px) {
 .event-admin-actions { flex-wrap:wrap; }
 .event-detail-top { align-items:flex-start; flex-direction:column; }
 .event-detail-admin { width:100%; justify-content:flex-start; }
 .event-results-toolbar { align-items:stretch; flex-direction:column; }
 .event-results-toolbar .event-submit { width:100%; }
 .event-results-summary { gap:7px; }
 .event-results-summary>div { padding:10px; }
 .event-result-row { padding:12px; }
}
.event-results-dialog .event-results-content { padding:26px; }
@media(max-width:520px) { .event-results-dialog .event-results-content { padding:18px; } }

/* Event v8 — pengaturan kategori per pilihan dan kontrol yang lebih presisi. */
.event-model-fields[data-model-fields="agenda"] { margin:14px 0; padding:15px; border:1px solid #e1e8f0; border-radius:10px; background:#f8fafc; }
.event-model-fields[data-model-fields="agenda"][hidden] { display:none !important; }
.event-model-fields[data-model-fields="agenda"] h3 { margin:0 0 10px; color:#17477f; font-size:15px; }
.event-create-dialog .event-admin-check { display:flex; align-items:center; gap:9px; margin:0 0 5px; line-height:1.45; }
.event-create-dialog .event-admin-check input { flex:0 0 auto; width:16px; height:16px; margin:0; accent-color:#17477f; }
.event-create-dialog [hidden] { display:none !important; }
.event-create-dialog .event-dialog-close { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; padding:0; border-radius:50%; font-family:Arial,sans-serif; font-size:21px; font-weight:500; line-height:1; }
.event-create-dialog .event-dialog-actions .event-submit { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:0; max-width:max-content; flex:0 0 auto; padding:10px 15px; }
.event-create-dialog .event-dialog-actions { align-items:center; }
.event-create-dialog .event-dialog-row label small { margin-left:0; }
#event-registration .event-submit { display:inline-flex; justify-self:end; align-items:center; justify-content:center; width:max-content; min-width:0; max-width:100%; justify-self:start; gap:10px; padding:10px 15px; }
#event-registration .event-submit span { margin-left:3px; }
#event-registration .event-consent { display:grid; grid-template-columns:16px minmax(0,1fr); align-items:start; column-gap:9px; }
#event-registration .event-consent input { display:block; width:15px; height:15px; margin:2px 0 0; padding:0; align-self:start; justify-self:start; }
.event-dialog-close:focus-visible, #event-registration .event-submit:focus-visible { outline:2px solid #7da5d1; outline-offset:2px; }
@media (max-width:1180px) {
  .site-navigation .nav-chevron { margin-left:8px !important; margin-right:0 !important; }
}
@media (max-width:760px) {
  .event-create-dialog form { padding:18px; }
  .event-create-dialog .event-dialog-head { align-items:flex-start; gap:10px; }
  .event-create-dialog .event-dialog-head h2 { font-size:21px; }
  .event-create-dialog .event-dialog-close { flex-basis:34px; width:34px; height:34px; }
  .event-create-dialog .event-dialog-actions { justify-content:flex-end; }
  .event-create-dialog .event-dialog-actions .event-submit { min-width:125px; }
  #event-registration .event-submit { min-width:0; }
}
@media (max-width:420px) {
  #event-registration .event-submit { width:100%; max-width:100%; justify-self:stretch; }
  .event-create-dialog .event-dialog-actions .event-submit { width:auto; }
}
@media (max-width:420px) {
  #event-registration .event-submit { width:max-content; max-width:100%; min-width:0; justify-self:start; padding:10px 13px; }
}
.event-dialog-close, .event-image-preview button { box-sizing:border-box; display:grid; place-items:center; line-height:1; }
.event-remove-person { display:grid; place-items:center; line-height:1; padding:0; }
#event-registration [hidden] { display:none !important; }

/* Berita: kategori, berbagi, dan komentar publik */
.news-toolbar { align-items:end; }
.news-category-filter { min-width:190px; }
.news-card-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:12px; }
.news-card-meta .news-card-date { margin:0; }
.news-category-pill,.nd-category { display:inline-flex; align-items:center; width:max-content; max-width:100%; padding:5px 11px; border-radius:999px; background:#edf3fb; color:#214d80; font-size:12px; line-height:1.3; font-weight:750; letter-spacing:.02em; }
.nd-category { margin:0 0 13px; }
.nd-share-tools { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:18px 0 22px; padding:12px 14px; border:1px solid #e3eaf2; border-radius:12px; background:#f8fafc; }
.nd-share-tools strong { margin-right:auto; color:#34465b; font-size:13px; }
.nd-share-tools button,.nd-share-tools a { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:8px 13px; border:1px solid #d4deea; border-radius:8px; background:#fff; color:#1e4779; text-decoration:none; font-size:13px; font-weight:700; cursor:pointer; }
.nd-share-tools button:hover,.nd-share-tools a:hover { background:#edf4fb; }
.nd-share-status { flex-basis:100%; color:#39734e; font-size:12px; }
.nd-comment-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
@media (max-width:760px) {
  .news-toolbar { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .news-search { grid-column:1/-1; }
  .news-category-filter { min-width:0; }
  .nd-share-tools { gap:7px; padding:10px; }
  .nd-share-tools strong { flex-basis:100%; }
  .nd-share-tools button,.nd-share-tools a { flex:1 1 auto; }
}
@media (max-width:420px) {
  .news-toolbar { grid-template-columns:1fr; }
  .news-search { grid-column:auto; }
}

/* Unggah PDF ketentuan teknis pada pengelolaan Event */
.event-model-fields[hidden],.event-pdf-current[hidden],.event-pdf-remove[hidden] { display:none!important; }
.event-pdf-upload { display:grid; gap:9px; margin:12px 0; padding:14px; border:1px dashed #c7d5e5; border-radius:10px; background:#f8fbff; }
.event-pdf-upload > label { margin:0; font-weight:750; }
.event-pdf-upload > label small { color:#7b899a; font-weight:500; }
.event-pdf-upload input[type=file] { display:block; width:100%; max-width:100%; padding:9px; border:1px solid #d8e1eb; border-radius:7px; background:#fff; font-size:12px; }
.event-pdf-upload > small { color:#76869a; font-size:11px; line-height:1.55; }
.event-pdf-current a { color:#1b568d; font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.event-pdf-remove { justify-self:start; padding:6px 10px; border:1px solid #e4caca; border-radius:7px; background:#fff; color:#a04444; font-size:12px; cursor:pointer; }
.event-create-dialog .event-dialog-close:disabled { opacity:.5; cursor:wait; }
@media (max-width:760px) {
  .event-pdf-upload { padding:11px; }
  .event-pdf-upload input[type=file] { font-size:11px; }
}
.home-mini-meta { display:flex; align-items:center; flex-wrap:wrap; gap:7px 9px; margin-bottom:3px; }
.home-mini-meta > span { display:inline-flex; padding:2px 8px; border-radius:999px; background:#edf3fb; color:#28547f; font-size:10px; line-height:1.35; font-weight:750; }

/* Bagikan: ikon sosial ringkas seperti referensi. */
.korpri-share { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; margin:22px 0 26px; padding:17px 0; border-top:1px solid #e3e8ef; border-bottom:1px solid #e3e8ef; }
.korpri-share-label { margin-right:2px; color:#23405f; font-size:13px; font-weight:500; }
.korpri-share-icon { display:inline-flex; flex:none; align-items:center; justify-content:center; width:36px; height:36px; padding:0; border:0; border-radius:50%; color:#fff; text-decoration:none; cursor:pointer; transition:transform .16s ease,filter .16s ease; }
.korpri-share-icon:hover { transform:translateY(-2px); filter:brightness(.94); }
.korpri-share-icon svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.korpri-share-icon.is-whatsapp { background:#18c66a; }
.korpri-share-icon.is-facebook { background:#1877f2; }
.korpri-share-icon.is-facebook svg { width:23px; height:23px; }
.korpri-share-icon.is-x { background:#111418; }
.korpri-share-icon.is-x svg { width:17px; height:17px; }
.korpri-share-icon.is-copy { background:#9ba0a6; }
.korpri-share-status { flex-basis:100%; min-height:0; color:#39734e; font-size:11px; line-height:1.4; }
.korpri-share-status:empty { display:none; }
.pub-card-share { gap:7px; margin:0; padding:9px 0 0; border:0; }
.pub-card-share .korpri-share-label { font-size:11px; }
.pub-card-share .korpri-share-icon { width:27px; height:27px; }
.pub-card-share .korpri-share-icon svg { width:15px; height:15px; }
.pub-card-share .korpri-share-icon.is-x svg { width:13px; height:13px; }
.pub-card-share .korpri-share-status { font-size:10px; }
.event-card-share { margin:14px 0 0; padding:10px 0 0; border-top:1px solid #edf0f4; border-bottom:0; }
.event-detail-share { margin-top:22px; }
.nd-side-categories { margin-top:24px; padding-top:18px; border-top:1px solid #e5eaf0; }
.nd-side-categories h2 { margin:0 0 12px; color:#183a62; font-size:14px; font-weight:650; }
.nd-side-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.nd-side-category-grid a { display:flex; align-items:center; justify-content:center; min-height:38px; padding:7px 9px; border:1px solid #d9e2ed; border-radius:6px; color:#526985; background:#fff; font-size:11.5px; font-weight:650; line-height:1.35; text-align:center; text-decoration:none; }
.nd-side-category-grid a:first-child,.nd-side-category-grid a:hover { border-color:#0f3157; color:#fff; background:#0f3157; }
/* Detail publikasi agar berbagi selalu menuju halaman internal dengan sampul yang dikenali crawler. */
.pub-detail-page { min-height:60vh; padding-block:28px 58px; background:#fff; }
.pub-detail-article { max-width:1100px; margin-inline:auto; }
.pub-detail-back { display:inline-flex; margin:0 0 20px; color:#31577f; font-size:13px; font-weight:650; text-decoration:none; }
.pub-detail-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:34px; align-items:start; }
.pub-detail-cover { overflow:hidden; border-radius:9px; background:#edf2f8; }
.pub-detail-cover img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.pub-detail-copy { min-width:0; }
.pub-detail-category { display:inline-flex; margin:0 0 12px; padding:5px 11px; border-radius:999px; color:#1b5b9e; background:#e9f3ff; font-size:12px; font-weight:750; }
.pub-detail-copy h1 { margin:0 0 12px; color:#102e55; font-size:clamp(24px,3vw,36px); line-height:1.25; }
.pub-detail-meta { margin:0 0 16px; color:#77879a; font-size:12px; }
.pub-detail-description,.pub-detail-body { color:#465b73; font-size:15px; line-height:1.8; }
.pub-detail-description { margin:0 0 18px; }
.pub-detail-source { display:inline-flex; align-items:center; gap:8px; min-height:39px; padding:9px 14px; border-radius:6px; color:#fff; background:#164d86; font-size:13px; font-weight:700; text-decoration:none; }
.pub-detail-share { margin-top:22px; }
.pub-detail-body { max-width:820px; margin:30px auto 0; padding-top:22px; border-top:1px solid #e7edf3; }
.pub-detail-loading,.pub-detail-not-found { padding:28px; color:#61758d; }
@media (max-width:760px) {
  .korpri-share { gap:9px; padding:14px 0; }
  .korpri-share-icon { width:34px; height:34px; }
  .pub-card-share { gap:6px; padding-top:7px; }
  .pub-card-share .korpri-share-icon { width:26px; height:26px; }
  .event-card-share { margin-top:11px; }
  .pub-detail-grid { grid-template-columns:1fr; gap:18px; }
  .pub-detail-copy h1 { font-size:25px; }
  .pub-detail-cover img { aspect-ratio:16/9; }
  .nd-side-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.event-timeline-toggle { display:flex!important; align-items:center; gap:9px; margin:0 0 7px; color:#294967; font-weight:700; }
.event-timeline-toggle input { flex:none; margin:0; }
#event-timeline-settings[hidden] { display:none!important; }
/* Sakelar opsional Timeline kegiatan. */
.event-timeline-toggle input[type="checkbox"] { appearance:none; -webkit-appearance:none; position:relative; width:42px; height:24px; flex:none; margin:0; border:0; border-radius:999px; background:#c6cfda; cursor:pointer; transition:background .18s ease; }
.event-timeline-toggle input[type="checkbox"]::before { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(10,35,60,.22); transition:transform .18s ease; }
.event-timeline-toggle input[type="checkbox"]:checked { background:#1d6aa8; }
.event-timeline-toggle input[type="checkbox"]:checked::before { transform:translateX(18px); }
.event-timeline-toggle input[type="checkbox"]:focus-visible { outline:3px solid rgba(29,106,168,.25); outline-offset:3px; }

/* Penyederhanaan kartu Kegiatan di ponsel: judul langsung diikuti tautan detail. */
@media (max-width: 600px) {
  .event-page .event-card-body {
    align-items: stretch;
    gap: 0;
  }
  .event-page .event-card-body > .event-date,
  .event-page .event-card-body > p:not(.event-date),
  .event-page .event-card-meta {
    display: none !important;
  }
  /* Status (Pendaftaran dibuka / ditutup / Selesai) tetap tampil di atas judul agar terlihat apakah kegiatan masih berjalan. */
  .event-page .event-card-body > .event-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    max-width: 100%;
    min-height: 24px;
    margin: 0 0 8px;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
  }
  .event-page .event-card h2 {
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.38;
  }
  .event-page .event-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: #f1f5fa;
    color: #17477f;
    font-size: 11.5px;
    line-height: 1.25;
    white-space: nowrap;
  }
  .event-page .event-link b { margin-left: 8px; }
}

/* Header & footer mobile: "KORPRI" di atas, "KABUPATEN SEMARANG" di bawahnya (dua baris). */
@media (max-width: 560px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { min-width: 0; max-width: 100%; }
  .brand-copy { min-width: 0; flex-direction: column; align-items: stretch; white-space: nowrap; }
}

/* Mobile share controls: keep the label and all four actions on a single row. */
@media (max-width:760px) {
  .korpri-share:not(.pub-card-share):not(.event-card-share) {
    display:grid !important;
    grid-template-columns:max-content repeat(4,30px);
    align-items:center;
    justify-content:start;
    gap:6px;
    width:max-content;
    max-width:100%;
    flex-wrap:nowrap;
  }
  .korpri-share:not(.pub-card-share):not(.event-card-share) .korpri-share-label {
    margin:0;
    white-space:nowrap;
    font-size:11px;
  }
  .korpri-share:not(.pub-card-share):not(.event-card-share) .korpri-share-icon {
    width:30px;
    height:30px;
  }
  .korpri-share:not(.pub-card-share):not(.event-card-share) .korpri-share-status {
    grid-column:1 / -1;
  }

  .korpri-share.pub-card-share {
    display:grid !important;
    grid-template-columns:max-content repeat(4,20px);
    align-items:center;
    justify-content:start;
    gap:3px;
    width:max-content;
    max-width:100%;
    flex-wrap:nowrap;
  }
  .korpri-share.pub-card-share .korpri-share-label {
    margin:0;
    white-space:nowrap;
    font-size:10px;
  }
  .korpri-share.pub-card-share .korpri-share-icon {
    width:20px;
    height:20px;
  }
  .korpri-share.pub-card-share .korpri-share-icon svg {
    width:12px;
    height:12px;
  }
  .korpri-share.pub-card-share .korpri-share-icon.is-facebook svg { width:14px; height:14px; }
  .korpri-share.pub-card-share .korpri-share-icon.is-x svg { width:11px; height:11px; }
  .korpri-share.pub-card-share .korpri-share-status { grid-column:1 / -1; }

  .korpri-share.event-card-share {
    display:grid !important;
    grid-template-columns:max-content repeat(4,21px);
    align-items:center;
    justify-content:start;
    gap:3px;
    width:max-content;
    max-width:100%;
    flex-wrap:nowrap;
  }
  .korpri-share.event-card-share .korpri-share-label {
    margin:0;
    white-space:nowrap;
    font-size:10px;
  }
  .korpri-share.event-card-share .korpri-share-icon {
    width:21px;
    height:21px;
  }
  .korpri-share.event-card-share .korpri-share-icon svg { width:12px; height:12px; }
  .korpri-share.event-card-share .korpri-share-icon.is-facebook svg { width:14px; height:14px; }
  .korpri-share.event-card-share .korpri-share-icon.is-x svg { width:11px; height:11px; }
  .korpri-share.event-card-share .korpri-share-status { grid-column:1 / -1; }
}

/* Kegiatan v13 — satu sistem tipografi dan tata letak yang konsisten. */
.event-page,
.event-detail,
.event-create-dialog,
.event-results-dialog {
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.event-page *,
.event-detail *,
.event-create-dialog *,
.event-results-dialog * { font-family: inherit; }
.event-page h1,.event-page h2,.event-page h3,
.event-detail h1,.event-detail h2,.event-detail h3,
.event-create-dialog h1,.event-create-dialog h2,.event-create-dialog h3,
.event-results-dialog h1,.event-results-dialog h2,.event-results-dialog h3 {
  font-family: var(--font);
  letter-spacing: -.018em;
}
.event-page { padding-block: 30px 48px; background: #f7f9fc; }
.event-page .container { width: min(calc(100% - 44px), var(--content)); }
.event-toolbar { align-items: center; gap: 20px; margin: 0 0 22px; }
.event-toolbar h2 { margin: 2px 0 5px; color: #173c70; font-size: clamp(23px,2.2vw,29px); font-weight: 750; line-height: 1.22; }
.event-toolbar p:not(.eyebrow) { margin: 0; color: #68798d; font-size: 14px; line-height: 1.55; }
.event-add { flex: 0 0 auto; min-height: 40px; padding: 9px 15px; border-radius: 8px; font-size: 13px; }
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 18px; }
.event-card { min-width: 0; border: 1px solid #e3eaf2; border-radius: 12px; box-shadow: 0 3px 12px rgba(22,58,98,.045); }
.event-card-media { aspect-ratio: 16/9; }
.event-card-body { min-width: 0; padding: 16px; }
.event-status { min-height: 24px; padding: 4px 9px; font-size: 11px; font-weight: 700; line-height: 1.35; }
.event-date { margin: 10px 0 6px; color: #78879a; font-size: 12px; font-weight: 550; line-height: 1.45; }
.event-card h2 { margin: 0 0 8px; color: #173c70; font-size: 17px; font-weight: 720; line-height: 1.35; overflow-wrap: anywhere; }
.event-card-body>p:not(.event-date) { display: -webkit-box; margin: 0; color: #64758a; font-size: 13px; font-weight: 400; line-height: 1.58; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.event-card-meta { margin-top: auto; padding: 12px 0 8px; color: #66788e; font-size: 11.5px; line-height: 1.45; }
.event-link { min-height: 38px; padding-top: 10px; color: #17477f; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.event-card-share { margin: 10px 0 0; padding: 9px 0 0; gap: 6px; }
.event-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; width: 100%; margin-top: 12px; }
.event-admin-actions button,.event-detail-admin button { min-height: 34px; padding: 7px 11px; font-family: var(--font); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.event-empty { border: 1px dashed #d7e1ec; border-radius: 12px; background: #fff; }
.event-empty strong { color: #284b70; font-size: 16px; }
.event-empty p,.event-loading { font-size: 13px; line-height: 1.6; }

.event-detail { width: min(100%,var(--content)); max-width: var(--content); margin-inline: auto; }
.event-detail-top { align-items: center; margin: 0 0 15px; }
.event-back { color: #315b86; font-size: 12.5px; font-weight: 650; }
.event-detail-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.event-overview { display: grid; grid-template-columns: minmax(260px,.88fr) minmax(0,1.12fr); gap: 26px; align-items: center; }
.event-detail-image { display: block; width: 100%; height: auto; aspect-ratio: 16/9; max-height: 360px; margin: 0; border-radius: 12px; object-fit: cover; background: #edf2f7; }
.event-overview-copy { min-width: 0; }
.event-overview-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.event-model-label { margin: 0; padding: 5px 9px; font-size: 11px; line-height: 1.3; }
.event-overview-copy .event-date { margin: 12px 0 5px; font-size: 12px; }
.event-overview-copy h2 { margin: 4px 0 10px; color: #173c70; font-size: clamp(24px,2.5vw,32px); font-weight: 760; line-height: 1.2; overflow-wrap: anywhere; }
.event-description { color: #5d7087; font-size: 14px; font-weight: 400; line-height: 1.72; }
.event-info-block { margin-top: 20px; padding: 19px 21px; border: 1px solid #e3eaf2; border-radius: 12px; }
.event-info-block h3 { margin: 0 0 13px; color: #1c426d; font-size: 17px; font-weight: 740; line-height: 1.3; }
.event-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; }
.event-info-grid>div { min-width: 0; margin: 0; }
.event-info-grid>div>strong,.event-document>strong { color: #36516f; font-size: 12px; font-weight: 720; }
.event-info-grid p,.event-document p { margin: 5px 0 0; color: #5f7187; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.event-document { margin: 0; padding: 13px 14px; border-radius: 9px; background: #f5f8fc; }
.event-document a { margin-top: 9px; font-size: 12.5px; font-weight: 700; }
.event-facts { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px 18px; margin-top: 18px; padding: 13px 16px; border: 1px solid #e3eaf2; border-radius: 11px; background: #f8fafc; }
.event-facts div { min-width: 0; padding: 3px 0; }
.event-facts dt { margin: 0 0 4px; color: #7a899b; font-size: 11px; font-weight: 600; line-height: 1.4; }
.event-facts dd { margin: 0; color: #334e6b; font-size: 12.5px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.event-timeline { display: grid; gap: 8px; margin-top: 8px; }
.event-timeline-item { padding: 10px 13px; border-radius: 8px; background: #f5f8fc; color: #405975; font-size: 12.5px; line-height: 1.45; }
.event-timeline-item strong { font-weight: 700; }
.event-timeline-item span { color: #718197; font-size: 12px; }
.event-detail-share { margin: 21px 0 3px; }

.event-form-panel { width: 100%; max-width: none; margin-top: 23px; padding: clamp(18px,2.5vw,28px); border: 1px solid #e1e8f0; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(13,51,92,.045); }
.event-form-panel>.eyebrow { margin: 0 0 5px; font-size: 11px; }
.event-form-panel h3 { margin: 0 0 7px; color: #173c70; font-size: 21px; font-weight: 750; line-height: 1.28; }
.event-form-intro { max-width: 850px; margin: 0 0 17px; color: #6a7b90; font-size: 13px; line-height: 1.6; }
#event-registration { display: flex !important; flex-direction: column; gap: 0; width: 100%; }
#event-registration .event-form-kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 11px; color: #7a899b; font-size: 10.5px; line-height: 1.4; }
#event-registration .event-form-section { width: 100%; margin: 0 0 12px; padding: 15px 0 3px; border: 0; border-top: 1px solid #e7edf3; }
#event-registration .event-form-section legend { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; color: #254a72; font-size: 13px; font-weight: 750; }
#event-registration .event-form-section legend>span { width: 25px; height: 25px; border-radius: 7px; font-size: 10px; }
#event-registration .event-form-section label { min-width: 0; margin: 0 0 12px; color: #455c76; font-size: 12.5px; font-weight: 650; line-height: 1.45; }
#event-registration .event-form-section label small { color: #8895a5; font-size: 10.5px; font-weight: 450; }
#event-registration .event-form-section input:not([type=checkbox]),
#event-registration .event-form-section select,
#event-registration .event-form-section textarea { width: 100%; min-width: 0; margin-top: 6px; padding: 10px 11px; border: 1px solid #d8e1eb; border-radius: 8px; background: #fff; color: #2d435d; font-family: var(--font); font-size: 13px; font-weight: 450; line-height: 1.45; }
#event-registration .event-form-section textarea { min-height: 78px; }
#event-registration .event-participant { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; padding: 13px; border-color: #e1e8f0; border-radius: 10px; background: #f8fafc; }
#event-registration .event-participant-index { color: #2b5b8a; font-size: 10px; font-weight: 800; letter-spacing: .055em; }
#event-registration .event-participant label { margin: 0; font-size: 11.5px; }
#event-registration .event-participant label:nth-of-type(3) { grid-column: 1/-1; }
#event-registration .event-participant input { margin-top: 5px !important; }
#event-registration .event-remove-person { top: 8px; right: 8px; width: 25px; height: 25px; }
#event-registration .event-consent { display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: start; gap: 9px; margin: 10px 0; color: #5e7086; font-size: 11.5px; line-height: 1.55; }
#event-registration .event-consent input { width: 15px; height: 15px; margin: 2px 0 0; padding: 0; }
#event-registration .event-submit { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: max-content; max-width: 100%; min-height: 42px; margin-top: 8px; padding: 10px 16px; border-radius: 8px; font-family: var(--font); font-size: 13px; font-weight: 750; }
#event-registration .event-form-message { margin: 11px 0 0; color: #9c3b36; font-size: 12.5px; line-height: 1.55; }
#event-registration .event-form-message.is-success { padding: 13px; border: 1px solid #cfe5d6; border-radius: 9px; background: #f2faf4; color: #24623d; }
.event-no-registration { max-width: 100%; }

.event-create-dialog { width: min(820px,calc(100vw - 32px)); max-width: 820px; max-height: min(90dvh,920px); margin: auto; padding: 0; overflow: auto; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; box-shadow: 0 22px 70px rgba(16,45,76,.28); }
.event-create-dialog::backdrop,.event-results-dialog::backdrop { background: rgba(12,31,54,.58); backdrop-filter: blur(3px); }
.event-create-dialog form { display: block; padding: clamp(18px,3vw,30px); }
.event-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0 0 22px; }
.event-dialog-head>div { min-width: 0; }
.event-dialog-head .eyebrow { margin: 0 0 4px; font-size: 10.5px; }
.event-dialog-head h2 { margin: 0; color: #173c70; font-size: 24px; font-weight: 760; line-height: 1.2; }
.event-create-dialog .event-dialog-subtitle { margin: 6px 0 0; color: #718196; font-size: 12.5px; line-height: 1.55; }
.event-dialog-close { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid #e2e9f0; border-radius: 50%; background: #f3f6fa; color: #36516e; font-family: Arial,sans-serif; font-size: 21px; font-weight: 500; line-height: 1; cursor: pointer; }
.event-dialog-close:hover:not(:disabled) { border-color: #cbd9e8; background: #eaf1f8; }
.event-create-dialog label { display: block; min-width: 0; margin: 0 0 14px; color: #405873; font-size: 12.5px; font-weight: 680; line-height: 1.45; }
.event-create-dialog input:not([type=checkbox]),.event-create-dialog input[type=date],.event-create-dialog textarea,.event-create-dialog select { display: block; box-sizing: border-box; width: 100%; min-width: 0; margin-top: 6px; padding: 10px 11px; border: 1px solid #d7e1eb; border-radius: 8px; background: #fff; color: #2b435e; font-family: var(--font); font-size: 13px; font-weight: 450; line-height: 1.45; }
.event-create-dialog textarea { min-height: 78px; resize: vertical; }
.event-create-dialog input:focus,.event-create-dialog textarea:focus,.event-create-dialog select:focus { outline: 2px solid #a9c3df; outline-offset: 1px; border-color: #739bc4; }
.event-create-dialog label small { display: block; margin: 5px 0 0; color: #8290a1; font-size: 10.5px; font-weight: 450; line-height: 1.5; }
.event-create-dialog .event-dialog-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.event-create-dialog .event-model-fields[data-model-fields="submission"] { margin: 14px 0; padding: 15px; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc; }
.event-create-dialog .event-model-fields[data-model-fields="agenda"] { margin: 12px 0; padding: 14px; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc; }
.event-create-dialog .event-model-fields h3 { margin: 0 0 11px; color: #244d78; font-size: 15px; font-weight: 750; }
.event-create-dialog .event-admin-check { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 5px; line-height: 1.5; }
.event-create-dialog .event-admin-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #17477f; }
.event-timeline-editor { margin: 14px 0 16px; }
.event-timeline-editor>p { margin: 6px 0 10px; color: #75859a; font-size: 11px; line-height: 1.5; }
.event-timeline-fields { display: grid; gap: 8px; }
.event-timeline-field { display: grid; grid-template-columns: minmax(0,1fr) 155px 34px; gap: 8px; }
.event-timeline-field input { margin: 0 !important; }
.event-timeline-field button { display: grid; place-items: center; width: 34px; height: 38px; border: 1px solid #f0d9d7; border-radius: 8px; background: #fff5f4; color: #a23a36; font-size: 18px; cursor: pointer; }
.event-add-timeline { min-height: 36px; padding: 8px 11px; border: 1px solid #c6d6e7; border-radius: 8px; background: #fff; color: #17477f; font-family: var(--font); font-size: 11.5px; font-weight: 720; cursor: pointer; }
.event-add-timeline { margin-top: 9px; }
.event-image-upload,.event-pdf-upload { display: grid; gap: 8px; margin: 13px 0; padding: 13px; border: 1px dashed #cbd8e7; border-radius: 10px; background: #f8fbff; }
.event-image-upload>label,.event-pdf-upload>label { margin: 0; }
.event-image-upload input[type=file],.event-pdf-upload input[type=file] { width: 100%; max-width: 100%; margin: 0; padding: 9px; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; font-size: 11.5px; }
.event-image-upload>small,.event-pdf-upload>small { color: #7d8da0; font-size: 10.5px; line-height: 1.55; }
.event-image-preview { width: min(100%,440px); margin-top: 4px; }
.event-image-preview button { display: grid; place-items: center; padding: 0; }
.event-dialog-error { min-height: 0; margin: 12px 0 8px; color: #ad3434; font-size: 12px; line-height: 1.5; }
.event-dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #edf1f5; }
.event-dialog-cancel { min-height: 38px; padding: 8px 14px; border: 1px solid #d7e0ea; border-radius: 8px; background: #fff; color: #52657b; font-family: var(--font); font-size: 12px; font-weight: 700; cursor: pointer; }
.event-create-dialog .event-dialog-actions .event-submit { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 0; max-width: 100%; min-height: 38px; flex: 0 0 auto; margin: 0; padding: 8px 15px; border-radius: 8px; font-family: var(--font); font-size: 12px; font-weight: 750; }
.event-create-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.event-create-dialog [hidden],.event-model-fields[hidden],.event-pdf-current[hidden],.event-pdf-remove[hidden] { display: none !important; }

.event-results-dialog { width: min(900px,calc(100vw - 28px)); max-width: 900px; max-height: 90dvh; overflow: auto; border: 1px solid #dce5ef; border-radius: 15px; background: #fff; color: var(--ink); }
.event-results-dialog .event-results-content { padding: clamp(16px,3vw,26px); }
.event-results-dialog .event-dialog-head { margin: 0; }
.event-results-dialog .event-results-toolbar { align-items: center; gap: 12px; margin: 16px 0 12px; }
.event-results-dialog .event-submit { width: auto; min-height: 38px; padding: 8px 13px; font-family: var(--font); font-size: 12px; }
.event-results-dialog .event-result-row { padding: 14px; }
.event-results-dialog .event-result-row p { font-size: 12px; }
.event-operation-notice { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 auto 14px; padding: 11px 14px; border: 1px solid #cfe5d6; border-radius: 9px; background: #f2faf4; color: #24623d; font-family: var(--font); font-size: 12.5px; line-height: 1.5; }
.event-operation-notice.is-error { border-color: #f0d5d3; background: #fff6f5; color: #9e3632; }
.event-operation-notice.is-info { border-color: #d7e4f1; background: #f4f8fc; color: #345a80; }
.event-operation-notice button { flex: 0 0 24px; width: 24px; height: 24px; margin: -3px -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .event-overview { grid-template-columns: minmax(220px,.85fr) minmax(0,1.15fr); gap: 20px; }
  .event-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .event-page { padding-block: 22px 34px; }
  .event-page .container { width: min(calc(100% - 28px),var(--content)); }
  .event-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .event-toolbar h2 { font-size: 22px; }
  .event-toolbar p:not(.eyebrow) { font-size: 12.5px; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .event-card { border-radius: 10px; }
  .event-card-body { padding: 11px; }
  .event-status { min-height: 21px; padding: 3px 7px; font-size: 9.5px; }
  .event-date { margin: 8px 0 5px; font-size: 10.5px; }
  .event-card h2 { margin-bottom: 6px; font-size: 13.5px; line-height: 1.32; }
  .event-card-body>p:not(.event-date) { font-size: 11.5px; line-height: 1.45; -webkit-line-clamp: 3; }
  .event-card-meta { gap: 5px; padding: 8px 0 5px; font-size: 9.5px; }
  .event-link { min-height: 34px; gap: 4px; padding-top: 8px; font-size: 10.5px; }
  .event-card-share { gap: 3px; margin-top: 7px; padding-top: 7px; }
  .event-detail-top { align-items: flex-start; flex-direction: column; gap: 9px; }
  .event-detail-admin { justify-content: flex-start; }
  .event-overview { grid-template-columns: 1fr; gap: 14px; }
  .event-detail-image { aspect-ratio: 16/8.5; max-height: 260px; }
  .event-overview-copy h2 { font-size: 23px; }
  .event-description { font-size: 13px; line-height: 1.65; }
  .event-info-block { margin-top: 15px; padding: 14px; }
  .event-info-block h3 { font-size: 15.5px; }
  .event-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 13px; }
  .event-info-grid>div>strong { font-size: 11px; }
  .event-info-grid p,.event-document p { font-size: 12px; }
  .event-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; padding: 11px 12px; }
  .event-facts dt { font-size: 10px; }
  .event-facts dd { font-size: 11.5px; }
  .event-timeline-item { gap: 5px; padding: 9px 10px; font-size: 11.5px; }
  .event-form-panel { margin-top: 16px; padding: 16px 14px; }
  .event-form-panel h3 { font-size: 19px; }
  .event-form-intro { font-size: 12px; }
  #event-registration .event-form-section { padding-top: 12px; }
  #event-registration .event-participant { grid-template-columns: 1fr; gap: 9px; padding: 11px; }
  #event-registration .event-participant label:nth-of-type(3) { grid-column: auto; }
  #event-registration .event-consent { font-size: 10.8px; }
  #event-registration .event-submit { min-height: 40px; font-size: 12px; }
  .event-create-dialog { width: calc(100vw - 16px); max-height: 93dvh; border-radius: 12px; }
  .event-create-dialog form { padding: 16px 14px 18px; }
  .event-dialog-head { gap: 10px; margin-bottom: 17px; }
  .event-dialog-head h2 { font-size: 20px; }
  .event-create-dialog .event-dialog-subtitle { font-size: 11.5px; }
  .event-dialog-close { flex-basis: 34px; width: 34px; height: 34px; }
  .event-create-dialog label { margin-bottom: 12px; font-size: 11.5px; }
  .event-create-dialog input:not([type=checkbox]),.event-create-dialog input[type=date],.event-create-dialog textarea,.event-create-dialog select { padding: 9px 10px; font-size: 12.5px; }
  .event-create-dialog .event-dialog-row { grid-template-columns: 1fr; gap: 0; }
  .event-create-dialog .event-model-fields[data-model-fields="submission"],.event-create-dialog .event-model-fields[data-model-fields="agenda"] { padding: 11px; }
  .event-timeline-field { grid-template-columns: minmax(0,1fr) 112px 32px; gap: 5px; }
  .event-timeline-field button { width: 32px; }
  .event-dialog-actions { justify-content: flex-end; gap: 7px; }
  .event-dialog-cancel,.event-create-dialog .event-dialog-actions .event-submit { min-height: 36px; padding: 8px 11px; font-size: 11.5px; }
  .event-results-dialog .event-results-toolbar { align-items: flex-start; flex-direction: column; }
  .event-results-dialog .event-submit { width: auto; }
}
@media (max-width: 380px) {
  .event-page .container { width: calc(100% - 22px); }
  .event-grid { gap: 8px; }
  .event-card-body { padding: 9px; }
  .event-card h2 { font-size: 13px; }
  .event-card-body>p:not(.event-date) { font-size: 11.2px; }
  .event-facts,.event-info-grid { grid-template-columns: 1fr 1fr; }
  .event-timeline-field { grid-template-columns: 1fr 32px; }
  .event-timeline-field input[type=date] { grid-column: 1; }
  .event-timeline-field button { grid-column: 2; grid-row: 1 / span 2; }
}

/* =========================================================
   v15 — perapihan Kegiatan, Publikasi, formulir pendaftaran
   (blok ini sengaja diletakkan paling akhir agar menang atas aturan lama)
   ========================================================= */

/* 1) Pernyataan persetujuan: kotak centang selalu di KIRI teks, desktop & mobile.
      Sebelumnya `.event-form-section label { display:block }` mengalahkan `.event-consent`,
      sehingga kotak centang (display:block) turun ke baris sendiri di atas teks. */
#event-registration .event-form-section label.event-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  margin: 12px 0;
  color: #3c526d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
}
#event-registration .event-form-section label.event-consent > input[type="checkbox"] {
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  justify-self: start;
  accent-color: #1d578e;
  cursor: pointer;
}
#event-registration .event-form-section label.event-consent > span { min-width: 0; }
@media (max-width: 600px) {
  #event-registration .event-form-section label.event-consent { font-size: 12.5px; column-gap: 10px; }
}

/* 2) Dropdown: panah tidak lagi menempel di tepi kanan. */
#event-registration select,
#event-registration .event-form-section select,
.event-create-dialog select,
.event-create-dialog .event-dialog-row select,
.event-results-dialog select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317477f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
  text-overflow: ellipsis;
  cursor: pointer;
}
@media (max-width: 600px) {
  #event-registration select,
#event-registration .event-form-section select,
.event-create-dialog select,
.event-create-dialog .event-dialog-row select,
.event-results-dialog select { padding-right: 40px; background-position: right 14px center; }
}

/* 3) Kartu Kegiatan di desktop: baris info ringkas (khusus ponsel) disembunyikan. */
.event-card-brief { display: none; }
.event-card .event-link > span { min-width: 0; }

/* 4) Kartu Kegiatan di ponsel. */
@media (max-width: 600px) {
  .event-page .event-card-body { align-items: stretch; padding: 11px; }

  /* Info di bawah judul: tepat 2 baris (tanggal, lalu tempat / jenis kegiatan). */
  .event-page .event-card-brief {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 10px;
    padding: 0;
    color: #52657d;
    font-size: 11px;
    line-height: 1.4;
  }
  .event-page .event-card-brief span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Tautan detail: teks mengecil mengikuti lebar layar & panah selalu di dalam kotak. */
  /* margin-top:auto mendorong tautan + bagikan + tombol ke dasar kartu, sehingga
     "Lihat kegiatan & detail" selalu sejajar antar kartu walau judulnya beda jumlah baris.
     Tinggi tetap muat 2 baris: bila layar sempit teks turun baris, tidak pernah terpotong. */
  .event-page .event-card .event-link {
    gap: 6px;
    margin-top: auto;
    min-height: 44px;
    padding: 6px 9px;
    font-size: clamp(10.5px, 3vw, 11.5px);
    line-height: 1.25;
  }
  .event-page .event-card .event-link > span {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
  }
  .event-page .event-card .event-link b { flex: 0 0 auto; margin-left: 0; font-size: 14px; line-height: 1; }

  /* Bagikan: label satu baris, empat ikon membentang penuh selebar kotak. */
  .event-page .korpri-share.event-card-share {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 6px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0;
    padding: 9px 0 0;
  }
  .event-page .korpri-share.event-card-share .korpri-share-label {
    flex: 0 0 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .event-page .korpri-share.event-card-share .korpri-share-icon {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 42px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .event-page .korpri-share.event-card-share .korpri-share-icon svg { width: 54%; height: 54%; }
  .event-page .korpri-share.event-card-share .korpri-share-icon.is-facebook svg { width: 64%; height: 64%; }
  .event-page .korpri-share.event-card-share .korpri-share-icon.is-x svg { width: 46%; height: 46%; }
  .event-page .korpri-share.event-card-share .korpri-share-status { flex: 0 0 100%; }

  /* Tombol pengelola: Edit | Hapus berdampingan, "Hasil pendaftar" selebar kartu. */
  .event-page .event-admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
  }
  .event-page .event-admin-actions button {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 7px 6px;
  }
  .event-page .event-admin-actions .event-results { grid-column: 1 / -1; }
}

/* 5) Kartu Publikasi di ponsel: info 2 baris, tombol & ikon bagikan selebar kotak, rata antar kartu. */
@media (max-width: 600px) {
  .publication-page .pub-card-description { display: none; }
  .publication-page .pub-card-meta {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2px;
    font-size: 11px;
    line-height: 1.4;
  }
  .publication-page .pub-card-meta > span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .publication-page .pub-card-actions { display: block; }
  .publication-page .pub-card-actions .pub-card-link {
    width: 100%;
    min-height: 44px;
    padding: 6px 9px;
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .publication-page .pub-card-source { display: none; }

  .publication-page .korpri-share.pub-card-share {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 6px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 9px 0 0;
  }
  .publication-page .korpri-share.pub-card-share .korpri-share-label {
    flex: 0 0 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .publication-page .korpri-share.pub-card-share .korpri-share-icon {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 42px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .publication-page .korpri-share.pub-card-share .korpri-share-icon svg { width: 54%; height: 54%; }
  .publication-page .korpri-share.pub-card-share .korpri-share-icon.is-facebook svg { width: 64%; height: 64%; }
  .publication-page .korpri-share.pub-card-share .korpri-share-icon.is-x svg { width: 46%; height: 46%; }
  .publication-page .korpri-share.pub-card-share .korpri-share-status { flex: 0 0 100%; }
}

/* 6) Kolom tanggal: ikon kalender tidak menempel di tepi kanan. */
.event-create-dialog input[type="date"],
#event-registration input[type="date"] { padding-right: 14px; }
.event-create-dialog input[type="date"]::-webkit-calendar-picker-indicator,
#event-registration input[type="date"]::-webkit-calendar-picker-indicator { margin: 0 4px 0 8px; cursor: pointer; }

/* ==========================================================================
   v15 — Sakelar Timeline, pilihan PDF (unggah / link), dan Bagikan satu baris
   ========================================================================== */

/* 1) Sakelar "Tampilkan Timeline kegiatan": jelas Aktif / Nonaktif.
      Selector sengaja lebih spesifik agar tidak dikecilkan oleh aturan .event-admin-check input (16px). */
.event-create-dialog .event-timeline-toggle { display:flex!important; align-items:center; gap:11px; margin:0 0 6px; color:#294967; font-size:13px; font-weight:700; line-height:1.4; cursor:pointer; user-select:none; }
.event-create-dialog .event-timeline-toggle input[type="checkbox"] {
  appearance:none; -webkit-appearance:none; position:relative; flex:0 0 46px; width:46px; min-width:46px; height:26px; margin:0; padding:0; border:0; border-radius:999px;
  background:#b9c4d2; box-shadow:inset 0 0 0 1px rgba(10,35,60,.08); cursor:pointer; transition:background .18s ease;
}
.event-create-dialog .event-timeline-toggle input[type="checkbox"]::before {
  content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(10,35,60,.28); transition:transform .18s ease;
}
.event-create-dialog .event-timeline-toggle input[type="checkbox"]:checked { background:#1d8a52; }
.event-create-dialog .event-timeline-toggle input[type="checkbox"]:checked::before { transform:translateX(20px); }
.event-create-dialog .event-timeline-toggle input[type="checkbox"]:focus-visible { outline:3px solid rgba(29,106,168,.3); outline-offset:3px; }
.event-switch-text { min-width:0; }
.event-switch-state::after { content:"Nonaktif"; display:inline-block; padding:3px 10px; border-radius:999px; background:#eef1f5; color:#6b7a8c; font-size:11px; font-weight:750; letter-spacing:.02em; line-height:1.4; }
.event-timeline-toggle input:checked ~ .event-switch-state::after { content:"Aktif"; background:#dff3e7; color:#17703f; }
.event-create-dialog .event-timeline-hint { margin:2px 0 11px; color:#75859a; font-size:11px; line-height:1.55; }
.event-create-dialog .event-timeline-hint b { color:#294967; font-weight:750; }

/* 2) Berkas ketentuan teknis: pilih "Unggah file" atau "Tempel link". */
.event-pdf-mode { display:inline-flex; justify-self:start; gap:2px; padding:3px; border:1px solid #d8e1eb; border-radius:10px; background:#fff; }
.event-pdf-mode button { min-height:32px; padding:6px 15px; border:0; border-radius:7px; background:transparent; color:#5d7087; font-family:var(--font); font-size:12px; font-weight:700; cursor:pointer; transition:background .15s ease,color .15s ease; }
.event-pdf-mode button:hover:not(.is-active) { background:#eef3f9; }
.event-pdf-mode button.is-active { background:#17477f; color:#fff; }
.event-pdf-pane { display:grid; gap:7px; min-width:0; }
.event-pdf-pane[hidden] { display:none!important; }
.event-create-dialog .event-pdf-pane input { margin:0; }
.event-pdf-pane > small { color:#7d8da0; font-size:10.5px; line-height:1.55; }

/* 3) Bagikan di kartu Kegiatan & Publikasi: "Bagikan:" + empat ikon selalu dalam satu baris (rata kiri).
      Kartu di ponsel berkolom dua (lebar isi ±130–145px), jadi ikon dibuat lentur: mengecil mengikuti lebar kartu, maksimal 30px. */
@media (max-width:760px) {
  .event-page .korpri-share.event-card-share,
  .publication-page .korpri-share.pub-card-share {
    display:flex !important; flex-wrap:wrap; align-items:center; justify-content:flex-start;
    gap:4px 3px; width:100%; max-width:100%; margin:10px 0 0; padding:9px 0 0;
  }
  .event-page .korpri-share.event-card-share .korpri-share-label,
  .publication-page .korpri-share.pub-card-share .korpri-share-label {
    flex:0 0 auto; margin:0 3px 0 0; font-size:10.5px; line-height:1.2; white-space:nowrap;
  }
  .event-page .korpri-share.event-card-share .korpri-share-icon,
  .publication-page .korpri-share.pub-card-share .korpri-share-icon {
    flex:1 1 0; width:auto; min-width:0; max-width:30px; height:auto; aspect-ratio:1 / 1;
  }
  .event-page .korpri-share.event-card-share .korpri-share-icon svg,
  .publication-page .korpri-share.pub-card-share .korpri-share-icon svg { width:56%; height:56%; }
  .event-page .korpri-share.event-card-share .korpri-share-icon.is-facebook svg,
  .publication-page .korpri-share.pub-card-share .korpri-share-icon.is-facebook svg { width:66%; height:66%; }
  .event-page .korpri-share.event-card-share .korpri-share-icon.is-x svg,
  .publication-page .korpri-share.pub-card-share .korpri-share-icon.is-x svg { width:48%; height:48%; }
  .event-page .korpri-share.event-card-share .korpri-share-status,
  .publication-page .korpri-share.pub-card-share .korpri-share-status { flex:0 0 100%; }
}

/* Keterangan pilihan PDF/link yang sedang dipilih. */
.event-create-dialog .event-pdf-current { color:#294967; font-size:12px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }

/* Baris "Pilih kategori terlebih dahulu … Belum dipilih": judul dan status sejajar pada garis dasar yang sama. */
#event-registration .event-participants-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
#event-registration .event-participants-head > div { min-width:0; }
#event-registration .event-participants-head > span { flex:none; white-space:nowrap; line-height:1.3; }

/* Ikon panah garis (menggantikan karakter teks ← → ↗ ↑ ↓; lihat js/lib/icons.js). Warna mengikuti teks, ukuran mengikuti font. */
.ico-arrow { display:inline-block; flex:none; width:1.2em; height:1.2em; vertical-align:-.25em; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.pagination-button, .pg-page-btn { gap:6px; }
.pub-detail-back { align-items:center; gap:7px; }
.event-back { display:inline-flex; align-items:center; gap:7px; }
.site-search-result b, .event-link b, .about-inline-link span, .news-card-read span, .pub-card-link span { display:inline-flex; align-items:center; justify-content:center; line-height:1; }

/* ---------- Komentar berita (model kartu putih + chip filter + tampilan kosong) ---------- */
.nd-comments { margin-top:38px; padding-top:26px; border-top:1px solid #e5eaf0; }
.nd-cm-box { padding:16px 14px 14px; border-radius:16px; background:#f5f5f5; }
.nd-cm-box > h2 { margin:0 0 12px 2px; color:#0a0a0a; font-size:18px; font-weight:700; line-height:1.3; }
.nd-cm-card { position:relative; overflow:hidden; border-radius:16px; background:#fff; box-shadow:0 4px 16px rgba(15,30,50,.12); }
.nd-cm-name,.nd-cm-text { display:block; width:100%; min-width:0; margin:0; border:0; border-radius:0; background:transparent; color:#1f2a37; font:inherit; font-size:14px; line-height:1.5; box-shadow:none; outline:none; }
.nd-cm-name { padding:16px 16px 12px; }
.nd-cm-name::placeholder,.nd-cm-text::placeholder { color:#6b7280; opacity:1; }
.nd-cm-text { min-height:112px; padding:14px 16px; resize:none; border-top:1px solid #efefef; margin-top:0; }
.nd-cm-name:focus-visible,.nd-cm-text:focus-visible { background:#fbfcfe; }
.nd-cm-card:focus-within { box-shadow:0 4px 16px rgba(15,30,50,.12),0 0 0 2px rgba(11,45,93,.28); }
.nd-cm-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px 10px 14px; border-top:1px solid #efefef; }
.nd-cm-counter { color:#6b7280; font-size:12.5px; line-height:1.3; }
.nd-cm-counter b { color:#111827; font-weight:700; }
.nd-cm-submit { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:34px; padding:0 14px; border:0; border-radius:8px; background:#0b2d5d; color:#fff; font:inherit; font-size:13.5px; font-weight:700; line-height:1; cursor:pointer; transition:background .16s ease; }
.nd-cm-submit:hover { background:#123d79; }
.nd-cm-submit:focus-visible { outline:3px solid rgba(11,45,93,.3); outline-offset:2px; }
.nd-cm-submit:disabled { opacity:.6; cursor:wait; }
.nd-cm-send { flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.nd-cm-status { margin:0; padding:0 16px 12px; color:#39734e; font-size:12px; line-height:1.5; }
.nd-cm-status:empty { display:none; }
.nd-cm-filters { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 0; }
.nd-cm-chip { min-height:30px; padding:0 17px; border:1px solid #d6d6d6; border-radius:999px; background:#fff; color:#6b7280; font:inherit; font-size:12.5px; font-weight:700; line-height:1; cursor:pointer; transition:background .16s ease,color .16s ease,border-color .16s ease; }
.nd-cm-chip:hover { border-color:#9aa6b6; color:#0b2d5d; }
.nd-cm-chip.is-active { border-color:#0b2d5d; background:#0b2d5d; color:#fff; }
.nd-cm-chip:focus-visible { outline:3px solid rgba(11,45,93,.3); outline-offset:2px; }
.nd-comment-list { display:grid; gap:12px; margin-top:18px; }
.nd-cm-loading { margin:0; padding:30px 0; color:#8a94a3; font-size:13px; text-align:center; }
.nd-cm-empty { display:flex; flex-direction:column; align-items:center; gap:0; padding:26px 16px 12px; text-align:center; }
.nd-cm-empty-icon { display:block; margin-bottom:22px; color:#d9d9d9; }
.nd-cm-empty strong { color:#0a0a0a; font-size:14px; font-weight:700; line-height:1.4; }
.nd-cm-empty span { margin-top:6px; color:#8a94a3; font-size:14px; line-height:1.5; }
.nd-comment { display:flex; gap:12px; padding:14px 16px; border:1px solid #ececec; border-radius:14px; background:#fff; }
.nd-comment-avatar { flex:none; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#0b2d5d; color:#fff; font-size:14px; font-weight:700; line-height:1; }
.nd-comment-body { min-width:0; flex:1; }
.nd-comment header { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; }
.nd-comment header strong { color:#111827; font-size:14px; }
.nd-comment header time { color:#8a94a3; font-size:11.5px; }
.nd-cm-badge { padding:2px 8px; border-radius:999px; background:#edf3fb; color:#214d80; font-size:10.5px; font-weight:700; line-height:1.4; }
.nd-cm-badge.is-pinned { background:#fdf3d8; color:#8a6410; }
.nd-comment-body > p { margin:6px 0 0; color:#374151; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.nd-cm-admin { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.nd-cm-admin button { padding:4px 9px; border:1px solid #dbe3ee; border-radius:6px; background:#fff; color:#31577f; font:inherit; font-size:11px; font-weight:600; cursor:pointer; }
.nd-cm-admin button:hover:not(:disabled) { background:#f3f7fc; }
.nd-cm-admin button.is-danger { border-color:#f0d7d7; background:#fff8f8; color:#a23b3b; }
.nd-cm-admin button:disabled { opacity:.55; cursor:wait; }
@media (max-width:520px) {
  .nd-cm-box { padding:14px 10px 10px; }
  .nd-cm-filters { gap:8px; }
  .nd-cm-chip { padding:0 14px; }
  .nd-comment { padding:12px; gap:10px; }
}

/* Warna status kegiatan: hijau = masih dibuka; kuning = segera; merah = ditutup; abu-abu = selesai/arsip. */
.event-status.is-soon { background:#fff4dc; color:#8a5a00; }
.event-status.is-closed { background:#fdecec; color:#a23b3b; }
.event-status.is-done { background:#eceff3; color:#5c6a7a; }
@media (max-width: 360px) {
  .event-page .event-card-body > .event-status { padding: 4px 8px; font-size: 9.5px; }
}

/* Cek status pendaftaran — pencarian publik tanpa membuka identitas peserta. */
.event-check-status-link { display:inline-flex; align-items:center; gap:8px; margin-top:10px; color:#174d80; font-size:13px; font-weight:750; text-decoration:none; }
.event-check-status-link:hover { color:#0c3156; text-decoration:underline; }
.registration-code-highlight { display:inline-block; padding:3px 8px; border:1px solid #bad3ec; border-radius:6px; background:#eef5fc; color:#174d80; font-size:1.08em; letter-spacing:.12em; }
.event-result-code { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.event-result-code code { display:inline-block; padding:3px 8px; border:1px solid #d4e2f0; border-radius:5px; background:#f1f6fb; color:#174d80; font-size:12px; font-weight:800; letter-spacing:.1em; }
.registration-status-page { background:#f6f8fb; }
.registration-status-card { width:min(100%,700px); box-sizing:border-box; margin:0 auto; padding:clamp(24px,5vw,46px); border:1px solid #e2e9f1; border-radius:16px; background:#fff; box-shadow:0 18px 50px rgba(22,48,78,.07); }
.registration-status-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:18px; border:1px solid #d7e4f1; border-radius:13px; background:#f0f6fc; color:#235b91; }
.registration-status-icon svg { width:25px; height:25px; }
.registration-status-card > .eyebrow { margin:0 0 6px; color:#55718f; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.registration-status-card h2 { margin:0 0 8px; color:#173b60; font-size:clamp(23px,3vw,30px); line-height:1.2; }
.registration-status-intro { max-width:580px; margin:0 0 25px; color:#64758a; font-size:14px; line-height:1.7; }
#registration-status-form > label { display:block; margin-bottom:7px; color:#294867; font-size:13px; font-weight:750; }
.registration-status-input-row { display:flex; gap:9px; }
.registration-status-input-row input { flex:1 1 auto; min-width:0; width:100%; box-sizing:border-box; border:1px solid #cbd8e6; border-radius:8px; padding:13px 14px; background:#fff; color:#183c61; font:inherit; font-size:17px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.registration-status-input-row input:focus { outline:3px solid rgba(83,139,195,.2); border-color:#477db7; }
.registration-status-input-row input[aria-invalid="true"] { border-color:#bd554d; }
.registration-status-submit { flex:0 0 auto; border:1px solid #174d80; border-radius:8px; padding:0 20px; background:#174d80; color:#fff; font:inherit; font-size:13px; font-weight:750; cursor:pointer; }
.registration-status-submit:hover { background:#10385f; }
.registration-status-submit:disabled { opacity:.65; cursor:wait; }
#registration-status-form > small { display:block; margin-top:8px; color:#7b8999; font-size:11px; }
.registration-status-result { margin-top:20px; padding:17px 18px; border:1px solid #dbe5ef; border-radius:10px; background:#f8fafc; color:#52677f; }
.registration-status-result > p { margin:0; font-size:13px; line-height:1.65; }
.registration-status-result.is-loading { color:#52677f; }
.registration-status-result.is-error,.registration-status-result.is-not-found { border-color:#ead5d2; background:#fff8f7; color:#88443d; }
.registration-status-result.is-pending { border-color:#eedcb4; background:#fffaf0; color:#75520e; }
.registration-status-result.is-verified { border-color:#cfe5d6; background:#f3faf5; color:#28613f; }
.registration-status-result.is-waitlist { border-color:#d4e2f1; background:#f3f7fc; color:#315c83; }
.registration-status-result.is-rejected { border-color:#ead5d2; background:#fff8f7; color:#88443d; }
.registration-status-result-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.registration-status-label { color:#64758a; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.registration-status-code { color:#315779; font-size:12px; font-weight:800; letter-spacing:.12em; }
.registration-status-result > strong { display:inline-block; margin-bottom:8px; padding:5px 9px; border-radius:6px; background:rgba(255,255,255,.75); font-size:12px; }
.registration-status-result h3 { margin:0 0 6px; font-size:18px; line-height:1.3; }
.registration-status-result p { margin:0; font-size:13px; line-height:1.65; }
.registration-status-footer { display:flex; flex-wrap:wrap; gap:8px; margin-top:23px; color:#9aa6b4; font-size:12px; }
.registration-status-footer a { color:#315d86; font-weight:700; text-decoration:none; }
.registration-status-footer a:hover { text-decoration:underline; }
@media(max-width:560px) {
 .registration-status-card { padding:22px 18px; border-radius:12px; }
 .registration-status-input-row { flex-direction:column; }
 .registration-status-submit { min-height:45px; }
 .registration-status-result-head { align-items:flex-start; flex-direction:column; gap:5px; }
}
.event-results-search { display:grid; gap:6px; margin:8px 0 14px; color:#51677f; font-size:12px; font-weight:700; }
.event-results-search input { width:100%; box-sizing:border-box; border:1px solid #d5e0eb; border-radius:7px; padding:10px 12px; background:#fff; color:#243f5d; font:inherit; font-size:13px; }
.event-results-search input:focus { outline:2px solid #d7e6f4; border-color:#7fa5cb; }
.event-results-search input:disabled { background:#f5f7fa; cursor:not-allowed; }

/* Bantuan pendaftaran di halaman Cek Status Pendaftaran */
.registration-help-section { margin-top:25px; padding-top:22px; border-top:1px solid #e9eef4; }
.registration-help-section>.eyebrow { margin:0 0 5px; color:#58718b; font-size:10.5px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.registration-help-section>h3 { margin:0 0 7px; color:#183d61; font-size:19px; line-height:1.3; }
.registration-help-intro { margin:0 0 13px; color:#6b7b8e; font-size:12px; line-height:1.65; }
.registration-help-list { display:grid; gap:9px; }
.registration-help-item { padding:13px 14px; border:1px solid #e0e8f0; border-radius:9px; background:#fbfcfe; }
.registration-help-item h4 { margin:0 0 6px; color:#284c6e; font-size:13px; line-height:1.45; }
.registration-help-item p { margin:4px 0 0; color:#68798e; font-size:11.5px; line-height:1.6; }
.registration-help-contact-name { margin-top:0 !important; }
.registration-help-contact-name strong { color:#3b5875; }
.registration-help-whatsapp { display:inline-flex; align-items:center; gap:7px; margin-top:9px; padding:8px 11px; border:1px solid #b8dfc4; border-radius:7px; background:#effaf2; color:#216b3a; font-size:11.5px; font-weight:800; text-decoration:none; }
.registration-help-whatsapp:hover { border-color:#8ac69d; background:#e5f6e9; }
.registration-help-empty,.registration-help-loading { margin:0; padding:12px 13px; border:1px dashed #d5e0eb; border-radius:8px; color:#748398; font-size:11.5px; line-height:1.6; }
@media(max-width:560px) { .registration-help-item { padding:12px; } }

/* Bantuan pendaftaran ringkas: satu kegiatan dipilih, bukan daftar panjang semua kegiatan. */
.registration-help-section { margin-top:24px; padding-top:17px; border-top:1px solid #e8edf3; }
.registration-help-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:4px 0; color:#1e4267; cursor:pointer; list-style:none; }
.registration-help-summary::-webkit-details-marker { display:none; }
.registration-help-summary>span:first-child { display:grid; gap:3px; }
.registration-help-summary b { font-size:14px; line-height:1.4; }
.registration-help-summary small { color:#7a8999; font-size:11.5px; font-weight:500; }
.registration-help-chevron { display:grid; place-items:center; width:28px; height:28px; flex:none; border:1px solid #dce5ee; border-radius:50%; color:#416788; font-size:19px; line-height:1; transition:transform .18s ease; }
.registration-help-section[open] .registration-help-chevron { transform:rotate(180deg); }
.registration-help-content { padding-top:13px; }
.registration-help-intro { margin:0 0 12px; color:#6b7b8e; font-size:12px; line-height:1.6; }
.registration-help-select-label { display:block; margin:0 0 6px; color:#294867; font-size:12px; font-weight:750; }
.registration-help-event-select { display:block; width:100%; min-width:0; box-sizing:border-box; padding:11px 38px 11px 12px; border:1px solid #cbd8e6; border-radius:8px; background:#fff; color:#264665; font:inherit; font-size:13px; line-height:1.4; }
.registration-help-event-select:focus { outline:3px solid rgba(83,139,195,.18); border-color:#477db7; }
.registration-help-list { display:grid; gap:9px; margin-top:11px; }
.registration-help-list[hidden] { display:none; }
.registration-help-item { padding:13px; border:1px solid #e0e8f0; border-radius:9px; background:#fbfcfe; }
.registration-help-item h4 { margin:0 0 9px; color:#284c6e; font-size:13px; }
.registration-help-contact { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid #e9eef4; }
.registration-help-contact-copy { display:grid; gap:3px; min-width:0; }
.registration-help-contact-copy strong { color:#345674; font-size:12.5px; }
.registration-help-contact-copy small { color:#7b8998; font-size:11px; overflow-wrap:anywhere; }
.registration-help-whatsapp { display:inline-flex; align-items:center; justify-content:center; gap:7px; flex:none; margin:0; padding:8px 11px; border:1px solid #b8dfc4; border-radius:7px; background:#effaf2; color:#216b3a; font-size:11.5px; font-weight:800; text-decoration:none; }
.registration-help-whatsapp:hover { border-color:#8ac69d; background:#e5f6e9; }
.registration-help-note,.registration-help-fallback { margin:9px 0 0; padding:10px 11px; border-radius:7px; background:#f1f5f9; color:#62758a; font-size:11.5px; line-height:1.65; }
.registration-help-fallback { border:1px dashed #d5e0eb; background:#f8fafc; }

@media(max-width:560px) {
  .registration-help-summary b { font-size:13px; }
  .registration-help-contact { align-items:stretch; flex-direction:column; gap:8px; }
  .registration-help-whatsapp { width:100%; box-sizing:border-box; }
}
.registration-help-search { display:block; width:100%; box-sizing:border-box; margin:0 0 11px; padding:10px 12px; border:1px solid #d4dee9; border-radius:8px; background:#fff; color:#264665; font:inherit; font-size:13px; }
.registration-help-search:focus { outline:3px solid rgba(83,139,195,.16); border-color:#477db7; }
.registration-help-search:disabled { background:#f5f7fa; cursor:not-allowed; }

/* Grid narahubung di halaman Cek Status Pendaftaran: tiga kolom di desktop, dua kolom di ponsel. */
.registration-help-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:8px;
}
.registration-help-grid .registration-help-contact {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  padding:10px;
  border:1px solid #e3eaf1;
  border-radius:8px;
  background:#fbfcfe;
}
.registration-help-grid .registration-help-contact-copy {
  display:grid;
  gap:3px;
  width:100%;
  min-width:0;
}
.registration-help-grid .registration-help-contact-copy strong {
  overflow-wrap:anywhere;
  line-height:1.4;
}
.registration-help-grid .registration-help-contact-copy small {
  overflow-wrap:anywhere;
  line-height:1.4;
}
.registration-help-grid .registration-help-whatsapp {
  align-self:flex-start;
  width:auto;
  max-width:100%;
  box-sizing:border-box;
  padding:6px 9px;
  white-space:nowrap;
}
.registration-help-grid .registration-help-contact {
  border-top:1px solid #e3eaf1;
  margin:0;
}
.registration-help-grid .registration-help-whatsapp { margin:0; }
@media(max-width:900px) {
  .registration-help-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
  .registration-help-grid { gap:7px; }
  .registration-help-grid .registration-help-contact { padding:8px; gap:7px; }
  .registration-help-grid .registration-help-contact-copy strong { font-size:11.5px; }
  .registration-help-grid .registration-help-contact-copy small { font-size:10px; }
  .registration-help-grid .registration-help-whatsapp { padding:5px 7px; font-size:10px; }
}
@media(max-width:350px) {
  .registration-help-grid { grid-template-columns:1fr; }
}


/* =========================================================
   Kontak bantuan kegiatan & pilihan kategori
   Satu blok untuk editor admin (di dalam dialog) dan kartu kontak publik.
   Ukuran font mengikuti kolom lain di dialog/halaman:
     dialog  : label 12,5px · isian 13px · catatan 11px   (ponsel 11,5 / 12,5 / 10,5)
     publik  : judul blok mengikuti .event-info-block h3; isi 13px / 12px
   ========================================================= */

/* ---------- Editor admin: panel, kepala, tombol ---------- */
.event-help-editor,
.event-options-editor { margin: 12px 0 14px; padding: 11px 12px 12px; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc; }
.event-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.event-editor-head strong { min-width: 0; color: #405873; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.event-editor-head strong span { color: #8a97a8; font-weight: 500; }
.event-editor-hint { margin: 3px 0 9px; color: #8290a1; font-size: 11px; font-weight: 450; line-height: 1.5; }
.event-editor-add { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 11px; border: 1px solid #c6d6e7; border-radius: 8px; background: #fff; color: #17477f; font: inherit; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; }
.event-editor-add:hover { background: #edf4fc; }
.event-editor-remove { flex: none; display: grid; place-items: center; width: 30px; height: 36px; margin: 0; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a23a36; font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.event-editor-remove:hover { border-color: #f0d9d7; background: #fff3f2; }
.event-editor-add:focus-visible,
.event-editor-remove:focus-visible { outline: 2px solid #7da5d1; outline-offset: 2px; }

/* ---------- Editor admin: isian (satu baris per item) ---------- */
.event-help-contacts,
.event-options-list { display: grid; gap: 6px; }
.event-help-contacts:empty,
.event-options-list:empty { display: none; }
.event-help-contact-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 30px; align-items: center; gap: 6px; }
.event-create-dialog .event-help-contact-row input,
.event-create-dialog .event-option-row input,
.event-create-dialog .event-option-row select { height: 36px; margin: 0; padding: 0 11px; font-size: 13px; line-height: 1.3; }
.event-create-dialog .event-option-row select { padding-right: 30px; background-position: right 11px center; background-size: 12px 12px; }
.event-help-editor .event-help-note-label { margin: 11px 0 0; }
.event-create-dialog .event-help-note-label textarea { min-height: 58px; margin-top: 5px; padding: 8px 11px; font-size: 13px; line-height: 1.5; }

.event-option-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.event-create-dialog .event-option-row .event-option-label { order: 1; flex: 1 1 0; min-width: 0; width: auto; }
.event-create-dialog .event-option-row .event-option-mode { order: 2; flex: 0 0 142px; width: 142px; }
.event-option-limits { order: 3; display: flex; align-items: center; gap: 8px; flex: none; }
.event-option-limits[hidden] { display: none; }
.event-create-dialog .event-option-limits label { display: flex; align-items: center; gap: 5px; margin: 0; color: #405873; font-size: 12px; font-weight: 600; white-space: nowrap; }
.event-create-dialog .event-option-limits input { width: 54px; padding: 0 4px; text-align: center; }
.event-option-row .event-editor-remove { order: 4; }

@media (max-width: 680px) {
  .event-help-editor,
  .event-options-editor { margin: 10px 0 12px; padding: 10px; }
  .event-editor-head strong { font-size: 11.5px; }
  .event-editor-hint { margin-bottom: 8px; font-size: 10.5px; }
  .event-editor-add { height: 28px; padding: 0 9px; font-size: 11.5px; }
  .event-editor-remove { width: 28px; height: 34px; }
  .event-create-dialog .event-help-contact-row input,
  .event-create-dialog .event-option-row input,
  .event-create-dialog .event-option-row select { height: 34px; padding: 0 10px; font-size: 12.5px; }
  .event-create-dialog .event-option-row select { padding-right: 28px; background-position: right 10px center; }
  .event-help-contact-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; gap: 5px; }
  .event-create-dialog .event-help-contact-row input { padding-inline: 8px; }
  .event-help-editor .event-help-note-label { margin-top: 9px; font-size: 11.5px; }
  .event-create-dialog .event-help-note-label textarea { min-height: 54px; padding: 7px 10px; font-size: 12.5px; }
  .event-option-row { gap: 5px; }
  .event-create-dialog .event-option-row .event-option-mode { flex-basis: 128px; width: 128px; }
  .event-option-row .event-editor-remove { order: 3; }
  .event-option-limits { order: 5; flex: 1 0 100%; justify-content: flex-start; }
  .event-create-dialog .event-option-limits label { font-size: 11.5px; }
  .event-create-dialog .event-option-limits input { width: 58px; }
}
/* Layar sangat sempit (≤ 340px): nama di baris pertama, nomor WhatsApp di bawahnya. */
@media (max-width: 340px) {
  .event-option-row,
  .event-help-contact-row { padding-bottom: 8px; border-bottom: 1px solid #e1e8f0; }
  .event-option-row:last-child,
  .event-help-contact-row:last-child { padding-bottom: 0; border-bottom: 0; }
  .event-create-dialog .event-option-row .event-option-label { flex-basis: 100%; }
  .event-create-dialog .event-option-row .event-option-mode { flex: 1 1 0; width: auto; }
  .event-help-contact-row { grid-template-columns: minmax(0, 1fr) 28px; row-gap: 5px; }
  .event-help-contact-row .event-editor-remove { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; height: auto; }
  .event-help-contact-row input[data-help-contact-whatsapp] { grid-column: 1; grid-row: 2; }
}

/* ---------- Kartu kontak di halaman kegiatan ---------- */
.event-contact-block { margin-top: 16px; padding-block: 15px 16px; }
.event-info-block.event-contact-block h3 { margin-bottom: 3px; }
.event-info-block.event-contact-block .event-contact-intro { margin: 0 0 11px; color: #687b91; font-size: 13px; line-height: 1.5; }
.event-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 8px; margin: 0; }
.event-contact-person { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 8px 9px 8px 12px; border-radius: 8px; background: #f5f8fc; }
.event-contact-person > div { display: grid; gap: 1px; min-width: 0; }
.event-contact-person strong { color: #2b4665; font-size: 13px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.event-contact-person small { color: #687b91; font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.event-contact-whatsapp { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid #b8dfc4; border-radius: 7px; background: #effaf2; color: #216b3a; font-size: 12px; font-weight: 750; line-height: 1; white-space: nowrap; text-decoration: none; }
.event-contact-whatsapp svg { width: 14px; height: 14px; flex: none; }
.event-contact-whatsapp:hover { border-color: #8ac69d; background: #e5f6e9; }
.event-contact-whatsapp:focus-visible { outline: 2px solid #7da5d1; outline-offset: 2px; }
.event-info-block.event-contact-block .event-contact-note,
.event-info-block.event-contact-block .event-contact-fallback { margin: 9px 0 0; padding: 6px 0 6px 11px; border: 0; border-left: 3px solid #cfdceb; border-radius: 0; background: transparent; color: #5a6e84; font-size: 12.5px; line-height: 1.55; }
.event-info-block.event-contact-block .event-contact-fallback { border-left-style: dashed; }
@media (max-width: 560px) {
  .event-contact-block { margin-top: 12px; padding-block: 12px 13px; }
  .event-info-block.event-contact-block .event-contact-intro { margin-bottom: 9px; font-size: 12px; }
  .event-contact-grid { grid-template-columns: 1fr; gap: 6px; }
  .event-contact-person { padding: 6px 7px 6px 11px; }
  /* Nama dan nomor sebaris (turun ke baris kedua bila nama panjang). */
  .event-contact-person > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; }
  .event-info-block.event-contact-block .event-contact-note,
  .event-info-block.event-contact-block .event-contact-fallback { margin-top: 8px; padding-block: 2px; font-size: 12px; }
}

/* Formulir peserta: kolom Jenis kelamin (pilihan) disejajarkan dengan kolom isian lain; Jabatan/unit kerja satu baris penuh. */
#event-registration .event-participant label:nth-of-type(6) { grid-column: 1 / -1; }
#event-registration .event-participant select { margin-top: 5px; }

/* =========================================================
   Daftar Kegiatan: jumlah + pilihan urutan (terbaru, terlama, segera ditutup, abjad)
   ========================================================= */
.event-listbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; }
.event-listbar[hidden] { display: none; }
.event-count { margin: 0; color: #68798d; font-size: 13px; font-weight: 600; }
.event-sort { display: flex; align-items: center; gap: 10px; min-width: 0; color: #6d7d91; font-size: 13px; white-space: nowrap; }
.event-sort select {
  -webkit-appearance: none; appearance: none;
  min-width: 190px; height: 42px; margin: 0; padding: 0 42px 0 14px;
  border: 1px solid #d7e1eb; border-radius: 9px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317477f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px 14px;
  color: #173c6b; font: inherit; font-size: 13px; font-weight: 650; text-overflow: ellipsis; cursor: pointer;
}
.event-sort select:hover { border-color: #b9cadd; }
.event-sort select:focus-visible { outline: 3px solid rgba(83,139,195,.2); border-color: #477db7; }
.event-card-deadline { color: #8a5a00; font-weight: 700; }
@media (max-width: 600px) {
  .event-listbar { gap: 10px; margin-bottom: 14px; }
  .event-count { font-size: 12.5px; }
  .event-sort { flex: 1 1 auto; justify-content: flex-end; gap: 8px; font-size: 12.5px; }
  .event-sort select { flex: 1 1 auto; min-width: 0; max-width: 200px; height: 40px; padding-right: 38px; background-position: right 14px center; font-size: 12.5px; }
}

/* =========================================================
   Cek Status Pendaftaran → "Lupa nomor pendaftaran?"
   1) Dropdown & kolom cari: lebih lega, panah tidak menempel di tepi kanan.
   2) Tombol bulat di kanan judul: ikon SVG tepat di tengah (sebelumnya karakter teks yang miring saat dibuka).
   ========================================================= */
.registration-help-select-label { margin: 0 0 8px; }
.registration-help-search,
.registration-help-event-select { min-height: 46px; padding: 12px 16px; border-color: #d4dee9; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.registration-help-search { margin: 0 0 18px; }
.registration-help-event-select {
  -webkit-appearance: none; appearance: none;
  padding-right: 48px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317477f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 14px;
  text-overflow: ellipsis; cursor: pointer;
}
.registration-help-event-select:hover { border-color: #b9cadd; }
.registration-help-list { margin-top: 16px; }

.registration-help-summary { padding: 6px 0; border-radius: 10px; }
.registration-help-summary:focus-visible { outline: 3px solid rgba(83,139,195,.25); outline-offset: 4px; }
.registration-help-chevron { width: 32px; height: 32px; border-color: #d3dfec; background: #f4f8fc; color: #1c4f86; font-size: 0; line-height: 0; transition: transform .2s ease, background-color .15s ease, border-color .15s ease; }
.registration-help-chevron svg { display: block; width: 14px; height: 14px; }
.registration-help-summary:hover .registration-help-chevron { border-color: #a9c0da; background: #eaf1f9; }
.registration-help-section[open] .registration-help-chevron { background: #eaf1f9; }
@media (prefers-reduced-motion: reduce) { .registration-help-chevron { transition: none; } }
@media (max-width: 560px) {
  .registration-help-search,
  .registration-help-event-select { font-size: 16px; } /* 16px mencegah iOS memperbesar layar saat kolom disentuh */
  .registration-help-event-select { padding-right: 44px; background-position: right 16px center; }
}

/* =========================================================
   Timeline kegiatan: tiap tahapan punya tanggal, waktu, dan tempat (waktu & tempat opsional)
   ========================================================= */

/* Editor admin: satu tahapan = satu kotak kecil. Nama tahapan di atas, tanggal + waktu sebaris, tempat di bawah. */
.event-create-dialog .event-timeline-fields { gap: 10px; }
.event-create-dialog .event-timeline-field {
  display: grid; align-items: start; gap: 8px;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) 34px;
  grid-template-areas: "label label remove" "date time remove" "place place remove";
  padding: 10px; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc;
}
.event-create-dialog .event-timeline-field [data-tl="label"] { grid-area: label; }
.event-create-dialog .event-timeline-field [data-tl="date"] { grid-area: date; }
.event-create-dialog .event-timeline-field [data-tl="time"] { grid-area: time; }
.event-create-dialog .event-timeline-field [data-tl="location"] { grid-area: place; }
.event-create-dialog .event-timeline-field button { grid-area: remove; width: 34px; height: 38px; }
@media (max-width: 600px) {
  .event-create-dialog .event-timeline-field { gap: 6px; padding: 8px; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 32px; }
  .event-create-dialog .event-timeline-field button { width: 32px; height: 36px; }
}
@media (max-width: 380px) {
  .event-create-dialog .event-timeline-field { grid-template-columns: minmax(0,1fr) 32px; grid-template-areas: "label remove" "date date" "time time" "place place"; }
}

/* Halaman kegiatan: judul tahapan di kiri; tanggal · waktu dan tempat di kanan (di ponsel turun ke bawah judul). */
.event-timeline-item { align-items: flex-start; }
.event-timeline-item > strong { min-width: 0; overflow-wrap: anywhere; }
.event-timeline-when { display: grid; grid-template-columns: minmax(0,1fr); flex: 0 1 auto; gap: 3px; max-width: 62%; min-width: 0; justify-items: end; text-align: right; }
.event-timeline-when .event-timeline-date { color: #405975; font-weight: 600; }
.event-timeline-when .event-timeline-place { display: inline-flex; align-items: flex-start; gap: 5px; color: #718197; font-size: 12px; line-height: 1.45; }
.event-timeline-when .event-timeline-place svg { flex: none; margin-top: 2px; color: #8a5a00; }
.event-timeline-when .event-timeline-place > span { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; } /* menimpa `.event-timeline-item span { flex: none }` agar alamat panjang turun baris */
@media (max-width: 600px) {
  .event-timeline-item { align-items: stretch; }
  .event-timeline-when { width: 100%; max-width: none; justify-items: start; text-align: left; }
}

/* =========================================================
   Beranda — pengumuman "Sedang berlangsung" (kegiatan yang masih berjalan)
   Muncul otomatis di bawah hero bila menu Kegiatan punya kegiatan yang belum selesai; hilang sendiri bila tidak ada.
   Kodenya: js/lib/event-live.js (data, markup, animasi geser) dan js/pages/beranda.js (pemasangan).
   Hanya SATU kegiatan terlihat sekaligus (satu bilah ramping); kegiatan lain bergeser bergiliran tiap beberapa detik.
   Semua slide ditumpuk di satu sel grid (grid-area 1/1), jadi tinggi bilah = slide tertinggi dan tidak melompat saat berganti.
   Ukuran huruf sengaja kecil: judul 15px, keterangan 12.5px, tombol 13px (mobile 13 / 11.5 / 12px).
   ========================================================= */
.home-live { display: grid; grid-template-rows: 0fr; background: #fff; transition: grid-template-rows .38s ease; }
.home-live[hidden] { display: none; }
.home-live.is-open { grid-template-rows: 1fr; }
.home-live.is-instant { transition: none; }
.home-live-clip { min-height: 0; overflow: hidden; }
.home-live-clip > .container { padding-top: 14px; }

.home-live-box { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: stretch; overflow: hidden; border: 1px solid #ecdba6; border-radius: 10px; background: linear-gradient(90deg, #fff4d8 0, #fffaec 34%, #fff 100%); }
.home-live-box.is-single { grid-template-columns: 200px minmax(0, 1fr); }
.home-live-head { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 8px 16px; border-right: 1px solid #f0e2b8; }
.home-live-label { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #7d5200; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.home-live-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; color: #1f9d57; background: currentColor; }
.home-live-pulse::after { content: ""; position: absolute; inset: -4px; border: 2px solid currentColor; border-radius: 50%; opacity: 0; animation: home-live-ping 1.9s ease-out infinite; }
@keyframes home-live-ping { 0% { transform: scale(.5); opacity: .55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.home-live-all { display: inline-flex; align-items: center; gap: 4px; color: #245a99; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.home-live-all .ico-arrow { width: 1.1em; height: 1.1em; }
.home-live-all:hover { color: #9a7528; }

/* Panggung: slide aktif di tengah, yang sudah lewat di atas, yang menunggu di bawah; keluar-masuk dengan geser + pudar. */
.home-live-stage { position: relative; display: grid; min-width: 0; overflow: hidden; }
.home-live-slide { grid-area: 1 / 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 9px 14px 9px 18px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(70%);
  transition: transform .385s cubic-bezier(.22, .8, .24, 1), opacity .28s ease, visibility 0s linear .385s; }
.home-live-slide.is-above { transform: translateY(-70%); }
.home-live-slide.is-below { transform: translateY(70%); }
.home-live-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.home-live-info { flex: 1 1 auto; min-width: 0; }
.home-live-title { display: block; overflow: hidden; color: #173c70; font-size: 15px; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.home-live-title:hover { color: #1b5ca7; }
.home-live-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 1px 0 0; color: #5b6d82; font-size: 12.5px; line-height: 1.5; }
.home-live-meta > span + span::before { content: "·"; margin: 0 7px; color: #b4a272; font-weight: 400; }
.home-live-state { font-weight: 650; }
.home-live-state.is-open { color: #247345; }
.home-live-state.is-open.is-urgent { color: #a84f00; }
.home-live-state.is-soon { color: #8a5a00; }
.home-live-state.is-closed { color: #a23b3b; }
.home-live-state.is-info { color: #52647a; }

.home-live-cta { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 18px; border: 1px solid #164b91; border-radius: 6px; background: #164b91; color: #fff; font-size: 13px; font-weight: 750; line-height: 1.2; white-space: nowrap; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.home-live-cta:hover { color: #fff; background: #0d3469; border-color: #0d3469; }
.home-live-cta.is-quiet { border-color: #b8c7d8; background: #fff; color: #174e93; }
.home-live-cta.is-quiet:hover { border-color: #174e93; background: #174e93; color: #fff; }

/* Penunjuk "1/4" dengan tombol sebelumnya / berikutnya. */
.home-live-nav { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px; border-left: 1px solid #f0e2b8; }
.home-live-count { min-width: 30px; color: #5b6d82; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
.home-live-count b { color: #173c70; font-weight: 800; }
.home-live-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; line-height: 0; border: 1px solid #e6d7a6; border-radius: 50%; background: #fff; color: #174e93; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.home-live-step .ico-arrow { display: block; width: 14px; height: 14px; vertical-align: baseline; }
.home-live-step:hover { border-color: #174e93; background: #174e93; color: #fff; }
.home-live-step:focus-visible, .home-live-cta:focus-visible { outline: 2px solid #1b5ca7; outline-offset: -2px; }

/* Garis waktu tipis di dasar kotak: terisi penuh = giliran kegiatan berikutnya. Berhenti saat disorot / difokus. */
.home-live-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: rgba(23, 76, 147, .07); pointer-events: none; }
.home-live-progress::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #d4a93f, #1b5ca7); transform: scaleX(0); transform-origin: left center; }
.home-live-progress.is-run::after { animation: home-live-fill var(--live-interval, 6000ms) linear forwards; }
.home-live-box.is-held .home-live-progress::after { animation-play-state: paused; }
@keyframes home-live-fill { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  /* Di layar sempit keterangan bisa turun baris: pakai jarak, bukan titik pemisah (supaya titik tidak tertinggal di awal baris). */
  .home-live-meta { column-gap: 10px; }
  .home-live-meta > span + span::before { content: none; }
  .home-live-where { display: none; } /* tablet & HP: cukup tanggal dan status pendaftaran, supaya keterangan tetap satu baris */
  .home-live-box, .home-live-box.is-single { grid-template-columns: 168px minmax(0, 1fr) auto; }
  .home-live-box.is-single { grid-template-columns: 168px minmax(0, 1fr); }
  .home-live-head { padding: 8px 12px; }
}
@media (max-width: 760px) {
  /* HP: bilah dua tingkat — baris kecil di atas (label · tautan · 1/4) dan satu kegiatan di bawahnya. */
  .home-live-clip > .container { padding-top: 10px; }
  .home-live-box, .home-live-box.is-single { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head nav" "stage stage"; border-radius: 9px; background: linear-gradient(180deg, #fff4d8 0, #fffaec 30%, #fff 100%); }
  .home-live-box.is-single { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage"; }
  .home-live-head { grid-area: head; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; min-height: 30px; padding: 0 8px 0 12px; border-right: 0; }
  .home-live-label { gap: 7px; font-size: 10px; letter-spacing: .07em; }
  .home-live-pulse { width: 7px; height: 7px; }
  .home-live-all { display: none; } /* HP: baris atas cukup label + 1/4; menu Kegiatan di header sudah menuju daftar lengkap */
  .home-live-nav { grid-area: nav; gap: 2px; padding: 3px 8px 3px 0; border-left: 0; }
  .home-live-count { min-width: 26px; font-size: 11px; }
  .home-live-step { width: 26px; height: 26px; }
  .home-live-step .ico-arrow { width: 13px; height: 13px; }
  .home-live-stage { grid-area: stage; border-top: 1px solid #f0e2b8; }
  .home-live-slide { gap: 10px; padding: 6px 10px 8px 12px; }
  .home-live-title { display: -webkit-box; font-size: 13px; line-height: 1.35; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .home-live-meta { margin-top: 0; font-size: 11.5px; line-height: 1.45; }
  .home-live-cta { min-height: 32px; padding: 0 13px; border-radius: 6px; font-size: 12px; }
}
@media (max-width: 350px) {
  .home-live-title { font-size: 12.5px; }
  .home-live-cta { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-live { transition: none; }
  .home-live-pulse::after { animation: none; }
  .home-live-slide, .home-live-slide.is-above, .home-live-slide.is-below { transform: none; transition: opacity .2s ease, visibility 0s linear .2s; }
  .home-live-slide.is-active { transition-delay: 0s; }
  .home-live-progress { display: none; }
}

/* =========================================================
   Panitia kegiatan: tombol kelola terbatas, kolom "Panitia (email)" di form admin, dan sinkron pendaftar lama.
   ========================================================= */
.event-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.event-sync { flex: 0 0 auto; min-height: 40px; padding: 9px 15px; border: 1px solid #c6d6e7; border-radius: 8px; background: #fff; color: #17477f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.event-sync:hover:not(:disabled) { background: #edf4fc; }
.event-sync:disabled { opacity: .6; cursor: default; }
.event-sync[hidden], .event-add[hidden] { display: none; }
@media (max-width: 600px) { .event-toolbar-actions { justify-content: flex-start; } }

/* Panitia hanya punya dua tombol (Peserta, Ubah): berdampingan, bukan "Hasil" selebar kartu. */
.event-page .event-admin-actions.is-panitia { grid-template-columns: 1fr 1fr; }
.event-page .event-admin-actions.is-panitia .event-results { grid-column: auto; }

.event-panitia-editor { margin: 12px 0 14px; padding: 11px 12px 12px; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc; }
.event-panitia-add { display: flex; align-items: center; gap: 6px; }
.event-create-dialog .event-panitia-add input { flex: 1 1 0; min-width: 0; height: 36px; margin: 0; padding: 0 11px; font-size: 13px; line-height: 1.3; }
.event-panitia-add input:disabled, .event-panitia-add button:disabled { opacity: .55; cursor: default; }
.event-panitia-list { display: grid; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.event-panitia-list:empty { display: none; }
.event-panitia-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 1px 3px 1px 11px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; color: #243b53; font-size: 13px; overflow-wrap: anywhere; }
.event-panitia-list .event-editor-remove { height: 32px; }
.event-panitia-expiry { margin: 9px 0 0; color: #405873; font-size: 12px; line-height: 1.5; }
.event-panitia-expiry:empty, .event-panitia-message:empty { display: none; }
.event-panitia-message { margin: 7px 0 0; color: #9e3632; font-size: 12px; line-height: 1.5; }
.event-panitia-message.is-info { color: #6b4d05; }
.event-locked-note { display: block; margin-top: 4px; color: #8290a1; font-size: 11px; line-height: 1.45; }
@media (max-width: 680px) { .event-panitia-editor { margin: 10px 0 12px; padding: 10px; } .event-create-dialog .event-panitia-add input { height: 34px; padding: 0 10px; font-size: 12.5px; } }

/* =========================================================
   Beranda — editorial KORPRI (desktop + mobile)
   Khusus area pengantar dan akses cepat di Beranda.
   ========================================================= */
.home-about.home-intro-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  color: #102e57;
  background: #fff; /* polos, sama dengan bagian Beranda lainnya (tanpa gradasi, titik-titik, huruf K besar, atau pita bawah) */
}
.home-intro-container { position: relative; z-index: 1; }
.home-intro-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px,.96fr) minmax(260px,1.08fr) minmax(255px,.93fr);
  gap: clamp(18px,2.5vw,34px);
  align-items: center;
  min-height: 320px;
  padding-block: clamp(28px,3.2vw,44px) 27px;
}
.home-intro-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: #bd8a1e; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .09em;
}
.home-intro-kicker-line { width: 30px; height: 3px; background: #d2a63e; }
.home-intro-copy h2 {
  max-width: 420px; margin: 0 0 16px; color: #092d60;
  font: 700 clamp(31px,3.1vw,44px)/1.08 var(--font); letter-spacing: -.03em;
}
.home-intro-copy h2 span,
.home-intro-copy h2 em { display: block; }
.home-intro-copy h2 em { color: #1a4f91; font-style: normal; }
.home-intro-description {
  max-width: 430px; margin: 0; color: #4f6178; font-size: 14px; line-height: 1.75;
}

/* Kolase foto dokumentasi — foto tetap berasal dari aset website. */
.home-photo-collage { position: relative; min-width: 0; min-height: 278px; }
.home-collage-photo {
  position: absolute; overflow: hidden; margin: 0; padding: 6px;
  border: 1px solid rgba(202,218,238,.9); border-radius: 17px; background: #fff;
  box-shadow: 0 10px 24px rgba(16,58,111,.17);
}
.home-collage-photo img { display: block; width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.home-collage-photo--history { z-index: 1; top: 36px; left: 0; width: 42%; height: 210px; transform: rotate(-8deg); }
.home-collage-photo--solidarity { z-index: 3; top: 5px; left: 27%; width: 49%; height: 248px; transform: rotate(3deg); }
.home-collage-photo--service { z-index: 2; top: 34px; right: 0; width: 40%; height: 215px; transform: rotate(9deg); }
.home-collage-photo--history img { filter: saturate(.72); }
.home-collage-caption {
  position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; white-space: nowrap; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: #fff;
  background: #bd922f; box-shadow: 0 4px 12px rgba(14,47,87,.14);
  font-size: 8px; font-weight: 700; letter-spacing: .14em;
}

.home-manifesto {
  position: relative; min-width: 0; min-height: 260px; display: flex; flex-direction: column;
  justify-content: space-between; overflow: hidden; padding: 20px 21px 17px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 19px; color: #fff;
  background: radial-gradient(circle at 94% 4%, rgba(57,113,180,.42), transparent 36%), linear-gradient(145deg,#0a3674,#061c42 82%);
  box-shadow: 0 12px 28px rgba(13,51,99,.16);
}
.home-manifesto::after { content: "K"; position: absolute; right: -8px; bottom: 31px; color: rgba(255,255,255,.035); font: 700 170px/.8 var(--font); pointer-events: none; }
.home-manifesto-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #c8d8ee; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
/* Lambang tampil apa adanya (emas di atas biru), sama seperti di header: tanpa lingkaran putih dan cincin. */
.home-manifesto-top img { display: block; width: 42px; height: auto; flex: none; object-fit: contain; }
.home-manifesto-mark { position: relative; z-index: 1; height: 28px; margin-top: 8px; color: #f1c44d; font: 700 57px/.9 var(--font); }
.home-manifesto-quote { position: relative; z-index: 1; margin: 0 0 17px; color: #f5f8fc; font: 600 clamp(18px,1.55vw,22px)/1.42 var(--font); letter-spacing: -.01em; }
.home-manifesto-quote strong { color: #f3cd67; font-weight: 700; }
.home-manifesto-values { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding-top: 13px; border-top: 1px solid rgba(221,233,246,.25); }
.home-manifesto-values span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #f2f6fc; font-size: 10px; line-height: 1.25; font-weight: 700; text-align: center; }
.home-manifesto-values b { color: #f1c34d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }

.home-intro-section .home-access {
  position: relative; display: block; padding: 8px 0 38px; color: #102e57;
}
.home-explore-heading { position: relative; z-index: 1; margin: 0 auto 20px; text-align: center; }
.home-explore-overline { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 8px; color: #b88928; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.home-explore-overline span { display: inline-block; width: 27px; height: 1px; background: #c9a24b; }
.home-explore-heading h2 { margin: 0 0 7px; color: #0b326d; font-size: clamp(23px,2.5vw,31px); font-weight: 700; line-height: 1.13; letter-spacing: -.02em; }
.home-explore-description { max-width: 560px; margin: 0 auto; color: #6c7c91; font-size: 12.5px; line-height: 1.6; }
.home-explore-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.home-explore-link {
  position: relative; min-width: 0; min-height: 156px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px; padding: 15px 14px 12px;
  border: 1px solid #d7e4f4; border-radius: 16px; color: #0b326d; background: rgba(255,255,255,.94);
  text-align: center; text-decoration: none; box-shadow: 0 5px 15px rgba(21,68,122,.07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-explore-link:hover { transform: translateY(-3px); border-color: #a9c3e3; color: #0b326d; box-shadow: 0 10px 22px rgba(21,68,122,.12); }
.home-explore-icon { flex: none; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: #f4d36e; background: #0d3a7d; box-shadow: 0 5px 11px rgba(11,52,112,.17); }
.home-explore-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-explore-copy { display: block; min-width: 0; }
.home-explore-title { display: block; margin-bottom: 4px; color: inherit; font-size: 14.5px; line-height: 1.3; font-weight: 700; }
.home-explore-link small { display: block; max-width: 235px; color: #63758d; font-size: 11.5px; line-height: 1.45; }
.home-explore-arrow { position: absolute; right: 12px; bottom: 11px; display: grid; place-items: center; width: 20px; height: 20px; color: #0d3a7d; font-size: 16px; line-height: 1; opacity: .85; transition: transform .18s ease; }
.home-explore-arrow .ico-arrow { display: block; width: 100%; height: 100%; vertical-align: baseline; }
.home-explore-link:hover .home-explore-arrow { transform: translateX(3px); }

@media (max-width: 1040px) {
  .home-intro-main { grid-template-columns: minmax(220px,.92fr) minmax(235px,1fr) minmax(220px,.92fr); gap: 15px; }
  .home-intro-copy h2 { font-size: clamp(29px,3.3vw,38px); }
  .home-manifesto { padding-inline: 17px; }
  .home-collage-photo--history { width: 44%; }
  .home-collage-photo--solidarity { left: 24%; width: 52%; }
  .home-collage-photo--service { width: 39%; }
}
@media (max-width: 760px) {
  .home-intro-main { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-block: 27px 25px; }
  .home-intro-copy h2 { max-width: 550px; font-size: clamp(23px,5.9vw,30px); line-height: 1.12; }
  .home-intro-description { max-width: 620px; font-size: 13.5px; line-height: 1.7; }
  .home-photo-collage { min-height: 205px; width: min(100%,520px); margin: 0 auto; }
  .home-collage-photo--history { top: 27px; left: 5%; width: 38%; height: 158px; }
  .home-collage-photo--solidarity { top: 4px; left: 29%; width: 43%; height: 177px; }
  .home-collage-photo--service { top: 26px; right: 5%; width: 37%; height: 158px; }
  .home-collage-caption { bottom: 0; font-size: 7px; }
  .home-manifesto { min-height: 0; padding: 17px 18px 15px; border-radius: 16px; }
  .home-manifesto-top img { width: 36px; }
  .home-manifesto-mark { margin-top: 6px; font-size: 48px; }
  .home-manifesto-quote { margin: 0 0 15px; font-size: 19px; }
  .home-manifesto-values { padding-top: 11px; }
  .home-manifesto-values span { font-size: 9px; }
  .home-intro-section .home-access { display: none; } /* Akses Cepat hanya tampil di desktop/tablet; di HP disembunyikan */
}
@media (max-width: 430px) {
  .home-intro-main { padding-block: 23px 20px; }
  .home-intro-kicker { margin-bottom: 11px; font-size: 10px; }
  .home-intro-copy h2 { font-size: 23px; }
  .home-photo-collage { min-height: 175px; }
  .home-collage-photo--history { height: 137px; }
  .home-collage-photo--solidarity { height: 154px; }
  .home-collage-photo--service { height: 137px; }
  .home-manifesto-quote { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-intro-section .home-explore-link,
  .home-intro-section .home-explore-arrow { transition: none !important; }
}

/* =========================================================
   Tema halaman Beranda — hanya WARNA (header biru tua, hero gelap).
   Ukuran header (tinggi, lebar, jarak, tombol, ikon cari, ID/EN) SAMA PERSIS dengan halaman lain,
   karena tidak ada penimpa ukuran di sini. Footer memakai gaya yang sama di semua halaman (lihat "Footer").
   ========================================================= */
.is-home-page .site-header {
  background: linear-gradient(105deg,#061f49 0%,#0b3471 58%,#082653 100%);
  border-bottom: 1px solid rgba(235,205,126,.42);
  box-shadow: 0 5px 18px rgba(5,29,65,.13);
}
.is-home-page .brand { color: #fff; }
.is-home-page .brand-name { color: #fff; }
.is-home-page .brand-place { color: #f0d17b; }
.is-home-page .nav-link { color: #eef4fc; }
.is-home-page .nav-link:hover,
.is-home-page .nav-link.is-active,
.is-home-page .has-sub.is-open > .nav-parent { color: #f5d477; }
.is-home-page .nav-link.is-active::after { background: #f1c84e; height: 3px; }
.is-home-page .nav-chevron { border-color: #f0d17b; }
.is-home-page .header-tools .header-auth-btn { border-color: rgba(255,255,255,.62); background: transparent; color: #fff; }
.is-home-page .header-tools .header-auth-btn:hover { border-color: #e9c45d; background: #e9c45d; color: #082653; }
/* Pencarian = ikon kaca pembesar saja; ID/EN tanpa kotak garis (sama seperti halaman lain). */
.is-home-page .icon-btn,
.is-home-page .lang-btn { color: #fff; }
.is-home-page .icon-btn:hover,
.is-home-page .lang-btn:hover { background: rgba(255,255,255,.14); }
.is-home-page .menu-toggle { border-color: rgba(255,255,255,.42); background: transparent; }
.is-home-page .menu-toggle span { background: #fff; }
.is-home-page .site-navigation .sub-menu { background: #fff; }

/* Hero Beranda: foto aparatur tetap menggunakan aset asli, tetapi komposisi dan kontras diperbarui. */
.is-home-page .hero { background: #082a5b; }
.is-home-page .hero-image {
  aspect-ratio: 17 / 5.5; min-height: 300px; max-height: 470px;
  background-position: center 24%;
}
.is-home-page .hero-copy-wrap { padding: 0 0 1.5%; }
.is-home-page .hero-copy-wrap::before {
  background: linear-gradient(90deg,rgba(4,25,59,.94) 0%,rgba(5,33,75,.83) 36%,rgba(5,33,75,.42) 57%,rgba(5,33,75,.02) 82%),
             linear-gradient(0deg,rgba(3,22,52,.16),transparent 55%);
}
.is-home-page .hero-copy { max-width: min(690px,56%); }
.is-home-page .hero-kicker { margin-bottom: 10px; color: #f0d17b; font-size: clamp(13px,1.25vw,18px); font-weight: 700; letter-spacing: .02em; }
.is-home-page .hero-copy h1 { color: #fff; font-size: clamp(28px,3.1vw,46px); line-height: 1.08; letter-spacing: -.03em; }
.is-home-page .hero-line { white-space: nowrap; }
.is-home-page .hero-rule { width: 52px; height: 3px; margin: 17px 0 13px; background: #f1c84e; }
.is-home-page .hero-desc { max-width: 34em; color: #f0f4fb; text-shadow: 0 1px 8px rgba(0,0,0,.25); font-size: clamp(13px,1.12vw,16px); line-height: 1.65; }

@media (max-width: 1180px) {
  .is-home-page .site-navigation { background: #08295b; border-bottom-color: rgba(238,210,139,.3); box-shadow: 0 12px 22px rgba(3,19,45,.22); }
  .is-home-page .nav-link { color: #f0f4fb; border-bottom-color: rgba(255,255,255,.1); }
  .is-home-page .nav-link:hover,
  .is-home-page .nav-link.is-active { color: #f3d16f; background: rgba(255,255,255,.075); border-left-color: #e4bd57; }
  .is-home-page .site-navigation .sub-menu { background: #0e356d; }
  .is-home-page .site-navigation .sub-menu a { color: #e8eef7; border-bottom-color: rgba(255,255,255,.09); }
  .is-home-page .site-navigation .sub-menu a:hover,
  .is-home-page .site-navigation .sub-menu a[aria-current="page"] { color: #f3d16f; background: rgba(255,255,255,.08); }
}
@media (max-width: 900px) {
  /* Judul hero memanjang: biarkan turun baris sendiri bila layar sempit. */
  .is-home-page .hero-line { display: inline; white-space: normal; }
}
@media (max-width: 760px) {
  .is-home-page .hero-image { aspect-ratio: 1.3 / 1; min-height: 0; max-height: 360px; background-position: 82% 24%; }
  .is-home-page .hero-copy-wrap { align-items: center; padding: 0; }
  .is-home-page .hero-copy-wrap::before {
    background: linear-gradient(90deg,rgba(4,25,59,.94) 0%,rgba(5,33,75,.84) 52%,rgba(5,33,75,.22) 100%),
               linear-gradient(0deg,rgba(3,22,52,.18),transparent 65%);
  }
  .is-home-page .hero-copy { max-width: 82%; }
  .is-home-page .hero-kicker { margin-bottom: 7px; font-size: clamp(11px,3vw,14px); }
  .is-home-page .hero-copy h1 { font-size: clamp(25px,6.8vw,38px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
  .is-home-page .hero-rule { width: 35px; height: 2px; margin: 9px 0 7px; }
  .is-home-page .hero-desc { max-width: 29em; font-size: clamp(11px,3vw,13.5px); line-height: 1.5; }
}
@media (max-width: 390px) {
  .is-home-page .hero-copy { max-width: 84%; }
}

#event-registration .event-field-hint { display:block; margin-top:4px; color:#8996a6; font-size:11px; font-weight:400; }
