/* =====================================================================
   St Ives Quay News — design system + public site
   Navy / white / black · Playfair Display + Lora.

   Loaded first on every page. reader.css and admin.css extend it and
   must not redeclare a token.
   ===================================================================== */
:root {
  /* Colour: exactly 2 main + 3 sub + black + white. Never add an eighth.
     Reading themes in reader.css are the one agreed exception. */
  --main-1: #0d2444;   /* navy — masthead, headlines, dark bands */
  --main-2: #1c4f8f;   /* bright navy — links, buttons, accents */
  --sub-1:  #f7f7f5;   /* page background, warm off-white */
  --sub-2:  #e6e5df;   /* soft band, rules, hairlines */
  --sub-3:  #6b6f76;   /* muted text, eyebrows, metadata */
  --black:  #14161a;
  --white:  #ffffff;

  /* Type: one display face, one reading face, one system stack for UI. */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: var(--font-body);   /* two families only: UI text is set in the body face */

  /* Five sizes — an editorial hierarchy needs the display step. */
  --fs-display: clamp(2.1rem, 5.2vw, 3.4rem);
  --fs-heading: clamp(1.5rem, 3vw, 2.1rem);
  --fs-subheading: clamp(1.15rem, 2.2vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.8125rem;

  /* Layout */
  --container-max: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --header-height: 64px;
  --radius: 2px;
  --radius-pill: 999px;
  --tap: 48px;
  --shadow: 0 10px 30px rgba(13, 36, 68, 0.13);
  --transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ---- base ----------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--black);
  background: var(--sub-1);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(28, 79, 143, 0.12);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--main-1);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* One visible focus ring everywhere — both reference sites under-did this. */
:focus-visible {
  outline: 3px solid var(--main-2);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--main-1);
  color: var(--white);
  padding: 0.85rem 1.25rem;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- layout primitives ---------------------------------------------- */
/* The gutter also clears the notch and rounded corners on a phone —
   both public pages declare viewport-fit=cover. */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--soft { background: var(--white); }
.section--dark { background: var(--main-1); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a { color: var(--white); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub-3);
  margin: 0 0 0.55rem;
}
.eyebrow--accent { color: var(--main-2); }

.rule {
  border: 0;
  border-top: 1px solid var(--sub-2);
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---- buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--main-1);
  background: var(--main-1);
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { background: var(--main-2); border-color: var(--main-2); }

.btn--ghost { background: transparent; color: var(--main-1); }
.btn--ghost:hover { background: var(--main-1); color: var(--white); }

/* Visually compact, but never below the house touch floor. */
.btn--small { min-height: var(--tap); padding: 0.4rem 1rem; font-size: 0.8125rem; }

/* ---- demo banner ----------------------------------------------------
   Every article on this site is invented. That must be impossible to
   miss, on every page, before anyone reads a word. */
.demo-banner {
  background: var(--main-1);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  line-height: 1.4;
  text-align: center;
  padding: 0.6rem var(--gutter);
}
.demo-banner strong { letter-spacing: 0.06em; text-transform: uppercase; }
.demo-banner a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- masthead ------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sub-2);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: clamp(1rem, 3vw, 1.75rem);
}

.masthead-date,
.masthead-actions {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--sub-3);
}
.masthead-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }

/* On the front page the masthead is the h1; on a section page the section
   name is, and the masthead is a plain link. Same visual either way. */
.masthead-heading {
  margin: 0;
  text-align: center;
}

.masthead-title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  color: var(--main-1);
  text-align: center;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.masthead-strapline {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub-3);
  padding-top: 0.6rem;
  border-top: 1px solid var(--sub-2);
  margin-top: 0.85rem;
}

/* Category nav — a horizontally swipeable rail on touch, no wrap, no
   hamburger. Six categories fit; a menu would be a worse trade. */
.site-nav {
  border-top: 1px solid var(--sub-2);
  background: var(--white);
  position: sticky;
  top: 64px;
  z-index: 20;
}

.site-nav .container { position: relative; }

.site-nav-list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.site-nav-list::-webkit-scrollbar { display: none; }
/* Centred when the sections fit; auto margins (unlike justify-content:
   center) still let the first link scroll into view when they don't. */
