/* New in Romania – one stylesheet for the whole site.
   Type: Barlow (text) and Barlow Semi Condensed (headings), self-hosted, SIL Open Font License.
   Colour: black on white like a town sign; blue for links and the contact panel;
   yellow for keyboard focus; red only for warnings. */

@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/barlow-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/barlow-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #16191d;
  --black: #000;
  --paper: #fff;
  --tint: #eef2f6;
  --line: #c3cad3;
  --muted: #47505a;
  --blue: #0b3d91;
  --blue-deep: #072a66;
  --yellow: #ffcd1c;
  --red: #c8102e;
  --text: "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --measure: 41rem;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow);
}

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

.skip { position: absolute; left: -999rem; top: 0; background: var(--yellow); color: var(--black); padding: 0.6rem 1rem; font-weight: 600; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head { border-bottom: 2px solid var(--black); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.75rem; row-gap: 0.5rem; padding-block: 0.9rem; }

/* The name set like a Romanian town sign: black frame, white plate. */
.plate {
  display: inline-block; font: 600 1.4375rem/1 var(--head); letter-spacing: 0.005em; white-space: nowrap;
  color: var(--black); background: var(--paper); text-decoration: none;
  border: 3px solid var(--black); border-radius: 10px; padding: 0.4em 0.7em 0.44em;
}
a.plate:hover { background: var(--yellow); }
.plate.small { font-size: 1.1875rem; border-width: 2px; border-radius: 8px; margin: 0 0 1rem; }
.plate.end {
  font-size: 2rem; margin: 3rem 0 1.5rem;
  background: linear-gradient(to top right, transparent calc(50% - 3px), var(--red) calc(50% - 3px), var(--red) calc(50% + 3px), transparent calc(50% + 3px)), var(--paper);
}

.topics { display: flex; gap: 1.3rem; margin-left: auto; font-size: 1rem; }
.topics a { color: var(--ink); text-decoration: none; white-space: nowrap; padding-block: 0.3rem; border-bottom: 3px solid transparent; }
.topics a:hover { border-bottom-color: var(--line); }
.topics a[aria-current] { border-bottom-color: var(--blue); color: var(--black); }
.ask { background: var(--blue); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; padding: 0.5em 0.9em 0.55em; border-radius: var(--r); }
.ask:hover { background: var(--blue-deep); }
@media (max-width: 72rem) {
  .topics { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem; }
  .topics::-webkit-scrollbar { display: none; }
  .ask { margin-left: auto; }
}
@media (max-width: 24rem) { .plate { font-size: 1.25rem; } .ask { font-size: 1rem; } }

/* ---------- shared type ---------- */
h1 { font: 600 clamp(2.125rem, 1.35rem + 3.3vw, 3.375rem)/1.06 var(--head); letter-spacing: -0.005em; margin: 0 0 0.9rem; text-wrap: balance; color: var(--black); }
h2 { font: 600 1.75rem/1.15 var(--head); margin: 2.4rem 0 0.7rem; text-wrap: balance; color: var(--black); }
h3 { font: 600 1.25rem/1.3 var(--text); margin: 1.5rem 0 0.4rem; color: var(--black); }
p { margin: 0 0 1.1rem; }
strong, b { font-weight: 600; }
.lead { font-size: 1.3125rem; line-height: 1.5; margin: 0 0 1.75rem; }
@media (max-width: 34rem) { body { font-size: 1.0625rem; } .lead { font-size: 1.1875rem; } h2 { font-size: 1.5625rem; } }

.crumbs { font-size: 0.9375rem; color: var(--muted); margin: 1.75rem 0 0.9rem; }
.crumbs a { color: inherit; }
.byline { font-size: 0.9375rem; color: var(--muted); margin: 0 0 1.6rem; }
.byline a { color: inherit; }

/* ---------- question pages ---------- */
.page { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(14rem, 19rem); column-gap: 4rem; justify-content: space-between; align-items: start; }
@media (max-width: 62rem) { .page { grid-template-columns: minmax(0, 1fr); } }

.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }

.facts { background: var(--tint); border-top: 4px solid var(--blue); border-radius: 0 0 var(--r) var(--r); padding: 1.05rem 1.25rem 1.15rem; margin: 0 0 1.75rem; }
.facts h2 { font-size: 1.1875rem; margin: 0 0 0.6rem; }
.facts dl, .deflist { margin: 0; display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; column-gap: 1.5rem; row-gap: 0.5rem; font-size: 1.0625rem; line-height: 1.4; }
.facts dl > div, .deflist > div { display: contents; }
.facts dt, .deflist dt { font-weight: 600; }
.facts dd, .deflist dd { margin: 0; }
.facts ul { margin: 0; padding-left: 1.2rem; font-size: 1.0625rem; line-height: 1.4; }
.facts li:last-child { margin-bottom: 0; }
.deflist { margin: 0 0 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 0.8rem; }
@media (max-width: 36rem) {
  .facts dl, .deflist { grid-template-columns: 1fr; row-gap: 0; }
  .facts dd, .deflist dd { margin-bottom: 0.6rem; }
  .facts dl > div:last-child dd, .deflist > div:last-child dd { margin-bottom: 0; }
}

figure { margin: 0; }
.shot { margin: 0 0 2rem; }
.shot img { display: block; width: 100%; border-radius: var(--r); background: var(--tint); }
.shot figcaption { margin-top: .6rem; font-size: .95rem; line-height: 1.45; color: var(--muted); }

ol.steps { list-style: none; counter-reset: step; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding-left: 3.1rem; margin-bottom: 0.9rem; min-height: 2.2rem; padding-top: 0.15rem; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center; border: 2px solid var(--black); border-radius: 50%;
  font: 600 1.125rem/1 var(--head); color: var(--black);
}

.pitfalls ul { list-style: none; padding: 0; }
.pitfalls li { position: relative; padding-left: 2.2rem; margin-bottom: 0.7rem; }
.pitfalls li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 1.4rem; height: 1.25rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cpath d='M14 2.2 26 23H2Z' fill='%23fff' stroke='%23c8102e' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M14 9.5v6.2' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='19.3' r='1.5'/%3E%3C/svg%3E");
}

.related .qa { border-top: 1px solid var(--line); padding: 0.9rem 0 0.1rem; }
.related .qa:last-child { border-bottom: 1px solid var(--line); }
.related h3 { font-size: 1.1875rem; margin: 0 0 0.3rem; }
.related p { margin: 0 0 0.8rem; }

.table-wrap { overflow-x: auto; margin: 0 0 1.75rem; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 1.0625rem; line-height: 1.35; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 1.1rem 0.6rem 0; border-bottom: 1px solid var(--line); }
th:last-child, td:last-child { padding-right: 0; }
thead th { font: 600 1.0625rem/1.25 var(--head); border-bottom: 2px solid var(--black); color: var(--black); }
thead td { border-bottom: 2px solid var(--black); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
/* On phones the three columns share the width instead of scrolling sideways. */
@media (max-width: 36rem) {
  table { min-width: 0; font-size: 0.9375rem; }
  thead th { font-size: 0.9375rem; }
  th, td { padding-right: 0.7rem; overflow-wrap: break-word; }
}

.sources { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; color: var(--muted); }
.sources h2 { font-size: 1.1875rem; margin: 0 0 0.5rem; }
.sources ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.sources li { margin: 0 0 0.3rem; }
.sources p { margin: 0; }

/* Blue panel, like an information sign. */
.cta { background: var(--blue); color: #fff; border-radius: 10px; padding: 1.5rem 1.6rem 1.65rem; margin: 2.5rem 0 0; }
.cta p { font: 600 1.4375rem/1.25 var(--head); margin: 0 0 1.1rem; max-width: 32em; text-wrap: balance; }
.btn { display: inline-block; background: #fff; color: var(--black); font-weight: 600; text-decoration: none; padding: 0.65em 1.1em 0.7em; border-radius: var(--r); }
.btn:hover { background: var(--yellow); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; border-top: 2px solid var(--black); padding-top: 1rem; }
.pager a { text-decoration: none; color: var(--ink); }
.pager span { display: block; font-size: 0.9375rem; color: var(--muted); margin-bottom: 0.15rem; }
.pager strong { font: 600 1.25rem/1.2 var(--head); color: var(--black); }
.pager a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 34rem) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; grid-column: 1; } .pager > span:empty { display: none; } }

.side { position: sticky; top: 1.5rem; margin-top: 4.6rem; border-top: 3px solid var(--black); padding-top: 0.9rem; font-size: 1rem; line-height: 1.3; }
.side h2 { font-size: 1.25rem; margin: 0 0 0.6rem; }
.side h2 a { color: var(--black); text-decoration: none; }
.side h2 a:hover { text-decoration: underline; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 0.45rem 0 0.45rem 0.85rem; border-left: 3px solid var(--line); color: var(--ink); text-decoration: none; }
.side li a:hover { border-left-color: var(--black); }
.side li a[aria-current] { border-left-color: var(--blue); font-weight: 600; color: var(--black); }
@media (max-width: 62rem) { .side { position: static; margin-top: 3rem; } }

