/* =====================================================================================================
   Legal pages (kebijakan-privasi.html, syarat-ketentuan.html): one column of the title and last-updated
   date, the contents list and the numbered sections. Drawn by legal-page.js from config/legal.js. Loaded after
   dasar.css (tokens, the article body type .nk-artikel__isi). The page sits on the content container (--nk-wadah 1300,
   styling guide §5.1), the column at the article measure (680) in its middle, as the text of kabar.html and proyek.html
   (left-aligned text).
   ===================================================================================================== */

/* ---------- layout ---------- */
.lg-halaman{padding:calc(var(--head-h) + var(--sp-10)) 0 var(--section-space)}
.lg-wadah{max-width:calc(var(--nk-wadah) + 2 * var(--nk-tepi));margin:0 auto;padding:0 var(--nk-tepi)}
.lg-wadah>*{max-width:var(--measure);margin-left:auto;margin-right:auto}

/* ---------- head: title and last-updated date ---------- */
.lg-kepala{margin-bottom:var(--sp-8)}
.lg-kepala__judul{margin:0 0 var(--sp-3)}   /* type: .nk-judul-halaman (shared/page-head.css) */
.lg-kepala__meta{margin:0;font:400 var(--fs-sm)/var(--lh-sm) var(--nk-font);color:var(--nk-ink-soft)}

/* the blanks the client still has to fill, [[…]] in config/legal.js */
.lg-isian{padding:0 var(--sp-1);border-radius:var(--r-xs);color:var(--earth);background:var(--honey-wash);-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---------- contents, above section 1: a plain numbered list in the text's size, no box or heading ---------- */
.lg-isi{margin-bottom:var(--sp-10)}
.lg-isi ol{margin:0;padding:0 0 0 var(--sp-6);font:400 var(--fs-article)/var(--lh-article) var(--nk-font);color:var(--nk-ink-soft);
  font-variant-numeric:tabular-nums}
.lg-isi li+li{margin-top:var(--sp-1)}
.lg-isi a{color:var(--nk-ink-soft);text-decoration:none}
.lg-isi a:hover{color:var(--nk-forest);text-decoration:underline}
.lg-isi a:focus-visible{outline:3px solid var(--nk-forest);outline-offset:2px;border-radius:var(--r-xs)}

/* ---------- text (the article body type from dasar.css; its own padding dropped, the wrapper gives the edges) ---------- */
.lg-teks.nk-artikel__isi{padding:0}
.lg-teks>h2:first-child{margin-top:0}
.lg-teks ul{padding-left:var(--sp-6)}
.lg-teks li+li{margin-top:var(--sp-2)}
.lg-nomor{color:var(--nk-forest);font-variant-numeric:tabular-nums}
.lg-teks a:focus-visible{outline:3px solid var(--nk-forest);outline-offset:2px;border-radius:var(--r-xs)}
.lg-kontak{display:flex;flex-direction:column;gap:var(--sp-1);padding:var(--sp-5) var(--sp-6);border-radius:var(--r-md);
  font:400 var(--fs-body)/var(--lh-body) var(--nk-font);font-style:normal;background:var(--nk-paper)}
.lg-kontak__alamat{margin-bottom:var(--sp-2)}
.lg-kontak__label{font-weight:600}

/* ---------- print: the text only (the article print rules are in dasar.css) ---------- */
@media print{
  .lg-halaman{padding-top:0}
  .lg-isi{display:none}
}
