/* ==========================================================================
   PSHT Ranting Patrang — website profil
   Tema hitam–emas, kartu kaca, aksen emas. Semua warna lewat custom property.
   ========================================================================== */
:root {
  --gold: #D9B863;
  --gold-lt: #F6E7AE;
  --gold-dk: #A9852F;
  --ink: #F4F1E9;
  --muted: #A7A196;
  --line: rgba(217, 184, 99, .20);
  --line-soft: rgba(255, 255, 255, .09);
  --ok: #3FD79B;
  --no: #FF7A6E;
  --wait: #F0C35C;
  --radius: 18px;
  --shadow: 0 26px 50px -30px rgba(0, 0, 0, .95);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #000;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bg-accent {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46rem 32rem at 10% -10%, rgba(217, 184, 99, .13), transparent 62%),
    radial-gradient(40rem 28rem at 94% 2%, rgba(160, 128, 50, .10), transparent 60%),
    radial-gradient(38rem 26rem at 80% 92%, rgba(120, 96, 40, .08), transparent 64%),
    radial-gradient(32rem 24rem at 4% 82%, rgba(90, 74, 30, .10), transparent 62%),
    linear-gradient(180deg, #000000 0%, #08070A 55%, #000000 100%);
}

.wrap {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.02em; margin: 0 0 8px; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
h4 { font-size: .98rem; font-weight: 600; }
p { margin: 0 0 12px; }
a { color: var(--gold-lt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; }
.stack { display: grid; gap: 20px; }

/* ---------- Header ---------- */
.site-head { padding: 22px 0 8px; }

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .8));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: .98rem; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .72rem; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .89rem;
  font-weight: 500;
}
.site-nav a:hover { background: rgba(217, 184, 99, .10); color: var(--gold-lt); text-decoration: none; }
.site-nav a.active {
  background: rgba(217, 184, 99, .14);
  color: var(--gold-lt);
  box-shadow: inset 0 0 0 1px rgba(217, 184, 99, .32);
}
.site-nav a.nav-cta {
  margin-left: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk));
  color: #191304;
  font-weight: 700;
  box-shadow: 0 10px 22px -12px rgba(217, 184, 99, .8);
}
.site-nav a.nav-cta:hover { text-decoration: none; background: linear-gradient(135deg, #fff3c4, var(--gold-lt) 60%, var(--gold)); }

.nav-toggle {
  display: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}

main.wrap { padding: 30px 0 64px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.hero-copy { padding: 6px 4px 0; }
.hero-copy h1 { margin-bottom: 10px; }
.hero-logo {
  width: 104px; height: 104px;
  border-radius: 50%;
  margin-bottom: 16px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .9));
}
.hero-moto {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: var(--gold-lt);
  font-weight: 600;
  margin-bottom: 14px;
}
.lede { color: var(--muted); font-size: 1.02rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-card {
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  align-self: start;
}
.hero-card h2 { font-size: 1rem; color: var(--gold-lt); margin-bottom: 12px; }

.jadwal-list { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 9px; }
.jadwal-list li {
  position: relative;
  padding-left: 24px;
  font-size: .93rem;
}
.jadwal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  box-shadow: 0 0 0 4px rgba(217, 184, 99, .14);
}

.info-mini { display: grid; gap: 14px; margin: 0 0 18px; }
.info-mini dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 2px; }
.info-mini dd { margin: 0; font-size: .92rem; color: var(--ink); }

