/*
Theme Name: YBM — Yohanes BM Berteologi
Theme URI: https://yohanesbm.com
Author: INDIE Group
Description: Tema editorial hangat untuk tulisan, khotbah, dan pemikiran teologis. Ringan, ramah semua usia, mode gelap dan pengatur ukuran huruf.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ybm
*/

:root {
  --fs: 1;
  --bg: #FBF6EC;
  --surface: #FFFFFF;
  --ink: #2A2118;
  --muted: #6B5E4E;
  --line: #E8DDC8;
  --accent: #B5532E;
  --accent-ink: #FFFFFF;
  --gold: #E0A83A;
  --band: #2A2118;
  --band-ink: #F6EEDF;
  --shadow: 0 1px 2px rgba(42, 33, 24, .06), 0 8px 24px rgba(42, 33, 24, .08);
  --radius: 18px;
  --t1-bg: #F7DDD1; --t1-fg: #8E3A1B;
  --t2-bg: #D9ECE4; --t2-fg: #1F5444;
  --t3-bg: #DCE8F3; --t3-fg: #28506F;
  --t4-bg: #EBD9E5; --t4-fg: #5D2C4D;
  --t5-bg: #F6E6BF; --t5-fg: #7A5410;
  --t6-bg: #E3E0F3; --t6-fg: #403A7A;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;
  --font-ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #17130F;
  --surface: #221C16;
  --ink: #F2E9DA;
  --muted: #B8AA95;
  --line: #3A3027;
  --accent: #E58B66;
  --accent-ink: #1B120C;
  --band: #0F0C09;
  --band-ink: #F2E9DA;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --t1-bg: #4A2A1D; --t1-fg: #F4C3AE;
  --t2-bg: #1F3B33; --t2-fg: #B5E0D2;
  --t3-bg: #22384C; --t3-fg: #BCD7EE;
  --t4-bg: #432B3B; --t4-fg: #EBC4DC;
  --t5-bg: #473813; --t5-fg: #F1D697;
  --t6-bg: #2E2B52; --t6-fg: #CCC8F2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17130F;
    --surface: #221C16;
    --ink: #F2E9DA;
    --muted: #B8AA95;
    --line: #3A3027;
    --accent: #E58B66;
    --accent-ink: #1B120C;
    --band: #0F0C09;
    --band-ink: #F2E9DA;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --t1-bg: #4A2A1D; --t1-fg: #F4C3AE;
    --t2-bg: #1F3B33; --t2-fg: #B5E0D2;
    --t3-bg: #22384C; --t3-fg: #BCD7EE;
    --t4-bg: #432B3B; --t4-fg: #EBC4DC;
    --t5-bg: #473813; --t5-fg: #F1D697;
    --t6-bg: #2E2B52; --t6-fg: #CCC8F2;
  }
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--fs)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2rem); margin-inline: auto; }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.progress { position: fixed; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; z-index: 90; }

/* ---------- Tombol & chip ---------- */
.btn {
  display: inline-block; font: 800 .95rem/1 var(--font-ui); text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent);
  padding: .85rem 1.4rem; border-radius: 999px; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; background: transparent; color: var(--accent); }
