/*
Theme Name: The Scouser
Theme URI: https://redsaltmedia.co.uk/
Author: Red Salt Media
Author URI: https://redsaltmedia.co.uk/
Description: The independent, knowledgeable voice of Liverpool. A lightweight editorial theme for a credible city publication — five colour-coded pillars, a full-screen "Your weekend in Liverpool" feature, a rich article template, and a Portland Stone / Verdigris palette set in Fraunces and Inter.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thescouser
Tags: blog, news, magazine, editorial, two-columns, custom-colors, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
  --stone: #F4F1EA;
  --stone-2: #ECE7DB;
  --stone-3: #B7B1A4;
  --stone-line: rgba(244, 241, 234, 0.18);
  --ink: #1A1F22;
  --verdigris: #2F6B5E;
  --verdigris-deep: #235247;
  --verdigris-light: #5FA391;
  --verdigris-wash: #E8EFEB;
  --verdigris-line: #CBDED7;
  --brick: #A83F29;
  --brick-wash: #F5E9E4;
  --brick-line: #E7D0C8;
  --river: #66707A;
  --line: #DDD7CA;

  /* pillar hues (mirrors the editorial colour-coding) */
  --pillar-guides: #2F6B5E;
  --pillar-the-city: #B5462F;
  --pillar-culture: #7A4B6B;
  --pillar-history: #9A6A3A;
  --pillar-life: #3E6B86;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --container: 1200px;
  --gutter: 40px;
}

/* =========================================================================
   2. Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--verdigris-light); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--stone); padding: 10px 16px; border-radius: 0 0 4px 0;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 2px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.mono-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--river);
}

/* =========================================================================
   3. Pillar colour mapping
   ========================================================================= */
.pillar-guides   { --pc: var(--pillar-guides); }
.pillar-the-city { --pc: var(--pillar-the-city); }
.pillar-culture  { --pc: var(--pillar-culture); }
.pillar-history  { --pc: var(--pillar-history); }
.pillar-life     { --pc: var(--pillar-life); }
:root, .pillar-default { --pc: var(--verdigris); }

/* =========================================================================
   4. Header
   ========================================================================= */
.site-header {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 15px; padding-bottom: 15px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--verdigris); }
.brand__mark { height: 34px; width: auto; display: block; flex-shrink: 0; }
.brand__word {
  font-family: var(--font-display); font-weight: 600; font-size: 23px;
  letter-spacing: -0.015em; line-height: 1; color: var(--verdigris); white-space: nowrap;
}
.header-right { display: flex; align-items: center; gap: 26px; }
.header-divider { width: 1px; height: 18px; background: var(--line); }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a {
  font-family: var(--font-body); font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--ink); letter-spacing: 0.01em; border-bottom: 2px solid transparent;
  padding-bottom: 3px; transition: color .15s;
}
.main-nav a:hover { color: var(--pc, var(--verdigris)); }
.main-nav li.current-cat > a,
.main-nav a[aria-current] { color: var(--pc, var(--verdigris)); border-bottom-color: var(--pc, var(--verdigris)); }
/* per-pillar nav colours */
.main-nav .nav-guides   { --pc: var(--pillar-guides); }
.main-nav .nav-the-city { --pc: var(--pillar-the-city); }
.main-nav .nav-culture  { --pc: var(--pillar-culture); }
.main-nav .nav-history  { --pc: var(--pillar-history); }
.main-nav .nav-life     { --pc: var(--pillar-life); }

.whatson-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--stone); background: var(--verdigris); padding: 6px 12px; border-radius: 100px;
  letter-spacing: 0.01em; white-space: nowrap;
}
.whatson-link:hover, .whatson-link.is-active { background: var(--verdigris-deep); }

.icon-btn {
  background: none; border: none; cursor: pointer; color: var(--river); display: flex; padding: 4px;
  text-decoration: none;
}
.icon-btn:hover { color: var(--verdigris); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 4px; }

/* Mobile nav panel */
.mobile-nav { display: none; }