.site-nav-list > li:first-child { margin-left: auto; }
.site-nav-list > li:last-child { margin-right: auto; }

/* Below 860px the rail is wider than the screen and the scrollbar is
   hidden, so a fade is the only cue that there are more sections. */
@media (max-width: 860px) {
  .site-nav .container::after {
    content: "";
    position: absolute;
    inset-block: 0;
    right: 0;
    width: 2.5rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white));
    pointer-events: none;
  }
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--main-1);
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.site-nav-link:hover { color: var(--main-2); }
.site-nav-link[aria-current="page"] {
  border-bottom-color: var(--main-2);
  color: var(--main-2);
}

/* ---- placeholder artwork --------------------------------------------
   Generated line-art plates stand in for photography (see js/plates.js).
   Every one is captioned as placeholder art — a client looking at this
   must never mistake them for pictures the paper actually holds. */
.media-note {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub-3);
  margin-top: 0.4rem;
}

.front-lead-media,
.story-card-media {
  display: block;
  object-fit: cover;
  border: 1px solid var(--sub-2);
  background: var(--sub-1);
}

.front-lead-figure { margin: 0; }
.front-lead-media { width: 100%; aspect-ratio: 16 / 9; }
.story-card-media { width: 148px; aspect-ratio: 4 / 3; }

/* ---- front page ----------------------------------------------------- */
.front-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--sub-2);
}

.front-lead-body { max-width: 62ch; }

.front-lead-title {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  margin-bottom: 0.6rem;
}
.front-lead-title a { text-decoration: none; }
.front-lead-title a:hover { color: var(--main-2); }

.front-lead-standfirst {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--black);
  margin-bottom: 0.9rem;
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.story-list { display: grid; gap: 0; }

/* Stories are separated by hairlines, not boxes — a newspaper column,
   not a card wall. Text first, thumbnail second: the headline is what
   people scan, and it keeps the artwork from leading the eye. */
.story-card {
  display: grid;
  /* auto, not a fixed track: without js/plates.js the card is text-only
     and must not leave a 148px hole where the artwork would have been. */
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
  align-items: start;
  padding-block: clamp(1.1rem, 2.5vw, 1.6rem);
  border-top: 1px solid var(--sub-2);
}

.story-card-text {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.story-card-media { aspect-ratio: 4 / 3; }
.story-list > .story-card:first-child { border-top: 0; padding-top: 0; }

.story-card-title {
  font-size: var(--fs-heading);
  margin: 0;
}
.story-card-title a {
  text-decoration: none;
  /* the whole headline is the tap target — floored, not merely assumed,
     because a short single-line headline would otherwise compute to ~26px */
  display: inline-block;
  min-height: 44px;
  padding-block: 0.25rem;
}
.story-card-title a:hover { color: var(--main-2); }

.story-card-standfirst { color: var(--black); }

.story-card-meta {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--sub-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.story-card-meta span::after { content: "·"; margin-left: 0.5rem; color: var(--sub-2); }
.story-card-meta span:last-child::after { content: none; }

/* A label, not a link. As a link it was an 18px tap target sitting 6px
   above the headline — every category is one tap away in the nav anyway. */
.story-card-cat {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-2);
}

.story-card--compact { grid-template-columns: 1fr; }
.story-card--compact .story-card-title { font-size: var(--fs-subheading); }

/* Right-hand rail: briefs + advertising */
.rail { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-content: start; }

.rail-panel {
  border: 1px solid var(--sub-2);
  background: var(--white);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}
.rail-panel-title {
  font-size: var(--fs-subheading);
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--main-1);
}

.brief-list { display: grid; }
.brief {
  padding-block: 0.85rem;
  border-top: 1px solid var(--sub-2);
}
.brief:first-child { border-top: 0; padding-top: 0.25rem; }
.brief-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.brief-title a { text-decoration: none; color: var(--main-1); }
.brief-title a:hover { color: var(--main-2); }
.brief-meta {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--sub-3);
}

/* ---- advertising ----------------------------------------------------
   Local-business slots. Always labelled, always bordered, never
   dressed up as editorial. */
