:root {
    --red: #b3261e;
    --red-dark: #8f1b15;
    --ochre: #d9a441;
    --ink: #1d1a17;
    --ink-soft: #4d4741;
    --muted: #7c746b;
    --paper: #faf7f1;
    --sand: #f0e9dd;
    --line: #e4dccf;
    --white: #fff;
    --radius: 14px;
    /* The sticky chrome an anchor has to clear: the header alone, and the header plus
       the section nav on the pages that carry one. */
    --header-h: 64px;
    --chrome: 117px;
    --shadow: 0 1px 2px rgba(29, 26, 23, .06), 0 8px 24px -12px rgba(29, 26, 23, .25);
    --shadow-hover: 0 2px 4px rgba(29, 26, 23, .08), 0 18px 36px -14px rgba(29, 26, 23, .35);
    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand span { color: var(--red); }
.nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--red); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang-switch a { padding: .3rem .7rem; text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--white); }
.header-search { display: none; }
@media (min-width: 720px) { .header-search { display: block; } }

/* search form */
.search { display: flex; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .25rem .25rem 1rem; box-shadow: var(--shadow); max-width: 560px; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1rem; min-width: 0; outline: none; color: var(--ink); }
.search button { border: 0; background: var(--red); color: var(--white); font: inherit; font-weight: 600; padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; }
.search button:hover { background: var(--red-dark); }
.search.compact { padding: .15rem .15rem .15rem .9rem; box-shadow: none; }
.search.compact input { font-size: .9rem; width: 180px; }
.search.compact button { padding: .4rem .9rem; font-size: .85rem; }

