/* Programme page (shared/program-page.css; was shared/naheba-halaman.css until 29 Oct 2026): the layout of naheba.html and roles.html,
   a small homepage for a programme. On NAHEBA, the Nature's Heartbeat project: A full-screen photo behind a
   see-through header, a world map above the project facts on a white band (IUCN's project pages), "about", IUCN-style article boxes,
   and a line about the programme. Script: pages/naheba/naheba-halaman.js; data: config/naheba.js. The class prefix nh- comes from NAHEBA, the first page.
   The parts other pages can use are their own components: shared/section-split.css (sections, two-column heads, text),
   shared/fact-list.css (the "Sekilas" facts) and shared/page-head.css (the label above a title).
   Load after dasar.css, the header sheets, ui/theme.css and ui/button.css. */
body[data-halaman="naheba"]{background:var(--nk-paper)}
.nh-halaman{padding:0;overflow-x:clip;font-family:var(--nk-font);color:var(--nk-ink)}
.nh-halaman [hidden]{display:none!important}

/* the page sits on the content column (.nk-kolom-isi, shared/section-split.css); the hero photo and the bands run edge to edge */


/* ---------- the header over the hero (as on the homepage): see-through at the top of the page, the usual see-through
   paper bar once scrolled (site-header.js sets html.scrolled after 56 px). While it is see-through its menu words, arrows,
   ID / EN and the phone's Menu button turn white or black over the photo (below); the submenu cards and the open phone menu keep their
   own light panels, and the tagline keeps its green (user, 21 Oct 2026). Page-scoped, so the shared header files (and their plugin twins) stay as they are. ---------- */
