/* language 17 health-magazine — copied from docs/proto/v05/17-health-magazine/styles.css (approved mockup), static-guide additions at the end */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --page: #FFFFFF;
  --ink: #231F20;
  --ink-2: #555555;
  --ink-3: #6B6869;
  --gnb: #000000;
  --link: #02838D;
  --link-hover: #01646C;
  --rule: #DCDBDB;
  --rule-strong: #767474;
  --tint-teal: #EEF5F6;
  --tint-teal-2: #E0EDEF;
  --tint-sky: #F1FAFF;
  --tint-grey: #F7F7F7;
  --check: #1B7638;
  --font: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  --max: 1100px;
  --article: 750px;
  --rail: 300px;
  --gap: 50px;
  --gutter: 24px;
  --gnb-h: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 30px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
[id] { scroll-margin-top: 96px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus, #02838D); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: #fff; color: var(--ink); padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- GNB (Healthline: black 72, white 17/700) ---------- */
.gnb { background: var(--gnb); color: #fff; position: sticky; top: 0; z-index: 20; }
.gnb .bar-in { max-width: 1392px; margin: 0 auto; padding: 0 var(--gutter); height: var(--gnb-h); display: flex; align-items: center; gap: 40px; }
.logo { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo .mark { width: 30px; height: 30px; flex: none; }
.gnb nav { display: flex; gap: 8px; flex: 1; min-width: 0; }
.gnb nav a { color: #fff; text-decoration: none; font-size: 17px; font-weight: 700; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.gnb nav a:hover, .gnb nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; color: #fff; }
.gnb .end { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; }
.icon-btn svg { width: 24px; height: 24px; }
.pill-out { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #fff; border-radius: 1000px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.pill-out:hover { background: #fff; color: #000; }
.menu-btn { display: none; }

/* thin line under the GNB (home/list) — one notice per page */
.notice { background: var(--tint-grey); color: var(--ink-2); font-size: 14px; line-height: 22px; text-align: center; padding: 11px var(--gutter); }

/* ---------- article grid (Healthline 750 + 50 + 300) ---------- */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--article)) var(--rail);
  column-gap: var(--gap);
  grid-template-areas: "head top" "toc more" "body more";
  justify-content: center;
  padding-top: 30px;
}
.a-head { grid-area: head; }
.a-top { grid-area: top; padding-top: 10px; }
.a-toc { grid-area: toc; }
.a-body { grid-area: body; min-width: 0; }
.a-more { grid-area: more; align-self: start; position: sticky; top: calc(var(--gnb-h) + 24px); }

.crumb { font-size: 15px; line-height: 24px; color: var(--ink-2); margin: 0 0 14px -10px; display: flex; flex-wrap: wrap; gap: 0 4px; }
.crumb a { color: var(--ink); min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.crumb span[aria-hidden] { display: inline-flex; align-items: center; }

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: 50px; font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; }
.home-h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 38px; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; margin: 56px 0 16px; }
h3 { font-size: 26px; font-weight: 700; line-height: 1.27; letter-spacing: -0.01em; margin: 36px 0 12px; }
p { margin: 0 0 24px; }
.a-body > p, .a-body li { font-size: 18px; line-height: 30px; }
.a-body ul { padding-left: 22px; margin: 0 0 24px; }
.a-body li { margin-bottom: 10px; }
.cite { font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cite:hover { text-decoration: underline; }

/* text TOC with vertical rules (Healthline) */
.toc { list-style: none; margin: 40px 0 8px; padding: 0; display: flex; flex-wrap: wrap; row-gap: 0; }
.toc li { display: inline-flex; align-items: center; }
.toc a { font-size: 19px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.toc a:hover { text-decoration: underline; }
.toc li:not(:last-child)::after { content: ""; width: 1px; height: 22px; background: var(--rule); margin: 0 14px; }
.toc-label { font-size: 17px; font-weight: 700; color: var(--ink); margin-right: 18px; }

/* rail top — check block + 8px ink bar (Healthline reviewer slot, no face, no name) */
.checkblock { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 24px; }
.checkblock .seal { width: 74px; height: 74px; border-radius: 50%; background: var(--tint-teal-2); flex: none; display: flex; align-items: center; justify-content: center; }
.checkblock .seal svg { width: 34px; height: 34px; }
.checkblock p { margin: 0; font-size: 16px; font-weight: 600; line-height: 22px; }
.checkblock a { color: var(--ink); }
.ink-bar { height: 8px; background: var(--ink); }
.rail-list { margin-top: 28px; }
.rail-list h2 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.rail-list ul { list-style: none; margin: 0; padding: 0; }
.rail-list li { border-bottom: 1px solid var(--rule); }
.rail-list a { display: block; padding: 12px 0; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 700; line-height: 24px; }
.rail-list a:hover { text-decoration: underline; }
.rail-list .k { display: block; font-size: 14px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }

/* medical disclaimer — same size as body, grey tint, full 1px frame (no coloured edge) */
.disclaim { background: var(--tint-grey); border: 1px solid var(--rule); padding: 18px 22px; font-size: 18px; line-height: 30px; margin: 0 0 24px; }
.disclaim b { font-weight: 700; }

/* method box — Healthline callout shape (tint + r30) carrying "how we chose" */
.method { background: var(--tint-teal); border-radius: 30px; padding: 36px 40px 30px; margin: 8px 0 24px; }
.method h3 { margin: 0 0 12px; font-size: 24px; }
.method ul { margin: 0; padding-left: 22px; }
.method li { font-size: 17px; line-height: 28px; margin-bottom: 8px; }

/* recommendation item — no number, reason first */
.picks { margin: 8px 0 0; }
.pick { border-top: 2px solid var(--rule-strong); padding: 26px 0 30px; }
.pick:last-child { border-bottom: 2px solid var(--rule-strong); }
.pick .for { display: inline-block; font-size: 15px; font-weight: 700; color: var(--link-hover); background: var(--tint-teal); padding: 4px 12px; border-radius: 1000px; line-height: 22px; margin-bottom: 12px; }
.pick h3 { margin: 0 0 6px; }
.meta, .a-body ul.meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; font-size: 16px; line-height: 26px; color: var(--ink-3); }
.meta li, .a-body .meta li { display: inline-flex; align-items: center; margin: 0; font-size: 16px; line-height: 26px; }
.meta li:not(:last-child)::after { content: ""; width: 1px; height: 16px; background: var(--rule); margin: 0 12px; }
.pick p { margin: 0 0 14px; font-size: 18px; line-height: 30px; }
.pick .src { font-size: 16px; line-height: 26px; color: var(--ink-2); margin: 0; }
.pick .src a { color: var(--ink); }

/* compare table — Healthline: 2px #767474 row rules, no fill, no vertical lines */
.table-scroll { overflow-x: auto; margin: 8px 0 24px; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; min-width: 620px; }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 2px solid var(--rule-strong); }
table.cmp thead th { font-weight: 700; border-bottom-color: var(--ink); }
table.cmp tbody th { font-weight: 700; white-space: nowrap; }
table.cmp .muted { color: var(--ink-3); }
.table-note { font-size: 15px; line-height: 24px; color: var(--ink-3); margin: -12px 0 24px; }

/* Cleveland trust box — sky tint, sources expanded */
.trust { background: var(--tint-sky); padding: 32px 32px 16px; margin: 56px 0 0; }
.trust h2 { font-size: 32px; margin: 0 0 12px; }
.trust h3 { font-size: 26px; margin: 28px 0 10px; }
.checkline { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 24px; margin: 0 0 10px; }
.checkline svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.checkline b { font-weight: 700; }
.trust p { font-size: 16px; line-height: 26px; color: var(--ink-2); }
.srcs { margin: 0 0 16px; padding-left: 28px; font-size: 16px; line-height: 25.6px; }
.srcs li { margin-bottom: 10px; scroll-margin-top: 100px; }
.srcs li:target { background: var(--tint-teal-2); }
.srcs .k { color: var(--ink-3); }

/* end-of-article notice line (ad + basis date) */
.endline { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 18px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.endline a { color: var(--ink); }

/* ---------- home ---------- */
.home-grid { display: grid; grid-template-columns: minmax(0, var(--article)) var(--rail); column-gap: var(--gap); justify-content: center; padding-top: 36px; }
.lead-story a.t { color: var(--ink); text-decoration: none; }
.lead-story a.t:hover { text-decoration: underline; }
.lead-story .ph { margin-bottom: 20px; }
.kicker { font-size: 15px; font-weight: 700; color: var(--link); margin: 0 0 8px; letter-spacing: 0; }
.lead-story .sum { font-size: 19px; line-height: 32px; color: var(--ink-2); margin: 14px 0 12px; }
.small-meta { font-size: 14px; line-height: 22px; color: var(--ink-3); margin: 0; }
.ph { position: relative; background: #D9D9D9; aspect-ratio: 3 / 2; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption, .ph .cap { position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, .88); color: var(--ink-2); font-size: 12px; line-height: 18px; padding: 3px 8px; }

.topic-row { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.topic-row .toc { margin: 20px 0 0; }
.sec { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec > h2 { margin-top: 72px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head h2 { margin: 72px 0 16px; }
.sec-head a { font-size: 17px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 50px; }
.card { border-top: 2px solid var(--rule-strong); padding-top: 18px; }
.card h3 { margin: 6px 0 8px; font-size: 24px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; display: inline-block; padding: 8px 0; margin: -8px 0; }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: 17px; line-height: 28px; color: var(--ink-2); margin: 0 0 10px; }
.card .ph { margin-bottom: 16px; }

.newsletter { background: var(--tint-teal); border-radius: 30px; padding: 40px 250px 48px 40px; margin: 72px auto 0; max-width: var(--article); }
.newsletter .kicker { color: var(--ink); }
.newsletter h2 { font-size: 30px; margin: 0 0 10px; }
.newsletter p { font-size: 17px; line-height: 28px; margin: 0 0 20px; }
.nl-form { display: flex; gap: 0; max-width: 460px; }
.nl-form input { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--rule-strong); padding: 0 14px; font: inherit; font-size: 16px; background: #fff; border-radius: 0; }
.nl-form button { height: 52px; border: 0; background: var(--link); color: #fff; font: inherit; font-size: 16px; font-weight: 600; padding: 0 22px; cursor: pointer; }
.nl-form button:hover { background: var(--link-hover); }
.nl-note { font-size: 14px !important; line-height: 22px !important; color: var(--ink-3); margin: 10px 0 0 !important; }

.band-sky { background: var(--tint-sky); margin-top: 88px; padding: 56px 0 48px; }
.band-sky .inner { max-width: var(--article); padding: 0; margin: 0 auto 0 max(var(--gutter), calc((100% - var(--max)) / 2)); }
.band-sky h2 { margin: 0 0 14px; font-size: 32px; }
.band-sky h3 { font-size: 22px; margin: 28px 0 8px; }
.band-sky p { font-size: 17px; line-height: 30px; color: var(--ink-2); margin: 0 0 14px; }

/* ---------- list ---------- */
.title-band { background: var(--tint-sky); padding: 26px 0 40px; }
.title-band .in { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.title-band h1 { font-size: 48px; font-weight: 800; max-width: 900px; }
.title-band .checkline { margin: 14px 0 22px; }
.title-band .lead { font-size: 19px; line-height: 34px; color: var(--ink-2); max-width: 794px; margin: 0; }
.contents { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 32px; }
.contents b { font-size: 17px; display: inline-flex; align-items: center; gap: 6px; }
.contents a { font-size: 17px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.contents a:hover { text-decoration: underline; }
.list-grid { display: grid; grid-template-columns: minmax(0, var(--article)) var(--rail); column-gap: var(--gap); justify-content: center; }
.station h2 { margin: 48px 0 6px; font-size: 32px; }
.station .count { font-size: 16px; color: var(--ink-3); margin: 0 0 10px; }
.clinic { border-top: 2px solid var(--rule-strong); padding: 18px 0 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: start; }
.station .clinic:last-of-type { border-bottom: 2px solid var(--rule-strong); }
.clinic h3 { margin: 0; font-size: 22px; }
.clinic .meta { margin: 0; grid-column: 1 / 2; }
.clinic .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 16px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.list-rail { padding-top: 48px; }
.facts { border-top: 8px solid var(--ink); padding-top: 18px; }
.facts h2 { font-size: 20px; margin: 0 0 10px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 16px; line-height: 24px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; }
.facts p { font-size: 15px; line-height: 24px; color: var(--ink-2); margin: 16px 0 0; }

/* ---------- footer ---------- */
.foot { background: #000; color: #fff; margin-top: 96px; padding: 48px 0 40px; }
.foot .in { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.foot .logo { font-size: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 18px 0 18px; }
.foot nav a { color: #fff; font-size: 16px; font-weight: 600; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p { font-size: 14px; line-height: 22px; color: #CFCFCF; margin: 0 0 8px; max-width: 820px; }
.foot p a { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --gap: 36px; --rail: 270px; }
  .gnb .bar-in { gap: 20px; }
  .gnb nav a { padding: 0 8px; font-size: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter { padding-right: 40px; }
}
@media (max-width: 960px) {
  .gnb nav { display: none; }
  .menu-btn { display: inline-flex; }
  .gnb .end { margin-left: auto; }
  .gnb nav.open { display: flex; flex-direction: column; position: absolute; top: var(--gnb-h); left: 0; right: 0; background: #000; padding: 4px var(--gutter) 16px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --gnb-h: 64px; }
  body { font-size: 17px; line-height: 28px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "top" "toc" "body" "more"; padding-top: 22px; }
  .a-top { padding-top: 22px; }
  .a-more { position: static; margin-top: 40px; }
  .home-grid, .list-grid { grid-template-columns: minmax(0, 1fr); }
  .home-grid aside { margin-top: 40px; }
  h1 { font-size: 32px; line-height: 1.25; }
  .home-h1 { font-size: 28px; }
  h2 { font-size: 26px; line-height: 1.3; margin: 44px 0 12px; }
  h3 { font-size: 21px; margin: 28px 0 10px; }
  .a-body > p, .a-body li, .pick p, .disclaim { font-size: 17px; line-height: 28px; }
  .toc a { font-size: 17px; }
  .toc li:not(:last-child)::after { margin: 0 10px; }
  .method { border-radius: 22px; padding: 26px 22px 20px; }
  .trust { padding: 24px 20px 10px; margin-left: -20px; margin-right: -20px; }
  .trust h2 { font-size: 26px; }
  .newsletter { border-radius: 22px; padding: 28px 22px 30px; margin-left: var(--gutter); margin-right: var(--gutter); }
  .title-band h1 { font-size: 32px; }
  .title-band .lead { font-size: 17px; line-height: 30px; }
  .sec-head h2, .sec > h2 { margin-top: 52px; }
  .band-sky { margin-top: 64px; padding: 40px 0 32px; }
  .band-sky .inner { margin: 0 auto; padding: 0 var(--gutter); }
  .station h2 { font-size: 26px; }
  .foot { margin-top: 72px; }
}
@media (max-width: 640px) {
  .logo { font-size: 20px; }
  .logo .mark { width: 26px; height: 26px; }
  .gnb .pill-out { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .clinic { grid-template-columns: minmax(0, 1fr); }
  .clinic .go { grid-column: 1; grid-row: auto; }
  .contents { column-gap: 20px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  h1 { font-size: 28px; }
  .trust { margin-left: -16px; margin-right: -16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   static-guide additions (t19 and later topic guide sites)
   ===================================================================== */

/* sample post marker — visible so a sample never passes for a real post */
.samplebar { background: var(--tint-grey); border: 1px solid var(--rule-strong); font-size: 15px; line-height: 24px; padding: 10px 14px; margin: 0 0 18px; }

/* post categories under the title (blog-data B-3-3) */
.post-cats { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; margin: 14px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-3); }
.post-cats a { font-size: 16px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* advertiser / interest line inside a post */
.adnote { background: var(--tint-grey); border: 1px solid var(--rule); padding: 14px 18px; font-size: 16px; line-height: 26px; color: var(--ink-2); margin: 0 0 24px; }
.adnote a { color: var(--ink); }

/* body figures, quotes, tables */
.a-body figure.fig { margin: 8px 0 28px; }
.a-body figure.fig img { width: 100%; height: auto; }
.a-body figure.fig figcaption { font-size: 15px; line-height: 24px; color: var(--ink-3); margin-top: 8px; }
.a-body blockquote { margin: 0 0 24px; background: var(--tint-sky); padding: 16px 20px; font-size: 17px; line-height: 28px; }
.a-body blockquote p { margin: 0 0 8px; font-size: inherit; line-height: inherit; }
.a-body blockquote p:last-child { margin: 0; }
.a-body ol { padding-left: 24px; margin: 0 0 24px; }
.a-body h4 { font-size: 20px; line-height: 1.35; margin: 28px 0 8px; }
.a-body code { font-size: 16px; background: var(--tint-grey); padding: 1px 4px; }
.a-body hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.a-body p.table-note { margin: -12px 0 24px; }
.srcs a { word-break: break-all; }

/* neutral tinted block where a cover photo will go */
.ph.blank { background: var(--tint-teal-2); }
.ph.blank::after { content: ""; position: absolute; inset: 22% 30%; border: 1px solid rgba(2, 131, 141, .25); border-radius: 50%; }

/* list page: chips + category sections (no-JS: :target shows one section) */
.chips { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.chips b { font-size: 17px; margin-right: 8px; }
.chips a { font-size: 16px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 1000px; color: var(--ink); }
.chips a .n { color: var(--ink-3); font-weight: 400; }
.chips a:hover { border-color: var(--link); color: var(--link-hover); }
.chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips a[aria-current="true"] .n { color: #CFCFCF; }
.cat-sec { display: none; }
.cat-sec#c0 { display: block; }
.cat-sec:target { display: block; }
.lists:has(.cat-sec:target) .cat-sec#c0:not(:target) { display: none; }
.cat-sec h2 { margin: 44px 0 6px; font-size: 32px; }
.cat-sec .count { font-size: 16px; color: var(--ink-3); margin: 0 0 10px; }
.postrow { border-top: 2px solid var(--rule-strong); padding: 20px 0 22px; }
.cat-sec .postrow:last-child { border-bottom: 2px solid var(--rule-strong); }
.postrow h3 { margin: 4px 0 8px; font-size: 24px; line-height: 1.3; }
.postrow h3 a { color: var(--ink); text-decoration: none; display: inline-block; padding: 9px 0; margin: -9px 0; }
.postrow h3 a:hover { text-decoration: underline; }
.postrow p { font-size: 17px; line-height: 28px; color: var(--ink-2); margin: 0 0 8px; }
.postrow[hidden] { display: none; }
.list-lead { padding-top: 40px; }
.list-lead .home-h1 { margin: 0; }
.empty { font-size: 17px; color: var(--ink-2); }

/* plain pages: about, disclosure, 404 */
.page { max-width: calc(var(--article) + var(--gutter) * 2); margin: 0 auto; padding: 30px var(--gutter) 0; }
.page .lead { font-size: 19px; line-height: 34px; color: var(--ink-2); margin: 18px 0 0; }
.page h2 { font-size: 30px; margin: 48px 0 12px; }
.page p, .page li { font-size: 18px; line-height: 30px; }
.page ul { padding-left: 22px; margin: 0 0 24px; }
.page li { margin-bottom: 8px; }
.page dl.facts-dl { margin: 0 0 24px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 17px; line-height: 28px; }
.page dl.facts-dl dt { color: var(--ink-3); }
.page dl.facts-dl dd { margin: 0; }
.todo { background: var(--tint-grey); padding: 0 6px; font-weight: 600; }
.page .attrib { font-size: 15px; line-height: 24px; color: var(--ink-2); background: var(--tint-sky); padding: 16px 18px; }

@media (max-width: 767px) {
  .cat-sec h2 { font-size: 26px; }
  .postrow h3 { font-size: 21px; }
  .page h2 { font-size: 24px; margin-top: 40px; }
  .page p, .page li { font-size: 17px; line-height: 28px; }
  .page dl.facts-dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .page dl.facts-dl dd { margin-bottom: 10px; }
}
/* article TOC holds full section titles here, so on phones it reads as a plain stacked list */
@media (max-width: 767px) {
  .a-toc .toc { flex-direction: column; margin-top: 28px; }
  .a-toc .toc li::after { display: none; }
  .a-toc .toc a { padding: 6px 0; line-height: 26px; }
}
/* content pages (content/pages/*.md): quoted notices such as the public-data attribution */
.page blockquote { margin: 0 0 24px; background: var(--tint-sky); padding: 16px 18px; }
.page blockquote p { font-size: 15px; line-height: 24px; color: var(--ink-2); margin: 0; }