/* =========================================================================
   5. Buttons / shared atoms
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: #fff; background: var(--verdigris); padding: 12px 20px; border: none;
  border-radius: 3px; text-decoration: none; line-height: 1;
}
.btn:hover { background: var(--verdigris-deep); }
.btn--ghost { background: transparent; color: var(--verdigris); border: 1px solid var(--verdigris-line); }

.more-link {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  color: var(--pc, var(--verdigris)); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.more-link:hover { text-decoration: underline; }

/* Pillar tag (pill variant — locked default) */
.pillar-tag {
  font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: 0.07em;
  text-transform: uppercase; display: inline-flex; align-items: center; line-height: 1;
  text-decoration: none; color: #fff; background: var(--pc, var(--verdigris));
  padding: 4px 9px 3px; border-radius: 2px;
}
.pillar-tag--sm { font-size: 10.5px; }
.pillar-tag:hover { filter: brightness(0.94); }

/* Textured placeholder (when no featured image) */
.ph {
  position: relative; overflow: hidden; aspect-ratio: 3 / 2;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pc, #6B7376) 8%, transparent) 0 10px, color-mix(in srgb, var(--pc, #6B7376) 2%, transparent) 10px 20px), var(--stone-2);
  display: flex; align-items: flex-end;
}
.ph__icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--pc, #6B7376); opacity: 0.5;
}
.ph__label {
  position: relative; margin: 8px; padding: 3px 7px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em;
  color: var(--ink); background: rgba(244, 241, 234, 0.82); border-radius: 2px; text-transform: lowercase;
}
.media { position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-2  { aspect-ratio: 3 / 2; }
.ratio-1-1  { aspect-ratio: 1 / 1; }
.ratio-21-9 { aspect-ratio: 21 / 9; }

/* =========================================================================
   6. Article cards
   ========================================================================= */
.card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card .card__title { transition: color .15s; }
.card:hover .card__title { color: var(--verdigris); }
.card:hover .ph, .card:hover .media img { filter: brightness(0.97); }
.card__media { margin-bottom: 13px; }
.card__tag { margin-bottom: 8px; }
.card__title {
  font-family: var(--font-display); color: var(--ink); letter-spacing: -0.01em;
  text-wrap: balance; margin: 0 0 8px; line-height: 1.12; font-weight: 600; font-size: 19px;
}
.card__dek {
  font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--river); margin: 0 0 14px;
}
.card__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 12.5px; color: var(--river); margin-top: auto;
}
.card__meta .author { font-weight: 600; color: var(--ink); }
.card__meta .sep { opacity: 0.5; }

/* lead card */
.card--lead .card__media { margin-bottom: 18px; }
.card--lead .card__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.card--lead .card__dek { font-size: 17px; max-width: 62ch; margin-bottom: 16px; }

/* feature card */
.card--feature .card__media { margin-bottom: 14px; }
.card--feature .card__title { font-size: 23px; margin-bottom: 9px; }
.card--feature .card__dek { font-size: 15px; }

/* list card (numbered, no image) */
.card--list {
  display: flex; flex-direction: row; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.card--list .card__index {
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--pc, var(--verdigris));
  line-height: 1; width: 30px; flex-shrink: 0;
}
.card--list .card__body { flex: 1; }
.card--list .card__title { font-size: 19px; margin-bottom: 0; }
.card--list .card__tag { margin-bottom: 7px; }
.card--list .card__meta { margin-top: 8px; }

/* compact card (image left) */
.card--compact { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--compact .card__media { width: 96px; flex-shrink: 0; margin-bottom: 0; }
.card--compact .card__body { flex: 1; min-width: 0; }
.card--compact .card__title { font-size: 16.5px; }

/* =========================================================================
   7. Byline
   ========================================================================= */
.byline { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); }
.byline__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--verdigris); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; flex-shrink: 0; overflow: hidden;
}
.byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline__text { font-size: 14px; color: var(--river); line-height: 1.35; }
.byline__text .author { color: var(--ink); font-weight: 600; }
.byline__text .sep { margin: 0 6px; opacity: 0.5; }
.byline--sm .byline__avatar { width: 26px; height: 26px; font-size: 12px; }
.byline--sm .byline__text { font-size: 12.5px; }

/* =========================================================================
   8. Home: magazine grid + sections
   ========================================================================= */
.section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.section--flush { border-bottom: none; }