.ad {
  border: 1px solid var(--sub-2);
  background: var(--white);
  padding: clamp(1rem, 2.5vw, 1.4rem);
  text-align: center;
  font-family: var(--font-ui);
}

.ad-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub-3);
  margin-bottom: 0.75rem;
}

/* Monogram rather than an invented logo — a real advertiser drops theirs
   straight in without redesigning the slot. */
.ad-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.65rem;
  border-radius: var(--radius);
}
.ad--inline .ad-mark { margin-inline: 0; }

.ad-business {
  font-family: var(--font-heading);
  font-size: var(--fs-subheading);
  color: var(--main-1);
  margin-bottom: 0.3rem;
}

.ad-tagline { font-size: 0.9375rem; color: var(--black); margin-bottom: 0.5rem; }

.ad-offer {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--main-2);
  border: 1px solid var(--main-2);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.6rem;
}

.ad-contact {
  font-size: var(--fs-small);
  color: var(--sub-3);
  line-height: 1.5;
}
.ad-contact a { color: var(--main-2); }

/* Every slot keeps the full 1px border on all four sides — house rule.
   No single-side accent rails, no borderless panels: an advert that loses
   its frame is an advert that starts to read as editorial. */
.ad--leaderboard {
  display: grid;
  justify-items: center;   /* stops the offer pill stretching the full width */
  gap: 0.25rem;
  padding-block: 1rem;
}
.ad--leaderboard .ad-business { font-size: 1.25rem; }

/* Distinguished by its copy and placement, not by dropping the frame. */
.ad--strip .ad-business { font-size: 1.0625rem; }

.ad--inline { text-align: left; }

/* ---- "your ad here" overlay -----------------------------------------
   Pitch-deck mode: every advertising slot, on every page and in every
   reading theme, is marked as space for sale. Red hatching over the
   sample advert, and a label on top. The sample stays faintly visible
   so the slot still shows what a local advert looks like in place. */
.ad { position: relative; overflow: hidden; isolation: isolate; }
.ad::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    repeating-linear-gradient(135deg,
      rgba(206, 32, 41, 0.62) 0 14px,
      rgba(206, 32, 41, 0.22) 14px 28px);
  pointer-events: none;
}
.ad::after {
  content: "Your ad here";
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  padding: 0.55em 1.2em;
  background: #c8102e;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(120, 0, 0, 0.35);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.2vw, 1.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.ad--page::after { font-size: clamp(1.4rem, 4vw, 2.8rem); }

/* ---- section (category) page ---------------------------------------- */
.page-head {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--sub-2);
}
.page-head-title { font-size: var(--fs-display); }
.page-head-count {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--sub-3);
  margin-top: 0.4rem;
}

.empty-state {
  padding: clamp(2rem, 6vw, 4rem) 0;
  text-align: center;
  color: var(--sub-3);
  font-family: var(--font-ui);
}

/* ---- footer --------------------------------------------------------- */
.site-footer {
  background: var(--main-1);
  color: var(--white);
  padding-block: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: var(--fs-subheading);
  margin-bottom: 0.6rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.site-footer a { color: var(--white); }
.site-footer h2 { font-size: 1.05rem; letter-spacing: .02em; margin: 0 0 .55rem; }
.footer-brand p { max-width: 22rem; color: rgba(255, 255, 255, 0.85); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col p { margin: 0 0 .35rem; color: rgba(255, 255, 255, 0.85); }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-col a:hover, .footer-sections a:hover { color: var(--white); text-decoration: underline; }
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.4rem;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-sections a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; font-weight: 600; }
.site-footer-note {
  margin: .9rem 0 0;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.8);
}
.site-footer-demo { margin: .35rem 0 0; font-size: .75rem; color: rgba(255, 255, 255, 0.6); max-width: 60rem; }
@media (pointer: coarse) { .footer-col a, .footer-sections a { min-height: 44px; } }
@media (max-width: 900px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-contact { grid-column: 1 / -1; }
  .footer-brand .footer-social { margin-top: .5rem; }
  .footer-logo img { width: min(100%, 190px); }
}

