/* Source Sans 3 and Source Serif 4 (SIL Open Font License, fonts/*-LICENSE.txt), served
   by the site itself; "latin-ext" holds ă, ș, ț, so browsers fetch it on Romanian pages */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/source-sans-3-latin-wght-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: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/source-serif-4-latin-wght-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: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #5b6876;
  --border: #dde3ea;
  --accent: #1d4f7c;
  --accent-text: #ffffff;
  --mark: #ffe58f;
  --notice-bg: #eef2f6;
  --ok: #2e7d4f;
  --track: #e3e8ee;
  /* the navy band (header, homepage top, footer) and its gold accent */
  --band: #13304d;
  --band-text: #ffffff;
  --band-muted: #c9d6e3;
  --gold: #e0b43a;
  --gold-text: #1b2430;
  --radius: 8px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-head: "Source Serif 4", Georgia, "Noto Serif", "Times New Roman", serif;
  --font-text: Georgia, "Noto Serif", "Times New Roman", serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;
  /* one colour per kind of document (labels.type_group) */
  --t-hcl: #2563eb; --t-proiect: #0e7490; --t-dispozitie: #7c3aed; --t-sedinta: #475569;
  --t-buget: #047857; --t-urbanism: #b45309; --t-anunt: #be185d; --t-declaratie: #78716c;
  --t-altul: #64748b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151b;
    --surface: #172029;
    --text: #e4e8ec;
    --muted: #9aa7b3;
    --border: #273341;
    --accent: #7fb3e0;
    --accent-text: #0e1a24;
    --mark: #6b5a12;
    --notice-bg: #1d2833;
    --ok: #5cc28a;
    --track: #24303c;
    --band: #0b1e31;
    --band-muted: #9fb3c6;
    --t-hcl: #7aa7ff; --t-proiect: #4fc3dc; --t-dispozitie: #b79cff; --t-sedinta: #9fb0c3;
    --t-buget: #4cc79a; --t-urbanism: #f0b05a; --t-anunt: #f07ab5; --t-declaratie: #b9aea6;
    --t-altul: #9aa7b3;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; overflow-wrap: anywhere; }
h2 { font-size: 1.15rem; margin: 1.75rem 0 0.75rem; }
mark { background: var(--mark); color: inherit; padding: 0 1px; border-radius: 2px; }
.muted { color: var(--muted); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* header & footer */
/* the header, with its search bar, stays pinned to the top while scrolling */
:root { --header-h: 61px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: var(--radius); color: var(--text); }
.logo:hover, .logo:focus-visible { background: var(--notice-bg); color: var(--accent); }
.header-search { display: flex; flex: 1; min-width: 220px; max-width: 520px; margin-left: auto; }
.site-footer { margin-top: 64px; padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

/* forms */
input, select, button { font: inherit; color: inherit; }
input[type="search"], input[type="number"], select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  min-width: 0;
}
button, .button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: var(--radius);
  padding: 9px 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.header-search input { flex: 1; border-radius: var(--radius) 0 0 var(--radius); }
.header-search button { border-radius: 0 var(--radius) var(--radius) 0; }

/* home */
.hero { padding: 40px 0 16px; }
.hero h1 { font-size: 2.2rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }
.big-search { display: flex; gap: 8px; margin: 20px 0 8px; max-width: 680px; }
/* home: the big search bar stays pinned to the top while scrolling */
.big-search { position: sticky; top: 0; z-index: 10; background: var(--bg);
  padding: 8px 0; margin-top: 4px; max-width: none; border-bottom: 1px solid var(--border); }
.big-search input { flex: 1; font-size: 1.1rem; padding: 12px 16px; }
.stats { color: var(--muted); font-size: 0.95rem; }
.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.recently-viewed { max-width: 680px; margin: 0 0 32px; }
.recently-viewed[hidden] { display: none; }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.recent-head h2 { font-size: 1.1rem; margin: 0 0 6px; }
button.recent-clear { background: none; color: var(--muted); padding: 0; font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
.recently-viewed ol { list-style: none; padding: 0; margin: 0; }
.recently-viewed li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--border); }
.recently-viewed li .muted { font-size: 0.9rem; }
.recently-viewed .small { font-size: 0.85rem; margin: 6px 0 0; }
.uat-list { list-style: none; padding: 0; margin: 0; }
.uat-list li { padding: 6px 0; border-bottom: 1px solid var(--border); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.filters input[type="search"] { flex: 1 1 260px; }
.filters input[type="number"] { width: 110px; }

/* results */
.results { list-style: none; padding: 0; margin: 0; }
.result { padding: 14px 0; border-bottom: 1px solid var(--border); }
.result-title { font-size: 1.08rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.result-title:hover { text-decoration: underline; }
.result-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }
.tag { color: var(--text); }
.snippet { margin: 6px 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.empty { padding: 24px; background: var(--notice-bg); border-radius: var(--radius); }
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; color: var(--muted); }

/* document page */
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-top: 20px; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 16px 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0; }
.file-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.file-info { color: var(--muted); font-size: 0.88rem; }
.file-dates { font-size: 0.92rem; }
.notice { background: var(--notice-bg); padding: 10px 14px; border-radius: var(--radius); font-size: 0.92rem; }
.doc-text { margin-top: 24px; }
.versions h2 { font-size: 1rem; margin: 20px 0 4px; }
.versions ul { margin: 6px 0 0; padding-left: 18px; }
.versions li { margin: 4px 0; }
.versions .file-info { display: block; font-size: 0.85rem; color: var(--muted); overflow-wrap: anywhere; }
.page-label { font: 600 0.8rem var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 28px 0 8px; }
.page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  /* The text keeps the page's layout (tables in columns), so it needs a fixed-width
     font and no wrapping; wide pages scroll sideways inside the box */
  white-space: pre;
  overflow-x: auto;
  font: 0.82rem/1.5 var(--font-mono);
}