.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); align-items: start; }
.mag-grid__lead { grid-column: 1 / 3; }
.mag-grid__aside { display: flex; flex-direction: column; gap: 24px; }
/* Cards inside flex sub-columns size to their content, not the grid row. */
.mag-grid__aside .card, .pillar-grid__list .card { height: auto; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px; border-bottom: 2px solid var(--pc, var(--verdigris)); padding-bottom: 10px;
}
.section-head__left { display: flex; align-items: baseline; gap: 12px; }
.section-head__title {
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--pc, var(--verdigris));
  margin: 0; letter-spacing: -0.01em; white-space: nowrap;
}
.section-head__blurb { font-family: var(--font-body); font-size: 13.5px; color: var(--river); max-width: 44ch; }

.pillar-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start; }
.pillar-grid--two { grid-template-columns: repeat(2, 1fr); }
.pillar-grid__list { display: flex; flex-direction: column; gap: 4px; grid-column: span 2; }
.pillar-grid--two .pillar-grid__list { grid-column: auto; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feat-grid--two { grid-template-columns: repeat(2, 1fr); }

/* =========================================================================
   9. Weekend hero (full-screen)
   ========================================================================= */
.weekend-hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px; max-height: 940px;
  overflow: hidden; background: #20262a; display: flex; align-items: flex-end;
}
.weekend-hero__bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(244,241,234,0.05) 0 14px, rgba(244,241,234,0.015) 14px 28px), #20262a;
}
.weekend-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.weekend-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,26,0.94) 0%, rgba(20,24,26,0.6) 42%, rgba(35,82,71,0.5) 100%);
}
.weekend-hero__tag {
  position: absolute; top: 18px; right: 20px; font-family: var(--font-mono); font-size: 11px;
  color: rgba(244,241,234,0.55); background: rgba(20,24,26,0.4); padding: 4px 9px; border-radius: 2px;
  text-transform: lowercase;
}
.weekend-hero__inner { position: relative; padding-bottom: 44px; width: 100%; }
.weekend-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.weekend-hero__kicker {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--verdigris-light); font-weight: 500;
}
.weekend-hero__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(244,241,234,0.4); }
.weekend-hero__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(244,241,234,0.75); }
.weekend-hero__title {
  font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 86px); font-weight: 600; color: var(--stone);
  letter-spacing: -0.025em; line-height: 0.98; margin: 0 0 18px; text-wrap: balance; max-width: 16ch;
}
.weekend-hero__intro {
  font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5;
  color: rgba(244,241,234,0.86); margin: 0 0 30px; max-width: 52ch;
}
.weekend-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.wk-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 16px 16px 18px;
  border-radius: 5px; background: rgba(244,241,234,0.09); border: 1px solid rgba(244,241,234,0.16);
  backdrop-filter: blur(6px); transition: transform .18s, background .18s, border-color .18s;
}
.wk-card:hover { transform: translateY(-3px); background: rgba(244,241,234,0.14); border-color: rgba(244,241,234,0.3); }
.wk-card__top { display: flex; align-items: center; justify-content: space-between; }
.wk-card__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--verdigris-light); font-weight: 600; }
.wk-card__cost { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: rgba(244,241,234,0.7); }
.wk-card__cost.is-free { color: var(--verdigris-light); }
.wk-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--stone); margin: 0; letter-spacing: -0.01em; line-height: 1.1; }
.wk-card__meta { font-family: var(--font-body); font-size: 13px; color: rgba(244,241,234,0.8); line-height: 1.45; }
.wk-card__meta .where { font-weight: 600; color: var(--stone); }

/* =========================================================================
   10. Pillar hub + What's On band
   ========================================================================= */
.band { color: #fff; background: var(--pc, var(--verdigris)); }
.band--verdigris { background: var(--verdigris); }
.band .container { padding-top: 44px; padding-bottom: 40px; }
.band__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 7px; }
.band__title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0 0 16px; line-height: 1; text-wrap: balance; }
.band__intro { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.92); margin: 0; max-width: 56ch; }

.cornerstone-flag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc, var(--verdigris)); margin-bottom: 18px; display: flex; align-items: center; gap: 7px; }
.cornerstone { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cornerstone__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; line-height: 1.12; margin: 12px 0 14px; text-wrap: balance; }
.cornerstone__title a { text-decoration: none; color: inherit; }
.cornerstone__title a:hover { color: var(--pc, var(--verdigris)); }
.cornerstone__dek { font-family: var(--font-body); font-size: 16.5px; line-height: 1.55; color: var(--river); margin: 0 0 18px; }