/* ---------- Sections ---------- */
.section { margin-top: 44px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-head h2 { margin: 2px 0 0; }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-link { font-size: .88rem; font-weight: 600; white-space: nowrap; }

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(217, 184, 99, .12);
  border: 1px solid rgba(217, 184, 99, .28);
  color: var(--gold-lt);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-head { margin-bottom: 26px; }
.page-head h1 { margin-bottom: 8px; }
.page-head.with-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.back-link { display: inline-block; font-size: .85rem; margin-bottom: 12px; color: var(--muted); }
.back-link:hover { color: var(--gold-lt); }

.card {
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 28px;
}
.card-title { font-size: 1.08rem; margin-bottom: 18px; }
.sub-title {
  font-size: .92rem;
  margin: 22px 0 10px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.grid-2-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }

.prose { font-size: .96rem; color: #DCD6C8; }
.prose p { margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; }

.empty-note {
  padding: 22px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
}
.info-box p { margin: 0 0 4px; font-size: .93rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.tujuan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tujuan-list li { position: relative; padding-left: 28px; font-size: .95rem; }
.tujuan-list li::before {
  content: '';
  position: absolute; left: 0; top: .45em;
  width: 14px; height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .85);
}
.syarat-list { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: .95rem; }
.syarat-list li::marker { color: var(--gold); font-weight: 700; }

/* ---------- Sambutan ---------- */
.sambutan {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.sambutan-foto { text-align: center; }
.sambutan-foto strong { display: block; margin-top: 12px; font-size: .96rem; }
.foto-potret {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(217, 184, 99, .35);
  background: rgba(255, 255, 255, .05);
}
.sambutan-teks { border-left: 2px solid rgba(217, 184, 99, .35); padding-left: 24px; }
.sambutan-teks p:first-child::first-letter {
  font-size: 2.6rem;
  line-height: 1;
  float: left;
  padding: 4px 8px 0 0;
  color: var(--gold);
  font-weight: 800;
}

/* ---------- Berita ---------- */
.berita-agenda { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; }
.berita-col { min-width: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow);
  transition: transform .16s ease, border-color .16s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: rgba(217, 184, 99, .5); }
.news-card.is-pengumuman { border-color: rgba(217, 184, 99, .4); }
.news-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background-color: #0c0b0f;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.news-media img { opacity: .85; }
.news-tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(217, 184, 99, .45);
  color: var(--gold-lt);
}
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-date { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.news-body h3 { font-size: .98rem; margin: 0; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--gold-lt); text-decoration: none; }
.news-body p { margin: 0; }
.read-more { margin-top: auto; font-size: .84rem; font-weight: 600; }

.agenda-col { padding: 22px; position: sticky; top: 18px; }
.agenda-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.agenda-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.agenda-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.agenda-date {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  width: 54px;
  padding: 8px 4px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 184, 99, .18), rgba(169, 133, 47, .1));
  border: 1px solid rgba(217, 184, 99, .3);
}
.agenda-date strong { font-size: 1.2rem; line-height: 1; color: var(--gold-lt); }
.agenda-date span { font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }
.agenda-body h4 { margin: 0 0 2px; font-size: .93rem; }
.agenda-body p { margin: 0; }
.agenda-note { color: var(--muted); margin-top: 4px !important; }

.article { padding: 32px; }
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
}
.article-lead {
  font-size: 1.04rem;
  color: var(--gold-lt);
  border-left: 3px solid rgba(217, 184, 99, .5);
  padding-left: 16px;
  margin-bottom: 22px;
}

/* ---------- Galeri & video ---------- */
.galeri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.galeri-item { margin: 0; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.galeri-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.galeri-item a:hover img { transform: scale(1.04); }
.galeri-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  font-size: .82rem;
}
.galeri-item figcaption time { color: var(--muted); white-space: nowrap; font-size: .76rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.video-item {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow);
}
.video-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 12px; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-item h4 { margin: 0 0 4px; }
.video-item p { margin: 0; }

/* ---------- Pengurus ---------- */
.ketua-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 20px; }
.orang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.orang-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.orang-foto { aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255, 255, 255, .04); }
.foto-orang { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-inisial {
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(217, 184, 99, .14), rgba(255, 255, 255, .02));
}
.orang-body { padding: 16px 18px 18px; }
.orang-body h3 { margin: 0 0 3px; font-size: 1rem; }
.orang-jabatan { margin: 0 0 3px; font-size: .86rem; color: var(--gold-lt); font-weight: 600; }
.orang-body p { margin: 0; }

