/* Program modules (5 Nov 2026): what the programme page's own classes (shared/program-page.css: nh-hero, nh-fakta-pita, nh-peta,
   nh-semua, nh-artikel) and the shared class sheets (tiles, info-card, badge, fact-list, card-grid) don't already give the
   modules of modul-program.js. Load after program-page.css and modul.css. Docs: docs/components/modules.md. */

/* ---------- the header over a hero that opens the page: see-through at the top, its words white (or black where the
   photo behind them is light: data-nh-warna, or body[data-nh-kepala="gelap"] from the hero's data-kepala, both set by
   modul-program.js; the black rules for body[data-nh-kepala] are in program-page.css). As program-page.css does for
   body[data-halaman="naheba"], here for any page whose first module is a hero ---------- */
@media (min-width:761px){
  html:not(.scrolled) body:has(.nk-modul[data-modul="hero"]:first-child) .menu a,
  html:not(.scrolled) body:has(.nk-modul[data-modul="hero"]:first-child) .site-head .lang-btn{color:var(--nk-paper);text-shadow:0 1px 8px rgba(20,30,22,.6)}
  html:not(.scrolled) body:has(.nk-modul[data-modul="hero"]:first-child) .menu-list > ul > li > .sub-toggle{color:var(--nk-paper)}
  html:not(.scrolled) body:has(.nk-modul[data-modul="hero"]:first-child) .site-head .lang-btn[aria-pressed="false"]{opacity:.85}
  html:not(.scrolled) body:has(.nk-modul[data-modul="hero"]:first-child) :is(.menu-list > ul > li > a,.menu-list > ul > li > .sub-toggle,.site-head .lang-btn)[data-nh-warna="gelap"]{color:var(--nk-ink);text-shadow:0 1px 8px rgba(247,250,241,.6)}
}
html.menu-sheet:not(.scrolled):not(.msheet-open) body:has(.nk-modul[data-modul="hero"]:first-child) .menu-toggle,
html.menu-sheet:not(.scrolled):not(.msheet-open) body:has(.nk-modul[data-modul="hero"]:first-child) .site-head > .lang .lang-btn{color:var(--nk-paper);text-shadow:0 1px 8px rgba(20,30,22,.6)}
html.menu-sheet:not(.scrolled):not(.msheet-open) body:has(.nk-modul[data-modul="hero"]:first-child) :is(.menu-toggle,.site-head > .lang .lang-btn)[data-nh-warna="gelap"]{color:var(--nk-ink);text-shadow:0 1px 8px rgba(247,250,241,.6)}
html:not(.scrolled):not(.msheet-open) body:has(.nk-modul[data-modul="hero"]:first-child) .site-head :is(a,button):focus-visible{outline-color:var(--nk-ochre)}   /* the ring on dark (§9.14) */
html:not(.scrolled):not(.msheet-open) body:has(.nk-modul[data-modul="hero"]:first-child) .site-head [data-nh-warna="gelap"]:focus-visible{outline-color:var(--nk-forest)}

/* ---------- Foto besar, "setengah": half the screen above phone width, so the next section shows below it (ROLES); it
   still grows when its text needs more room. Phones keep the full screen. A longer line for its lede ---------- */
@media (min-width:761px){.nk-modul[data-modul="hero"][data-variant="setengah"]{min-height:50vh;min-height:50svh}}
.nk-modul[data-modul="hero"][data-variant="setengah"] .nh-hero__lede{max-width:720px}

/* ---------- Daftar nama: the names with a hairline between them, the second name in italics (ROLES' rattan species) ---------- */
.nk-modul__daftar-teks{margin:16px 0 0;font:400 16px/26px var(--nk-font);color:var(--nk-ink-soft)}
.nk-modul__daftar-foto{margin:32px 0 0;border-radius:12px;overflow:hidden;background:var(--nk-line)}   /* --r-lg */
.nk-modul__daftar-foto img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.nk-modul__daftar{margin:0;padding:0;list-style:none}
.nk-modul__daftar li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 24px;padding:20px 0;border-top:1px solid var(--nk-line)}
.nk-modul__daftar li:last-child{border-bottom:1px solid var(--nk-line)}
.nk-modul__daftar-nama{font:700 24px/32px var(--nk-font);letter-spacing:-.01em;color:var(--nk-ink)}   /* --fs-h4 */
.nk-modul__daftar-latin{font:italic 400 16px/24px var(--nk-font);color:var(--nk-ink-soft)}
@media (max-width:899px){.nk-modul__daftar-foto{max-width:480px}}   /* an 800 px photo, not stretched across the column */
@media (max-width:760px){
  .nk-modul__daftar-nama{font-size:20px;line-height:28px}
  .nk-modul__daftar li{padding:16px 0}
}
