/* ==========================================================================
   webio.hu — "Útvonalterv" (route plan)
   A paper-and-ink information system for people trying to find their way
   through the Hungarian healthcare system.

   Voice   = serif  (the document: prose, decks, page titles)
   Wayfinding = sans (the signage: labels, navigation, headings inside articles)

   Contrast targets (verified): body 14.9:1, muted 6.4:1, accent 7.4:1,
   note 6.3:1, inverse footer 12.2:1 — all >= WCAG AA, most AAA.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* palette */
  --paper:        #FBFAF7; /* warm off-white ground — printed leaflet, not screen glare */
  --surface:      #FFFFFF;
  --ink:          #16262B; /* near-black desaturated slate-teal   14.94:1 on paper */
  --muted:        #4C5F66; /*                                      6.42:1 on paper */
  --accent:       #0F5C63; /* deep "orientation" teal              7.37:1 on paper */
  --accent-dk:    #0A4249; /*                                     10.65:1 on paper */
  --accent-tint:  #EAF1F1;
  --accent-line:  #7FAAAE;
  --note:         #8A4B12; /* burnt amber, never red — no alarm    6.32:1 on cream */
  --cream:        #FCF6EE;
  --rule:         #E3E0D7;
  --rule-strong:  #CFCBBF;

  /* type */
  --ff-serif: Charter, "Bitstream Charter", "Iowan Old Style", "Source Serif 4",
              "Noto Serif", Georgia, "Times New Roman", serif;
  --ff-sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
              "Noto Sans", Arial, sans-serif;

  --fs-body:  clamp(1.0625rem, 1.0rem + 0.28vw, 1.1875rem);  /* 17 -> 19 px */
  --fs-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-micro: 0.78rem;
  --fs-deck:  clamp(1.1875rem, 1.08rem + 0.5vw, 1.375rem);
  --fs-h1:    clamp(1.875rem, 1.45rem + 2.0vw, 2.875rem);
  --fs-h1-lg: clamp(2.0rem, 1.45rem + 2.6vw, 3.25rem);
  --fs-h2:    clamp(1.3125rem, 1.18rem + 0.65vw, 1.6875rem);
  --fs-h3:    clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --lh-prose: 1.72;

  /* space */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 5.5rem;

  --wrap:   72rem;
  /* `ch` is the width of "0", which in a text serif runs ~18% wider than the
     average Hungarian lowercase glyph — 59ch measures out at ~68-70 real
     characters. The rem cap keeps a wide-figure fallback font in range too. */
  --measure: min(59ch, 40rem);

  --focus: 3px solid var(--accent);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-prose);
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
details:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent-tint); color: var(--ink); }

/* ------------------------------------------------------------ scaffolds -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
@media (min-width: 48rem) { .wrap { padding-inline: var(--sp-6); } }

.main { flex: 1 0 auto; }

.skiplink {
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  transform: translateY(-160%);
  z-index: 50;
  background: var(--accent-dk); color: #fff;
  font-family: var(--ff-sans); font-size: var(--fs-small); font-weight: 600;
  padding: .6rem 1rem; border-radius: 3px; text-decoration: none;
}
.skiplink:focus { transform: translateY(0); }

/* small sans "signage" label used all over */
.label {
  font-family: var(--ff-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* --------------------------------------------------------------- header -- */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-4);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand__mark { width: 2rem; height: 2rem; flex: none; border-radius: 7px; }
.brand__name {
  font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700;
  letter-spacing: -.015em; line-height: 1.1;
}
.brand__strap {
  display: none; padding-left: .7rem; margin-left: .2rem;
  border-left: 1px solid var(--rule-strong);
  font-family: var(--ff-sans); font-size: var(--fs-micro);
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  line-height: 1.3; max-width: 11rem;
}
@media (min-width: 40rem) { .brand__strap { display: block; } }
.brand:hover .brand__name { color: var(--accent); }

.nav { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.nav a {
  font-family: var(--ff-sans); font-size: var(--fs-small); font-weight: 600;
  color: var(--muted); text-decoration: none;
  padding-block: .15rem; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent-line); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }

/* ----------------------------------------------------------------- hero -- */
.hero { padding-block: var(--sp-7) var(--sp-6); border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .hero { padding-block: var(--sp-8) var(--sp-7); } }
.hero__kicker { margin-bottom: var(--sp-4); color: var(--accent); }
.hero__title {
  font-family: var(--ff-serif); font-size: var(--fs-h1-lg); font-weight: 700;
  line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
  max-width: 20ch;
}
.hero--wide .hero__title { max-width: 24ch; }
.hero__deck {
  margin-top: var(--sp-5); max-width: 56ch;
  font-size: var(--fs-deck); line-height: 1.55; color: var(--muted);
  text-wrap: pretty;
}

/* --------------------------------------------------- the route register -- */
/* The homepage's core device: four numbered "gates" into the system.
   Deliberately not cards — a hairline register, like the contents page of a
   printed guide. The reader recognises their own question, not a headline. */
.register { padding-block: var(--sp-7); }
.register__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-5);
}
.register__title {
  font-family: var(--ff-sans); font-size: var(--fs-h2); font-weight: 700;
  letter-spacing: -.015em; line-height: 1.2;
}
.register__note { font-size: var(--fs-small); color: var(--muted); max-width: 40ch; }

