/* ==========================================================================
   Digital Leadership Platform - public theme (v2)
   Mobile-first institutional layout: header, hero, stat strip, menu grid,
   scroll cards, editorial news list.
   ========================================================================== */

:root {
  /* Brand (overridden inline from the admin "Identitas & Logo" settings) */
  --hn-primary: #0B5D2C;
  --hn-primary-dark: #094A23;
  --hn-primary-deep: #063D1D;
  --hn-primary-light: #12924A;
  --hn-primary-soft: #E8F3EC;
  --hn-accent: #F2C200;
  --hn-accent-dark: #C99E00;
  --hn-accent-soft: #FFF7DB;

  /* Neutrals */
  --ink: #16233a;
  --body: #4d5b70;
  --muted: #808ea4;
  --line: #e4e9f2;
  --line-strong: #d3dbe8;
  --surface: #ffffff;
  --canvas: #f4f6fa;

  /* Category colours (menu grid) */
  --c-aspirasi: #0B5D2C;
  --c-agenda: #12924A;
  --c-program: #0E7A3C;
  --c-berita: #1AA355;
  --c-galeri: #0A4F26;
  --c-profil: #12924A;
  --c-peraturan: #0E7A3C;
  --c-lainnya: #64748B;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(16, 35, 58, .06);
  --shadow-sm: 0 2px 10px rgba(16, 35, 58, .07);
  --shadow: 0 10px 28px rgba(16, 35, 58, .10);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
}

* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

a { color: var(--hn-primary); text-decoration: none; }
a:hover { color: var(--hn-primary-dark); }

.container { max-width: 1140px; }

.text-accent { color: var(--hn-accent) !important; }
.text-primary-hn { color: var(--hn-primary) !important; }
.bg-canvas { background: var(--canvas) !important; }
.bg-soft { background: var(--hn-primary-soft) !important; }

/* ------------------------------------------------------------- topbar */
.site-topbar {
  background: var(--hn-primary-deep);
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  padding: .4rem 0;
}

.site-topbar a { color: rgba(255, 255, 255, .78); }
.site-topbar a:hover { color: #fff; }
.site-topbar .divider { opacity: .35; margin: 0 .6rem; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
}

.hamburger,
.header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--hn-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  position: relative;
  flex: 0 0 42px;
  transition: background .18s ease, border-color .18s ease;
}

.hamburger:hover,
.header-icon:hover { background: var(--hn-primary-soft); border-color: var(--hn-primary-soft); }

.header-icon .dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e13b2f;
  border: 1.5px solid #fff;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.brand-block img {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.brand-block .brand-text { min-width: 0; }

.brand-block .brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-block .brand-slogan {
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* logo panjang (wordmark) dipakai di semua ukuran layar */
.brand-logo-wide { display: block; height: 40px; width: auto; max-width: 66vw; object-fit: contain; }
.brand-mark-img { display: none; }
.brand-block .brand-text { display: none; }

/* desktop navigation */
.site-nav { display: none; align-items: center; gap: .25rem; }

.site-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: #33445f;
  padding: .5rem .7rem;
  border-radius: 10px;
}

.site-nav a:hover { background: var(--hn-primary-soft); color: var(--hn-primary); }
.site-nav a.active { color: var(--hn-primary); }

.header-cta { display: none; }

/* ------------------------------------------------------------- drawer */
.hn-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: #fff;
  z-index: 1080;
  transform: translateX(-102%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 40px rgba(16, 35, 58, .18);
}

.hn-drawer.open { transform: translateX(0); }

.hn-drawer-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.hn-drawer-head img { height: 34px; }

.hn-drawer-body { padding: .6rem .5rem 1.5rem; overflow-y: auto; }

.hn-drawer-body a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .72rem .8rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
}

.hn-drawer-body a:hover { background: var(--hn-primary-soft); color: var(--hn-primary); }

.hn-drawer-body a .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .85rem;
  flex: 0 0 34px;
}

.hn-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 30, 16, .5);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

.hn-drawer-backdrop.show { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--hn-primary-deep);
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 28%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 16, .70);
}

.hero-inner { position: relative; z-index: 2; padding: 2.6rem 0 4.4rem; }

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hn-accent);
  margin-bottom: .9rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(1.75rem, 8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .9rem;
}

.hero-title .hl { color: var(--hn-accent); }

.hero-lead {
  color: rgba(255, 255, 255, .9);
  font-size: .98rem;
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.hero-script {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, .92);
  margin-top: 1.6rem;
}

/* ------------------------------------------------------------- hero slider */
.hero-slider .carousel-item { overflow: hidden; }