/* ---------- Kontak / pendaftaran ---------- */
.kontak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kontak-alamat { font-size: .95rem; margin-bottom: 16px; }
.sos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sos-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--ink);
  font-size: .92rem;
}
.sos-list a:hover { border-color: rgba(217, 184, 99, .5); color: var(--gold-lt); text-decoration: none; }
.sos-arrow { color: var(--gold); }
.daftar-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.summary { display: grid; gap: 10px; margin: 0; }
.summary > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: .86rem; }
.summary dd { margin: 0; font-size: .94rem; font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(24rem 16rem at 100% 0%, rgba(217, 184, 99, .16), transparent 70%),
    rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 184, 99, .3);
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .94rem;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .16s ease, background .16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 55%, var(--gold-dk));
  color: #191304;
  font-weight: 700;
  box-shadow: 0 16px 30px -16px rgba(217, 184, 99, .85);
}
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(217, 184, 99, .6); color: var(--gold-lt); }
.btn-danger { background: linear-gradient(135deg, #FF7A6E, #C63B2E); color: #1A0705; box-shadow: 0 16px 30px -18px rgba(198, 59, 46, .8); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-stack { display: grid; gap: 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Alerts / badges / notes ---------- */
.alert {
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .93rem;
  border: 1px solid transparent;
}
.alert-error { background: rgba(255, 122, 110, .10); border-color: rgba(255, 122, 110, .38); color: #FFC0B9; }
.alert-success { background: rgba(63, 215, 155, .10); border-color: rgba(63, 215, 155, .35); color: #A8F2D2; }
.alert-info { background: rgba(217, 184, 99, .10); border-color: rgba(217, 184, 99, .34); color: var(--gold-lt); }

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-ok { background: rgba(63, 215, 155, .14); color: var(--ok); border: 1px solid rgba(63, 215, 155, .38); }
.badge-no { background: rgba(255, 122, 110, .13); color: var(--no); border: 1px solid rgba(255, 122, 110, .36); }
.badge-baru { background: rgba(167, 161, 150, .13); color: #D7D2C6; border: 1px solid rgba(167, 161, 150, .32); }
.badge-pindah { background: rgba(217, 184, 99, .16); color: var(--gold-lt); border: 1px solid rgba(217, 184, 99, .45); }

.note {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(240, 195, 92, .09);
  border: 1px solid rgba(240, 195, 92, .28);
}
.note strong { color: var(--gold-lt); }
.note p { margin: 6px 0 0; font-size: .92rem; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field em { color: #FF8A7E; font-style: normal; }
.field-hint { display: block; font-size: .78rem; color: var(--muted); font-style: normal; font-weight: 400; margin: -2px 0 7px; }

input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=number], input[type=password], select, textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input::placeholder, textarea::placeholder { color: rgba(167, 161, 150, .75); }
textarea { resize: vertical; min-height: 92px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 51%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: #111014; color: var(--ink); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(217, 184, 99, .7);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 4px rgba(217, 184, 99, .16);
}
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1) sepia(1) saturate(3) hue-rotate(2deg); cursor: pointer; }
input[type=file] {
  width: 100%;
  font: inherit;
  font-size: .82rem;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .35);
  color: var(--ink);
}
input[type=file]::file-selector-button {
  margin-right: 10px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(217, 184, 99, .4);
  background: rgba(217, 184, 99, .16);
  color: var(--gold-lt);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}
.check-line { display: flex; align-items: center; gap: 10px; font-size: .9rem; padding: 12px 0; }
.check-line input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; }

.file-field {
  display: block;
  padding: 16px;
  border: 1px dashed rgba(217, 184, 99, .35);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.file-field:hover { border-color: rgba(217, 184, 99, .7); background: rgba(255, 255, 255, .06); }
.file-hint { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.file-title { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.image-field { margin-bottom: 18px; }
.image-current { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.foto-thumb { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(217, 184, 99, .3); background: rgba(255, 255, 255, .05); }
.foto-thumb-sm { width: 58px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); display: block; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  margin-top: 22px;
}
.form-foot p { margin: 0; max-width: 46ch; }

/* ---------- Segmented control ---------- */
.seg-control {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}
.seg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
}
.seg:hover { text-decoration: none; color: var(--gold-lt); background: rgba(217, 184, 99, .09); }
.seg.active {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk));
  color: #191304;
}
.seg-count {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  font-size: .74rem;
  text-align: center;
}
.seg.active .seg-count { background: rgba(0, 0, 0, .22); color: #191304; }

/* ---------- Footer ---------- */
.site-foot {
  margin-top: 30px;
  padding: 34px 0 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .86rem;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 24px 32px;
  align-items: start;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-logo { width: 52px; height: 52px; border-radius: 50%; opacity: .92; flex: 0 0 auto; }
.foot-title { margin: 0; font-weight: 700; color: var(--ink); font-size: .96rem; }
.foot-brand p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); font-size: .86rem; padding: 2px 0; }
.foot-links a:hover { color: var(--gold-lt); text-decoration: none; }
.foot-sos { display: flex; flex-direction: column; gap: 7px; }
.foot-sos a { color: var(--muted); font-size: .86rem; }
.foot-sos a:hover { color: var(--gold-lt); text-decoration: none; }
.foot-sos .foot-admin { margin-top: 6px; color: rgba(167, 161, 150, .75); font-size: .8rem; border-top: 1px dashed rgba(255, 255, 255, .1); padding-top: 8px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .8rem;
}
.foot-moto { color: var(--gold); font-style: italic; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1080px, 94vw);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .88); backdrop-filter: blur(4px); }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid rgba(217, 184, 99, .3);
}
.lightbox-cap { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 12px; }
.lightbox-close {
  position: absolute;
  right: 0; top: -44px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .6);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Admin ---------- */