.routes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }

.route {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--rule);
  transition: background-color .15s ease;
}
@media (min-width: 48rem) {
  .route {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 0 var(--sp-5);
    align-items: start;
    padding-block: var(--sp-6);
  }
}
.register--compact .route { padding-block: var(--sp-4); }
@media (min-width: 48rem) { .register--compact .route { padding-block: var(--sp-5); } }

/* whole row is the hit area; the anchor itself stays the accessible name */
.route__link::after { content: ""; position: absolute; inset: 0; }
.route:hover, .route:focus-within {
  background: var(--accent-tint);
  box-shadow: -1.25rem 0 0 var(--accent-tint), 1.25rem 0 0 var(--accent-tint);
}

.route__num {
  font-family: var(--ff-sans); font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.9rem); font-weight: 700;
  line-height: 1.1; color: var(--accent-line);
  padding-top: .1em;
}
.route:hover .route__num, .route:focus-within .route__num { color: var(--accent); }

.route__body { min-width: 0; }
.route__track { display: block; margin-bottom: .4rem; }
.route__q {
  display: block; margin-bottom: .3rem;
  font-family: var(--ff-sans); font-size: var(--fs-small); font-weight: 700;
  color: var(--accent); letter-spacing: -.005em; line-height: 1.35;
}
.route__title {
  font-family: var(--ff-serif); font-size: var(--fs-h3); font-weight: 700;
  line-height: 1.28; letter-spacing: -.01em; text-wrap: balance;
  margin: 0 0 .5rem;
}
.route__link { color: inherit; text-decoration: none; }
.route:hover .route__link, .route__link:focus-visible {
  text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .16em;
}
.route__desc { color: var(--muted); font-size: var(--fs-small); line-height: 1.62; max-width: 62ch; text-wrap: pretty; }
.route__cue {
  grid-column: 2; margin-top: var(--sp-3);
  font-family: var(--ff-sans); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent);
  white-space: nowrap;
}
@media (min-width: 48rem) {
  .route__cue { grid-column: 3; grid-row: 1; margin-top: .45rem; padding-left: var(--sp-4); }
}
.route__cue::after { content: " \2192"; }

/* -------------------------------------------------- homepage prose slab -- */
.slab { padding-block: var(--sp-7); border-top: 1px solid var(--rule); }
.slab--tint { background: var(--accent-tint); border-top-color: var(--accent-line); }

.slab__label { display: block; margin-bottom: var(--sp-5); }

/* three-part editorial pitch, hairline-divided, no boxes */
.triptych { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
@media (min-width: 52rem) { .triptych { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.triptych li { border-top: 2px solid var(--accent); padding-top: var(--sp-4); }
.triptych h3 {
  font-family: var(--ff-sans); font-size: var(--fs-h3); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.25; margin-bottom: var(--sp-2);
}
.triptych p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- prose -- */
/* NOTE: never set `padding: 0` on a container that wraps .prose — the list
   indent lives on the ul/ol below and a blanket reset silently kills it. */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }

.prose p { text-wrap: pretty; }

.prose h2 {
  font-family: var(--ff-sans);
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.24;
  letter-spacing: -.018em; text-wrap: balance;
  margin-top: 2.4em; padding-top: .9em;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
  position: relative;
}
.prose h2::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 2.75rem; height: 3px; background: var(--accent);
}
.prose h3 {
  font-family: var(--ff-sans); font-size: var(--fs-h3); font-weight: 700;
  line-height: 1.3; letter-spacing: -.01em; margin-top: 2em;
  scroll-margin-top: 1.5rem;
}
.prose h2 + *, .prose h3 + * { margin-top: .7em; }

.prose strong { font-weight: 700; color: var(--ink); }
.prose em { font-style: italic; }

.prose ul, .prose ol { padding-left: 1.45em; margin-left: 0; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose ol { font-variant-numeric: lining-nums tabular-nums; }
.prose ol > li::marker { font-family: var(--ff-sans); font-size: .9em; }
.prose li > ul, .prose li > ol { margin-top: .5em; }

.prose blockquote {
  border-left: 3px solid var(--accent-line);
  padding: .2em 0 .2em 1.15em;
  color: var(--muted); font-style: italic;
}

.prose hr {
  border: 0; height: 1px; background: var(--rule);
  margin-top: 2.6em; margin-bottom: 0;
}
/* Every article closes with `---` + an italic advisory. Give it the weight of
   a footnote, in amber rather than red: informative, not alarming. */
.prose hr + p {
  margin-top: 1.6em;
  background: var(--cream);
  border-left: 3px solid var(--note);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-small); line-height: 1.62; color: var(--note);
}
.prose hr + p em { font-style: normal; }

.prose table {
  width: 100%; border-collapse: collapse;
  font-family: var(--ff-sans); font-size: var(--fs-small);
  font-variant-numeric: tabular-nums lining-nums;
}
.prose .table-scroll { overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .65em .8em; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--accent); font-weight: 700; }
.prose tbody tr:nth-child(even) { background: color-mix(in srgb, var(--accent-tint) 45%, transparent); }

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--accent-tint); padding: .1em .35em; border-radius: 3px;
}
.prose figure figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: .6em; }