/* =========================================================================
   11. What's On planner
   ========================================================================= */
.wo-pick { display: flex; flex-direction: column; }
.wo-pick__head { display: flex; align-items: center; gap: 10px; margin: 13px 0 8px; }
.wo-pick__tag { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--verdigris); padding: 4px 9px 3px; border-radius: 2px; }
.wo-pick__area { font-family: var(--font-body); font-size: 13px; color: var(--river); }
.wo-pick__cost { margin-left: auto; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--ink); }
.wo-pick__cost.is-free { color: var(--verdigris-deep); }
.wo-pick__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.wo-pick__note { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--river); margin: 0 0 12px; }
.wo-pick__facts { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-body); font-size: 13.5px; color: var(--ink); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.wo-pick__facts span { display: inline-flex; align-items: center; gap: 6px; }
.getting-around { background: var(--verdigris-wash); border: 1px solid var(--verdigris-line); border-radius: 4px; padding: 26px 28px; }
.getting-around h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.getting-around__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.getting-around__grid h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.getting-around__grid p { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--river); margin: 0; }

/* =========================================================================
   12. Single article
   ========================================================================= */
.article { background: var(--stone); }
.article__inner { max-width: 720px; margin: 0 auto; padding-top: 32px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 13px; color: var(--river); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; color: var(--river); }
.breadcrumb .crumb-pillar { color: var(--pc, var(--verdigris)); font-weight: 600; }
.breadcrumb .sep { opacity: 0.5; }

.article-header { margin-bottom: 28px; }
.article-header__tag { margin-bottom: 16px; }
.article-header__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--river); margin-bottom: 12px; }
.article-header__title { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
.article-header__dek { font-family: var(--font-body); font-size: 20px; line-height: 1.5; color: var(--river); margin: 0 0 24px; max-width: 60ch; }
.article-header__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }

.article-hero { margin: 0 0 36px; }
.article-hero figcaption, .entry-content figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 9px; font-family: var(--font-body); font-size: 13px; color: var(--river); line-height: 1.5; }
.article-hero figcaption .credit, .entry-content figcaption .credit { font-family: var(--font-mono); font-size: 11px; white-space: nowrap; opacity: 0.85; }

/* Body content — mirrors the prototype's reading measure & atoms */
.entry-content { font-family: var(--font-body); font-size: 18px; line-height: 1.72; color: var(--ink); }
.entry-content > p { margin: 0 0 24px; }
.entry-content > p.is-lead, .entry-content > p:first-of-type { font-size: 20px; line-height: 1.55; letter-spacing: -0.005em; }
.entry-content > p:first-of-type { opacity: 0.92; }
.entry-content h2 { font-family: var(--font-display); font-size: 27px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; margin: 36px 0 16px; line-height: 1.18; }
.entry-content h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 28px 0 12px; }
.entry-content a { color: var(--verdigris); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { margin: 0 0 24px; padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: 0; }
.entry-content figure { margin: 32px 0; }

/* Pull quote (blockquote) */
.entry-content blockquote, .pullquote {
  margin: 32px 0; padding-left: 24px; border-left: 3px solid var(--verdigris);
}
.entry-content blockquote p, .pullquote p {
  font-family: var(--font-display); font-size: 27px; line-height: 1.32; font-weight: 500;
  color: var(--verdigris-deep); margin: 0 0 12px; letter-spacing: -0.01em; font-style: italic;
}
.entry-content blockquote cite, .pullquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 13.5px; font-style: normal; color: var(--river); }

/* Callout (civic "what this means") — class on a group/paragraph */
.callout, .entry-content .is-style-callout {
  margin: 32px 0; background: var(--brick-wash); border: 1px solid var(--brick-line);
  border-radius: 4px; padding: 22px 24px; font-family: var(--font-body); font-size: 15.5px;
  line-height: 1.6; color: var(--ink);
}
.callout__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brick); font-weight: 600; }
.callout p:last-child { margin-bottom: 0; }

/* Share rail */
.share-rail { display: flex; gap: 10px; align-items: center; }
.share-rail--v { flex-direction: column; }
.share-rail__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--river); margin-right: 4px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--stone); color: var(--river); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; text-decoration: none; }
.share-btn:hover { border-color: var(--verdigris); color: var(--verdigris); }

