/* Page components (5 Nov 2026; user's go, Wordpress Dev/docs/components-plan.md): shadcn-style small parts the client places
   and nests freely on a module page, beside the modules. Script: komponen.js (NtfpBlok), patterns: komponen-pola.js (NtfpPola);
   gallery: archive/komponen/komponen.html. Load after the module sheets (modul/modul.css, modul/modul-program.css); modul.html
   loads it, so every module page in WordPress does.
   Every variant is a class, so a WordPress core block plus a block style (or a preset class) can print it:
     Page     the page's <main>      .nk-komponen [--lebar|--sempit]   (page width, issue #27; Normal = no class)
     Section  core Group (section)   .nk-seksi [--putih|--hijau|--gelap] [--lanjut] [--ringkas|--ruang-kecil|--ruang-besar] [--rapat] [--normal|--sempit|--lebar] [--tengah]
     Columns  core Columns / Column  .nk-grid-kolom --5-7|--1-1|--3 [--balik] [--celah-rapat|--celah-lebar] > .nk-grid-kolom__sel
     Row      core Group (row)       .nk-baris [--antara] [--bawah] [--tengah]
     Stack    core Group (stack)     .nk-tumpuk
     Label    core Paragraph         p.nk-tag
     Heading  core Heading           h1.nk-judul-halaman, h2.nk-judul-bagian, h3.nk-judul-sub
     Text     core Paragraph         p.nk-teks [--besar|--pembuka|--intro|--sorot|--tebal|--catatan]
     Buttons  core Buttons / Button  .nk-tombol-baris > a.nk-btn (ui/button.css)
     Image    core Image             figure.nk-gambar [--4-3|--3-2|--1-1] [--batas] > img + figcaption
     Spacing  block margin presets   .nk-jarak-8|16|24|32|48|64 (fixed), .nk-jarak-32r (32 → 24 on phones), .nk-jarak-48r (48 → 32);
   The other components keep their V54 markup (badge, card, tiles, facts, numbers, table, map, video, gallery, article
   cards, name list, hero). The rules here: the band and its spacing, the rhythm between components inside a band, a
   column or a card, and a loose component placed straight on the page (.nk-komponen > …). Docs: docs/components/komponen.md. */

/* ---------- the page: components and sections are direct children of <main class="nk-komponen"> ---------- */
.nk-komponen{display:block}

/* ---------- Section: a band; its children sit in the content column (1300) through the band's inline padding, so no
   inner container is needed. Padding 96 / 64 / 48 (--section-space), as .nk-bagian. ---------- */