/* ---- breakpoints (desktop-first) ------------------------------------ */
@media (max-width: 1024px) {
  .front-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .front-grid { grid-template-columns: 1fr; }
  .masthead { grid-template-columns: 1fr; text-align: center; }
  .masthead-date { display: none; }
  .masthead-actions { justify-content: center; }
  .rail { grid-auto-flow: row; }
  /* Artwork above the headline once there is no room beside it. */
  .front-lead { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1.0625rem; }
  .masthead-title { white-space: normal; }
  .story-card-title { font-size: var(--fs-subheading); }
  .front-lead-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .story-card-media { width: 96px; }
}

@media (max-width: 380px) {
  .site-nav-link { padding: 0 0.75rem; }
  .rail-panel { padding: 0.9rem; }
  .story-card { gap: 0.8rem; }
  .story-card-media { width: 84px; }
}

/* =====================================================================
   Site chrome shared by every public page (house rules v1.3):
   fixed header that animates from clear to solid on the home page and is
   solid everywhere else, an animated hamburger below 900px, the cookie
   banner and the required footer.
   ===================================================================== */
.site-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--main-1);
  background: rgba(247, 247, 245, 0.96);
  box-shadow: 0 1px 0 var(--sub-2);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.site-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin-inline: auto;
  padding: 0.7rem max(var(--gutter), env(safe-area-inset-left));
  transition: padding var(--transition);
}
.site-bar-brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-subheading);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition);
}
.site-bar-nav { display: flex; align-items: center; gap: 1.3rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 600; }
.site-bar-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-bar-nav a:not(.site-bar-cta):hover { text-decoration: underline; }
.site-bar-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.site-bar-cta {
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--main-1);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.site-bar-cta:hover { background: var(--main-2); }
body:not([data-page="home"]) { padding-top: 64px; }

/* Home: clear over the cover until the visitor scrolls. */
[data-page="home"] .site-bar:not(.is-solid) { background: transparent; box-shadow: none; color: var(--white); }
[data-page="home"] .site-bar:not(.is-solid) .site-bar-inner { padding-block: 1.1rem; }
[data-page="home"] .site-bar:not(.is-solid) .site-bar-brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
[data-page="home"] .site-bar:not(.is-solid) .site-bar-cta { background: var(--white); color: var(--main-1); }

/* Hamburger: three bars that fold into an X. */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  margin-right: -10px;
  color: inherit;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease, top 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-bar-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.2rem;
    padding: 5rem max(var(--gutter), env(safe-area-inset-left)) 3rem;
    background: var(--main-1);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--fs-heading);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.45s;
  }
  .site-bar-nav a {
    min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .site-bar-nav .site-bar-cta {
    margin-top: 1.2rem;
    justify-content: center;
    background: var(--white);
    color: var(--main-1);
    font-family: var(--font-ui);
    font-size: var(--fs-body);
    border-bottom: 0;
  }
  .menu-open .site-bar-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .menu-open .site-bar-nav a { opacity: 1; transform: none; }
  .menu-open .site-bar-nav a:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .site-bar-nav a:nth-child(3) { transition-delay: 0.1s; }
  .menu-open .site-bar-nav a:nth-child(4) { transition-delay: 0.15s; }
  .menu-open .site-bar-nav a:nth-child(5) { transition-delay: 0.2s; }
  .menu-open .site-bar-nav a:nth-child(6) { transition-delay: 0.25s; }
  .menu-open .site-bar,
  [data-page="home"].menu-open .site-bar:not(.is-solid) { color: var(--white); background: transparent; box-shadow: none; }
  .menu-open .site-bar .site-bar-brand { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open { overflow: hidden; }
}

/* ---- cookie banner ---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: max(var(--gutter), env(safe-area-inset-left));
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  background: var(--main-1);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  line-height: 1.5;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cookie-banner.is-shown { transform: none; }
.cookie-banner p { flex: 1 1 18rem; margin: 0; }
.cookie-banner a { color: var(--white); }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-actions button {
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--white);
  color: var(--white);
  font-weight: 600;
}
.cookie-actions [data-cookie="accept"] { background: var(--white); color: var(--main-1); }

/* ---- footer additions: logo, socials, credit -------------------------- */
.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-heading);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--white); color: var(--main-1); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer-note a { font-weight: 600; }

