/* AE Answers. Questions lean forward in Archivo italic like the logo; answers sit upright in Source Serif. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --red: #e52421;
  --red-deep: #b3120f;
  --ink: #000;
  --text: #1f1f1f;
  --muted: #595959;
  --line: #dcdcdc;
  --mist: #f2f3f4;
  --paper: #fff;
  --sans: "Archivo", "Arial Narrow", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
  --measure: 43rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap.narrow { max-width: calc(var(--measure) + 2.5rem); }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { top: 0.5rem; color: #fff; outline-color: var(--red); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; flex-wrap: wrap; }
.logo { display: block; line-height: 0; }
.logo img { height: 2rem; width: auto; }
.site-header ul { list-style: none; display: flex; align-items: center; gap: 0.35rem 1.4rem; flex-wrap: wrap; }
.site-header nav a { font-weight: 650; text-decoration: none; padding-block: 0.4rem; display: inline-block; }
.site-header nav a:not(.btn):hover, .site-header nav a:not(.btn)[aria-current] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Buttons */
.btn { display: inline-block; background: var(--red); color: #fff; font: italic 800 1rem/1 var(--sans); padding: 0.8rem 1.15rem; border: 2px solid var(--red); text-decoration: none; cursor: pointer; }
.site-header nav a.btn { padding: 0.65rem 1rem; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--red); border-color: var(--red); }