/* hero */
.hero { position: relative; min-height: min(78vh, 640px); display: grid; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 26, 23, .15) 0%, rgba(29, 26, 23, .05) 35%, rgba(29, 26, 23, .85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 4rem 3rem; width: 100%; }
.hero h1 { color: var(--white); max-width: 14ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.hero p { max-width: 52ch; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
.hero .search { margin-top: 1.5rem; }
.hero .credit { position: absolute; right: 1rem; bottom: .6rem; z-index: 1; font-size: .7rem; color: rgba(255, 255, 255, .6); }
.hero .credit a { color: inherit; }

/* sections */
.section { padding-block: 3.5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 500; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
.section.alt { background: var(--sand); }

/* stats */
/* figures strip: ruled like a newspaper table, no tiles */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 1.1rem 1.25rem 1.2rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: .45rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* cards */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.dense { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb.empty { display: grid; place-items: center; color: var(--line); font-family: var(--serif); font-size: 3rem; }
.card .body { padding: .9rem 1rem 1rem; }
.card .title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.card .title::after { content: ""; position: absolute; inset: 0; }
.card .meta { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* region / province lists */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip small { color: var(--muted); font-weight: 400; margin-left: .3rem; }
.region-list { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); align-items: start; }
.region-card { display: grid; grid-template-columns: 190px 1fr; gap: 1.25rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: calc(var(--chrome) + 1rem); }
.region-card .media { display: grid; gap: .6rem; align-content: start; }
.region-card .map { height: 150px; border-radius: 10px; box-shadow: none; isolation: isolate; }
.region-card figure { margin: 0; }
.region-card figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.region-card .credit { margin-top: .3rem; font-size: .65rem; line-height: 1.3; color: var(--muted); }
.region-card h2 { font-size: 1.3rem; margin: .1rem 0 0; padding-bottom: .4rem; border-bottom: 2px solid var(--ochre); display: inline-block; }
@media (max-width: 560px) {
    .region-card { grid-template-columns: 1fr; }
    .region-card .media { grid-template-columns: 1fr 1fr; }
    .region-card .map { height: auto; min-height: 130px; }
    .region-card figure img { aspect-ratio: auto; height: 130px; }
}
.province-list { list-style: none; margin: .6rem 0 0; padding: 0; }
.province-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.province-list a:hover { color: var(--red); }
.province-list .name { font-weight: 600; }
.province-list small { color: var(--muted); font-size: .8rem; text-align: right; }

/* page header (province, place) */
.page-hero { position: relative; color: var(--white); background: var(--ink); min-height: 360px; display: grid; align-items: end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 26, 23, .1), rgba(29, 26, 23, .8)); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 2.5rem; width: 100%; }
.page-hero h1 { color: var(--white); margin-bottom: .3rem; }
.page-hero .credit { position: absolute; right: 1rem; bottom: .5rem; z-index: 1; font-size: .7rem; color: rgba(255, 255, 255, .6); }
.page-hero.plain { min-height: 0; color: var(--ink); background: var(--sand); }
.page-hero.plain::after { display: none; }
.page-hero.plain h1 { color: var(--ink); }
.crumbs { font-size: .85rem; margin-bottom: .75rem; opacity: .85; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.fact { background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; }
.page-hero.plain .fact { background: var(--white); border-color: var(--line); color: var(--ink-soft); }

/* map */
.map { height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.map.small { height: 260px; }
.leaflet-container { font: inherit; }
.leaflet-popup-content { font-family: var(--sans); }
.leaflet-popup-content a { font-weight: 600; text-decoration: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1280px); max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(29, 26, 23, .92); }
.lightbox figure { margin: 0; display: grid; gap: .6rem; justify-items: center; }
.lightbox img { max-width: min(96vw, 1280px); max-height: 82vh; width: auto; height: auto; border-radius: 10px; background: var(--ink); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: .85rem; line-height: 1.4; text-align: center; max-width: 60ch; display: grid; gap: .2rem; }
.lightbox .credit { font-size: .72rem; color: rgba(255, 255, 255, .55); }
.lightbox .caption:empty { display: none; }
.lightbox .close { position: fixed; top: .8rem; right: 1rem; border: 0; background: transparent; color: var(--white); font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox .close:hover { opacity: 1; }

/* place cover: photo beside the title block */
.cover-split { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--sand); }
@media (min-width: 860px) { .cover-split { grid-template-columns: 1.15fr 1fr; } }
.cover-split .shot { position: relative; min-height: 320px; background: var(--ink); }
.cover-split .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-split .credit { position: absolute; right: .8rem; bottom: .5rem; font-size: .7rem; color: rgba(255, 255, 255, .6); }
.cover-split .title { padding: clamp(1.75rem, 5vw, 4rem); display: grid; align-content: center; }
.cover-split h1 { font-size: clamp(2.1rem, 5.5vw, 4rem); margin-bottom: .1rem; }
.place-sub { font-size: 1.05rem; color: var(--muted); margin: 0; }

/* the numbers, large and unboxed instead of an infobox table */
.factstrip { display: flex; flex-wrap: wrap; gap: 1.75rem; padding-top: 1.5rem; }
.factstrip div { display: grid; }
.factstrip b { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--ink); }
.factstrip span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

/* Fade the edge the row can still be scrolled towards, so a clipped entry reads as "more", not as broken. */
.scroller { position: relative; }
.scroller::before, .scroller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2.5rem; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1; }
.scroller::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(250, 247, 241, 0)); }
.scroller::after { right: 0; background: linear-gradient(to left, var(--paper), rgba(250, 247, 241, 0)); }
.scroller.at-start::before, .scroller.at-end::after { opacity: 0; }
.scroller.can-scroll-left::before, .scroller.can-scroll-right::after { opacity: 1; }
.topicbar.scroller::before { background: linear-gradient(to right, var(--sand), rgba(240, 233, 221, 0)); }
.topicbar.scroller::after { background: linear-gradient(to left, var(--sand), rgba(240, 233, 221, 0)); }