@media (min-width:761px){
  html:not(.scrolled) body[data-halaman="naheba"] .menu a,
  html:not(.scrolled) body[data-halaman="naheba"] .site-head .lang-btn{color:#F7FAF1;text-shadow:0 1px 8px rgba(20,30,22,.6)}
  html:not(.scrolled) body[data-halaman="naheba"] .menu-list > ul > li > .sub-toggle{color:#F7FAF1}
  html:not(.scrolled) body[data-halaman="naheba"] .site-head .lang-btn[aria-pressed="false"]{opacity:.85}
}
html.menu-sheet:not(.scrolled):not(.msheet-open) body[data-halaman="naheba"] .menu-toggle,
html.menu-sheet:not(.scrolled):not(.msheet-open) body[data-halaman="naheba"] .site-head > .lang .lang-btn{color:#F7FAF1;text-shadow:0 1px 8px rgba(20,30,22,.6)}
html:not(.scrolled):not(.msheet-open) body[data-halaman="naheba"] .site-head :is(a,button):focus-visible{outline-color:var(--nk-ochre)}   /* the ring on dark (§9.14) */
/* black words where the photo behind them is light (adaptive text colour, naheba-halaman.js): per word through
   data-nh-warna="gelap", or every word through body[data-nh-kepala="gelap"] (the setting NAHEBA.gambarUtama.teksHeader,
   used when the photo can't be measured) unless the word was measured "terang". White (above) stays the default. */
@media (min-width:761px){
  html:not(.scrolled) body[data-nh-kepala="gelap"] :is(.menu-list > ul > li > a,.menu-list > ul > li > .sub-toggle,.site-head .lang-btn):not([data-nh-warna="terang"]),
  html:not(.scrolled) body[data-halaman="naheba"] :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[data-nh-kepala="gelap"] :is(.menu-toggle,.site-head > .lang .lang-btn):not([data-nh-warna="terang"]),
html.menu-sheet:not(.scrolled):not(.msheet-open) body[data-halaman="naheba"] :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[data-halaman="naheba"] .site-head [data-nh-warna="gelap"]:focus-visible{outline-color:var(--nk-forest)}   /* the light-surface ring next to black words */

/* ---------- hero: edge to edge, the full screen, behind the see-through header; the photo untinted (no shade); the title and
   buttons in the column ---------- */
.nh-hero{position:relative;display:flex;align-items:flex-end;min-height:100vh;min-height:100svh;overflow:hidden;background:var(--nk-forest-deep);isolation:isolate}
.nh-hero__media{position:absolute;inset:0;z-index:-1}
.nh-hero__foto{display:block;width:100%;height:100%;object-fit:cover}
.nh-hero__isi{padding-top:calc(var(--head-h) + 96px);padding-bottom:96px}   /* clear of the see-through header */
.nh-hero__isi>*{max-width:640px}
/* a drop shadow under the words and the outline button (user, 21 Oct 2026; replaces the blur): no shade or blur over
   the photo, the shadow keeps the words readable on light parts of it */
.nh-hero__isi :is(p,h1){text-shadow:0 2px 4px rgba(20,30,22,.45),0 2px 16px rgba(20,30,22,.55)}
.nh-hero__aksi .nk-btn[data-variant="outline"]{text-shadow:0 1px 3px rgba(20,30,22,.6);box-shadow:0 2px 12px rgba(20,30,22,.3)}
.nh-hero__aksi .nk-btn:not([data-variant]){box-shadow:0 2px 12px rgba(20,30,22,.3)}
.nh-hero__judul{margin:0;font:700 60px/60px var(--nk-font);letter-spacing:-.02em;color:var(--nk-paper)}   /* --fs-display */
html[data-judul-serif~="halaman"] .nh-hero__judul{font-family:var(--font-serif);font-weight:var(--font-head-w,700);font-synthesis:none}   /* huruf.judulPerBagian.halaman: 'serif' (core/huruf.js), as .nk-judul-halaman */
.nh-hero__lede{margin:16px 0 0;font:400 18px/28px var(--nk-font);color:rgba(247,250,241,.9);text-wrap:pretty}   /* --fs-lede */
.nh-hero__aksi{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0 0}
.nh-hero__kredit{position:absolute;right:var(--wadah-tepi);bottom:16px;margin:0;font:400 12px/16px var(--nk-font);color:rgba(247,250,241,.8)}   /* --fs-xs */
.nh-hero__kredit a{color:inherit;text-decoration:underline;text-underline-offset:2px}   /* the photo credit's link (NAHEBA.gambarUtama.kreditTautan), as the gallery's credit (gh-d__kredit) */
.nh-hero__kredit a:hover{color:var(--nk-paper)}
.nh-hero a:focus-visible{outline:3px solid var(--nk-ochre);outline-offset:3px}   /* the ring on dark (§9.14) */

/* ---------- map + project facts on a white band (IUCN's "Project facts"): the map across the page column, the facts in columns under it ---------- */
.nh-fakta-pita{padding:48px 0 64px;background:#fff}   /* white (user, 21 Oct 2026: the sand looked dated) */
.nh-peta{box-sizing:border-box;max-width:calc(var(--nk-wadah) + 2 * var(--nk-tepi));margin:0 auto 48px;padding:0 var(--nk-tepi)}   /* the map of Indonesia on the content container (1300), NAHEBA and ROLES (26 Oct 2026; NAHEBA's world map sat on the wide one) */
.nh-peta__kanvas{position:relative}

/* ---------- article boxes: the shared card grid, variant "ringkas" (shared/card-grid.css: photo on
   top, label and title under it, hover veil). Only the column count is set here, under "smaller screens". ---------- */
.nh-semua{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--nk-forest);font:600 16px/24px var(--nk-font);text-decoration:none}
.nh-semua svg{width:18px;height:18px}
.nh-semua:hover{text-decoration:underline}
.nh-semua:focus-visible{outline:3px solid var(--nk-forest);outline-offset:3px}

/* ---------- programme line ---------- */
.nh-program{background:#E9EEDB}   /* --leaf-wash */
.nh-program__baris{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:40px;padding-bottom:40px}
.nh-program__teks{margin:0;max-width:640px;font:600 18px/28px var(--nk-font);color:var(--nk-forest-deep)}
/* the button's label wraps only when it doesn't fit the column (NAHEBA's English one at 390 ran off the screen); on one line it
   keeps the button's own height, as the module buttons (modul/modul.css) */
.nh-program .nk-btn{max-width:100%;flex-shrink:1;height:auto;min-height:var(--_h);padding-top:calc((var(--_h) - 22px) / 2);padding-bottom:calc((var(--_h) - 22px) / 2);white-space:normal;text-align:center}

/* ---------- smaller screens ---------- */
@media (max-width:1199px){
  .nh-artikel .nk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}   /* four boxes: 2 + 2, not 3 + 1 */
}
@media (max-width:1100px){.nh-hero__judul{font-size:48px;line-height:50px}}
@media (max-width:760px){
  .nh-hero__isi{padding-top:calc(var(--head-h) + 48px);padding-bottom:64px}
  .nh-hero__judul{font-size:36px;line-height:34px}
  .nh-hero__lede{font-size:16px;line-height:24px}
  .nh-hero__aksi{margin-top:24px}
  .nh-hero__aksi .nk-btn{flex:1 1 auto}
  .nh-fakta-pita{padding:48px 0}
  .nh-peta{margin-bottom:32px}
  .nh-program__baris{padding-top:32px;padding-bottom:32px}
  .nh-program__teks{font-size:16px;line-height:24px}
}
@media (max-width:599px){.nh-artikel .nk-grid{grid-template-columns:minmax(0,1fr)}}