/* -- links in prose --------------------------------------------------------
   Non-negotiable: body links must read as links. Colour + weight + underline,
   three independent cues, so colour is never the sole signal (WCAG 1.4.1). */
.prose a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: .085em;
  text-underline-offset: .17em;
  text-decoration-color: var(--accent-line);
  border-radius: 2px;
}
.prose a:hover,
.prose a:focus-visible {
  color: var(--accent-dk);
  text-decoration-color: currentColor;
  text-decoration-thickness: .14em;
  background: var(--accent-tint);
  box-shadow: 0 0 0 .18em var(--accent-tint);
}
/* outbound links get a small arrow so the reader knows they are leaving */
.prose a[href^="http"]:not([href*="webio.hu"])::after {
  content: "";
  display: inline-block;
  width: .58em; height: .58em;
  margin-left: .26em;
  vertical-align: baseline;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F5C63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4'/%3E%3Cpath d='M5.5 4H12v6.5'/%3E%3C/svg%3E");
}

/* lead paragraph on the homepage slab */
.prose--lead > p:first-of-type {
  font-size: var(--fs-deck); line-height: 1.55; color: var(--ink);
}

/* ------------------------------------------------------- article layout -- */
.crumbs { padding-top: var(--sp-5); font-family: var(--ff-sans); font-size: var(--fs-micro); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); margin-right: .4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.article-head { padding-block: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--rule); }
.article-head__track { color: var(--accent); margin-bottom: var(--sp-3); }
.article-head h1 {
  font-family: var(--ff-serif); font-size: var(--fs-h1); font-weight: 700;
  line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; max-width: 22ch;
}
.article-head__deck {
  margin-top: var(--sp-4); max-width: 58ch;
  font-size: var(--fs-deck); line-height: 1.55; color: var(--muted); text-wrap: pretty;
}
.article-head__meta {
  margin-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  font-family: var(--ff-sans); font-size: var(--fs-small); color: var(--muted);
}
.article-head__meta span + span::before { content: "·"; margin-right: .9rem; color: var(--rule-strong); }

.layout { padding-block: var(--sp-6) var(--sp-8); }
@media (min-width: 62rem) {
  .layout--rail {
    display: grid;
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: start;
  }
}

/* left rail: persistent orientation — where am I, where else can I go */
.rail { display: none; }
@media (min-width: 62rem) {
  .rail { display: block; position: sticky; top: var(--sp-5); font-family: var(--ff-sans); }
}
.rail__title { margin-bottom: var(--sp-3); }
.col { min-width: 0; }

.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: .3rem 0 .3rem .75rem;
  border-left: 2px solid var(--rule);
  font-size: var(--fs-small); line-height: 1.4;
  color: var(--muted); text-decoration: none;
}
.toc a:hover { color: var(--accent); border-left-color: var(--accent); background: var(--accent-tint); }
.toc ul ul a { padding-left: 1.5rem; }

.rail__sep { border: 0; border-top: 1px solid var(--rule); margin: var(--sp-5) 0; }