/* ---- inner pages: about, contact, privacy, 404 ------------------------ */
.page-banner {
  position: relative;
  min-height: clamp(260px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--main-1);
  overflow: hidden;
}
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 36, 68, 0.9), rgba(13, 36, 68, 0.15) 70%); }
.page-banner .container { position: relative; z-index: 2; padding-block: clamp(1.5rem, 5vw, 3rem); }
.page-banner h1 { color: var(--white); font-size: var(--fs-display); }
.page-banner p { margin-top: 0.5rem; max-width: 40rem; font-size: var(--fs-subheading); }
.page-credit { position: absolute; right: var(--gutter); top: 0.8rem; z-index: 2; font-family: var(--font-ui); font-size: var(--fs-small); opacity: 0.85; }
.page-credit a { color: inherit; }
.prose { max-width: 44rem; padding-block: clamp(2rem, 6vw, 4rem); }
.prose h2 { font-size: var(--fs-heading); margin: 2rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose a:not(.btn) { color: var(--main-2); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.info-card { border: 1px solid var(--sub-2); background: var(--white); padding: 1.2rem; }
.info-card h3 { font-size: var(--fs-subheading); margin-bottom: 0.4rem; }
.info-card p { margin: 0; font-family: var(--font-ui); }
.info-card a { color: var(--main-2); font-weight: 600; overflow-wrap: anywhere; }

/* ---- advertise: three example adverts --------------------------------
   Each example sits in a light mock of its edition page so an advertiser
   sees it where readers will; the button opens the real page. Side by side
   from a landscape tablet up, stacked below that. */
.ad-examples { padding-top: clamp(2rem, 6vw, 4rem); }
.ad-examples-intro { margin-top: 0.4rem; color: var(--sub-3); }
.ad-example { display: grid; gap: 1.2rem 2.5rem; align-items: center; padding-block: clamp(1.6rem, 4vw, 2.6rem); border-bottom: 1px solid var(--sub-2); }
.ad-example-copy h3 { font-size: var(--fs-heading); margin: 0.3rem 0 0.5rem; }
.ad-example-copy p { margin-bottom: 1.1rem; }
.ad-example-screen { background: var(--white); border: 1px solid var(--sub-2); box-shadow: var(--shadow); padding: clamp(1rem, 3vw, 1.8rem); }
.ad-example-screen--story { max-width: 30rem; }
.ad-example-running { margin-bottom: 0.8rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--main-2); }
.ad-example-story { font-size: 0.9375rem; }
.ad-example-end { margin: 0.8rem 0; text-align: center; color: var(--main-2); }
.ad-example-local-title { font-family: var(--font-heading); font-size: 1.9rem; line-height: 1; color: var(--black); }
.ad-example-local { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.ad-example-local .classified { margin: 0; }
.ad-example-local .is-example { outline: 3px solid var(--main-2); outline-offset: 2px; }
@media (min-width: 60rem) { .ad-example { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
@media (max-width: 40rem) { .ad-example-local { grid-template-columns: 1fr; } }

/* ---- classifieds (home page and the edition's small-ads screen) ------- */
.classifieds {
  columns: 3 16rem;
  column-gap: 1.2rem;
}
.classified {
  break-inside: avoid;
  margin: 0 0 1.2rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--sub-2);
  background: var(--white);
  font-family: var(--font-body);
  text-align: left;
}
.classified-section { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--main-2); }
.classified-title { margin-top: 0.2rem; font-family: var(--font-heading); font-size: var(--fs-subheading); color: var(--main-1); line-height: 1.2; }
.classified-text { margin-top: 0.35rem; font-size: var(--fs-small); line-height: 1.5; }
.classified-contact { margin-top: 0.4rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; }
.ad.classified::after { font-size: var(--fs-small); padding: 0.4em 0.8em; }
/* Local ads: small adverts for every local business, in sections. */
.local-section { margin: 0 0 0.6rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--main-2); }
/* Front page: the sections side by side, each a column of its adverts. */
.local-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem 1.4rem; align-items: start; }
.local-group { display: grid; gap: 0.9rem; }
.local-group .local-section { margin: 0; }
.ad-example-local .local-display { margin: 0; }
.ad-example-local .local-section { margin-bottom: 0.4rem; }
/* ---- labelled placeholders (house rules: never invent a logo) ---------
   Temporary scaffolding greys, exempt from the 2 + 3 palette. */