.login-wrap { display: grid; place-items: center; min-height: 100vh; padding: 40px 0; }
.login-card { width: min(440px, 100%); padding: 34px 30px; text-align: center; }
.login-logo { display: block; width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .9)); }
.login-card h1 { font-size: 1.4rem; }
.login-card form { margin-top: 20px; text-align: left; }
.login-card .alert { text-align: left; }

.admin-head { gap: 12px; }
.admin-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 7px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
}
.admin-tabs a {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
}
.admin-tabs a:hover { color: var(--gold-lt); background: rgba(217, 184, 99, .09); text-decoration: none; }
.admin-tabs a.active {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk));
  color: #191304;
}
.admin-split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-split > .card:only-child { grid-column: 1 / -1; }
.admin-foot { margin-top: 40px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform .14s ease, border-color .16s ease;
}
.stat-card:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(217, 184, 99, .55); }
.stat-card small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.stat-card strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.stat-card.active { background: linear-gradient(135deg, rgba(217, 184, 99, .16), rgba(169, 133, 47, .10)); border-color: rgba(217, 184, 99, .6); }
.stat-card.active strong { color: var(--gold-lt); }

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 16px;
}
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-lt), var(--gold)); }
.check-status { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.check-status li.ok { color: var(--ok); }
.check-status li.pending { color: var(--muted); }

.table-card { padding: 14px 8px 10px; }
.table-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 14px 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 12px 14px; text-align: left; white-space: nowrap; vertical-align: middle; }
thead th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
tbody tr { border-bottom: 1px solid rgba(255, 255, 255, .07); }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: rgba(217, 184, 99, .07); }
.asal-cell { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: 8px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.badge + .badge { margin-left: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .berita-agenda { grid-template-columns: 1fr; }
  .agenda-col { position: static; }
  .admin-split { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 14px; }
  .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { align-self: stretch; }
  .grid-2, .grid-2-cards, .info-grid, .kontak-grid { grid-template-columns: 1fr; }
  .sambutan { grid-template-columns: 1fr; gap: 20px; }
  .sambutan-foto { max-width: 210px; }
  .sambutan-teks { border-left: 0; border-top: 2px solid rgba(217, 184, 99, .35); padding-left: 0; padding-top: 20px; }
  .article { padding: 22px 20px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-sos { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .foot-sos .foot-admin { border-top: 0; padding-top: 0; margin-top: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(1140px, 100% - 24px); }
  .card { padding: 20px 18px 22px; }
  .summary > div { grid-template-columns: 1fr; gap: 2px; }
  .head-inner { padding: 12px 14px; }
  .hero-logo { width: 84px; height: 84px; }
  .cta-band { padding: 22px 20px; }
  .cta-actions .btn { width: 100%; }
  .hero-actions .btn, .daftar-cta .btn { width: 100%; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .galeri-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .galeri-item figcaption { font-size: .76rem; padding: 8px 10px; }
  .news-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