/* wide screens: details on the left, the scrollable pages on the right */
.wrap.wide { max-width: 1440px; }
@media (min-width: 960px) {
  .document {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
  .doc-details, .doc-pages {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
  }
  .doc-pages { padding-right: 8px; scrollbar-gutter: stable; }
  .doc-details h1 { font-size: 1.45rem; }
  .doc-details .meta { grid-template-columns: 1fr; gap: 0; }
  .doc-details .meta dd { margin-bottom: 8px; }
  .doc-details .actions { flex-direction: column; align-items: stretch; }
  .doc-details .actions .button { text-align: center; }
  .doc-details .file-link { flex-direction: column; align-items: stretch; }
  .doc-details .file-info { text-align: center; }
  .doc-details .actions .link { align-self: flex-start; }
  .doc-pages .doc-text { margin-top: 0; }
  .doc-pages .page-label:first-child { margin-top: 0; }
}

.prose { max-width: 44rem; }

@media (max-width: 720px) {
  .columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero h1 { font-size: 1.7rem; }
  .big-search input { font-size: 1rem; padding: 10px 12px; }
  /* phones: logo and search bar on one row, so the pinned bar stays thin */
  .header-row { flex-wrap: nowrap; gap: 10px; min-height: 52px; padding-block: 6px; }
  .header-search { margin-left: 0; max-width: none; min-width: 0; }
  .header-search button { padding-inline: 12px; }
  .page { padding: 16px; }
  .meta { grid-template-columns: 1fr; gap: 0; }
  .meta dd { margin-bottom: 8px; }
}

/* crawl status (/stare) */
.status-page h1 { margin-bottom: 4px; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85rem;
  font-weight: 600; background: var(--notice-bg); color: var(--text); }
.badge-live { background: var(--ok); color: var(--surface); }
.progress-block { margin: 20px 0; }
.progress-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  margin-bottom: 6px; }
.progress-label span { color: var(--muted); }
.progress { height: 18px; background: var(--track); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px;
  transition: width .4s; }
.progress-secondary > span { background: var(--ok); }
.progress-small { height: 8px; flex: 1; min-width: 60px; }
.table-scroll { overflow-x: auto; margin: 24px 0 12px; }
.status-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.status-table th, .status-table td { padding: 8px 10px; border-bottom: 1px solid var(--border);
  text-align: left; white-space: nowrap; }