.hero-slider .hero-inner {
  display: flex;
  align-items: center;
  min-height: 360px;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

.hero-slider .carousel-item.active .hero-media {
  animation: heroZoom 9s ease-out forwards;
}

.hero-slider .hero-media { transform-origin: center 40%; }

.hero-dots {
  bottom: 1.1rem;
  z-index: 5;
  margin-bottom: 0;
}

.hero-dots [data-bs-target] {
  width: 24px;
  height: 4px;
  margin: 0 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  opacity: 1;
  transition: width .25s ease, background .25s ease;
}

.hero-dots .active {
  width: 40px;
  background: var(--hn-accent);
}

.hero-control {
  width: 60px;
  opacity: 1;
  display: none;
}

.hero-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  font-size: .95rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.hero-control:hover .hero-control-btn {
  background: #fff;
  color: var(--hn-primary);
  transform: scale(1.05);
}

/* ------------------------------------------------------------- buttons */
.btn { border-radius: 12px; font-weight: 600; padding: .68rem 1.3rem; font-size: .92rem; }

.btn-gold {
  background: var(--hn-accent);
  border: 1px solid var(--hn-accent);
  color: #0B3D1E;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.btn-gold:hover { background: var(--hn-accent-dark); border-color: var(--hn-accent-dark); color: #072B14; }

.btn-outline-light-hn { border: 1.4px solid rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-light-hn:hover { background: #fff; color: var(--hn-primary); border-color: #fff; }

.btn-blue { background: var(--hn-primary); border: 1px solid var(--hn-primary); color: #fff; }
.btn-blue:hover { background: var(--hn-primary-dark); border-color: var(--hn-primary-dark); color: #fff; }

.btn-ghost { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--hn-primary); color: var(--hn-primary); }

.btn-sm { padding: .45rem 1rem; font-size: .84rem; }

.link-more {
  font-size: .85rem;
  font-weight: 700;
  color: var(--hn-primary);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.link-more:hover { gap: .55rem; }

/* ------------------------------------------------------------- stat strip */
.stat-strip { margin-top: -2.9rem; position: relative; z-index: 5; }

.stat-strip-inner {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 1.05rem .9rem;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-child(n+3) { border-bottom: none; }

.stat-item .ico {
  width: 34px; height: 34px;
  margin: 0 auto .45rem;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .82rem;
  background: var(--hn-primary-soft);
  color: var(--hn-primary);
}

.stat-item .val {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.stat-item .lbl { font-size: .74rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------- sections */
.section { padding: 2.2rem 0 0; }
.section-last { padding-bottom: 2.6rem; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  position: relative;
  padding-left: .8rem;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 4px;
  height: 1em;
  border-radius: 3px;
  background: var(--hn-accent);
}

.section-head .sub { font-size: .82rem; color: var(--muted); display: block; font-weight: 500; }

.section-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 1.15rem;
}

/* ------------------------------------------------------------- menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
}

.menu-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem .4rem .7rem;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.menu-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }

.menu-item .ico {
  width: 40px; height: 40px;
  margin: 0 auto .5rem;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  font-size: .95rem;
}

.menu-item .lbl {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  display: block;
}

.bg-aspirasi { background: var(--c-aspirasi); }
.bg-agenda { background: var(--c-agenda); }
.bg-program { background: var(--c-program); }
.bg-berita { background: var(--c-berita); }
.bg-galeri { background: var(--c-galeri); }
.bg-profil { background: var(--c-profil); }
.bg-peraturan { background: var(--c-peraturan); }
.bg-lainnya { background: var(--c-lainnya); }

/* ------------------------------------------------------------- scroll cards */
.scroll-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: .8rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-cards::-webkit-scrollbar { display: none; }
.scroll-cards > * { scroll-snap-align: start; }

.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}

.pcard:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.pcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hn-primary-soft); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcard-cat {
  position: absolute;
  left: .6rem;
  top: .6rem;
  background: rgba(255, 255, 255, .95);
  color: var(--hn-primary);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .22rem .5rem;
  border-radius: 6px;
}

.pcard-body { padding: .9rem .95rem 1rem; display: flex; flex-direction: column; flex: 1; }
.pcard-title { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.pcard-text { font-size: .82rem; color: var(--body); margin-bottom: .7rem; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------- news list */
.news-list { display: grid; gap: .7rem; }

.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 108px 1fr;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.news-item:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.news-item-img { height: 100%; min-height: 108px; overflow: hidden; background: var(--hn-primary-soft); }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item-body { padding: .8rem .9rem; }

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .3rem;
}

.news-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--hn-primary);
  background: var(--hn-primary-soft);
  border-radius: 5px;
  padding: .12rem .42rem;
}

.news-item-title { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; line-height: 1.35; }
.news-item-excerpt { font-size: .82rem; color: var(--body); margin: 0; }

/* ------------------------------------------------------------- generic card */
.card-hn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-hn-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hn-primary-soft); }
.card-hn-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-hn-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card-hn-title { font-size: .98rem; font-weight: 700; margin-bottom: .4rem; }
.card-hn-text { font-size: .85rem; color: var(--body); margin-bottom: .8rem; }
.card-hn-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

/* legacy aliases kept for the inner pages */
.hn-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.hn-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hn-primary-soft); }
.hn-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.hn-card-title { font-size: .98rem; font-weight: 700; margin-bottom: .4rem; }
.hn-card-text { font-size: .85rem; color: var(--body); margin-bottom: .8rem; }
.hn-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hn-chip-media { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: rgba(255, 255, 255, .95); }

/* ------------------------------------------------------------- page header (inner pages) */
.page-head {
  background: var(--hn-primary);
  color: #fff;
  padding: 1.7rem 0;
}

.page-head h1 { color: #fff; font-size: clamp(1.25rem, 5vw, 1.7rem); margin-bottom: .25rem; font-weight: 800; }
.page-head p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .88rem; }

.crumbs { font-size: .76rem; color: rgba(255, 255, 255, .7); margin-bottom: .6rem; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 .35rem; opacity: .5; }

/* ------------------------------------------------------------- badges & status */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .24rem .55rem;
  border-radius: 6px;
  background: var(--hn-primary-soft);
  color: var(--hn-primary);
}

.chip-accent { background: var(--hn-accent-soft); color: var(--hn-accent-dark); }
.chip-light { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }

.hn-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: .24rem .55rem; border-radius: 6px; background: var(--hn-primary-soft); color: var(--hn-primary); }
.hn-chip.accent { background: var(--hn-accent-soft); color: var(--hn-accent-dark); }
.hn-chip.light { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .24rem .6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.status-new { background: #fdeee0; color: #c3540a; }
.status-verified { background: #e2f7f4; color: #0a9f8f; }
.status-process { background: #fff3dd; color: #c77f00; }
.status-done { background: #e5f7ea; color: #2e9e5b; }
.prog-plan { background: #eef2f8; color: #56657c; }
.prog-run { background: #fff3dd; color: #c77f00; }
.prog-done { background: #e5f7ea; color: #2e9e5b; }

/* ------------------------------------------------------------- progress */
.hn-progress { height: 6px; background: #eef2f8; border-radius: 999px; overflow: hidden; }
.hn-progress-bar { height: 100%; border-radius: 999px; background: var(--hn-primary); }

/* ------------------------------------------------------------- filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }

.hn-filter-btn,
.filter-bar a {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #44536b;
  border-radius: 10px;
  padding: .42rem .85rem;
  font-size: .82rem;
  font-weight: 600;
}

.hn-filter-btn.active,
.hn-filter-btn:hover,
.filter-bar a.active,
.filter-bar a:hover { background: var(--hn-primary); border-color: var(--hn-primary); color: #fff; }

/* ------------------------------------------------------------- forms */
.hn-form-card,
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 1.35rem;
}

.form-label { font-weight: 600; color: var(--ink); font-size: .86rem; margin-bottom: .35rem; }

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  padding: .68rem .9rem;
  font-size: .92rem;
  background: #fbfcfe;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--hn-primary-light);
  box-shadow: 0 0 0 .2rem rgba(11, 93, 44, .12);
  background: #fff;
}

.form-text { font-size: .78rem; color: var(--muted); }

.hn-dropzone {
  border: 1.6px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  background: #fbfcfe;
  cursor: pointer;
}

.hn-dropzone:hover { border-color: var(--hn-primary-light); background: var(--hn-primary-soft); }
.hn-dropzone i { font-size: 1.4rem; color: var(--hn-primary); }

/* ------------------------------------------------------------- steps */
.hn-steps { display: flex; flex-wrap: wrap; gap: .5rem; }

.hn-step {
  flex: 1 1 130px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: .7rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}

.hn-step.is-active { border-color: var(--hn-primary); color: var(--hn-primary); background: var(--hn-primary-soft); }
.hn-step.is-done { border-color: #bfe8d0; color: #2e9e5b; background: #eefaf2; }
.hn-step small { display: block; font-weight: 500; font-size: .72rem; opacity: .85; }
.hn-step i { margin-right: .1rem; }

/* ------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }

.hn-gallery-item,
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--hn-primary-soft);
}

.gallery-item img,
.hn-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img,
.hn-gallery-item:hover img { transform: scale(1.04); }

.hn-gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: .6rem .7rem;
  background: rgba(6, 30, 16, .55);
  color: #fff;
}

.hn-gallery-overlay .t { font-size: .8rem; font-weight: 700; }
.hn-gallery-overlay .s { font-size: .7rem; color: rgba(255, 255, 255, .78); }

/* ------------------------------------------------------------- facts / detail */
.hn-fact { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.hn-fact:last-child { border-bottom: none; }
.hn-fact i { color: var(--hn-accent); margin-top: .3rem; width: 16px; text-align: center; }
.hn-fact span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hn-fact strong { color: var(--ink); font-weight: 700; font-size: .92rem; }

.detail-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  height: 100%;
}

.detail-box span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.detail-box strong { color: var(--ink); font-size: .92rem; }

/* kotak status aspirasi: ikon berwarna sesuai status */
.detail-box-icon {
  display: flex;
  align-items: center;
  gap: .7rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.detail-box-icon:hover {
  transform: translateY(-2px);
  border-color: var(--hn-primary-soft);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

.detail-box-icon .detail-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--stat-color, var(--hn-primary));
  background: var(--hn-primary-soft);
  border: 1px solid transparent;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
  .detail-box-icon .detail-icon {
    background: color-mix(in srgb, var(--stat-color, var(--hn-primary)) 13%, #fff);
    border-color: color-mix(in srgb, var(--stat-color, var(--hn-primary)) 22%, #fff);
  }
}

.detail-box-icon .detail-icon-text { min-width: 0; }
.detail-box-icon .detail-icon-text strong { display: block; line-height: 1.15; }

/* ------------------------------------------------------------- timeline */
.hn-timeline { position: relative; padding-left: 26px; }

.hn-timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line-strong);
}

.hn-timeline-item { position: relative; padding-bottom: 1.3rem; }

.hn-timeline-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--hn-primary);
}

.hn-timeline-year { font-weight: 700; color: var(--hn-primary); font-size: .85rem; }

/* ------------------------------------------------------------- article */
.hn-article-content { font-size: 1rem; color: #3d4b60; }
.hn-article-content img { max-width: 100%; border-radius: var(--radius-sm); }
.hn-article-content p { margin-bottom: 1rem; }
.hn-article-content h2, .hn-article-content h3 { margin: 1.6rem 0 .7rem; }

.hn-quote {
  border-left: 3px solid var(--hn-accent);
  padding-left: 1rem;
  font-style: italic;
  color: var(--ink);
}

/* ------------------------------------------------------------- misc */
.hn-empty { padding: 2.4rem 1rem; text-align: center; color: var(--muted); font-size: .9rem; }
.hn-empty i { font-size: 1.9rem; color: var(--line-strong); display: block; margin-bottom: .6rem; }

.hn-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; height: 100%; }
.hn-stat-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--hn-primary-soft); color: var(--hn-primary); margin-bottom: .6rem; font-size: .95rem; }
.hn-stat-icon.accent { background: var(--hn-accent-soft); color: var(--hn-accent-dark); }
.hn-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hn-stat-label { font-size: .8rem; color: var(--muted); }

.hn-social {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
}

.hn-social:hover { background: var(--hn-accent); }

/* ikon sosial media resmi di topbar dan menu HP */
.site-topbar .hn-topbar-social a {
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
  margin-right: .55rem;
  line-height: 1;
}

.site-topbar .hn-topbar-social a:last-child { margin-right: 0; }
.site-topbar .hn-topbar-social a:hover { color: #fff; }

.hn-drawer-social {
  margin: .9rem .9rem 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.hn-drawer-social-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .55rem;
}

.hn-drawer-social .hn-social {
  background: var(--hn-primary-soft);
  color: var(--hn-primary) !important;
}

.hn-drawer-social .hn-social:hover {
  background: var(--hn-primary);
  color: #fff !important;
}

/* ------------------------------------------------------------- footer */
.site-footer {
  background: var(--hn-primary-deep);
  color: rgba(255, 255, 255, .75);
  padding: 2.4rem 0 1.4rem;
  margin-top: 2.4rem;
}

.site-footer h5 {
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.site-footer a { color: rgba(255, 255, 255, .75); font-size: .86rem; }
.site-footer a:hover { color: var(--hn-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; font-size: .86rem; }
.site-footer .contact li { display: flex; gap: .6rem; }
.site-footer .contact i { color: var(--hn-accent); margin-top: .28rem; }

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 1.8rem;
  padding-top: 1rem;
  font-size: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
}

/* ------------------------------------------------------------- bottom nav */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  display: flex;
  justify-content: center;
  padding: 0 .6rem calc(.6rem + env(safe-area-inset-bottom));
  pointer-events: none;
  /* tampil/hilang mengikuti arah gulir, seperti aplikasi ponsel */
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  will-change: transform;
}

/* disembunyikan sementara saat pengunjung menggulir ke bawah */
.bottom-nav.is-hidden {
  transform: translateY(calc(100% + 1.2rem));
  opacity: 0;
}

.bottom-nav-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: stretch;
  gap: .15rem;
  padding: .4rem .35rem;
  border-radius: 20px;
  border: 1px solid rgba(228, 233, 242, .9);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(16, 35, 58, .16), 0 2px 6px rgba(16, 35, 58, .06);
  transition: box-shadow .28s ease, transform .28s ease;
  position: relative;
  overflow: hidden;
}

/* hairline highlight on top of the bar */
.bottom-nav-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(255, 255, 255, .65);
}

.bottom-nav.is-scrolled .bottom-nav-inner {
  box-shadow: 0 18px 40px rgba(16, 35, 58, .22), 0 2px 6px rgba(16, 35, 58, .08);
}

.bottom-item {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  padding: .3rem .1rem .28rem;
  border-radius: 15px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .01em;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .22s ease, color .22s ease, transform .15s ease;
}

.bottom-item .bi-icon {
  width: 40px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 1.06rem;
  transition: background .24s ease, color .24s ease, transform .24s ease, box-shadow .24s ease;
}

.bottom-item .bi-label { white-space: nowrap; transition: color .22s ease; }

.bottom-item:active { transform: scale(.95); }

.bottom-item:active .bi-icon { transform: scale(.88); }

/* tab aktif: chip emas sedikit terangkat, tanpa pergeseran teks */
.bottom-item.active { color: var(--hn-primary); }

.bottom-item.active .bi-icon {
  background: var(--hn-accent);
  color: #0B3D1E;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 93, 44, .28);
  animation: navPop .42s cubic-bezier(.34, 1.4, .64, 1);
}

@keyframes navPop {
  0% { transform: translateY(0) scale(.86); }
  60% { transform: translateY(-3px) scale(1.05); }
  100% { transform: translateY(-2px) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav { transition: none; }
  .bottom-nav.is-hidden { transform: none; opacity: 1; }
  .bottom-item.active .bi-icon { animation: none; }
}

/* quick action button that sits above the bar */
.quick-top {
  position: fixed;
  right: .9rem;
  bottom: calc(5.2rem + env(safe-area-inset-bottom));
  z-index: 1031;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  color: var(--hn-primary);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(16, 35, 58, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.quick-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.quick-top:active { transform: scale(.92); }

/* ------------------------------------------------------------- share bar */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
}

.share-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .15rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 38px;
  height: 38px;
  padding: 0 .7rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.share-btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.share-wa:hover { background: #25d366; }
.share-fb:hover { background: #1877f2; }
.share-x:hover { background: #101010; }
.share-tg:hover { background: #229ed9; }
.share-mail:hover { background: var(--hn-primary); }
.share-copy:hover { background: var(--hn-accent); color: #0B3D1E; border-color: var(--hn-accent); }
.share-btn:active { transform: scale(.95); }

.share-native { display: none; }
.share-native.is-visible {
  display: inline-flex;
  background: var(--hn-primary-soft);
  border-color: var(--hn-primary-soft);
  color: var(--hn-primary);
}

/* ------------------------------------------------------------- whatsapp */
.btn-wa { background: #25d366; border: 1px solid #25d366; color: #05371b; }
.btn-wa:hover, .btn-wa:focus { background: #1eb85a; border-color: #1eb85a; color: #05371b; }

.wa-float {
  position: fixed;
  right: .95rem;
  bottom: calc(9.1rem + env(safe-area-inset-bottom));
  z-index: 1032;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: .82rem;
  box-shadow: 0 12px 26px rgba(9, 70, 37, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}

.wa-float i { font-size: 1.3rem; line-height: 1; }
.wa-float-text { display: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(9, 70, 37, .38); color: #fff; }
.wa-float:active { transform: scale(.94); }

.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, .5);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0% { opacity: .7; transform: scale(.92); }
  70% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(1.25); }
}

/* gallery detail helpers */
.gallery-zoom {
  position: absolute;
  top: .55rem; right: .55rem;
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(6, 30, 16, .55);
  color: #fff;
  font-size: .78rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.gallery-item:hover .gallery-zoom { opacity: 1; transform: translateY(0); }
.gallery-zoom:hover { background: var(--hn-accent); color: #0B3D1E; }

.gallery-nav {
  display: grid;
  gap: .55rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.gallery-nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}

.gallery-nav-link i { color: var(--hn-accent); }
.gallery-nav-link small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.gallery-nav-link strong { font-size: .86rem; font-weight: 700; }
.gallery-nav-link:hover { border-color: var(--hn-primary); background: var(--hn-primary-soft); }
.gallery-nav-link.is-right { text-align: right; justify-content: flex-end; }
.gallery-nav-link.is-disabled { opacity: .55; cursor: not-allowed; }

@media (min-width: 576px) {
  .gallery-nav { grid-template-columns: 1fr 1fr; }
}

/* desktop: bottom nav is hidden, so the WhatsApp button drops down */
@media (min-width: 992px) {
  .wa-float { bottom: 1.5rem; padding: .8rem 1.05rem .8rem .85rem; }
  .wa-float-text { display: inline; }
}

/* ------------------------------------------------------------- hero slider v2 */
.hero-slider .hero-inner { position: relative; z-index: 2; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay.overlay-soft {
  background: rgba(6, 30, 16, .58);
}

.hero-overlay.overlay-medium {
  background: rgba(6, 30, 16, .72);
}

.hero-overlay.overlay-strong {
  background: rgba(6, 30, 16, .86);
}

.hero-slider .hero-media { background-size: cover; background-position: center; will-change: transform; }

.hero-slider .carousel-item.active .hero-media.anim-zoom { animation: hnKenZoom 9s ease-out both; }
.hero-slider .carousel-item.active .hero-media.anim-fade { animation: hnFadeIn 1.1s ease both; }
.hero-slider .carousel-item.active .hero-media.anim-pan-left { animation: hnPanLeft 10s ease-out both; }
.hero-slider .carousel-item.active .hero-media.anim-pan-right { animation: hnPanRight 10s ease-out both; }

@keyframes hnKenZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes hnFadeIn { from { opacity: .3; } to { opacity: 1; } }
@keyframes hnPanLeft { from { transform: scale(1.07) translateX(2%); } to { transform: scale(1.07) translateX(-2%); } }
@keyframes hnPanRight { from { transform: scale(1.07) translateX(-2%); } to { transform: scale(1.07) translateX(2%); } }

.hero-slider .carousel-item.active .hero-eyebrow { animation: hnRise .7s ease both; }
.hero-slider .carousel-item.active .hero-title { animation: hnRise .85s .08s ease both; }
.hero-slider .carousel-item.active .hero-lead { animation: hnRise .95s .16s ease both; }
.hero-slider .carousel-item.active .hero-actions { animation: hnRise 1.05s .24s ease both; }

@keyframes hnRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-title .hl { display: block; }

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .18);
  z-index: 5;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--hn-accent);
}

@keyframes hnProgress { from { width: 0; } to { width: 100%; } }

.hero-counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: rgba(6, 30, 16, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.hero-slider .hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .45);
  transition: width .32s ease, background .32s ease;
}

.hero-slider .hero-dots button.active {
  width: 28px;
  background: var(--hn-accent);
}

.hero-slider .hero-inner.is-center .hero-actions { justify-content: center; }

/* ------------------------------------------------------------- kata sambutan */
.welcome-section { padding-top: 0; }

.welcome-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 24px 54px rgba(16, 35, 58, .09);
}

.welcome-photo { position: relative; }

.welcome-photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--hn-primary-soft);
  box-shadow: 0 16px 34px rgba(16, 35, 58, .16);
}

.welcome-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.welcome-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 16, .28);
}

.welcome-photo::before {
  content: "";
  position: absolute;
  inset: -8px -8px auto auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--hn-accent);
  opacity: .55;
}

.welcome-badge {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--hn-primary);
  font-size: .68rem;
  font-weight: 700;
}

.welcome-badge i { color: #2e9e5b; }

.welcome-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem; }

.welcome-stats > div {
  background: var(--hn-primary-soft);
  border-radius: 12px;
  padding: .55rem .6rem;
  text-align: center;
}

.welcome-stats strong { display: block; font-size: 1.15rem; color: var(--hn-primary); line-height: 1.1; }
.welcome-stats span { font-size: .68rem; color: var(--muted); }

.welcome-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hn-accent-dark);
}

.welcome-name { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; margin: .5rem 0 .15rem; color: var(--ink); }
.welcome-role { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.welcome-text { font-size: .95rem; color: #3d4b60; }
.welcome-text p:last-child { margin-bottom: 0; }

.welcome-sign {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
}

.welcome-sign span { display: block; font-size: .82rem; color: var(--muted); }
.welcome-sign strong { font-family: 'Dancing Script', cursive; font-size: 1.55rem; color: var(--hn-primary); font-weight: 600; }

.welcome-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

@media (max-width: 767.98px) {
  .welcome-card { grid-template-columns: 1fr; padding: 1.15rem; gap: 1.3rem; }
  .welcome-photo-frame { aspect-ratio: 1 / 1; max-width: 320px; margin: 0 auto; }
}

/* ------------------------------------------------------------- article extras */
.hn-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.1rem;
  font-size: .92rem;
}

.hn-article-content table th,
.hn-article-content table td {
  border: 1px solid var(--line-strong);
  padding: .5rem .65rem;
  vertical-align: top;
}

.hn-article-content table th { background: var(--hn-primary-soft); font-weight: 700; }

.hn-article-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
  margin: .6rem 0 1rem;
}

.hn-article-content blockquote {
  border-left: 3px solid var(--hn-accent);
  padding-left: 1rem;
  margin: 1rem 0;
  color: #4d5b73;
  font-style: italic;
}

.hn-article-content ul,
.hn-article-content ol { padding-left: 1.35rem; margin-bottom: 1rem; }
.hn-article-content h2 { font-size: 1.25rem; margin: 1.4rem 0 .6rem; }
.hn-article-content h3 { font-size: 1.08rem; margin: 1.2rem 0 .5rem; }
.hn-article-content img { max-width: 100%; height: auto; border-radius: 10px; }
.hn-article-content a { text-decoration: underline; }

.news-gallery { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }

.news-gallery-count {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--hn-primary-soft);
  padding: .15rem .55rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: .4rem;
}