/* compact cross-navigation between the four explainers */
.mini { list-style: none; margin: 0; padding: 0; counter-reset: mini; }
.mini li { counter-increment: mini; border-top: 1px solid var(--rule); }
.mini li:last-child { border-bottom: 1px solid var(--rule); }
.mini a, .mini > li > span {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .5rem;
  padding: .6rem 0; font-size: var(--fs-small); line-height: 1.4;
  color: var(--muted); text-decoration: none;
}
.mini a::before, .mini > li > span::before {
  content: "0" counter(mini);
  font-variant-numeric: tabular-nums lining-nums; font-weight: 700; color: var(--accent-line);
}
.mini a:hover { color: var(--accent); }
.mini a:hover::before { color: var(--accent); }
.mini [aria-current] { color: var(--ink); font-weight: 700; }
.mini [aria-current]::before { color: var(--accent); }

/* mobile disclosure version of the rail */
.rail-mobile { margin-bottom: var(--sp-6); border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); }
@media (min-width: 62rem) { .rail-mobile { display: none; } }
.rail-mobile > summary {
  cursor: pointer; list-style: none;
  padding: .85rem var(--sp-4);
  font-family: var(--ff-sans); font-size: var(--fs-small); font-weight: 700; color: var(--accent);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.rail-mobile > summary::-webkit-details-marker { display: none; }
.rail-mobile > summary::after { content: "+"; font-size: 1.25em; line-height: 1; color: var(--muted); }
.rail-mobile[open] > summary::after { content: "\2212"; }
.rail-mobile__body { padding: 0 var(--sp-4) var(--sp-4); font-family: var(--ff-sans); }

/* end-of-article next steps */
.next { border-top: 3px solid var(--accent); margin-top: var(--sp-8); padding-top: var(--sp-5); }
.next__title { font-family: var(--ff-sans); font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--sp-4); }
.next .register { padding-block: 0; }

/* --------------------------------------------------------- simple pages -- */
.page-head { padding-block: var(--sp-6) var(--sp-5); border-bottom: 1px solid var(--rule); }
.page-head h1 {
  font-family: var(--ff-serif); font-size: var(--fs-h1); font-weight: 700;
  line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; max-width: 22ch;
}
.page-head__deck { margin-top: var(--sp-4); max-width: 58ch; font-size: var(--fs-deck); line-height: 1.55; color: var(--muted); }

/* ---------------------------------------------------------------- notice -- */
.notice {
  background: var(--cream);
  border-left: 3px solid var(--note);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-small); line-height: 1.62; color: var(--note);
  max-width: var(--measure);
}

/* --------------------------------------------------------------- footer -- */
.sitefoot {
  margin-top: auto;
  background: var(--ink); color: #DCE5E6;
  font-family: var(--ff-sans); font-size: var(--fs-small);
  padding-block: var(--sp-7) var(--sp-5);
}
.sitefoot a { color: #DCE5E6; text-decoration: none; border-bottom: 1px solid rgba(220, 229, 230, .3); }
.sitefoot a:hover { color: #fff; border-bottom-color: #fff; }
.sitefoot :focus-visible { outline: 3px solid #A9BCC0; outline-offset: 3px; }
.sitefoot__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 48rem) { .sitefoot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-7); } }
.sitefoot__brand { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--sp-3); border: 0; }
.sitefoot__brand:hover { border: 0; }
.sitefoot__mark { width: 1.75rem; height: 1.75rem; border-radius: 6px; flex: none; }
.sitefoot__name { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 700; color: #fff; }
.sitefoot__pitch { color: #A9BCC0; line-height: 1.6; max-width: 38ch; }
.sitefoot h2 { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A9BCC0; margin-bottom: var(--sp-3); }
.sitefoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.sitefoot__base {
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  border-top: 1px solid rgba(220, 229, 230, .18);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  color: #A9BCC0; font-size: var(--fs-micro); line-height: 1.6;
}

/* ------------------------------------------------------ narrow viewport -- */
@media (max-width: 32rem) {
  .prose { hyphens: auto; -webkit-hyphens: auto; }
  .prose p, .prose li { overflow-wrap: break-word; }
}

/* ---------------------------------------------------------------- print -- */
/* These explainers get printed and carried to appointments. Make that good. */
@media print {
  :root { --paper: #fff; --ink: #000; --muted: #333; --accent: #000; }
  body { font-size: 11.5pt; line-height: 1.55; }
  .masthead, .sitefoot, .rail, .rail-mobile, .next, .crumbs, .skiplink, .route__cue { display: none !important; }
  .layout, .hero, .article-head, .register, .slab { padding-block: 0; border: 0; }
  .prose { max-width: none; }
  .prose h2 { break-after: avoid; page-break-after: avoid; }
  .prose a { color: #000; font-weight: 700; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; font-weight: 400; background: none; width: auto; height: auto; }
  .prose hr + p { border-left: 2px solid #000; background: none; }
}