.img-placeholder,
.logo-placeholder {
  display: grid;
  place-items: center;
  background: #9a9a9a;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}
.logo-placeholder { width: 84px; height: 56px; padding: 0; margin: 0 auto 0.7rem; letter-spacing: 0.16em; }
.logo-placeholder--large { width: 132px; height: 84px; margin: 0; }

/* Wide front-page advert: the web twin of the edition's full page. */
.ad--feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 3vw, 2.4rem);
  text-align: left;
}
.ad--feature .ad-label { position: absolute; top: 0.6rem; left: 1rem; margin: 0; }
.ad--feature .logo-placeholder { margin: 0; }
.ad--feature .ad-business { font-size: var(--fs-heading); }
.ad--feature .ad-offer { margin: 0; }
@media (max-width: 700px) {
  .ad--feature { grid-template-columns: 1fr; justify-items: start; padding-top: 2.2rem; }
}

.ad.classified::before { background: repeating-linear-gradient(135deg, rgba(206, 32, 41, 0.42) 0 10px, rgba(206, 32, 41, 0.12) 10px 20px); }

/* ---- subscribe: the form and the reading gate ------------------------ */
.btn--light { background: var(--white); color: var(--main-1); border-color: var(--white); }
.btn--light:hover { background: var(--sub-2); border-color: var(--sub-2); color: var(--main-1); }

.sub-form { display: grid; gap: 1.1rem; max-width: 30rem; font-family: var(--font-ui); }
.sub-field { display: grid; gap: 0.35rem; }
.sub-field label { font-weight: 600; font-size: var(--fs-small); }
.sub-field input:not([type="checkbox"]) {
  width: 100%;
  min-height: var(--tap);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--sub-3);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}
.sub-field input[aria-invalid="true"] { border: 2px solid var(--main-2); }
.sub-field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.3rem 0.7rem; }
.sub-field--check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--main-2); }
.sub-field--check label { font-weight: 400; font-size: var(--fs-body); }
.sub-field--check .sub-error { grid-column: 1 / -1; }
.sub-note { margin: 0; font-size: var(--fs-small); color: var(--sub-3); }
.sub-error { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--main-2); }
.sub-error:empty { display: none; }
.sub-form .btn { justify-self: start; }
.sub-done { font-family: var(--font-ui); }
.sub-done a { color: var(--main-2); font-weight: 600; }

.sub-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: max(var(--gutter), env(safe-area-inset-left));
  background: rgba(13, 36, 68, 0.96);
  color: var(--black);
}
.sub-gate-card {
  width: min(100%, 34rem);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sub-gate-card h2 { font-size: var(--fs-heading); }
.sub-gate-card > p { margin: 0.6rem 0 1.4rem; color: var(--sub-3); }
.sub-gate-back { margin: 1.2rem 0 0; font-family: var(--font-ui); font-size: var(--fs-small); }
.sub-gate-back a { color: var(--main-2); }
.gate-open { overflow: hidden; }

/* ---- holding page: Vandle Media ---------------------------------------- */
.holding-splash {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 3rem;
  background: var(--white);
}
.holding-splash img { width: min(72vw, 560px); height: auto; margin-inline: auto; }
.holding-splash p { margin-top: 1.6rem; font-size: var(--fs-subheading); max-width: 36rem; color: var(--sub-3); }
.holding-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--sub-2); }
.holding-section h2 { font-size: var(--fs-heading); margin-bottom: 1rem; }
.holding-section p { max-width: 44rem; }
.holding-section a:not(.pub-card) { color: var(--main-2); }
.pub-card { display: block; max-width: 34rem; padding: 1.4rem; border: 1px solid var(--sub-2); background: var(--white); text-decoration: none; }
.pub-card strong { display: block; font-family: var(--font-heading); font-size: var(--fs-subheading); color: var(--main-1); }
.pub-card span { color: var(--sub-3); font-family: var(--font-ui); font-size: var(--fs-small); }
.pub-card:hover strong { text-decoration: underline; }

