/* =====================================================================================================
   WordPress text blocks inside the article text (.nk-artikel__isi: news posts, projects, legal and plain pages),
   in V54's article values (pages/cerita/article-page.css, core/dasar.css .nk-artikel__isi). No V54 twin: V54's
   stories have no editor blocks. Only WordPress's own block classes are styled here, so text V54 already styles
   (p, h2, h3, ul, a, blockquote, table) keeps V54's look on every page. Loaded after the page's V54 stylesheets
   (inc/shell-assets.php).
   Blocks: quote, pullquote, separator, details, code / preformatted, verse, list (ordered), text alignment.
   ===================================================================================================== */

/* ---------- quote and pullquote: V54's quote (leaf bar, 20px forest-deep text, "— name") ---------- */
.nk-artikel__isi .wp-block-quote{margin-left:auto;margin-right:auto;padding:8px 0 8px 24px;border-left:4px solid var(--nk-leaf);font-style:normal}
.nk-artikel__isi .wp-block-quote p{margin:0;font:600 20px/28px var(--nk-font);color:var(--nk-forest-deep)}
.nk-artikel__isi .wp-block-quote cite,.nk-artikel__isi .wp-block-pullquote cite{display:block;margin-top:12px;font:600 14px/20px var(--nk-font);font-style:normal;color:var(--nk-ink-soft)}
.nk-artikel__isi .wp-block-quote cite::before,.nk-artikel__isi .wp-block-pullquote cite::before{content:"\2014\00a0"}
.nk-artikel__isi .wp-block-pullquote{margin-top:2em;margin-bottom:0;padding:24px 0;border-top:1px solid var(--nk-line);border-bottom:1px solid var(--nk-line);text-align:left}
.nk-artikel__isi .wp-block-pullquote blockquote{margin:0;padding:0;border:0;font-style:normal}
.nk-artikel__isi .wp-block-pullquote p{margin:0;font:600 24px/32px var(--nk-font);color:var(--nk-forest-deep)}
@media (max-width:760px){   /* as article-page.css on phones */
  .nk-artikel__isi .wp-block-quote p{font-size:18px;line-height:26px}
  .nk-artikel__isi .wp-block-pullquote p{font-size:20px;line-height:28px}
}

/* ---------- separator: a hairline in the line colour ---------- */
.nk-artikel__isi .wp-block-separator{height:0;margin-top:2em;margin-bottom:0;border:0;border-top:1px solid var(--nk-line);background:none;opacity:1}
.nk-artikel__isi .wp-block-separator.is-style-dots{border:0;text-align:center;line-height:1}
.nk-artikel__isi .wp-block-separator.is-style-dots::before{content:"\00b7\00b7\00b7";color:var(--nk-ink-soft);font-size:24px;letter-spacing:1em;padding-left:1em}
.nk-artikel__isi .wp-block-separator+*{margin-top:2em}

/* ---------- details: a quiet disclosure row, the summary in the text's weight 600 ---------- */
.nk-artikel__isi .wp-block-details{padding:12px 0;border-top:1px solid var(--nk-line);border-bottom:1px solid var(--nk-line)}
.nk-artikel__isi .wp-block-details+.wp-block-details{margin-top:0;border-top:0}
.nk-artikel__isi .wp-block-details summary{font-weight:600;color:var(--nk-ink);cursor:pointer}
.nk-artikel__isi .wp-block-details summary:focus-visible{outline:3px solid var(--nk-forest);outline-offset:2px;border-radius:var(--r-xs)}
.nk-artikel__isi .wp-block-details>:not(summary){margin-top:.6em}

/* ---------- code, preformatted, verse: the paper box of dasar.css ---------- */
.nk-artikel__isi .wp-block-preformatted,.nk-artikel__isi .wp-block-verse,.nk-artikel__isi .wp-block-code{padding:16px;border-radius:var(--r-md);background:var(--nk-paper);font-size:.9em;white-space:pre-wrap;overflow-x:auto}
.nk-artikel__isi .wp-block-verse{font-family:var(--nk-font)}
.nk-artikel__isi .wp-block-code code{padding:0;background:none}

/* ---------- ordered lists: as V54's bullet lists in a story (bullet lists keep V54's own rules, page by page) ---------- */
.nk-artikel__isi ol.wp-block-list{padding-left:1.4em}
.nk-artikel__isi ol.wp-block-list li+li{margin-top:.4em}

/* ---------- alignment classes of the text blocks ---------- */
.nk-artikel__isi .has-text-align-center{text-align:center}
.nk-artikel__isi .has-text-align-right{text-align:right}
.nk-artikel__isi .has-text-align-left{text-align:left}

/* ---------- a block's own font (Typography > Font; user 18 Nov 2026, WordPress only, no V54 twin) ----------
   On every page, not only in the article text: theme.json's two fonts, as WordPress's preset classes (kept on
   components by inc/komponen.php ntfp_komponen_huruf() and on the photo hero by ntfp_modul_hero_html()), point at
   the site's own fonts (core/huruf.js: --font-serif from huruf.judul, --font from huruf.utama), so a font changed there changes them
   too; the theme.json stacks are the fallback (the editor canvas). A heading takes the weight the site's serif titles
   use (--font-head-w), or the normal titles' 700 in the normal font, over an area's site-wide choice. */
html .has-heading-font-family{font-family:var(--font-serif,var(--wp--preset--font-family--heading))!important}
html .has-body-font-family{font-family:var(--font,var(--wp--preset--font-family--body))!important}
html :is(h1,h2,h3,h4,h5,h6).has-heading-font-family{font-weight:var(--font-head-w,700)!important;font-synthesis:none}
html :is(h1,h2,h3,h4,h5,h6).has-body-font-family{font-weight:700!important}