/* section nav: sticky, numbered like the headings, marks the section on screen */
.sectionnav { position: sticky; top: calc(var(--header-h) + 1px); z-index: 40; background: rgba(250, 247, 241, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sectionnav .wrap { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: clamp(16px, 4vw, 32px); }
.sectionnav .wrap::-webkit-scrollbar { display: none; }
/* A scroll container drops its end padding, so the last entry would sit flush against the edge. */
.sectionnav .wrap::after, .topicbar .wrap::after { content: ""; flex: 0 0 clamp(16px, 4vw, 32px); }
.sectionnav a { display: flex; align-items: baseline; gap: .4rem; white-space: nowrap; padding: .85rem 0; font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.sectionnav a:hover { color: var(--red); }
.sectionnav a[aria-current] { color: var(--ink); border-bottom-color: var(--ochre); }
.sectionnav .num { font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.sectionnav a[aria-current] .num { color: var(--red); }
/* the feature itself */
.feature { max-width: 760px; padding-block: 3.5rem 1rem; font-size: 1.1rem; }
.feature .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.6rem); line-height: 1.4; margin-bottom: 2.5rem; }
.feature .lead::first-letter { float: left; font-size: 4.2rem; line-height: .82; padding: .1em .12em 0 0; color: var(--red); }
.feature h2 { display: flex; align-items: baseline; gap: .8rem; margin-top: 3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); scroll-margin-top: calc(var(--chrome) + 1.5rem); }
.feature h2 .num { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--red); border-bottom: 2px solid var(--ochre); padding-bottom: .15rem; }
.feature h3 { margin-top: 2rem; scroll-margin-top: calc(var(--chrome) + 1.5rem); }
/*
 * Four of the nav entries (overview, photos, questions, map) point at a section wrapper
 * rather than at a heading, so the rules above miss them and the sticky bars would cover
 * the first 117px. A .block brings its own 2.75rem of padding as the breathing room;
 * #overview starts straight on the lead paragraph and needs that space added.
 */
#overview { scroll-margin-top: calc(var(--chrome) + 1.5rem); }
.block[id] { scroll-margin-top: var(--chrome); }
.feature p { white-space: pre-line; }
.feature .notice { background: var(--sand); border-radius: var(--radius); padding: 1.25rem; color: var(--muted); }
.feature .bullets { margin: .5rem 0 1.25rem; padding-left: 1.2rem; }
.feature .bullets li { margin-bottom: .35rem; }
.feature .bullets b { color: var(--ink); }
.feature .factlist { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 1.25rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--ochre); background: var(--white); }
.feature .factlist dt { color: var(--muted); }
.feature .factlist dd { margin: 0; }
.pull { margin: 2.5rem 0; padding: 2rem clamp(1.25rem, 4vw, 2.5rem); background: var(--ink); color: var(--white); border-radius: var(--radius); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2.5rem 0; }
.duo figure { margin: 0; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.duo figcaption { font-size: .76rem; color: var(--muted); margin-top: .4rem; }

/* the Wikidata rows, as a data sheet under the text */
.datasheet { margin: 3rem 0; border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.datasheet dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem; margin: 0; }
.datasheet dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.datasheet dd { margin: .2rem 0 0; font-weight: 500; overflow-wrap: break-word; }
.datasheet dd a { overflow-wrap: anywhere; }

/* photos */
.block { padding-block: 2.75rem; }
.filmstrip { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; }
.filmstrip figure { margin: 0; flex: 0 0 clamp(200px, 30vw, 320px); scroll-snap-align: start; }
.filmstrip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.filmstrip figcaption { font-size: .76rem; color: var(--muted); margin-top: .4rem; }
.rowscroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem; }
.rowscroll .card { flex: 0 0 220px; }