/* Source notes + author bio */
.source-notes { margin-top: 40px; padding: 24px 26px; background: var(--stone-2); border: 1px solid var(--line); border-radius: 4px; }
.source-notes ol { margin: 0; padding-left: 18px; font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.source-notes__foot { font-family: var(--font-body); font-size: 13px; color: var(--river); margin: 14px 0 0; line-height: 1.55; }
.source-notes__foot a { color: var(--verdigris); }

.author-bio { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: flex-start; }
.author-bio__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--verdigris); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--river); margin-bottom: 5px; }
.author-bio__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 7px; }
.author-bio__text { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--river); margin: 0; max-width: 60ch; }

.article-foot-share { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; }

/* sidenotes layout (optional) */
.article-sidenotes { display: grid; grid-template-columns: 56px 1fr; gap: 32px; }
.share-sticky { position: sticky; top: 96px; align-self: start; height: min-content; }

/* related */
.related { padding-top: 8px; }
.related__head { border-top: 2px solid var(--pc, var(--verdigris)); padding-top: 16px; margin-bottom: 24px; display: flex; align-items: baseline; justify-content: space-between; }
.related__head h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0; }

/* =========================================================================
   13. Newsletter
   ========================================================================= */
.newsletter { background: var(--verdigris-wash); border: 1px solid var(--verdigris-line); padding: 26px 28px; border-radius: 4px; }
.newsletter__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--verdigris); margin-bottom: 9px; }
.newsletter__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.newsletter__copy { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; color: var(--river); margin: 0 0 18px; max-width: 46ch; }
.newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__form input { flex: 1 1 200px; min-width: 0; padding: 11px 13px; font-family: var(--font-body); font-size: 14.5px; border: 1px solid var(--verdigris-line); background: #fff; color: var(--ink); border-radius: 3px; outline: none; }
.newsletter__form button { padding: 11px 20px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: #fff; background: var(--verdigris); border: none; border-radius: 3px; cursor: pointer; white-space: nowrap; }
.newsletter__done { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--verdigris); }
/* footer variant */
.newsletter--footer { background: transparent; border: none; padding: 0; }
.newsletter--footer .newsletter__eyebrow { color: var(--stone-3); }
.newsletter--footer .newsletter__title { color: var(--stone); font-size: 22px; }
.newsletter--footer .newsletter__copy { color: var(--stone-3); }
.newsletter--footer input { border-color: var(--stone-line); background: rgba(244,241,234,0.08); color: var(--stone); }
.newsletter--footer .newsletter__done { color: var(--verdigris-light); }

/* =========================================================================
   14. Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--stone-3); margin-top: 64px; }
.site-footer .container { padding-top: 52px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,241,234,0.12); }
.footer-brand .brand__word, .site-footer .brand { color: var(--stone); }
.footer-brand p { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--stone-3); margin: 14px 0 0; max-width: 34ch; }
.footer-mark { height: 30px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-col__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--river); margin-bottom: 14px; }
.footer-col__links { display: flex; flex-direction: column; gap: 10px; }
.footer-col__links a { font-family: var(--font-body); font-size: 14px; color: var(--stone-3); text-decoration: none; }
.footer-col__links a:hover { color: var(--stone); }
.footer-col__links a.is-feature { color: var(--verdigris-light); font-weight: 600; }
.footer-col__links a.is-feature:hover { color: var(--stone); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom__copy { font-family: var(--font-body); font-size: 12.5px; color: var(--river); }
.footer-bottom__links { display: flex; gap: 20px; font-family: var(--font-body); font-size: 12.5px; align-items: center; }
.footer-bottom__links a { color: var(--stone-3); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.footer-bottom__links a:hover { color: var(--stone); }

/* =========================================================================
   15. Search / 404 / pagination
   ========================================================================= */
.page-narrow { max-width: 780px; margin: 0 auto; }
.search-form { position: relative; margin-bottom: 18px; }
.search-form svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.search-form input { width: 100%; padding: 15px 16px 15px 46px; font-family: var(--font-body); font-size: 17px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: var(--stone); color: var(--ink); }
.search-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.search-filter { font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 100px; cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--river); text-decoration: none; }
.search-filter.is-on { color: #fff; }

.pagination { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 32px 0; }
.pagination .page-numbers { font-family: var(--font-body); font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--verdigris); color: #fff; border-color: var(--verdigris); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--verdigris); color: var(--verdigris); }

.error-404 { text-align: center; max-width: 560px; margin: 0 auto; padding: 80px 0; }
.error-404 .code { font-family: var(--font-display); font-size: clamp(80px, 14vw, 160px); font-weight: 600; color: var(--verdigris); line-height: 0.9; letter-spacing: -0.03em; }
.error-404 h1 { font-family: var(--font-display); font-size: 30px; margin: 12px 0 14px; }
.error-404 p { font-family: var(--font-body); font-size: 17px; color: var(--river); margin: 0 0 28px; }

/* =========================================================================
   16. About
   ========================================================================= */
.about-head { max-width: 760px; margin: 0 auto; padding: 48px 0 8px; text-align: center; }
.about-head__mark { display: flex; justify-content: center; margin-bottom: 24px; }
.about-head__mark img { height: 56px; }
.about-head h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 20px; text-wrap: balance; }
.about-head__lede { font-family: var(--font-body); font-size: 20px; line-height: 1.55; color: var(--river); margin: 0 auto; max-width: 56ch; }
.about-body { max-width: 700px; margin: 0 auto; padding: 24px 0 8px; }
.about-body p { font-family: var(--font-body); font-size: 18px; line-height: 1.72; color: var(--ink); margin: 0 0 24px; }
.about-body h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; margin: 16px 0 18px; }
.about-people { display: flex; flex-direction: column; gap: 22px; }
.about-person { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.about-note { margin-top: 36px; padding: 24px 26px; background: var(--stone-2); border: 1px solid var(--line); border-radius: 4px; }
.about-note h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.about-note p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--river); margin: 0; }
.about-note a { color: var(--verdigris); font-weight: 600; }