/* ---------- home ---------- */
/* Header: the headline stands in the sky of the photo, and the photo dissolves upward into the page.
   36.3% is the part of the photo below the sky (70% of its height) as a share of its width;
   the phone crop is upright, so there it is 87.2%. */
.hero { display: grid; overflow: hidden; }
.hero > * { grid-area: 1 / 1; }
.hero-copy { position: relative; z-index: 1; align-self: start; width: 100%; padding-top: clamp(1.5rem, 2.6vw, 2.25rem); padding-bottom: calc(36.3% + 1.25rem); }
.hero h1 { font-size: clamp(2.25rem, 1.1rem + 4.6vw, 4.125rem); line-height: 1; letter-spacing: -0.012em; margin: 0 0 1rem; max-width: 17em; }
.hero h1 .nw { white-space: nowrap; }
.hero .lead { font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.3125rem); max-width: 35rem; margin: 0; color: var(--black); }
.hero-photo { position: relative; align-self: end; }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 37%; pointer-events: none;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.9) 22%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0) 100%);
}
@media (max-width: 40rem) { .hero-copy { padding-bottom: calc(87.2% + 1rem); } }
/* Very wide screens: the photo stops growing at 150rem and fades out at both sides. */
@media (min-width: 150rem) {
  .hero-copy { padding-bottom: 55.7rem; }
  .hero-photo { width: 150rem; justify-self: center; }
  /* the photo stops growing here; its sides fade into the page, the wider the screen the more (none at exactly 150rem) */
  .hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; --f: min(7%, calc((100vw - 150rem) * 1.2));
    background: linear-gradient(to right, #fff 0, rgba(255, 255, 255, 0) var(--f)), linear-gradient(to left, #fff 0, rgba(255, 255, 255, 0) var(--f)); }
}

.block { margin-top: 3.5rem; }
.block > h2 { font-size: 2.125rem; margin: 0 0 1.25rem; padding-top: 0.9rem; border-top: 3px solid var(--black); }
.more { font-weight: 600; }

/* Topics: each one is a place, marked with a town sign like the site name. */
.home-topics { margin-top: clamp(2.5rem, 5vw, 4rem); }
.home-topics > h2 { font-size: clamp(2.125rem, 1.55rem + 2.2vw, 3rem); margin-bottom: 1.5rem; padding-top: 0; border-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem 1.75rem; }
.tile { display: block; color: var(--ink); text-decoration: none; }
.tile-photo { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--tint); }
.tile-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); pointer-events: none; }
.tile-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile h3 {
  display: inline-block; position: relative; margin: -1.45rem 0 0.75rem 0.75rem;
  font: 600 1.5rem/1 var(--head); letter-spacing: 0.005em; color: var(--black); background: var(--paper);
  border: 3px solid var(--black); border-radius: 10px; padding: 0.4em 0.65em 0.44em;
}
.tile:hover h3 { background: var(--yellow); }
.tile p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.45; }
.tile .count { margin-top: 0.45rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
@media (max-width: 62rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) {
  .tiles { grid-template-columns: 1fr; gap: 1.5rem; }
  .tile { display: grid; grid-template-columns: 36% minmax(0, 1fr); column-gap: 0; align-items: start; }
  .tile-photo img { aspect-ratio: 1 / 1; }
  .tile-text { padding-left: 0.9rem; }
  .tile h3 { margin: 0.5rem 0 0.55rem -1.9rem; font-size: 1.3125rem; }
  .tile p { font-size: 1rem; }
}

/* Passports: a quieter band below the topics. */
.band { background: var(--tint); margin-top: clamp(3.5rem, 6vw, 5rem); padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.band h2 { font-size: 1.75rem; margin: 0 0 1.4rem; }
.passports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
.passport { border-left: 3px solid var(--black); padding-left: 1.1rem; }
.passport h3 { font: 600 1.3125rem/1.2 var(--head); margin: 0 0 0.4rem; }
.passport p { margin: 0 0 0.6rem; font-size: 1.0625rem; line-height: 1.5; }
.passport p:last-child { margin-bottom: 0; }
@media (max-width: 62rem) { .passports { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Who writes this, with the map of Romania. */
.who { border-top: 3px solid var(--black); padding-top: 2rem; }
.who-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.who h2 { font-size: 2.125rem; margin: 0 0 1rem; }
.who-text p { max-width: var(--measure); }
.ro-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.ro-land { fill: var(--tint); stroke: var(--black); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.ro-city circle { fill: var(--black); }
.ro-city text { font: 600 21px/1 var(--text); fill: var(--ink); }
.ro-city .ro-capital { fill: none; stroke: var(--black); stroke-width: 1.75; }
.ro-here circle { fill: var(--blue); }
.ro-here text { font-size: 23px; fill: var(--blue-deep); }
.ro-here .ro-sub { font-size: 19px; font-weight: 400; fill: var(--ink); }
.ro-here .ro-ring { fill: var(--blue); opacity: 0; }
.ro-city circle, .ro-ring { transform-box: fill-box; transform-origin: center; }
/* One moment of motion: the border is drawn, the cities appear, the office answers. */
.ro-map.is-waiting .ro-land { stroke-opacity: 0; fill-opacity: 0; }
.ro-map.is-waiting .ro-city { opacity: 0; }
.ro-map.is-in .ro-land { stroke-dasharray: var(--len); animation: ro-draw 1.7s cubic-bezier(0.6, 0, 0.3, 1) both, ro-fill 0.9s 0.9s ease-out both; }
.ro-map.is-in .ro-city { animation: ro-show 0.4s calc(1.4s + var(--i) * 0.13s) ease-out both; }
.ro-map.is-in .ro-city circle:not(.ro-ring) { animation: ro-pop 0.45s calc(1.4s + var(--i) * 0.13s) cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.ro-map.is-in .ro-ring { animation: ro-pulse 2s 2.7s ease-out 3 both; }
@keyframes ro-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes ro-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes ro-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes ro-pop { from { transform: scale(0.3); } to { transform: none; } }
@keyframes ro-pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ro-map .ro-land, .ro-map .ro-city, .ro-map circle { animation: none !important; }
  .ro-map.is-waiting .ro-land { stroke-opacity: 1; fill-opacity: 1; }
  .ro-map.is-waiting .ro-city { opacity: 1; }
  .tile-photo img { transition: none; }
}
@media (max-width: 62rem) { .who-cols { grid-template-columns: 1fr; } .ro-map { max-width: 34rem; } }
.home .cta { margin-top: 3.5rem; }
@media (max-width: 36rem) {
  .block > h2, .who h2 { font-size: 1.8125rem; }
  /* the map is about half its drawn size on a phone: larger labels keep them readable */
  .ro-city text { font-size: 26px; }
  .ro-here text { font-size: 28px; }
  .ro-here .ro-sub { font-size: 23px; }
}

/* ---------- topic pages ---------- */
.hub h1 { max-width: 14em; }
.hub .lead { max-width: 44rem; }
.hub-hero img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--r); background: var(--tint); }
@media (max-width: 40rem) { .hub-hero img { aspect-ratio: 3 / 2; } }
.q-list { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 3px solid var(--black); }
.q-list li { border-bottom: 1px solid var(--line); }
.q-list a { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 1.15rem 0; color: var(--ink); text-decoration: none; }
.q-list img, .q-list .nothumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--tint); }
.q-list .q { display: block; font: 600 1.5625rem/1.15 var(--head); color: var(--black); margin: 0.1rem 0 0.4rem; text-wrap: balance; }
.q-list a:hover .q { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.q-list .d { display: block; color: var(--muted); font-size: 1.0625rem; line-height: 1.45; max-width: 42rem; }
@media (max-width: 36rem) { .q-list a { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.9rem; } .q-list .q { font-size: 1.3125rem; } .q-list .d { font-size: 1rem; } }

/* ---------- about, contact, imprint, privacy ---------- */
.static .prose { max-width: var(--measure); }
.form-frame { border: 2px solid var(--black); border-radius: var(--r); overflow: hidden; margin: 1.75rem 0 1rem; }
.form-frame iframe { display: block; width: 100%; height: 1240px; border: 0; }
@media (max-width: 40rem) { .form-frame iframe { height: 1380px; } }
.form-off { background: var(--tint); padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.form-off p { margin: 0; }
.form-help { font-size: 1rem; color: var(--muted); }
.notfound h1 { margin-top: 0; }

/* ---------- footer ---------- */
.site-foot { margin-top: 5rem; background: var(--tint); border-top: 2px solid var(--black); padding: 2.5rem 0 3rem; font-size: 1rem; line-height: 1.5; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.site-foot .about p { max-width: 30rem; margin-bottom: 0.7rem; }
.site-foot h2 { font-size: 1.1875rem; margin: 0.35rem 0 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.4rem; }
.site-foot a { color: var(--ink); }
@media (max-width: 48rem) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .about { grid-column: 1 / -1; } }

@media print {
  .site-head nav, .ask, .side, .pager, .cta, .site-foot nav, .skip { display: none; }
  body { font-size: 11pt; }
  .page { display: block; }
  a { color: inherit; }
}