/* Footer logo as an image: the white lockup from img/logo. */
.footer-logo img { width: min(100%, 260px); height: auto; }

/* Fictional advertiser designs shared by the front page and reading surfaces. */
.ad.ad--demo { background: var(--demo-paper); color: var(--demo-ink); border: 1px solid var(--demo-ink); padding: clamp(1.5rem, 4vw, 3rem); }
.ad--demo::before, .ad--demo::after, .ad--live::before, .ad--live::after { display: none; }
.ad--cafe { --demo-paper: #f5e8d5; --demo-ink: #493124; }
.ad--garden { --demo-paper: #e8eddd; --demo-ink: #284730; }
.ad--property { --demo-paper: #e4eaf1; --demo-ink: #20354b; }
.ad--demo .ad-label { color: var(--demo-ink); font-family: var(--font-ui); letter-spacing: .14em; }
.ad--demo .ad-label::after { content: ' · Demo'; }
.ad--demo .ad-business, .ad--demo .adpage-business, .ad--demo .reader-ad-business, .ad--demo .reader-sponsor-business { color: var(--demo-ink); font-family: var(--font-heading); line-height: 1.12; }
.ad--demo .ad-tagline, .ad--demo .ad-contact, .ad--demo .adpage-tagline, .ad--demo .adpage-contact, .ad--demo [class$='-tagline'], .ad--demo [class$='-contact'], .ad--demo .reader-sponsor-intro { color: var(--demo-ink); }
.ad--demo .ad-offer, .ad--demo .adpage-offer, .ad--demo [class$='-offer'] { background: var(--demo-ink); color: var(--demo-paper); border: 0; padding: .65em 1em; display: inline-block; }
.ad--demo.ad--feature { grid-template-columns: minmax(0, 1fr) auto; padding-top: 2.7rem; }
.ad--demo.ad--page { display: flex; flex-direction: column; justify-content: center; min-height: 65vh; }
.ad--demo .adpage-inner { width: 100%; }
@media (max-width: 700px) { .ad--demo.ad--feature { grid-template-columns: 1fr; } }

/* Finished image ads keep the complete artwork visible at every placement. */
.ad.ad--image { display: block; padding: 0; background: var(--white); min-height: 0; }
.ad--image > img { display: block; width: 100%; height: auto; object-fit: contain; }
.ad.ad--image .ad-label { position: static; display: block; margin: 0; padding: .4rem .75rem; background: var(--white); color: var(--black); text-align: left; }
.ad--image .ad-label::after { content: none; }

/* Live adverts from the feed (js/feed.js adNode): the advertiser's own logo
   and words, centred in whatever slot they land in, with the label and the
   frame but none of the demo's "Your ad here" overlay. */
.ad.ad--live { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; text-align: center; }
.ad.ad--live.classified { display: block; text-align: left; }
.ad--live .ad-logo { max-height: 72px; max-width: 60%; width: auto; margin: 0 auto 0.3rem; }
.ad--live .ad-business, .ad--live .ad-tagline, .ad--live .ad-offer { margin: 0; }
.ad--live .ad-headline { font-family: var(--font-heading); font-size: var(--fs-subheading); line-height: 1.25; color: var(--black); }
.ad--live .ad-code { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; color: var(--main-1); }
.ad--live .ad-contact { white-space: pre-line; }
.ad--live.ad--page { padding: max(5rem, 10vh) clamp(1.4rem, 6vw, 5.5rem); gap: 0.8rem; }
.ad--live.ad--page .ad-business { font-size: var(--fs-display); }
.ad--live.ad--page .ad-logo { max-height: 140px; }

/* advertise.html: the booking buttons and QR code Mick shows on the tablet. */
.book-ad { display: grid; gap: 1.5rem 2.5rem; align-items: center; padding-block: clamp(2rem, 6vw, 3.5rem); border-bottom: 1px solid var(--sub-2); }
.book-ad h2 { font-size: var(--fs-heading); margin-bottom: 0.5rem; }
.book-ad-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.book-ad-qr { justify-self: start; text-align: center; font-family: var(--font-ui); font-size: var(--fs-small); color: var(--sub-3); }
.book-ad-qr img { width: 200px; height: auto; margin-bottom: 0.4rem; border: 1px solid var(--sub-2); }
@media (min-width: 48rem) { .book-ad { grid-template-columns: minmax(0, 1fr) auto; } }

/* classified.html: the ad form beside a live preview laid out like the
   edition. Stacked on a phone, side by side on a tablet in landscape and
   up, where the preview stays in view as you type. */
.story-builder { display: grid; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2rem, 6vw, 4rem); }
.sub-field select, .sub-field textarea { width: 100%; min-height: var(--tap); padding: 0.55rem 0.8rem; border: 1px solid var(--sub-3); border-radius: var(--radius); background: var(--white); color: var(--black); }
.sub-field textarea { resize: vertical; line-height: 1.55; }
.sub-hint { margin: 0; font-size: var(--fs-small); color: var(--sub-3); }
.sub-hint.is-warn { color: var(--main-2); font-weight: 700; }
.book-ad-actions[hidden] { display: none; }
@media (min-width: 60rem) {
  .story-builder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .story-preview { position: sticky; top: calc(var(--header-height) + 1rem); }
}

/* proof.html: the advert in a light mock of its place in the edition. */
.proof-status { font-family: var(--font-ui); font-weight: 600; color: var(--main-1); margin-bottom: 1.2rem; }
.proof-frame { margin-bottom: 1.4rem; }
.proof-frame--full-page .ad { aspect-ratio: 3 / 2; }
.proof-frame--full-page .ad-business { font-size: var(--fs-display); }
.proof-frame--end-of-article { max-width: 30rem; }
.proof-frame--local { max-width: 22rem; }

/* Village filter (js/village-filter.js): a "Villages" dropdown checklist. */
.village-filter:empty { display: none; }
.village-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(1rem, 2.5vw, 1.5rem); }
.village-dd { position: relative; }
.village-dd-button { display: inline-flex; align-items: center; gap: .55rem; min-height: var(--tap); padding: 0 1rem 0 1.1rem; border: 1px solid var(--sub-2); border-radius: var(--radius-pill); background: var(--white); color: var(--main-1); cursor: pointer; list-style: none; user-select: none; transition: border-color var(--transition), box-shadow var(--transition); }
.village-dd-button::-webkit-details-marker { display: none; }
.village-dd-button:hover, .village-dd[open] .village-dd-button { border-color: var(--main-2); box-shadow: var(--shadow); }
.village-dd-button:focus-visible { outline: 2px solid var(--main-2); outline-offset: 2px; }
.village-dd-label { font-size: var(--fs-small); color: var(--sub-3); letter-spacing: .06em; text-transform: uppercase; }
.village-dd-value { font-weight: 600; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.village-dd.is-filtered .village-dd-button { border-color: var(--main-2); background: color-mix(in srgb, var(--main-2) 7%, var(--white)); }
.village-dd-chevron { width: .5rem; height: .5rem; margin: -.2rem 0 0 .1rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--transition); }
.village-dd[open] .village-dd-chevron { transform: rotate(-135deg); margin-top: .25rem; }
.village-dd-panel { position: absolute; z-index: 40; top: calc(100% + .5rem); left: 0; width: min(18rem, calc(100vw - 2 * var(--gutter))); max-height: min(26rem, 70vh); overflow-y: auto; padding: .4rem; background: var(--white); border: 1px solid var(--sub-2); border-radius: 10px; box-shadow: var(--shadow); }
.village-option { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 .7rem; border-radius: 6px; color: var(--black); cursor: pointer; }
.village-option:hover { background: var(--sub-1); }
.village-option--all { border-bottom: 1px solid var(--sub-2); border-radius: 6px 6px 0 0; margin-bottom: .25rem; font-weight: 600; }
.village-option input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--main-2); flex: none; }
.village-option-name { flex: 1; }
.village-option-count { color: var(--sub-3); font-size: var(--fs-small); }
.village-dd-done { display: block; width: 100%; min-height: 44px; margin-top: .4rem; border: 0; border-radius: 6px; background: var(--main-1); color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.village-dd-done:hover { background: var(--main-2); }
.village-filter-status { margin: 0; font-size: var(--fs-small); color: var(--sub-3); }
[data-village][hidden] { display: none !important; }