/* questions, on a dark band */
.band { background: var(--sand); }
.band.dark { background: var(--ink); color: rgba(255, 255, 255, .82); }
.band.dark h2, .band.dark h3 { color: var(--white); }
.qa { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.qa article { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1rem; }
.qa article > a { display: block; float: right; width: 120px; margin: .2rem 0 .5rem 1rem; }
.qa img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.qa h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.qa p { margin: 0; font-size: .95rem; }
.qa .tags { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .35rem; clear: both; }
.qa .tag { font-size: .7rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .12rem .55rem; }

/* fine print instead of a sources block */
.fineprint { font-size: .78rem; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-block: 2.5rem 3rem; }
.fineprint a { color: var(--muted); }

/* photo cards: topics and the home page regions */
.photo-card { display: grid; align-content: space-between; gap: .75rem; min-height: 120px; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--ochre); }
.photo-card .label { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.photo-card .meta { font-size: .82rem; color: var(--muted); }
.photo-card.empty { opacity: .55; box-shadow: none; }
.photo-card.has-image { position: relative; overflow: hidden; align-content: end; min-height: 220px; border: 0; color: var(--white); background: var(--ink); }
.photo-card .shot { position: absolute; inset: 0; }
.photo-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-card .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .1) 60%); }
.photo-card.has-image:hover .shot img { transform: scale(1.04); }
.photo-card.has-image .label, .photo-card.has-image .meta { position: relative; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.photo-card.has-image .meta { color: rgba(255, 255, 255, .85); }
.photo-card .credit { position: absolute; top: .5rem; right: .7rem; font-size: .65rem; color: rgba(255, 255, 255, .6); }
.photo-card.region.has-image { min-height: 240px; }
.photo-card.region .label { font-size: 1.6rem; }

.topicbar { border-block: 1px solid var(--line); background: var(--sand); }
.topicbar .wrap { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: clamp(16px, 4vw, 32px); }
.topicbar .wrap::-webkit-scrollbar { display: none; }
.topicbar a { white-space: nowrap; padding: .8rem 0; font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.topicbar a:hover { color: var(--red); }
.topicbar a[aria-current] { color: var(--ink); border-bottom-color: var(--ochre); }

.qa-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.qa-cards article { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.qa-cards img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; flex: none; }
.qa-cards .place { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.qa-cards .place small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: .4rem; }
.qa-cards .place:hover { text-decoration: underline; }
.qa-cards h2 { font-size: 1.02rem; margin: .35rem 0 .4rem; }
.qa-cards p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.qa-cards .tags { margin-top: .5rem; }
.qa-cards .tag { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .12rem .55rem; }
.qa-cards .tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.qa-cards a.tag { color: var(--red); border-color: rgba(179, 38, 30, .3); text-decoration: none; }
.qa-cards a.tag:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.chips.filters { margin-top: 1rem; }
.chips.filters .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips.filters .chip[aria-current] small { color: rgba(255, 255, 255, .6); }
@media (max-width: 480px) { .qa-cards article { flex-direction: column; } .qa-cards img { width: 100%; height: 160px; } }

/* a topic tag links to its topic page; the subject and audience tags are labels, not links */
.qa a.tag { color: var(--ochre); border-color: rgba(217, 164, 65, .5); text-decoration: none; transition: background .2s, color .2s; }
.qa a.tag::after { content: " ›"; }
.qa a.tag:hover { background: var(--ochre); color: var(--ink); }
.qa span.tag { color: rgba(255, 255, 255, .55); }

.pager { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; font-size: .9rem; }
.pager a { font-weight: 600; text-decoration: none; }
.pager .off { color: var(--line); }
.pager .count { color: var(--muted); }

/* imprint and other legal pages */
.legal { max-width: 640px; font-size: 1rem; }
.legal .company { line-height: 1.7; margin-bottom: 2rem; }
.legal dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: .45rem 1.5rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; overflow-wrap: break-word; }
.legal a { color: var(--ink); }
.legal h2 { font-size: 1.4rem; margin-top: 3rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.75rem; margin-bottom: .4rem; }
.legal h3 + p { margin-top: 0; }
.legal p { font-size: .92rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 520px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .legal dd { margin-bottom: .8rem; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-block: 3rem; margin-top: 3rem; font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.site-footer .brand { color: var(--white); }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.site-footer li { margin-bottom: .3rem; }

/* empty state */
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty .icon { font-size: 3rem; margin-bottom: .5rem; }

/* home: featured places – one lead story and a list, laid out like a newspaper page */
.featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.featured .where { margin: 0; font-size: .82rem; color: var(--muted); }
.featured-lead .shot { display: block; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; border-radius: 4px; }
.featured-lead .shot img { width: 100%; height: 100%; object-fit: cover; }
.featured-lead .credit { margin: .35rem 0 1rem; font-size: .68rem; color: var(--muted); }
.featured-lead h3 { margin: .15rem 0 .6rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.featured-lead h3 a { color: var(--ink); text-decoration: none; }
.featured-lead h3 a:hover { color: var(--red); }
.featured-lead .summary { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.featured-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.featured-list li { border-bottom: 1px solid var(--line); }
.featured-list a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; align-items: start; padding: .9rem 0; color: var(--ink); text-decoration: none; }
.featured-list img, .featured-list .placeholder { width: 88px; height: 66px; object-fit: cover; border-radius: 3px; background: var(--sand); }
.featured-list .placeholder { display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; color: var(--muted); }
.featured-list .text { display: grid; gap: .1rem; }
.featured-list .name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.featured-list a:hover .name { color: var(--red); }
.featured-list .teaser { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 820px) {
    .featured { grid-template-columns: 1fr; gap: 2rem; }
}