.status-table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.status-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.status-table .col-bar { width: 32%; }
.status-table .bar-cell { display: flex; align-items: center; gap: 8px; }
.status-table tr.active td { background: var(--notice-bg); }
.status-table small { color: var(--muted); min-width: 3ch; text-align: right; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* accessibility: a skip link for keyboard users, and a visible focus everywhere */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px;
  background: var(--accent); color: var(--accent-text); border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* home */
.coverage { margin: -4px 0 0; font-size: 0.95rem; }
.uat-filter { width: 100%; margin: 0 0 8px; }
.uat-filter[hidden], .uat-list li[hidden], .uat-none[hidden] { display: none; }
.uat-list .muted { font-size: 0.88rem; }

/* filters: with JavaScript they apply on change, so the button is not needed */
.filters.auto .filters-submit { display: none; }
.filters .uat-input { flex: 1 1 220px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 12px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px;
  background: var(--notice-bg); color: var(--text); text-decoration: none; font-size: 0.9rem;
  border: 1px solid var(--border); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips-clear { font-size: 0.9rem; }

/* document page */
.button.small { padding: 6px 12px; font-size: 0.9rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.share-status { color: var(--ok); font-size: 0.88rem; }
.citation { font-size: 0.9rem; margin: 0 0 16px; }
.citation summary { cursor: pointer; color: var(--muted); }
.citation p { margin: 6px 0 0; padding: 10px 12px; background: var(--notice-bg); border-radius: var(--radius); overflow-wrap: anywhere; }
.related h2 { font-size: 1rem; margin: 24px 0 6px; }
.related ul { margin: 0; padding-left: 18px; }
.related li { margin: 5px 0; overflow-wrap: anywhere; }
.related .muted { font-size: 0.85rem; margin-left: 4px; }
.related p { margin: 8px 0 0; font-size: 0.92rem; }
.report { font-size: 0.88rem; margin-top: 24px; }
.find-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px;
  margin: 0 0 12px; padding: 6px 8px 6px 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); font-size: 0.9rem; }
.find-bar[hidden] { display: none; }
.find-count { flex: 1; color: var(--muted); }
.find-bar button { padding: 4px 10px; background: transparent; color: var(--text); border: 1px solid var(--border); font-weight: 400; }
.find-bar button:hover { border-color: var(--accent); color: var(--accent); }
mark.find-hit.current { background: var(--accent); color: var(--accent-text); }
@media (max-width: 959px) {
  .find-bar { top: var(--header-h); }
}

/* A town hall's pages per document type */
.type-links ul { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; list-style: none; margin: .75rem 0 1rem; padding: 0; }
.type-links li { white-space: nowrap; }
.breadcrumbs [aria-current] { color: var(--muted, #666); }
@media (max-width: 640px) {
  /* one scrolling row, so the list doesn't push the results down */
  .type-links ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; }
}

/* /seo: position in Google */
.google-page-first { color: var(--ok); }
.trend-up { color: var(--ok); white-space: nowrap; }
.trend-down { color: #b3261e; white-space: nowrap; }
.seo-totals { margin: .5rem 0 1rem; }
.seo-add { display: flex; gap: .5rem; margin: .5rem 0 1rem; max-width: 36rem; }
.seo-add input { flex: 1; min-width: 0; }
.seo-chart { margin: 1rem 0 1.5rem; }
.seo-chart svg { width: 100%; max-width: 680px; height: auto; display: block; }
.seo-chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.seo-chart-first { fill: var(--ok); opacity: .1; }
.status-table form { margin: 0; }

/* ------------------------------------------------------------------------------------
   Theme: navy band with gold accents, serif headings, documents as cards coloured by type
   ------------------------------------------------------------------------------------ */
body { font-size: 17px; }
h1, h2, .wordmark { font-family: var(--font-head); }
h1 { font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 700; }

/* header: the navy band, with the site name next to the icon */
.site-header { background: var(--band); color: var(--band-text); border-bottom: 0; }
.logo { width: auto; gap: 10px; padding: 0 10px 0 4px; text-decoration: none; color: var(--band-text); }
.logo:hover, .logo:focus-visible { background: rgba(255, 255, 255, .08); color: var(--band-text); }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: var(--radius); background: var(--gold); color: var(--band); }
.wordmark { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.site-header input[type="search"] { background: #fff; color: #17212b; border-color: transparent; }
.site-header button, .hero + .big-search button { background: var(--gold); color: var(--gold-text); }
.site-header :focus-visible, .hero :focus-visible, .hero + .big-search :focus-visible, .hero-stats :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

/* homepage: title, search bar and numbers on one full-width navy band */
.hero, .hero + .big-search, .hero-stats { background: var(--band); color: var(--band-text);
  box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.hero { margin: 0; padding: 20px 0 8px; }
.hero .lead { color: var(--band-muted); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  color: var(--band-text); text-decoration: none; }
.hero + .big-search { margin: -1px 0 0; padding: 12px 0; border-bottom: 0; }
.hero + .big-search input { background: #fff; color: #17212b; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.hero-stats { margin: -1px 0 32px; padding: 4px 0 28px; }
.hero-stats a { color: var(--gold); }
.hero-stats .coverage { color: var(--band-muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 680px;
  list-style: none; margin: 12px 0 14px; padding: 0; color: var(--band-muted); }
.stats li { padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.stats strong { display: block; font: 700 1.6rem/1.15 var(--font-head); color: var(--gold);
  font-variant-numeric: tabular-nums; }
.recently-viewed { margin-top: 8px; }

/* document lists: cards with a coloured edge and a badge for the kind of document */
[data-type="hcl"] { --t: var(--t-hcl); }
[data-type="proiect"] { --t: var(--t-proiect); }
[data-type="dispozitie"] { --t: var(--t-dispozitie); }
[data-type="sedinta"] { --t: var(--t-sedinta); }
[data-type="buget"] { --t: var(--t-buget); }
[data-type="urbanism"] { --t: var(--t-urbanism); }
[data-type="anunt"] { --t: var(--t-anunt); }
[data-type="declaratie"] { --t: var(--t-declaratie); }
[data-type="altul"] { --t: var(--t-altul); }
.results { display: grid; gap: 10px; }
.result { background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--t, var(--border)); border-radius: var(--radius); padding: 14px 18px; }
.result-title { color: var(--text); }
.result-title:hover { color: var(--accent); }
.result-meta { align-items: center; }
.tag[data-type] { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 999px;
  font-weight: 600; font-size: .8rem; color: var(--t); background: color-mix(in srgb, var(--t) 13%, transparent); }
.tag[data-type]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
.doc-kind { margin: 16px 0 0; }

/* homepage: the list of town halls as a panel */
.uat-picker { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 4px 18px 12px; align-self: start; }
.uat-list li { border-color: var(--notice-bg); }

/* a town hall's document types as pill buttons */
.type-links ul { gap: 8px; }
.type-links li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: .9rem; }
.type-links li:hover { border-color: var(--accent); }
.type-links a { text-decoration: none; color: var(--text); font-weight: 500; }
.type-links a:hover { color: var(--accent); }
.type-links li .muted { font-size: .8rem; font-variant-numeric: tabular-nums; }

/* footer: navy, like the header */
.site-footer { background: var(--band); color: var(--band-muted); border-top: 0; }
.site-footer a { color: var(--gold); }

.page { border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }

@media (max-width: 720px) {
  .hero h1 { font-size: 1.8rem; }
  .brand { margin-bottom: 16px; }
  .stats { gap: 8px; }
  .stats li { padding: 10px 12px; }
  .stats strong { font-size: 1.2rem; }
}
/* phones: just the icon, so the search bar keeps its room */
@media (max-width: 560px) {
  .site-header .wordmark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .logo { padding: 0; }
}

/* homepage: the town hall list, shortened to the height of the documents beside it */
.uat-more[hidden] { display: none; }
.uat-more { display: block; width: 100%; margin-top: 12px; padding: 8px 12px; background: var(--notice-bg);
  color: var(--accent); border: 1px solid var(--border); font-weight: 600; }
.uat-more:hover { border-color: var(--accent); }