/* =========================================================================
   17. WordPress core / block alignment helpers
   ========================================================================= */
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--font-body); font-size: 13px; color: var(--river); margin-top: 8px; }
.sticky, .gallery-caption { display: block; }
.bypostauthor { display: block; }

/* comments (minimal, on-brand) */
.comments-area { max-width: 720px; margin: 48px auto 0; }
.comments-area h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 20px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-body { padding: 18px 0; border-top: 1px solid var(--line); }

/* =========================================================================
   18. Responsive
   ========================================================================= */
@media (max-width: 940px) {
  :root { --gutter: 28px; }
  .feat-grid, .pillar-grid, .mag-grid { grid-template-columns: 1fr 1fr; }
  .weekend-picks { grid-template-columns: 1fr 1fr; }
  .mag-grid__lead { grid-column: auto; }
  .pillar-grid__list { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cornerstone { grid-template-columns: 1fr; }
  .article-sidenotes { grid-template-columns: 1fr; }
  .share-sticky { display: none; }
  .section-head__blurb { display: none; }
  .getting-around__grid { grid-template-columns: 1fr; }

  .main-nav, .header-divider { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.is-open { display: flex; flex-direction: column; padding: 6px var(--gutter) 16px; gap: 2px; border-top: 1px solid var(--line); }
  .mobile-nav a { font-family: var(--font-display); font-size: 21px; font-weight: 500; text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav .whatson-link { font-size: 18px; padding: 10px 14px; border-radius: 6px; margin-bottom: 6px; border-bottom: none; color: var(--stone); }
  .mobile-nav .nav-guides   { color: var(--pillar-guides); }
  .mobile-nav .nav-the-city { color: var(--pillar-the-city); }
  .mobile-nav .nav-culture  { color: var(--pillar-culture); }
  .mobile-nav .nav-history  { color: var(--pillar-history); }
  .mobile-nav .nav-life     { color: var(--pillar-life); }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .feat-grid, .pillar-grid, .mag-grid, .footer-grid { grid-template-columns: 1fr; }
  .weekend-picks { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .feat-grid--two, .pillar-grid--two { grid-template-columns: 1fr; }
  .weekend-hero { height: auto; min-height: 88vh; }
  .card--lead .card__title { font-size: clamp(26px, 7vw, 34px); }
  .article-header__dek { font-size: 18px; }
  .entry-content { font-size: 17px; }
}