/* ------------------------------------------------------------- credit link */
.hn-credit-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff !important;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .25s ease;
}

.hn-credit-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(242, 194, 0, .30);
  transform: translateX(-120%);
  animation: hnShine 3.6s ease-in-out infinite;
  z-index: -1;
}

.hn-credit-bolt { color: var(--hn-accent); animation: hnBolt 2.4s ease-in-out infinite; }

.hn-credit-text {
  color: var(--hn-accent);
}

.hn-credit-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(242, 194, 0, .55), 0 8px 20px rgba(11, 93, 44, .30);
}

.hn-credit-link:active { transform: scale(.95); }

.hn-credit-link.is-striking { animation: hnFlash .55s ease-out; }

@keyframes hnShine {
  0%, 62% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(130%); }
}

@keyframes hnBolt {
  0%, 100% { opacity: 1; transform: scale(1); }
  42% { opacity: .4; transform: scale(.88); }
  52% { opacity: 1; transform: scale(1.14); }
}

@keyframes hnFlow { to { background-position: -220% 0; } }

@keyframes hnFlash {
  0% { box-shadow: 0 0 0 0 rgba(242, 194, 0, .85), inset 0 0 0 0 rgba(255, 255, 255, .9); }
  100% { box-shadow: 0 0 0 10px rgba(242, 194, 0, 0), inset 0 0 0 18px rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hn-credit-link::before,
  .hn-credit-bolt,
  .hn-credit-text,
  .hero-slider .carousel-item.active .hero-media { animation: none !important; }
}

.hn-footer-right {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.hn-footer-links { display: inline-flex; align-items: center; }

@media (max-width: 575.98px) {
  .hn-footer-right { width: 100%; justify-content: space-between; }
}

/* ------------------------------------------------------------- language switcher */
/* the Google widget itself stays hidden - we only use its translation engine */
.hn-gt-hidden,
#google_translate_element,
#google_translate_element *,
.goog-te-gadget,
.goog-te-gadget * {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt {
  display: none !important;
}

body { top: 0 !important; }

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.hn-lang { position: relative; margin-left: .3rem; }

.hn-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 38px;
  padding: 0 .7rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--hn-primary);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hn-lang-btn:hover { border-color: var(--hn-primary); background: var(--hn-primary-soft); }

.hn-lang-btn.is-translated {
  background: var(--hn-primary);
  border-color: transparent;
  color: #fff;
}

.hn-lang-code { letter-spacing: .06em; }
.hn-lang-caret { font-size: .62rem; opacity: .7; }

.hn-lang-panel {
  position: fixed;
  z-index: 1200;
  top: 76px;
  right: 1rem;
  width: min(390px, calc(100vw - 2rem));
  padding: .7rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 26px 60px rgba(16, 35, 58, .22);
  animation: hnLangIn .18s ease;
}

@keyframes hnLangIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.hn-lang-head { display: flex; align-items: baseline; gap: .4rem; padding: .1rem .35rem .55rem; }
.hn-lang-head strong { font-size: .9rem; color: var(--ink); }
.hn-lang-head span { font-size: .72rem; color: var(--muted); }

.hn-lang-close {
  margin-left: auto;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.hn-lang-close:hover { color: var(--hn-primary); }

.hn-lang-search { position: relative; margin-bottom: .5rem; }

.hn-lang-search i {
  position: absolute;
  left: .65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .78rem;
}

.hn-lang-search input {
  width: 100%;
  height: 38px;
  padding: 0 .7rem 0 1.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .85rem;
}

.hn-lang-search input:focus { outline: none; border-color: var(--hn-primary); }

.hn-lang-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  max-height: 46vh;
  overflow-y: auto;
}

.hn-lang-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  padding: .45rem .55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f7f9fc;
  cursor: pointer;
  text-align: left;
}

.hn-lang-item:hover { background: var(--hn-primary-soft); border-color: rgba(11, 93, 44, .16); }
.hn-lang-item.is-active { background: var(--hn-primary); }
.hn-lang-item.is-active .hn-lang-name,
.hn-lang-item.is-active .hn-lang-note { color: #fff; }

.hn-lang-name { font-size: .84rem; font-weight: 600; color: var(--ink); }
.hn-lang-note { font-size: .68rem; color: var(--muted); }

.hn-lang-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

.hn-lang-foot {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .5rem;
  padding: .5rem .35rem 0;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  color: var(--muted);
}

.hn-lang-foot.is-offline { color: #b23b3b; }

.hn-lang-reset,
.hn-lang-active-reset {
  border: none;
  background: none;
  color: var(--hn-primary);
  font-size: .76rem;
  font-weight: 700;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.hn-lang-reset:hover { text-decoration: underline; }

.hn-lang-active {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .5rem .9rem;
  background: var(--hn-primary-soft);
  border-bottom: 1px solid rgba(11, 93, 44, .14);
  font-size: .8rem;
  color: #3d4b60;
}

.hn-lang-active i { color: var(--hn-primary); }
.hn-lang-active span { flex: 1 1 auto; }
.hn-lang-active .hn-lang-active-reset { text-decoration: underline; }

/* suggestion bar for visitors whose browser is not Indonesian */
.hn-lang-suggest {
  position: fixed;
  left: 50%;
  bottom: calc(6.4rem + env(safe-area-inset-bottom));
  z-index: 1040;
  transform: translateX(-50%) translateY(160%);
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  justify-content: center;
  width: min(560px, calc(100vw - 1.6rem));
  padding: .7rem .9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(16, 35, 58, .22);
  transition: transform .32s ease;
}

.hn-lang-suggest.is-visible { transform: translateX(-50%) translateY(0); }
.hn-lang-suggest-text strong { display: block; font-size: .86rem; color: var(--ink); }
.hn-lang-suggest-text span { font-size: .78rem; color: var(--muted); }
.hn-lang-suggest-actions { display: flex; align-items: center; gap: .4rem; }

.hn-lang-suggest-yes {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .8rem;
  border: none;
  border-radius: 9px;
  background: var(--hn-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.hn-lang-suggest-no {
  padding: .42rem .7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: .78rem;
  cursor: pointer;
}

.hn-drawer-lang {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  color: var(--hn-primary);
}

@media (min-width: 992px) {
  .hn-lang-suggest { bottom: 1.6rem; }
}

@media (max-width: 575.98px) {
  .hn-lang { margin-left: 0; }
  .hn-lang-btn { padding: 0 .5rem; }
  .hn-lang-code { display: none; }
  .hn-lang-panel { top: auto; bottom: .6rem; right: .6rem; left: .6rem; width: auto; }
  .hn-lang-list { grid-template-columns: 1fr; max-height: 52vh; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 991.98px) {
  /* ruang bawah mengikuti tinggi bilah + area aman iPhone */
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .site-topbar .hide-sm { display: none; }

  /* bilah navigasi bawah mentok ke tepi layar (bukan mengambang) */
  .bottom-nav { padding: 0; }
  .bottom-nav-inner {
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: .35rem .3rem calc(.4rem + env(safe-area-inset-bottom));
  }
  .bottom-nav.is-hidden { transform: translateY(105%); }

  /* app-like hero on phones */
  .hero-inner { padding: 2.6rem 0 4.4rem; }
  .hero-slider .hero-inner { min-height: 320px; padding-bottom: 4rem; }
  .hero-title { font-size: clamp(1.6rem, 7.6vw, 2.2rem); line-height: 1.2; }
  .hero-lead { font-size: .92rem; margin-bottom: 1.1rem; }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-script { font-size: 1.2rem; margin-top: 1.1rem; }

  .section-head h2 { font-size: 1.16rem; }
  .stat-strip { margin-top: -3.2rem; }
  .section-panel { padding: 1rem; }
}

@media (max-width: 575.98px) {
  .menu-grid { gap: .45rem; }
  .menu-item { padding: .7rem .25rem .6rem; }
  .menu-item .ico { width: 36px; height: 36px; font-size: .88rem; }
  .menu-item .lbl { font-size: .68rem; }
  .brand-block img { height: 42px; max-width: 195px; }
  .brand-block .brand-name { font-size: .92rem; }
  .news-item { grid-template-columns: 96px 1fr; }
  .scroll-cards { grid-auto-columns: 78%; }

  /* hero: satu tombol per baris agar rapi di layar kecil */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-title { font-size: clamp(1.45rem, 6.8vw, 1.85rem); }
  .hero-lead { font-size: .88rem; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .12em; }
  .hero-slider .hero-inner { min-height: 290px; }
  .hero-dots { bottom: .6rem; }
  .hero-counter { bottom: .6rem; right: .6rem; }
  .hero-script { font-size: 1.05rem; }
}

@media (min-width: 768px) {
  .stat-strip-inner { grid-template-columns: repeat(4, 1fr); }
  .stat-item { border-bottom: none; }
  .stat-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat-item:last-child { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  body { font-size: 15.5px; padding-bottom: 0; }

  /* logo panjang diperbesar sedikit di desktop */
  .brand-block img.brand-logo-wide { display: block; height: 54px; width: auto; max-width: 360px; }
  .brand-block img.brand-mark-img { display: none; }
  .brand-block .brand-text { display: none; }

  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .hero-inner { padding: 4.2rem 0 5.6rem; }
  .hero-slider .hero-inner { min-height: 470px; }
  .hero-control { display: flex; }
  .hero-lead { font-size: 1.05rem; }
  .menu-grid { grid-template-columns: repeat(8, 1fr); }
  .scroll-cards { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .bottom-nav { display: none; }
  .quick-top { display: none; }
  .section { padding-top: 2.8rem; }
}

/* ==========================================================================
   Hanura orange refinements (hero overlays + swatches that used to be navy)
   ========================================================================== */
.hero-overlay.overlay-soft {
  background: rgba(6, 30, 16, .58);
}

.hero-overlay.overlay-medium {
  background: rgba(6, 30, 16, .72);
}

.hero-overlay.overlay-strong {
  background: rgba(6, 30, 16, .86);
}

.hero-counter { background: rgba(6, 30, 16, .55); }
.hn-gallery-overlay { background: rgba(6, 30, 16, .55); }
.gallery-zoom { background: rgba(6, 30, 16, .55); }
.welcome-photo-frame::after { background: rgba(6, 30, 16, .28); }

.hn-lang-btn.is-translated,
.hn-lang-item.is-active,
.hn-lang-suggest-yes { background: var(--hn-primary); }

.hn-credit-link { background: rgba(255, 255, 255, .1); }

/* ==========================================================================
   Motion layer (scroll reveal, compact header, reading progress, hover polish)
   ========================================================================== */
.hn-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1400;
  pointer-events: none;
}

.hn-reading-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--hn-accent);
  transition: transform .12s linear;
}

/* reveal only when JS is active, so content is never hidden without it */
.hn-motion .hn-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.hn-motion .hn-reveal.is-visible { opacity: 1; transform: none; }

.site-header { transition: padding .25s ease, box-shadow .25s ease, background .25s ease; }

.site-header.is-compact {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(16, 35, 58, .12);
}

.site-header.is-compact .site-header-inner { min-height: 58px; }
.site-header.is-compact .brand-logo-wide { height: 36px; }

.pcard,
.news-item,
.news-card,
.gallery-item,
.hn-stat,
.agenda-item,
.doc-item,
.section-panel,
.menu-item {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}

.pcard:hover,
.news-item:hover,
.news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(16, 35, 58, .14); }

.gallery-item:hover { transform: translateY(-4px); }
.hn-stat:hover { transform: translateY(-4px); border-color: rgba(232, 111, 16, .35); }

.menu-item .ico { transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease; }

.menu-item:hover .ico {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 22px rgba(16, 35, 58, .18);
}

.btn { transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.btn:active { transform: translateY(1px) scale(.99); }

.section-head h2 { position: relative; padding-left: .8rem; }

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  border-radius: 4px;
  background: var(--hn-accent);
}

/* ==========================================================================
   Responsive polish - keep every layout tidy from 320px to ultrawide
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }

.hn-article-content,
.pcard-title,
.welcome-text,
h1, h2, h3 { overflow-wrap: anywhere; }

img, iframe, table, pre, video { max-width: 100%; }

.section { padding-top: clamp(1.6rem, 3.6vw, 2.8rem); }
.section-head { gap: .6rem; }
.section-head h2 { font-size: clamp(1.05rem, 2.4vw, 1.32rem); }

@media (max-width: 991.98px) {
  .welcome-card { grid-template-columns: 1fr; }
  .welcome-photo { max-width: 340px; margin: 0 auto; }
  .site-nav { display: none; }
}

@media (min-width: 576px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .menu-grid { grid-template-columns: repeat(8, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  .hero-counter { display: none; }
  .section-head { flex-wrap: wrap; }
  .stat-strip { margin-top: -2.2rem; }
  .stat-item { padding: .8rem .5rem; }
  .stat-item .val { font-size: 1.2rem; }
  .hn-footer-right { width: 100%; justify-content: space-between; }
  .gallery-nav { grid-template-columns: 1fr; }
  .share-bar { gap: .35rem; }
  .share-label { width: 100%; margin-bottom: .1rem; }
}

@media (max-width: 575.98px) {
  .welcome-card { padding: 1rem; border-radius: 16px; }
  .welcome-photo-frame { aspect-ratio: 1 / 1; }
  .welcome-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .section-panel { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hn-motion .hn-reveal { opacity: 1 !important; transform: none !important; }
  .hn-reading-progress { display: none; }
}

/* ------------------------------------------------------------------
 * Preloader: logo brand + animasi memuat
 * ------------------------------------------------------------------ */
.hn-preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity .42s ease, visibility .42s ease;
  /* cadangan bila JavaScript mati: tetap menghilang setelah beberapa detik */
  animation: hnPlAutoHide .01s linear 6s forwards;
}

.hn-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hn-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.hn-preloader-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.05rem;
  padding: 1rem;
  text-align: center;
}

.hn-preloader-logo {
  height: 46px;
  width: auto;
  max-width: 72vw;
  object-fit: contain;
  animation: hnPlIn .55s cubic-bezier(.22, 1, .36, 1) both;
}

.hn-preloader-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--hn-primary-soft);
  border-top-color: var(--hn-primary);
  animation: hnPlSpin .85s linear infinite;
}

.hn-preloader-text {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hn-preloader-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--hn-primary-soft);
  overflow: hidden;
}

.hn-preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: var(--hn-accent);
  animation: hnPlBar 1.15s ease-in-out infinite;
}

body.hn-loading { overflow: hidden; }

@keyframes hnPlSpin { to { transform: rotate(360deg); } }
@keyframes hnPlIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hnPlBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(275%); } }
@keyframes hnPlAutoHide { to { opacity: 0; visibility: hidden; } }

@media (max-width: 575.98px) {
  .hn-preloader-logo { height: 38px; }
  .hn-preloader-ring { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hn-preloader-logo,
  .hn-preloader-ring,
  .hn-preloader-bar::after { animation: none; }
}