.btn-light { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.pill, .chip {
  display: inline-block; font: 800 .75rem/1 var(--font-ui); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; padding: .4rem .7rem; border-radius: 999px;
}
.chip { text-transform: none; font-size: .85rem; letter-spacing: 0; padding: .5rem .9rem; transition: transform .15s; }
.chip:hover { transform: translateY(-2px); }
.tone-1 { background: var(--t1-bg); color: var(--t1-fg); }
.tone-2 { background: var(--t2-bg); color: var(--t2-fg); }
.tone-3 { background: var(--t3-bg); color: var(--t3-fg); }
.tone-4 { background: var(--t4-bg); color: var(--t4-fg); }
.tone-5 { background: var(--t5-bg); color: var(--t5-fg); }
.tone-6 { background: var(--t6-bg); color: var(--t6-fg); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font: 800 .95rem var(--font-ui); letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-text strong { font: 700 1.15rem var(--font-head); }
.brand-text em { font: italic 500 .95rem var(--font-head); color: var(--accent); }
.custom-logo { max-height: 48px; width: auto; }

.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav .menu > li { position: relative; }
.nav .menu a, .nav .sub-toggle { white-space: nowrap; font: 800 .92rem var(--font-ui); text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; padding: .55rem .8rem; border-radius: 999px; display: block; }
.nav .menu a:hover, .nav .sub-toggle:hover, .nav .current-menu-item > a, .nav .current-cat > a { background: var(--t1-bg); color: var(--t1-fg); }
.nav .sub { display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; list-style: none; margin: 0; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.nav .has-sub.open > .sub, .nav .menu-item-has-children:hover > .sub-menu { display: block; }
.nav .sub-menu { display: none; position: absolute; right: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }

.tools { display: flex; align-items: center; gap: .35rem; }
.tool { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: 800 .85rem var(--font-ui); transition: transform .15s; }
.tool:hover { transform: translateY(-2px); }
.tool-text { padding: 0 .55rem; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.tool-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.tool-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }

.search-panel { border-top: 1px solid var(--line); padding: .9rem 0; background: var(--surface); }
.search-panel[hidden] { display: none; }

/* ---------- Form cari ---------- */
.searchform { display: flex; gap: .5rem; max-width: 560px; }
.searchform input[type=search] {
  flex: 1; min-width: 0; font: 600 1rem var(--font-ui); color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: 999px; padding: .85rem 1.2rem;
}
.searchform input[type=search]:focus { border-color: var(--accent); outline: none; }
.searchform button { font: 800 .95rem var(--font-ui); background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 0 1.4rem; cursor: pointer; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1180px) {
  .tool-burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); display: none; padding: .75rem 1rem 1.25rem; max-height: 75vh; overflow: auto; }
  .nav.open { display: block; }
  .nav .menu { flex-direction: column; align-items: stretch; }
  .nav .menu a, .nav .sub-toggle { font-size: 1.05rem; padding: .8rem 1rem; text-align: left; width: 100%; }
  .nav .sub, .nav .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .nav .has-sub.open > .sub { display: block; }
}
@media (max-width: 420px) { .brand-text strong { font-size: 1rem; } }

/* ---------- Animasi muncul ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 2.5rem; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 340px; height: 340px; background: var(--t5-bg); left: -90px; top: -80px; opacity: .8; }
.blob.b2 { width: 260px; height: 260px; background: var(--t1-bg); right: -60px; bottom: -70px; opacity: .8; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -22px); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.eyebrow { font: 800 .8rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 em { color: var(--accent); font-style: italic; }
.lead-p { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hero .searchform { margin: 1.5rem 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }

.hero-card { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; border: 1px solid var(--line); }
.hero-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.hero-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--t5-bg); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.hero-card:hover .hero-media img { transform: scale(1.04); }
.hero-card-body { display: block; padding: 1.4rem 1.5rem 1.6rem; }
.badge { display: inline-block; font: 800 .72rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: #3A2A08; padding: .35rem .7rem; border-radius: 999px; margin-right: .4rem; }
.hero-cat { font: 800 .8rem var(--font-ui); color: var(--muted); }
.hero-title { display: block; font: 700 1.55rem/1.25 var(--font-head); margin: .7rem 0 .5rem; }
.hero-ex { display: block; color: var(--muted); margin-bottom: .8rem; }
.more { font: 800 .95rem var(--font-ui); color: var(--accent); }

/* ---------- Seksi, grid, kartu ---------- */
.section { padding: 2.5rem 0; }
.sec-head { margin-bottom: 1.5rem; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .25rem; }
.sec-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--t5-bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ph b { font: italic 700 4.5rem var(--font-head); opacity: .5; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-title { font-size: 1.2rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--muted); font-size: .98rem; margin: 0; }
.meta { font: 600 .85rem var(--font-ui); color: var(--muted); margin: auto 0 0; }
.pill { align-self: flex-start; }

/* ---------- Kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.cat-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem; border-radius: 22px; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s; min-height: 170px; }
.cat-tile:hover { transform: translateY(-5px) rotate(-.6deg); }
.cat-glyph { font: italic 700 3.4rem/1 var(--font-head); opacity: .35; margin-bottom: auto; }
.cat-name { font: 700 1.25rem var(--font-head); }
.cat-blurb { font: 600 .9rem var(--font-ui); opacity: .85; }
.cat-count { font: 800 .78rem var(--font-ui); opacity: .7; margin-top: .3rem; }

/* ---------- Pita gelap (video & khotbah) ---------- */
.band { background: var(--band); color: var(--band-ink); padding: 3.5rem 0; margin: 2rem 0; }
.band .sec-head p { color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.band .card { background: #2E261E; border-color: #3D3328; }
:root[data-theme="dark"] .band .card { background: #1B1611; border-color: #2E261E; }
.band .card-title a { color: var(--band-ink); }
.band .card-excerpt, .band .meta { color: #C9BBA5; }
.band .pill { background: var(--gold); color: #3A2A08; }

/* ---------- Kepala halaman ---------- */
.page-head { padding: 3rem 0 2.2rem; background: var(--t5-bg); color: var(--t5-fg); }
.page-head[class*="tone-"] { }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .5rem; }
.page-head .eyebrow { color: inherit; opacity: .8; }
.page-head .searchform { margin: 1rem auto 0; }
.page-head.center .searchform, .page-head .center .searchform { margin-inline: auto; }
.archive-desc { max-width: 60ch; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.navigation.pagination { margin: 2.5rem 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.page-numbers { font: 800 .95rem var(--font-ui); text-decoration: none; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
a.page-numbers:hover { border-color: var(--accent); }

/* ---------- Artikel ---------- */
.entry-head { padding: 3rem 0 2.2rem; text-align: center; }
.entry-head .pill { margin-bottom: 1rem; }
.entry-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .8rem; }
.entry-head .meta { margin: 0; color: inherit; opacity: .85; }
.entry-cover { margin: 2rem auto 0; }
.entry-cover img { width: 100%; border-radius: 24px; display: block; box-shadow: var(--shadow); }
.prose { font-size: 1.2rem; line-height: 1.85; padding-top: 2.2rem; }
.prose > p:first-of-type::first-letter { font: 700 3.6em/.85 var(--font-head); float: left; padding: .08em .12em 0 0; color: var(--accent); }
.prose h2 { font-size: 1.8rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.prose a { font-weight: 600; }
.prose img { border-radius: 14px; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font: 600 .9rem var(--font-ui); color: var(--muted); text-align: center; margin-top: .5rem; }
.prose blockquote { margin: 1.8em 0; padding: 1.1em 1.4em; border-left: 5px solid var(--gold); background: var(--t5-bg); color: var(--t5-fg); border-radius: 0 16px 16px 0; font-style: italic; }
.prose blockquote p:last-child { margin: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose iframe, .prose video { max-width: 100%; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font: 600 .95rem var(--font-ui); }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose pre { overflow: auto; background: var(--surface); padding: 1rem; border-radius: 12px; border: 1px solid var(--line); }
.prose hr { border: 0; text-align: center; margin: 2.5em 0; }
.prose hr::after { content: '✦ ✦ ✦'; color: var(--gold); letter-spacing: .5em; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2.2rem 0 1rem; font: 800 .9rem var(--font-ui); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags .chip { background: var(--t3-bg); color: var(--t3-fg); }
.author-box { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; margin: 2rem 0; }
.author-box p { margin: .2rem 0 0; color: var(--muted); font-size: .98rem; }
.avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 .9rem var(--font-ui); }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.pn a { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; transition: transform .2s; }
.pn a:hover { transform: translateY(-3px); border-color: var(--accent); }
.pn small { display: block; font: 800 .75rem var(--font-ui); color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.pn span { font: 700 1.05rem var(--font-head); }
.pn-next { text-align: right; grid-column: 2; }

/* ---------- Komentar ---------- */
.comments { margin: 2.5rem 0; font-family: var(--font-ui); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; font: 600 1rem var(--font-ui); background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: 14px; padding: .8rem 1rem;
}
.comment-form input[type=submit] { font: 800 .95rem var(--font-ui); background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: .85rem 1.5rem; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3rem; background: var(--surface); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; }
.foot-brand { font: 700 1.5rem var(--font-head); margin-bottom: .5rem; }
.foot-brand em { color: var(--accent); }
.foot-h { font: 800 .8rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot-list { list-style: none; padding: 0; margin: 0; font-family: var(--font-ui); font-weight: 600; }
.foot-list li { margin-bottom: .35rem; }
.foot-list a { text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font: 600 .9rem var(--font-ui); color: var(--muted); }
.to-top { text-decoration: none; }

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 1.05rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  .pn { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .prose { font-size: 1.12rem; }
  .tool { min-width: 38px; height: 38px; }
  .bar { gap: .5rem; }
  .brand-text em { display: none; }
}
@media print {
  .site-header, .site-footer, .share, .progress, .pn, .comments { display: none !important; }
  body { background: #fff; color: #000; }
}