.nk-seksi{display:flow-root;position:relative;box-sizing:border-box;padding:var(--section-space) max(var(--nk-tepi),calc((100% - var(--nk-wadah)) / 2));background:var(--nk-paper);color:var(--nk-ink)}
.nk-seksi--putih{background:#fff}
.nk-seksi--hijau{background:var(--leaf-wash)}
.nk-seksi--gelap{background:var(--nk-forest-deep);color:var(--nk-paper)}
.nk-seksi--sempit{padding-left:max(var(--nk-tepi),calc((100% - 810px) / 2));padding-right:max(var(--nk-tepi),calc((100% - 810px) / 2))}   /* Width: Narrow, the 810 reading width */
.nk-seksi--lebar{padding-left:var(--wadah-tepi);padding-right:var(--wadah-tepi)}   /* Width: Wide, the wide container (--wadah 1600, the header's edges; issue #21) */
.nk-seksi--normal{padding-left:max(var(--nk-tepi),calc((100% - var(--nk-wadah)) / 2));padding-right:max(var(--nk-tepi),calc((100% - var(--nk-wadah)) / 2))}   /* Width: Normal (1300) on a page of another width (issue #27) */
/* Page width (issue #27): the whole page on the wide container (main.nk-komponen.nk-komponen--lebar, 1600, in line with the
   logo) or the reading width (--sempit, 810); Normal = no class (1300). Every section and loose component follows it; a
   section's own Width (--normal, --sempit, --lebar) still wins. The gutter stays --nk-tepi (40 / 16), as everywhere. */
.nk-komponen--lebar > .nk-seksi:not(.nk-seksi--normal,.nk-seksi--sempit){padding-left:var(--wadah-tepi);padding-right:var(--wadah-tepi)}
.nk-komponen.nk-komponen--lebar > :not(.nk-seksi,.nk-modul,script){max-width:calc(var(--wadah) + 2 * var(--nk-tepi))}
.nk-komponen--sempit > .nk-seksi:not(.nk-seksi--normal,.nk-seksi--lebar){padding-left:max(var(--nk-tepi),calc((100% - 810px) / 2));padding-right:max(var(--nk-tepi),calc((100% - 810px) / 2))}
.nk-komponen.nk-komponen--sempit > :not(.nk-seksi,.nk-modul,script){max-width:calc(810px + 2 * var(--nk-tepi))}
.nk-seksi--ringkas{padding-top:40px;padding-bottom:40px}   /* a compact band: a button row (NAHEBA's closing line) */
.nk-seksi--rapat{padding-top:48px;padding-bottom:64px}   /* the map band (.nh-fakta-pita) */
/* Space inside, chosen per section (issue #21; the user: "give all of them"), ≥1280 / 761–1279 / phones:
   Extra compact = --ringkas 40 / 40 / 32 (above), Compact --ruang-kecil 64 / 48 / 32 (--section-space-sm), Normal = no class
   96 / 64 / 48 (--section-space), Large --ruang-besar 128 / 96 / 64 (128: styling guide §4). A continuation keeps no top
   padding; two neighbours on one colour still share a gap (that rule is more specific) */
.nk-seksi--ruang-kecil:not(.nk-seksi--lanjut){padding-top:var(--section-space-sm)}
.nk-seksi--ruang-kecil{padding-bottom:var(--section-space-sm)}
.nk-seksi--ruang-besar:not(.nk-seksi--lanjut){padding-top:128px}
.nk-seksi--ruang-besar{padding-bottom:128px}
.nk-seksi--tengah{text-align:center}
.nk-seksi--tengah > *{margin-left:auto;margin-right:auto}
/* two neighbours on the same band colour share one gap: the first loses its bottom padding */
.nk-seksi:not(.nk-seksi--putih,.nk-seksi--hijau,.nk-seksi--gelap):has(+ .nk-seksi:not(.nk-seksi--putih,.nk-seksi--hijau,.nk-seksi--gelap)),
.nk-seksi--putih:has(+ .nk-seksi--putih),.nk-seksi--hijau:has(+ .nk-seksi--hijau),.nk-seksi--gelap:has(+ .nk-seksi--gelap){padding-bottom:0}
/* a continuation carries on the section above on the same band: no top padding, its first component brings the gap
   (64 before a subheading, else 48, 32 on phones) */
.nk-seksi--lanjut{padding-top:0}
/* the first band of the page clears the fixed header (a photo hero runs behind it) */
.nk-komponen > .nk-seksi:first-child{padding-top:calc(var(--head-h) + var(--section-space))}
.nk-komponen > .nk-seksi--ringkas:first-child{padding-top:calc(var(--head-h) + 40px)}
.nk-komponen > .nk-seksi--ruang-kecil:first-child{padding-top:calc(var(--head-h) + var(--section-space-sm))}
.nk-komponen > .nk-seksi--ruang-besar:first-child{padding-top:calc(var(--head-h) + 128px)}
@media (max-width:1279px){
  .nk-seksi--ruang-besar:not(.nk-seksi--lanjut){padding-top:96px}
  .nk-seksi--ruang-besar{padding-bottom:96px}
  .nk-komponen > .nk-seksi--ruang-besar:first-child{padding-top:calc(var(--head-h) + 96px)}
}
@media (max-width:760px){
  .nk-seksi--ringkas{padding-top:32px;padding-bottom:32px}
  .nk-seksi--rapat{padding-top:48px;padding-bottom:48px}
  .nk-komponen > .nk-seksi--ringkas:first-child{padding-top:calc(var(--head-h) + 32px)}
  .nk-seksi--ruang-besar:not(.nk-seksi--lanjut){padding-top:64px}
  .nk-seksi--ruang-besar{padding-bottom:64px}
  .nk-komponen > .nk-seksi--ruang-besar:first-child{padding-top:calc(var(--head-h) + 64px)}
}
/* the dark band: the dark tokens of ui/theme.css ([data-tema="gelap"]) for the buttons, light text, ochre focus */
.nk-seksi--gelap{--ui-background:transparent;--ui-foreground:var(--paper);--ui-primary:var(--paper);--ui-primary-fg:var(--forest-deep);
  --ui-secondary:rgba(247,250,241,.12);--ui-secondary-fg:var(--paper);--ui-accent:rgba(247,250,241,.12);--ui-accent-fg:var(--paper);
  --ui-muted:rgba(247,250,241,.12);--ui-muted-fg:var(--paper);--ui-border:rgba(247,250,241,.3);--ui-ring:var(--ochre)}
.nk-seksi--gelap :is(.nk-judul-halaman,.nk-judul-bagian,.nk-judul-sub){color:var(--nk-paper)}
.nk-seksi--gelap .nk-tag{color:var(--leaf-light)}
.nk-seksi--gelap :is(.nk-teks,.nk-gambar figcaption,.nk-video figcaption){color:var(--ink-muted-dark)}
.nk-seksi--gelap :is(.nk-teks--pembuka,.nk-teks--sorot,.nk-teks--tebal,.nk-teks strong){color:var(--nk-paper)}
.nk-seksi--gelap a:focus-visible{outline-color:var(--nk-ochre)}
.nk-seksi--gelap .nk-tabel{color:var(--nk-ink)}
.nk-seksi--gelap .nk-angka__item{background:rgba(247,250,241,.06);border-top-color:var(--leaf-light)}
.nk-seksi--gelap .nk-angka__nilai{color:var(--nk-paper)}
.nk-seksi--gelap .nk-angka__label{color:var(--ink-muted-dark)}
.nk-seksi--gelap .nk-sekilas__daftar li{border-top-color:rgba(247,250,241,.3);color:var(--nk-paper)}
.nk-seksi--gelap .nk-sekilas__daftar strong{color:var(--leaf-light)}
.nk-seksi--gelap :is(.nk-video__layar,.nk-galeri__foto):focus-visible{outline-color:var(--nk-ochre)}

/* ---------- the rhythm inside a flow container (section, stack, column, card): no component has its own outer margin;
   the gap before it depends on what comes before it. Never inside a module (:where(:not(.nk-modul *)), no added
   specificity): modules and components share one page, and a module keeps its own spacing ---------- */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > *{margin-top:0;margin-bottom:0}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > * + *{margin-top:24px}                    /* the default */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-tag + *{margin-top:8px}               /* a label sits on its heading */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-teks + .nk-teks{margin-top:16px}      /* paragraphs */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-judul-bagian + .nk-teks--intro{margin-top:16px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-judul-bagian + :not(.nk-teks--intro),
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-teks--intro + *{margin-top:32px}      /* a section's head, then its content */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > * + .nk-judul-sub{margin-top:64px}        /* a subheading starts a new part */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > :is(.nk-grid-kolom,.nh-peta) + *{margin-top:48px}
.nk-seksi--lanjut > :first-child{margin-top:48px}
.nk-seksi--lanjut > .nk-judul-sub:first-child{margin-top:64px}
/* inside a card: badge row 16, title, bold line 8, note 12 (shared/info-card.css) */
.nk-kartu-info__item > .nk-lencana-baris + *{margin-top:16px}
.nk-kartu-info__item > .nk-judul-sub + .nk-teks.nk-teks--tebal{margin-top:8px}
.nk-kartu-info__item > * + .nk-teks.nk-teks--catatan{margin-top:12px}
@media (max-width:760px){
  :is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-judul-bagian + :not(.nk-teks--intro),
  :is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-teks--intro + *{margin-top:24px}
  :is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > :is(.nk-grid-kolom,.nh-peta) + *,
  .nk-seksi--lanjut > :first-child{margin-top:32px}
  .nk-seksi--sempit > .nk-judul-bagian + :not(.nk-teks--intro),.nk-seksi--sempit > .nk-teks--intro + *{margin-top:32px}   /* the 810 band keeps 32 (the Video module "sempit") */
  /* the same in a section of a Narrow page (issue #27); the :where keeps it as light, so a set space above still wins */
  :where(.nk-komponen--sempit > :not(.nk-seksi--normal,.nk-seksi--lebar)).nk-seksi > .nk-judul-bagian + :not(.nk-teks--intro),
  :where(.nk-komponen--sempit > :not(.nk-seksi--normal,.nk-seksi--lebar)).nk-seksi > .nk-teks--intro + *{margin-top:32px}
}
/* spacing set on one component (WordPress: the block's margin, from the spacing presets) */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-8.nk-jarak-8{margin-top:8px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-16.nk-jarak-16{margin-top:16px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-24.nk-jarak-24{margin-top:24px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-32.nk-jarak-32,
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-32r.nk-jarak-32r{margin-top:32px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-48.nk-jarak-48,
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-48r.nk-jarak-48r{margin-top:48px}
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-64.nk-jarak-64{margin-top:64px}
@media (max-width:760px){
  :is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-32r.nk-jarak-32r{margin-top:24px}
  :is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .nk-jarak-48r.nk-jarak-48r{margin-top:32px}
}
/* straight in a section, a heading, an intro and the text keep the 760 reading measure (a module's head); in a column,
   card or the 810 band they take its width */
.nk-seksi:not(.nk-seksi--sempit) > :is(.nk-judul-halaman,.nk-judul-bagian,.nk-teks:not(.nk-teks--sorot)){max-width:760px}
.nk-seksi:not(.nk-seksi--sempit) > .nk-judul-sub + .nk-teks.nk-teks,:is(.nk-tumpuk,.nk-grid-kolom__sel) > .nk-judul-sub + .nk-teks{max-width:720px;text-wrap:wrap}
/* a section of a Narrow page reads as a Narrow section: its head and text take the 810 width (issue #27) */
.nk-komponen--sempit > .nk-seksi:not(.nk-seksi--normal,.nk-seksi--lebar) > :is(.nk-judul-halaman,.nk-judul-bagian,.nk-teks:not(.nk-teks--sorot)),
.nk-komponen--sempit > .nk-seksi:not(.nk-seksi--normal,.nk-seksi--lebar) > .nk-judul-sub + .nk-teks.nk-teks{max-width:none}   /* the line under a subheading (ROLES' criteria) */

/* ---------- Columns: the module ratios; each stacks where its V54 twin does ---------- */
.nk-grid-kolom{display:grid;gap:64px;align-items:start}
.nk-grid-kolom__sel{min-width:0}
.nk-grid-kolom--5-7{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}                       /* .nk-dua: a head left, text right */
.nk-grid-kolom--1-1{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}    /* text and a photo */
.nk-grid-kolom--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch} /* cards */
.nk-grid-kolom--3 > .nk-grid-kolom__sel{display:flex;flex-direction:column}
.nk-grid-kolom--3 > .nk-grid-kolom__sel > .nk-kartu-info__item:only-child{flex:1}                  /* cards in a row: one height */
@media (max-width:1023px){.nk-grid-kolom--3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:899px){
  .nk-grid-kolom--5-7{grid-template-columns:minmax(0,1fr);gap:32px}
  .nk-grid-kolom--1-1{gap:40px}
}
@media (max-width:760px){
  .nk-grid-kolom--1-1{grid-template-columns:minmax(0,1fr);gap:24px}
  .nk-grid-kolom--balik > .nk-grid-kolom__sel:last-child{order:-1}   /* stacked, the last column (a photo) goes first */
}
/* the gap, chosen per block (issue #21, 12 Nov 2026): Compact (--celah-rapat) and Wide (--celah-lebar); Normal is no class,
   the gaps above. Two classes in each selector, so they win over the ratios' own breakpoint gaps.
                 5 : 7 (stacked ≤899)   1 : 1 (≤899 / stacked ≤760)   3 cards
     Compact     24 (24)                24 (24 / 16)                  16
     Normal      64 (32)                64 (40 / 24)                  24
     Wide        96 (48)                96 (64 / 48)                  32 */
.nk-grid-kolom.nk-grid-kolom--celah-rapat{gap:24px}
.nk-grid-kolom.nk-grid-kolom--celah-lebar{gap:96px}
.nk-grid-kolom--3.nk-grid-kolom--celah-rapat{gap:16px}
.nk-grid-kolom--3.nk-grid-kolom--celah-lebar{gap:32px}
@media (max-width:899px){
  .nk-grid-kolom--5-7.nk-grid-kolom--celah-lebar{gap:48px}
  .nk-grid-kolom--1-1.nk-grid-kolom--celah-lebar{gap:64px}
}
@media (max-width:760px){
  .nk-grid-kolom--1-1.nk-grid-kolom--celah-rapat{gap:16px}
  .nk-grid-kolom--1-1.nk-grid-kolom--celah-lebar{gap:48px}
}

/* ---------- Row and Stack ---------- */
.nk-baris{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}
.nk-baris > *{margin:0}
.nk-baris--antara{justify-content:space-between}
.nk-baris--bawah{align-items:flex-end;gap:16px 24px}                                 /* a head with a link on its right (.nk-kepala-bagian--baris) */
.nk-baris--tengah{flex-direction:column;gap:24px;text-align:center}
.nk-baris--tengah > .nk-tombol-baris{justify-content:center}
@media (max-width:760px){
  .nk-baris:not(.nk-baris--antara,.nk-baris--bawah) > .nk-tombol-baris{width:100%}
  .nk-baris:not(.nk-baris--antara,.nk-baris--bawah) > .nk-tombol-baris .nk-btn{flex:1 1 auto}
}

/* ---------- Text: one paragraph per component ---------- */
.nk-teks{font:400 16px/26px var(--nk-font);color:var(--nk-ink-soft);text-wrap:pretty}
.nk-teks strong{color:var(--nk-ink)}
.nk-teks--besar,.nk-teks--pembuka,.nk-teks--intro{font-size:18px;line-height:28px}   /* --fs-lede */
.nk-teks--pembuka{color:var(--nk-ink)}                                                 /* the first, darker paragraph of a large text */
.nk-teks--sorot{max-width:640px;font:600 18px/28px var(--nk-font);color:var(--nk-forest-deep);text-wrap:wrap}   /* a one-line statement (button row) */
.nk-teks--tebal{font:600 16px/24px var(--nk-font);color:var(--nk-ink);text-wrap:wrap}                 /* a card's bold line */
.nk-teks--catatan{padding-top:12px;border-top:1px solid var(--nk-line);font:400 14px/20px var(--nk-font);color:var(--nk-ink-soft);text-wrap:wrap}   /* a card's note */
.nk-teks--polos{text-wrap:wrap}
@media (max-width:760px){.nk-teks--besar,.nk-teks--pembuka,.nk-teks--intro,.nk-teks--sorot{font-size:16px;line-height:24px}}

/* ---------- Heading: the subheading (h3); the page title and the section title are page-head.css / section-split.css ---------- */
.nk-judul-sub{font:700 24px/32px var(--nk-font);letter-spacing:-.01em;color:var(--nk-ink)}   /* --fs-h4 */

/* ---------- Buttons ---------- */
.nk-tombol-baris{display:flex;flex-wrap:wrap;gap:12px}
.nk-komponen .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}

/* ---------- Image: the V54 crops, a caption under it ---------- */
.nk-gambar{margin:0}
.nk-gambar img{display:block;width:100%;height:auto;border-radius:12px;object-fit:cover;background:var(--leaf-wash)}   /* --r-lg */
.nk-gambar--4-3 img{aspect-ratio:4/3}
.nk-gambar--3-2 img{aspect-ratio:3/2}
.nk-gambar--1-1 img{aspect-ratio:1/1}
.nk-gambar figcaption{margin:8px 0 0;font:400 14px/20px var(--nk-font);color:var(--nk-ink-soft)}   /* --fs-sm */
@media (max-width:899px){.nk-gambar--batas{max-width:480px}}   /* a small photo, not stretched once the columns stack */

/* ---------- Badge row: one badge and the words beside it (shared/badge.css) ---------- */
.nk-lencana-baris{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}

/* ---------- the module parts that are whole components here, scoped to the page instead of a module band ---------- */
.nk-galeri--mosaik{grid-template-columns:repeat(4,minmax(0,1fr))}
.nk-galeri--mosaik li:first-child{grid-column:span 2;grid-row:span 2}
@media (max-width:899px){.nk-galeri--mosaik{grid-template-columns:repeat(2,minmax(0,1fr))}.nk-galeri--mosaik li:first-child{grid-row:auto}}
.nk-komponen .nk-tabel{color:var(--nk-ink)}
.nk-komponen .nk-tabel__grup .nk-lencana{vertical-align:middle}
.nk-komponen .nk-tabel__grup .nk-lencana__teks{margin-left:8px;vertical-align:middle}
.nk-komponen .nk-angka{margin:0}
.nk-komponen .nk-angka[data-jumlah="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.nk-komponen .nk-angka[data-jumlah="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.nk-seksi--putih .nk-angka__item{background:var(--nk-paper)}
@media (max-width:899px){.nk-komponen .nk-angka[data-jumlah="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){.nk-komponen .nk-angka[data-jumlah]{grid-template-columns:minmax(0,1fr)}}
@media (min-width:600px) and (max-width:899px){.nk-komponen .nk-sekilas__daftar[data-jumlah="3"]:not(.nk-sekilas__daftar--dua){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* the map in a band: the band gives the column, the map adds no width or margin of its own */
.nk-seksi .nh-peta{max-width:none;margin:0;padding:0}

/* ---------- a loose component, straight on the page (not in a section): the paper band and the page's content column,
   so nothing touches the screen edge. A run of loose components is one band: the first starts a section's padding
   below what comes before it, the last ends one above what follows; between them the usual rhythm ---------- */
.nk-komponen > :not(.nk-seksi,.nk-modul,script){box-sizing:border-box;max-width:calc(var(--nk-wadah) + 2 * var(--nk-tepi));margin:0 auto;padding-left:var(--nk-tepi);padding-right:var(--nk-tepi)}
.nk-komponen > :not(.nk-seksi,.nk-modul) + :not(.nk-seksi,.nk-modul){margin-top:24px}
.nk-komponen > :is(.nk-seksi,.nk-modul) + :not(.nk-seksi,.nk-modul){margin-top:var(--section-space)}
.nk-komponen > :not(.nk-seksi,.nk-modul):first-child{margin-top:calc(var(--head-h) + var(--section-space))}
.nk-komponen > :not(.nk-seksi,.nk-modul):last-child,
.nk-komponen > :not(.nk-seksi,.nk-modul):has(+ :is(.nk-seksi--putih,.nk-seksi--hijau,.nk-seksi--gelap,.nk-modul)){margin-bottom:var(--section-space)}
.nk-komponen > :not(.nk-seksi,.nk-modul):has(+ .nk-seksi:not(.nk-seksi--putih,.nk-seksi--hijau,.nk-seksi--gelap)){margin-bottom:0}

/* ---------- Section style "Pembuka lanskap" (nk-seksi--lanskap, 18 Nov 2026; the user kept Sejarah's opening look): the first
   band of a page, holding Columns 1:1 with the title and text in the first column and an Image in the second. Wide screens
   (901+): the text on the wide container's edge, in line with the logo, centred in a band 60 % of the screen high; the
   photo fills the right half, up under the see-through header to the page top, its left edge one long curve that fades
   into the page. <= 900 px: the photo first, across the full width and up under the header, fading into the cream at its
   foot; the title and text sit on the faded part. Before: history.html's .sj-buka (pages/sejarah/sejarah-halaman.css) ---------- */
.nk-seksi--lanskap{--lanskap-rx:42%;display:flex;align-items:center;min-height:60vh;min-height:60svh;padding:calc(var(--head-h) + 24px) 0 0 var(--wadah-tepi);background:var(--sky)}
.nk-komponen > .nk-seksi--lanskap:first-child{padding-top:calc(var(--head-h) + 24px)}
.nk-seksi--lanskap > .nk-grid-kolom{display:block;width:100%}
.nk-seksi--lanskap > .nk-grid-kolom > .nk-grid-kolom__sel:first-child{max-width:min(600px, calc(50vw - var(--wadah-tepi) - 48px));padding-bottom:48px}
.nk-seksi--lanskap .nk-judul-halaman{margin:0 0 16px;font-size:60px;line-height:60px}
.nk-seksi--lanskap .nk-grid-kolom__sel:first-child .nk-teks{margin:0;font-size:18px;line-height:30px;color:var(--ink-soft)}
.nk-seksi--lanskap .nk-gambar{position:absolute;top:0;right:0;bottom:0;width:50%;margin:0;overflow:hidden;background:#E9EEDB}   /* --leaf-wash */
.nk-seksi--lanskap .nk-gambar img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover}
.nk-seksi--lanskap .nk-gambar figcaption{display:none}
@supports (mask-image:radial-gradient(#000,transparent)){
  .nk-seksi--lanskap .nk-gambar{mask-image:radial-gradient(var(--lanskap-rx) 100% at var(--lanskap-rx) 100%,#000 86%,transparent),linear-gradient(to right,transparent calc(var(--lanskap-rx) - 12%),#000 var(--lanskap-rx));mask-repeat:no-repeat}
}
@media (max-width:1100px){ .nk-seksi--lanskap .nk-judul-halaman{font-size:48px;line-height:50px} }   /* --fs-display steps */
@media (max-width:900px){
  .nk-seksi--lanskap,.nk-komponen > .nk-seksi--lanskap:first-child{display:block;min-height:0;padding:0}
  .nk-seksi--lanskap > .nk-grid-kolom{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .nk-seksi--lanskap > .nk-grid-kolom > .nk-grid-kolom__sel:last-child{order:-1}
  .nk-seksi--lanskap > .nk-grid-kolom > .nk-grid-kolom__sel:first-child{position:relative;max-width:none;margin-top:-64px;padding:0 var(--gutter) 40px}
  .nk-seksi--lanskap .nk-gambar{position:relative;width:auto;height:clamp(280px,72vw,460px);mask-image:linear-gradient(to bottom,#000 50%,transparent);mask-size:100% 100%;mask-repeat:no-repeat}
}
@media (max-width:760px){
  .nk-seksi--lanskap .nk-judul-halaman{font-size:36px;line-height:34px}   /* --fs-display phone step */
  .nk-seksi--lanskap .nk-grid-kolom__sel:first-child .nk-teks{font-size:16px;line-height:24px}
}

/* ---------- Spacer (WordPress's core Spacer, komponen.js spasi; 18 Nov 2026, user: "instead of that we use built in
   wordpress spacer"): its height is the whole gap there. No space above it, none above the part after it, whatever the
   rhythm would give (later and as strong as every rhythm rule, so it wins); a Spacer set between two parts replaces their
   gap, like WordPress's own Spacer with a block gap of 0 ---------- */
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .wp-block-spacer.wp-block-spacer,
:is(.nk-seksi,.nk-tumpuk,.nk-grid-kolom__sel,.nk-kartu-info__item):where(:not(.nk-modul *)) > .wp-block-spacer.wp-block-spacer + *{margin-top:0}
.wp-block-spacer{display:block;margin-bottom:0}