/* Hero: the red slab leans at the same angle as the logo */
.hero-panel { background: var(--red); padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { font: italic 850 clamp(2.75rem, 8.2vw, 6.25rem)/0.92 var(--sans); letter-spacing: -0.035em; color: #fff; max-width: 13ch; text-wrap: balance; }
.hero-sub { display: block; color: var(--ink); font-size: 0.5em; line-height: 1.05; letter-spacing: -0.02em; margin-top: 0.35em; }
.hero .search { margin-top: clamp(1.75rem, 4vw, 2.75rem); max-width: 40rem; }
.hero .search label { color: #fff; }
.hero-alt { margin: 1rem 0 0; color: #fff; font-weight: 500; }
.hero-alt a { color: #fff; font-weight: 750; text-decoration-color: #fff; }
.hero-alt a:hover { color: var(--ink); }
.visitors { margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; color: #fff; font-weight: 500; }
.visitors strong { display: block; font: italic 850 clamp(1.9rem, 4.6vw, 3rem)/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 0.2rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero :focus-visible { outline-color: #fff; }
@media (min-width: 56rem) {
  .hero-panel { background: linear-gradient(112deg, var(--red) 0 74%, var(--paper) calc(74% + 1px)); }
}

/* Search */
.search label { display: block; font-weight: 650; margin-bottom: 0.4rem; }
.search-row { display: flex; }
.search input { flex: 1; min-width: 0; font: 1.0625rem/1.2 var(--sans); padding: 0.85rem 1rem; border: 2px solid var(--ink); border-right: 0; border-radius: 0; background: #fff; color: var(--ink); }
.search input::placeholder { color: #6b6b6b; }
.search button { font: italic 800 1rem/1 var(--sans); background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 0 1.3rem; cursor: pointer; border-radius: 0; }
.search button:hover { background: #fff; color: var(--ink); }
.search input:focus-visible { outline-offset: -5px; }

/* Section headings carry a small leaning red mark */
.section-h { font: italic 800 1.5rem/1.1 var(--sans); letter-spacing: -0.015em; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.section-h::before { content: ""; flex: none; width: 0.55em; height: 0.85em; background: var(--red); transform: skewX(-22deg); }

/* Home layout */
.home-grid { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60rem) { .home-grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4.5rem; } }
.side { display: grid; gap: 2.75rem; align-content: start; }

/* Question lists */
.q-list { list-style: none; }
.q { display: flex; gap: 1.25rem; justify-content: space-between; align-items: flex-start; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.q-list .q:first-child { padding-top: 0.9rem; }
.q-text { min-width: 0; }
.q-title { font: 720 1.3125rem/1.2 var(--sans); letter-spacing: -0.01em; margin: 0 0 0.4rem; text-wrap: balance; }
.q-title a { text-decoration: none; }
.q-title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.q-excerpt { font: 1rem/1.5 var(--serif); color: #3a3a3a; margin: 0 0 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 38rem; }
.q-meta { font-size: 0.875rem; color: var(--muted); margin: 0; display: flex; gap: 0.15rem 0.75rem; flex-wrap: wrap; }
.q-meta a { color: var(--ink); font-weight: 650; }
.q-thumb { flex: none; width: 6rem; height: 6rem; object-fit: cover; background: var(--mist); }
@media (max-width: 30rem) { .q-thumb { width: 4.25rem; height: 4.25rem; } }
.more { margin-top: 1.75rem; }

.top-list { list-style: none; counter-reset: top; }
.top-list li { counter-increment: top; display: grid; grid-template-columns: 2.1rem 1fr; align-items: baseline; padding-block: 0.6rem; border-bottom: 1px solid var(--line); }
.top-list li::before { content: counter(top); font: italic 850 1.35rem/1 var(--sans); color: var(--red-deep); }
.top-list a { font-weight: 600; text-decoration: none; line-height: 1.3; }
.top-list a:hover { text-decoration: underline; text-decoration-color: var(--red); }

.subjects { list-style: none; }
.subjects a { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.subjects a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.count { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.sitemap .subjects { columns: 2; column-gap: 2.5rem; margin-bottom: 2.5rem; }
.sitemap .subjects li { break-inside: avoid; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.75rem; font-weight: 650; }
.pager span { color: var(--muted); font-weight: 500; }

/* Page headings */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.page-head h1, .post h1 { font: italic 850 clamp(2.1rem, 5.4vw, 3.6rem)/1 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
.lede { font: 1.1875rem/1.55 var(--serif); margin: 1rem 0 0; max-width: 40rem; }
.page-head .search { margin-top: 1.75rem; max-width: 36rem; }
.page-head .btn { margin-top: 1.25rem; }
.result-count, .empty { color: var(--muted); margin-top: 0.5rem; }
.empty { font: 1.125rem/1.55 var(--serif); color: var(--text); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; font-size: 0.875rem; margin-bottom: 1.1rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline: 0.55rem; color: #8a8a8a; }
.crumbs a { font-weight: 650; }

/* Answer pages */
.post-head { padding-top: clamp(1.75rem, 4vw, 3rem); }
.post-meta { color: var(--muted); font-size: 0.9375rem; margin: 1rem 0 0; }
.post-image { margin: 1.75rem 0 0; }
.post-image img { display: block; width: 100%; background: var(--mist); }
.post-image.tall { max-width: 24rem; }
.answer { font: 1.1875rem/1.68 var(--serif); margin-top: 1.75rem; overflow-wrap: break-word; }
.answer > :first-child { margin-top: 0; }
.answer p, .answer ul, .answer ol, .answer blockquote, .answer table, .answer figure { margin: 0 0 1.25rem; }
.answer h2 { font: italic 800 1.75rem/1.12 var(--sans); letter-spacing: -0.02em; margin: 2.5rem 0 0.8rem; text-wrap: balance; }
.answer h3 { font: 750 1.3125rem/1.2 var(--sans); letter-spacing: -0.01em; margin: 2rem 0 0.6rem; }
.answer h4, .answer h5, .answer h6 { font: 750 1.0625rem/1.25 var(--sans); margin: 1.5rem 0 0.5rem; color: var(--ink); }
.answer ul, .answer ol { padding-left: 1.4rem; }
.answer li { margin-bottom: 0.45rem; }
.answer li::marker { color: var(--red-deep); font-family: var(--sans); font-weight: 750; }
.answer blockquote { border-left: 4px solid var(--red); padding: 0.2rem 0 0.2rem 1.25rem; font-style: italic; }
.answer img { display: block; }
.answer figcaption { font: 0.875rem/1.4 var(--sans); color: var(--muted); margin-top: 0.5rem; }
.answer table { display: block; overflow-x: auto; border-collapse: collapse; font: 0.9375rem/1.4 var(--sans); max-width: 100%; }
.answer th, .answer td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
.answer th { background: var(--mist); color: var(--ink); }
.answer a { overflow-wrap: anywhere; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.25rem; background: var(--mist); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lists of related questions and answers inside an answer */
.schema-faq, .faq { margin: 2.25rem 0; }
.faq > h2 { font: italic 800 1.75rem/1.12 var(--sans); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.schema-faq-section { border-left: 4px solid var(--red); padding: 0.1rem 0 0.1rem 1.25rem; margin-bottom: 1.75rem; }
.schema-faq-question { display: block; font: 750 1.25rem/1.25 var(--sans); color: var(--ink); letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.schema-faq-answer { font: 1.125rem/1.65 var(--serif); margin: 0; }
.schema-faq-answer p:last-child { margin-bottom: 0; }

.filed { font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 2.5rem; }
.filed a { font-weight: 650; }
.related { padding-block: 2.5rem 3.5rem; }
.rel-list { list-style: none; margin-bottom: 2.5rem; }
.related .rel-list { margin-bottom: 0; }
.rel-list li { border-bottom: 1px solid var(--line); }
.rel-list a { display: block; padding-block: 0.7rem; font-weight: 600; text-decoration: none; }
.rel-list a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.preview-note { background: var(--ink); color: #fff; text-align: center; padding: 0.6rem 1rem; margin: 0; font-weight: 650; }

/* Adverts stay quiet: labelled, spaced, never sticky */
.ad { margin: 2.5rem 0; padding: 0.75rem 0 1rem; border-block: 1px solid var(--line); text-align: center; clear: both; }
.ad-label { font: 0.75rem/1 var(--sans); color: var(--muted); margin: 0 0 0.6rem; }
.ad ins { max-width: 100%; }

/* Ask band and form */
.ask-band { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.ask-band h2 { font: italic 850 clamp(1.8rem, 4.4vw, 2.75rem)/1 var(--sans); letter-spacing: -0.025em; color: #fff; }
.ask-band p { font: 1.125rem/1.5 var(--serif); margin: 0.75rem 0 1.5rem; max-width: 34rem; }
.ask-band :focus-visible { outline-color: #fff; }
.ask-form { padding-bottom: 4rem; max-width: 36rem; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 1.0625rem/1.4 var(--sans); padding: 0.75rem 0.85rem; border: 2px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 0.4rem 0 0; }
.form-error { border-left: 4px solid var(--red); background: #fdeceb; padding: 0.9rem 1rem; font-weight: 600; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--mist); padding-block: 2.5rem; font-size: 0.9375rem; }
.foot-top { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: baseline; padding-bottom: 1.5rem; border-bottom: 1px solid #cfcfcf; margin-bottom: 1.5rem; }
.foot-line { font: italic 750 1.125rem/1.3 var(--sans); color: var(--ink); margin: 0; }
.site-footer ul { list-style: none; display: flex; gap: 0.4rem 1.5rem; flex-wrap: wrap; }
.site-footer nav a { font-weight: 600; display: inline-block; padding-block: 0.25rem; }
.disclaimer { max-width: 52rem; color: #333; }
.credit { margin: 0; color: #333; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-header nav, .ask-band, .ad, .related, .search { display: none; } }

/* Square and portrait pictures sit beside the start of the answer on wider screens */
@media (min-width: 46rem) {
  .post-image.tall { float: right; width: 15.5rem; max-width: none; margin: 2.1rem 0 1.25rem 2rem; }
  .answer h2, .answer .schema-faq, .answer table, .answer .embed { clear: none; }
}
.faq, .filed, .ad { clear: both; }

/* Click-to-load videos and maps */
.embed-load { position: absolute; inset: 0; width: 100%; height: 100%; border: 2px solid var(--ink); background: var(--mist); color: var(--ink); cursor: pointer; display: grid; place-content: center; gap: 0.4rem; text-align: center; padding: 1rem; border-radius: 0; }
.embed-load-main { font: italic 800 1.375rem/1.1 var(--sans); }
.embed-load-main::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 0.75em solid var(--red); border-block: 0.48em solid transparent; margin-right: 0.5em; vertical-align: -0.05em; }
.embed-load-note { font: 0.875rem/1.3 var(--sans); color: var(--muted); }
.embed-load:hover { background: #fff; }
.linklike { background: none; border: 0; padding: 0.25rem 0; font: 600 0.9375rem/1.5 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--red-deep); }
.form-note { margin: 0 0 1.25rem; }

/* Privacy and cookie policy */
.policy h2 { font: italic 800 1.5rem/1.15 var(--sans); letter-spacing: -0.015em; margin: 2.5rem 0 0.75rem; }
.policy h3 { font: 750 1.125rem/1.25 var(--sans); margin: 1.5rem 0 0.5rem; }
.policy table { font-size: 0.9375rem; }
.policy .updated { font: 0.9375rem/1.4 var(--sans); color: var(--muted); }
.policy address { font-style: normal; margin: 0 0 1.25rem; }
