/*
Theme Name: Jute Journal
Theme URI:
Author: Jute Journal
Description: Custom news theme for The Jute Journal — Option A homepage/nav/footer redesign.
Version: 2.0
*/

/* ══════════════════════════════════════════════════════════════════
   BASE & RESET
   ══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Garamond, "Adobe Garamond Pro", "EB Garamond", serif;
  background: #fff;
  color: #111;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--uni-blue); }

/* ══════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* Existing site tokens */
  --uni-blue: #4365e2;
  --uni-blue-darker: #2f4cc4;
  --border: #e0e0e0;
  --border-dark: #ccc;
  --gray-bg: #f6f6f6;
  --cat-gray: #555;
  --cat-blue: #4365e2;

  /* Option A redesign tokens */
  --oa-ink: #111;
  --oa-meta: #8a857c;
  --oa-meta-dark: #6b6862;
  --oa-hair: #e6e4df;
  --oa-paper: #f6f4ef;
  --oa-font-serif: 'Newsreader', Georgia, serif;
  --oa-font-display: 'DM Serif Display', Georgia, serif;
  --oa-font-sans: 'Archivo', Avenir, "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ══════════════════════════════════════════════════════════════════
   SITE HEADER + NAVIGATION  (Option A: sticky, Archivo)
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  position: relative;
  z-index: 100;
}

/* Masthead banner — full-bleed, scrolls away normally (nav below is sticky) */
.header-banner { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.header-banner a { display: block; text-decoration: none; }
.header-banner-img { display: block; width: 100%; height: auto; object-fit: contain; }

@media screen and (max-width: 767px) {
  .header-banner-img { max-height: 60px; }
}

/* ── Desktop nav — sticky category bar ── */
.desktop-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: #fff;
  border-top: 1px solid var(--oa-hair);
  border-bottom: 1px solid var(--oa-hair);
  display: flex;
  justify-content: center;
}

.desktop-nav .nav { gap: 0.1rem; }

.desktop-nav .nav-link {
  font-family: var(--oa-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
  padding: 0.95rem 1rem;
  display: inline-block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active-cat {
  color: var(--oa-ink);
  border-bottom-color: var(--uni-blue);
}

/* About / Arts & Culture dropdowns */
.desktop-nav .has-dropdown { position: relative; }
.desktop-nav .has-dropdown .dropdown-caret { font-size: 0.65rem; margin-left: 0.15rem; position: relative; top: -1px; }

.desktop-nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--oa-hair);
  border-top: 3px solid var(--uni-blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.desktop-nav .has-dropdown:hover > .nav-dropdown,
.desktop-nav .has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .nav-dropdown li { list-style: none; }

.desktop-nav .nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--oa-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.desktop-nav .nav-dropdown a:hover { background: var(--oa-paper); color: var(--uni-blue); }

/* Desktop search toggle */
.desktop-nav .nav-search { position: relative; margin-left: 0.5rem; }

.desktop-nav .nav-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid transparent;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
}

.desktop-nav .nav-search-toggle:hover { background: var(--oa-paper); color: var(--uni-blue); border-color: var(--oa-hair); }
.desktop-nav .nav-search-toggle[aria-expanded="true"] { background: var(--uni-blue); color: #fff; border-color: var(--uni-blue); }

.desktop-nav .nav-search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--oa-hair);
  border-top: 3px solid var(--uni-blue);
  padding: 0.4rem 0.4rem 0.4rem 0.75rem;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
}

.desktop-nav .nav-search-form.open { opacity: 1; visibility: visible; transform: translateY(0); }

.desktop-nav .nav-search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--oa-font-sans);
  font-size: 0.85rem;
  color: #111;
  padding: 0.3rem 0.4rem;
  min-width: 0;
}

.desktop-nav .nav-search-form input[type="search"]::placeholder { color: #999; }

.desktop-nav .nav-search-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--uni-blue);
  border: none;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
}

.desktop-nav .nav-search-form button[type="submit"]:hover { background: var(--uni-blue-darker); }

/* ── Mobile sticky bar: category chips + search + burger ── */
.oa-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 150;
  background: #fff;
  border-top: 1px solid var(--oa-hair);
  border-bottom: 1px solid var(--oa-hair);
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.oa-mobile-bar__chips {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.oa-mobile-bar__chips::-webkit-scrollbar { display: none; }

.oa-chip {
  flex-shrink: 0;
  font-family: var(--oa-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333;
  background: var(--oa-paper);
  border: 1px solid var(--oa-hair);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.oa-chip:hover, .oa-chip.active-cat { background: var(--uni-blue); border-color: var(--uni-blue); color: #fff; }

.oa-mobile-bar__actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }

.oa-mobile-bar__search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--oa-hair);
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.oa-mobile-bar__search-toggle:hover,
.oa-mobile-bar__search-toggle[aria-expanded="true"] { background: var(--uni-blue); color: #fff; border-color: var(--uni-blue); }

.oa-mobile-bar__search-form {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border-bottom: 1px solid var(--oa-hair);
  padding: 0.6rem 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.oa-mobile-bar__search-form.open { opacity: 1; visibility: visible; transform: translateY(0); }

.oa-mobile-bar__search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--oa-hair);
  background: var(--oa-paper);
  padding: 0.55rem 0.75rem;
  font-family: var(--oa-font-sans);
  font-size: 0.9rem;
  color: #111;
  border-radius: 4px;
  outline: none;
  min-width: 0;
}

.oa-mobile-bar__search-form input[type="search"]:focus { border-color: var(--uni-blue); }

.oa-mobile-bar__search-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--uni-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}

/* Burger — opens the full drawer (secondary pages + complete category list) */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.burger-btn span { display: block; width: 20px; height: 2px; background: #111; margin: 4px 0; transition: transform 0.25s ease, opacity 0.2s ease; }
.burger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer — fixed overlay pinned below the sticky mobile bar, so it's
   reachable (and visible) regardless of scroll position, not just at the
   top of the page. */
.mobile-nav {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-bottom: 1px solid var(--oa-hair);
}
.mobile-nav.open { max-height: 1200px; }

.mobile-nav-link {
  font-family: var(--oa-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { background: var(--oa-paper); }
.mobile-nav-link.active-cat { background: #f0f0f0; }

.mobile-nav-sublink {
  padding-left: 2.5rem !important;
  font-size: 0.78rem !important;
  color: #555 !important;
  background: #fafafa;
}

@media screen and (max-width: 767px) {
  .desktop-nav { display: none !important; }
  .oa-mobile-bar { display: flex; }
  .burger-btn { display: flex !important; flex-direction: column; }
  .desktop-nav .nav-dropdown { display: none !important; }

  /* .oa-mobile-bar is sticky and reachable at any scroll position, so its
     drawer needs to open as a viewport-fixed overlay right below it —
     otherwise it expands at its static position at the top of the
     document, off-screen once the reader has scrolled down. */
  .mobile-nav {
    display: flex !important;
    position: fixed;
    top: 51px;
    left: 0;
    right: 0;
    z-index: 140;
    background: #fff;
    overflow-y: auto;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  .mobile-nav.open { max-height: calc(100vh - 51px); }
}

/* ── Category archive heading (category.php) ── */
.category-heading {
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0.5rem;
  border-bottom: 3px solid #111;
}

.category-heading h1 {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.category-heading .post-count {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

/* ════════════════════════════════════
   LAYOUT / CONTAINER
════════════════════════════════════ */
.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* ═════════════════════════════════════
   CARDS — SHARED (category.php)
════════════════════════════════════ */
.news-card {
  background: #fff;
  border: none;
  border-radius: 0;
  font-family: Garamond, "Adobe Garamond Pro", "EB Garamond", serif;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card-link:hover .card-title { text-decoration: underline; }

.card-category {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.3rem;
}

.card-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0.5rem;
}

.card-meta { font-size: 0.7rem; color: #999; }
.card-meta .author { font-weight: 600; color: #555; }

/* ── Hero card ── */
.hero-card { border: none; border-radius: 0; }
.hero-card .card-img-top { border-radius: 0; object-fit: cover; width: 100%; }
.hero-card .card-body { padding: 0.75rem 0 0; }
.hero-card .card-title { font-size: 1.4rem; }
.hero-card .card-text { font-size: 0.875rem; }

/* ── Side cards ── */
.side-card {
  display: block;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
}

.side-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.side-card-img-top {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.5rem;
}

.side-card-body { padding: 0; }
.side-card .card-title { font-size: 0.85rem; }

/* ── Text-only cards ── */
.text-card { padding-bottom: 0.9rem; }
.text-card .card-title { font-size: 0.95rem; }
.text-card .card-text { font-size: 0.78rem; }

/* ── Dividers ── */
.col-divider-right { border-right: 1px solid #ddd; }
.top-section { background: #fff; }
.bottom-section { background: #fff; }

/* ── No post placeholder ── */
.no-post { color: #bbb; font-style: italic; font-size: 0.85rem; padding: 1rem 0; }

/* ════════════════════════════════════
   CATEGORY LIST LAYOUT (category.php)
════════════════════════════════════ */
.cat-grid {
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
}

.cat-post-list {
  display: flex;
  flex-direction: column;
}

.cat-post-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
}

.cat-post-item:last-child { border-bottom: none; }
.cat-post-item:hover .card-title { text-decoration: underline; }

.cat-post-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.cat-post-body { flex: 1; min-width: 0; }
.cat-post-body .card-title { font-size: 1.05rem; margin-bottom: 0.4rem; }
.cat-post-body .card-text { font-size: 0.82rem; margin-bottom: 0.4rem; }

/* ════════════════════════════════════
   PRINT EDITIONS — legacy card styles
   (editions-newsletter.php partial; .edition-icon is also used live
   by page-print-issues.php)
════════════════════════════════════ */
.editions-section {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.editions-header { margin-bottom: 1.25rem; }

.editions-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.2rem;
}

.editions-subtitle { font-size: 0.78rem; color: #888; margin: 0; }

.editions-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.latest-editions-col {
  width: 220px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid #ddd;
}

.older-editions-col {
  flex: 1;
  padding-left: 20px;
  min-width: 0;
}

.latest-editions-label,
.older-editions-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 0.85rem;
  display: block;
}

.edition-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100px;
  transition: transform 0.15s ease;
}

.edition-card:hover { transform: translateY(-3px); }

.edition-icon { width: 100%; height: auto; display: block; }

.edition-open-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(17,17,17,0.82);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  padding: 4px;
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.edition-card:hover .edition-open-label { opacity: 1; }
.edition-issue { font-size: 0.8rem; font-weight: 700; color: #111; line-height: 1.2; }
.edition-date { font-size: 0.7rem; color: #888; }

.latest-edition-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.latest-edition-card:hover { transform: translateY(-3px); }

/* ════════════════════════════════════
   SINGLE ARTICLE (single.php — Option A refactor)
════════════════════════════════════ */
.oa-article { background: #fff; }

.oa-article__header { padding: 2.5rem 2rem 1.5rem; border-bottom: 1px solid var(--oa-hair); }
.oa-article__header-inner { container-type: inline-size; max-width: 1400px; margin: 0 auto; }
.oa-kicker--lg { font-size: 0.78rem; margin-bottom: 0.75rem; }

.oa-article__title {
  font-family: var(--oa-font-serif);
  font-size: clamp(30px, 5cqw, 52px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--oa-ink);
  margin: 0 0 0.75rem;
  max-width: 900px;
}

.oa-article__dek {
  font-family: var(--oa-font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: #444;
  margin: 0 0 1rem;
  max-width: 780px;
}

.oa-article__meta {
  font-family: var(--oa-font-sans);
  font-size: 0.82rem;
  color: var(--oa-meta-dark);
  margin: 0;
}
.oa-article__byline { font-weight: 700; color: var(--oa-ink); }

/* Hero — true full-bleed, same 100vw technique as the masthead banner */
.oa-article__hero { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.oa-article__hero-img { display: block; width: 100%; max-height: 640px; object-fit: cover; }

/* Two-column layout: article body (own breakout grid) + sticky sidebar rail */
.oa-article__layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 3rem;
  align-items: start;
}

.oa-article__rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2rem; }

.oa-rail-block { padding-top: 1.25rem; border-top: 2px solid var(--oa-ink); }
.oa-rail-block__title {
  font-family: var(--oa-font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oa-ink);
  margin: 0 0 0.9rem;
}
.oa-rail-block__list { list-style: none; margin: 0; padding: 0; }
.oa-rail-block__list li { border-top: 1px solid var(--oa-hair); }
.oa-rail-block__list li:first-child { border-top: none; }
.oa-rail-block__list a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--oa-font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--oa-ink);
  text-decoration: none;
}
.oa-rail-block__list a:hover { text-decoration: underline; }
.oa-rail-block--newsletter { border-top-color: var(--uni-blue); }
.oa-rail-block__pitch { font-family: var(--oa-font-serif); font-size: 0.9rem; color: #444; margin: 0 0 0.85rem; }

/* ── Article body: CSS Grid breakout (content ~780px / wide / full) ──
   Each direct child defaults to the content track. .article-body__flow
   (injected by jute_wrap_breakout_content() in functions.php) holds runs
   of normal-flow content so alignleft/alignright floats still work —
   floats have no effect on direct grid-item children, which is the
   actual root cause of the old "images won't move" bug, alongside the
   blanket `.article-body img { width:100% }` rule this replaces. */
.article-body {
  display: grid;
  grid-template-columns:
    [full-start] minmax(0, 1fr)
    [wide-start] minmax(0, 60px)
    [content-start] min(780px, 100%)
    [content-end] minmax(0, 60px)
    [wide-end] minmax(0, 1fr)
    [full-end];
}
.article-body > * { grid-column: content-start / content-end; }
.article-body > .alignwide { grid-column: wide-start / wide-end; }
.article-body > .alignfull { grid-column: full-start / full-end; }
.article-body > .alignwide,
.article-body > .alignfull { margin: 2.5rem 0; }
.article-body > .alignwide img,
.article-body > .alignfull img { display: block; width: 100%; }
.article-body > .alignwide figcaption,
.article-body > .alignfull figcaption { max-width: 780px; margin-left: auto; margin-right: auto; }

.article-body__flow > *:first-child { margin-top: 0; }

.article-body h2 {
  font-family: var(--oa-font-serif);
  font-size: 1.6rem; font-weight: 600; margin: 2.25rem 0 0.75rem;
  color: var(--oa-ink);
}
.article-body h3 {
  font-family: var(--oa-font-serif);
  font-size: 1.25rem; font-weight: 600; margin: 1.75rem 0 0.6rem;
  color: var(--oa-ink);
}
.article-body p {
  font-family: Garamond, "Adobe Garamond Pro", "EB Garamond", serif;
  font-size: 1.08rem; line-height: 1.75; color: #222; margin-bottom: 1.3rem;
}
.article-body a { color: var(--uni-blue); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: 0.4rem; font-size: 1.05rem; line-height: 1.65; }
.article-body hr { border: none; border-top: 1px solid var(--oa-hair); margin: 2.5rem 0; }
.article-body strong { font-weight: 700; color: #111; }
.article-body em { font-style: italic; }

/* Images — honour core alignment classes instead of forcing width:100% */
.article-body img { max-width: 100%; height: auto; }
.article-body .wp-block-image { margin: 1.75rem 0; }
.article-body .wp-block-image img { display: block; }
.article-body figcaption {
  font-family: var(--oa-font-sans);
  font-size: 0.78rem;
  color: var(--oa-meta-dark);
  text-align: center;
  margin-top: 0.6rem;
}
.article-body .alignleft { float: left; margin: 0.35rem 1.5rem 1rem 0; max-width: 50%; }
.article-body .alignright { float: right; margin: 0.35rem 0 1rem 1.5rem; max-width: 50%; }
.article-body .aligncenter { display: block; float: none; margin-left: auto; margin-right: auto; }

/* Blockquotes + pull quotes */
.article-body blockquote {
  font-family: var(--oa-font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #333;
  border-left: 3px solid var(--uni-blue);
  margin: 1.75rem 0;
  padding: 0.4rem 0 0.4rem 1.5rem;
}
.article-body .wp-block-pullquote {
  border-top: 2px solid var(--oa-ink);
  border-bottom: 2px solid var(--oa-ink);
  padding: 1.5rem 0;
  margin: 2.5rem 0;
  text-align: center;
}
.article-body .wp-block-pullquote blockquote { border-left: none; font-size: 1.6rem; margin: 0; padding: 0; }
.article-body .wp-block-pullquote cite {
  display: block;
  font-family: var(--oa-font-sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-meta-dark);
  margin-top: 0.75rem;
}

/* Embeds */
.article-body .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.article-body .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.oa-article__back { max-width: 1400px; margin: 0 auto; padding: 0 2rem 3rem; }
.oa-article__back a {
  font-family: var(--oa-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oa-ink);
  text-decoration: none;
}
.oa-article__back a:hover { color: var(--uni-blue); }

/* ── Responsive: collapse rail below article, breakout grid to one track ── */
@media (max-width: 1024px) {
  .oa-article__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .oa-article__rail { position: static; }
  .article-body { grid-template-columns: [full-start wide-start content-start] 100% [content-end wide-end full-end]; }
}

@media (max-width: 767px) {
  .oa-article__header { padding: 1.75rem 1rem 1.25rem; }
  .oa-article__title { font-size: 1.7rem; }
  .oa-article__dek { font-size: 1.02rem; }
  .oa-article__hero-img { max-height: 320px; }
  .oa-article__layout { padding: 1.75rem 1rem 2rem; gap: 2rem; }
  .article-body p, .article-body li { font-size: 1rem; }
  .article-body .alignleft,
  .article-body .alignright { float: none; margin-left: 0; margin-right: 0; max-width: 100%; }
}

/* ════════════════════════════════════
   MOBILE FEED (category.php) — hidden on desktop
════════════════════════════════════ */
.mobile-feed { display: none; background: #fff; padding-bottom: 2rem; }
.mobile-divider { border: none; border-top: 1px solid #e0e0e0; margin: 0 1rem; }

.mobile-hero { display: block; text-decoration: none; color: inherit; }
.mobile-hero img { width: 100%; height: 240px; object-fit: cover; display: block; }
.mobile-hero-body { padding: 0.9rem 1rem 1rem; }

.mobile-hero-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.4rem; font-weight: 700; line-height: 1.25; color: #111;
  margin: 0.3rem 0 0.5rem;
}

.mobile-photo-list { padding: 0.75rem 0; }

.mobile-photo-card {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.75rem 1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-photo-card:last-child { border-bottom: none; }
.mobile-photo-card:hover { background: #fafafa; }

.mobile-photo-card img { width: 90px; height: 70px; object-fit: cover; flex-shrink: 0; display: block; }
.mobile-photo-card-body { flex: 1; min-width: 0; }

.mobile-card-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: #111;
  margin: 0.2rem 0 0.35rem;
}

.mobile-text-list { padding: 0.75rem 0; }

.mobile-text-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding: 0.85rem 1rem;
  text-decoration: none; color: inherit; border-bottom: 1px solid #f0f0f0;
}

.mobile-text-card:last-child { border-bottom: none; }
.mobile-text-card:hover { background: #fafafa; }
.mobile-text-card .mobile-card-title { margin-bottom: 0.25rem; }
.mobile-text-arrow { font-size: 1.4rem; color: #ccc; flex-shrink: 0; line-height: 1; }

.mobile-editions-list { padding: 0 0 0.5rem; }

.mobile-edition-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-edition-card:last-child { border-bottom: none; }
.mobile-edition-card:hover { background: #fafafa; }
.mobile-edition-icon { width: 36px; height: auto; flex-shrink: 0; }
.mobile-edition-info { flex: 1; }

/* ════════════════════════════════════
   MOBILE BREAKPOINT (category.php feed switch, editions, article)
════════════════════════════════════ */
@media screen and (max-width: 767px) {

  /* Switch layouts */
  .container-fluid { display: none !important; }
  .mobile-feed { display: block !important; }

  /* Editions stack */
  .editions-layout { flex-direction: column !important; gap: 1.5rem; }
  .older-editions-col { padding-left: 0; border-top: 1px solid #e0e0e0; padding-top: 1rem; }
  .latest-editions-col { width: 100% !important; padding-right: 0; border-right: none; }
  .latest-edition-card { flex-direction: row; align-items: center; gap: 1rem; }

  /* Category list */
  .cat-post-img { width: 100px; height: 75px; }
}

/* ════════════════════════════════════
   SUPPRESS WORDPRESS INJECTED UI
   Hides any nav/header WordPress or
   plugins inject above our own header
════════════════════════════════════ */
html { margin-top: 0 !important; }
body.admin-bar { margin-top: 0 !important; }
body.admin-bar .site-header { top: 0 !important; }

body > ul.nav,
body > nav:not(.desktop-nav):not(.mobile-nav),
body > div > ul.nav,
.wp-nav-menu-widget-form,
#wp-toolbar + nav,
#wpadminbar + nav { display: none !important; }

/* ════════════════════════════════════
   STATIC PAGES (About Us, Print Issues)
════════════════════════════════════ */
.static-page { background: #f6f6f6; }

/* Hero banner */
.static-hero {
  background: #111;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}

.static-hero-inner { max-width: 700px; margin: 0 auto; }

.static-hero-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.static-hero-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.static-hero-sub {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.7;
  margin: 0;
}

/* Sections */
.static-section { padding: 3.5rem 2rem; }
.static-section--white { background: #fff; }
.static-section--grey { background: #f6f6f6; }
.static-section--dark { background: #111; }

.static-container {
  max-width: 1100px;
  margin: 0 auto;
}

.static-two-col {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.static-col { flex: 1; min-width: 0; }
.static-col--center { display: flex; align-items: center; justify-content: center; }

/* Headings */
.static-h2 {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 1.25rem;
  line-height:  1.2;
}

.static-h2--center { text-align: center; }
.static-h2--light { color: #fff; }

.static-h3 {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.75rem;
}

/* Body text */
.static-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.static-intro-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  max-width: 740px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.static-body--light { color: #ccc !important; }
.text-white { color: #fff !important; }

/* Lists */
.static-list--light {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Motto box */
.static-motto-box {
  background: #f6f6f6;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #111;
  padding: 2rem;
  text-align: center;
  max-width: 300px;
}

.static-motto {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.static-motto-sub {
  font-size: 0.72rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Quote block */
.static-quote-block {
  text-align: center;
  padding: 2rem;
}

.static-quote-block blockquote {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  font-style: italic;
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}

.static-quote-block cite {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.06em;
}

/* Three pillars */
.static-three-col {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.static-pillar {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #111;
  padding: 1.5rem;
}

.static-pillar-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.static-pillar-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.6rem;
}

.static-pillar p { font-size: 0.85rem !important; color: #555 !important; }

/* Roles grid */
.static-roles-grid {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.static-role-card {
  flex: 1;
  background: #f6f6f6;
  border:  1px solid #e0e0e0;
  padding: 1.5rem;
}

.static-role-title {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.6rem;
}

.static-role-card p { font-size: 0.85rem !important; color: #555 !important; }

.static-role-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 1px;
}

.static-role-link:hover { opacity: 0.6; }

/* Contact bar */
.static-contact-bar {
  text-align: center;
  padding: 1.5rem;
  background: #f6f6f6;
  border: 1px solid #e0e0e0;
  margin-top: 1.5rem;
}

.static-contact-bar p { font-size: 0.9rem !important; color: #555 !important; margin: 0 !important; }
.static-contact-bar a { color: #111; font-weight: 700; }

/* Dundee context box */
.static-dundee-context {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #111;
  padding: 1.75rem;
}

.static-dundee-context p { font-size: 0.88rem !important; }

/* Locations grid */
.static-locations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.static-location {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Print issues grid */
.print-issues-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.print-issue-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 180px;
  position: relative;
  transition: transform 0.15s ease;
}

.print-issue-card:hover { transform: translateY(-4px); }

.print-issue-card--featured { width: 240px; }

.print-issue-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #111;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 1;
}

.print-issue-cover {
  position: relative;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fafafa;
  padding: 14px;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.print-issue-cover svg { width: 100%; height: auto; display: block; }

.print-issue-card:hover .print-issue-cover {
  border-color: #aaa;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.print-issue-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(17,17,17,0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.15s;
}

.print-issue-card:hover .print-issue-overlay { opacity: 1; }

.print-issue-info { text-align: center; }
.print-issue-number { font-size: 0.95rem; font-weight: 700; color: #111; }
.print-issue-date { font-size: 0.78rem; color: #888; }

/* Advert sizes */
.advert-sizes-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.advert-size-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.advert-size-visual {
  border: 2px solid #ddd;
  background: #f0f0f0;
  width: 80px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.advert-size-visual::after {
  content: '';
  background: #5bc4e8;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.advert-size-visual--full::after { height: 100%; }
.advert-size-visual--half::after { height: 50%; }
.advert-size-visual--quarter::after { height: 25%; }
.advert-size-visual--eighth::after { height: 12%; }

.advert-size-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.advert-size-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ── Static pages responsive ── */
@media screen and (max-width: 767px) {
  .static-hero-title { font-size: 1.8rem; }
  .static-two-col { flex-direction: column; gap: 2rem; }
  .static-three-col { flex-direction: column; gap: 1rem; }
  .static-roles-grid { flex-direction: column; }
  .static-section { padding: 2rem 1rem; }
  .advert-sizes-grid { gap: 1rem; }
  .advert-size-visual { width: 60px; height: 75px; }
}

/* ════════════════════════════════════
   CATEGORY: MORE STORIES (category.php pagination grid)
════════════════════════════════════ */
.more-stories__heading {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--uni-blue);
  padding-bottom: 0.5rem;
  color: #111;
}

.more-stories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.more-stories__item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.more-stories__item:hover .card-title { text-decoration: underline; }

.more-stories__item .card-title {
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0.25rem 0 0.4rem;
}

.more-stories__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
}

.more-stories__page-link {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--uni-blue);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  transition: background 0.15s;
}

.more-stories__page-link:hover { background: var(--uni-blue-darker); }

.more-stories__page-info {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #666;
}

/* ════════════════════════════════════
   FOOTER — 6-COLUMN (Option A), UNI BLUE
════════════════════════════════════ */
.site-footer {
  background: var(--uni-blue);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  border-top: 4px solid var(--uni-blue-darker);
}

.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 2.25rem;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr) 1.3fr;
  gap: 2rem;
  align-items: flex-start;
}

.site-footer__col { min-width: 0; }

.site-footer__col--brand .site-footer__logo-img {
  max-height: 80px;
  width: auto;
  display: block;
  margin-bottom: 0.85rem;
}

.site-footer__tagline {
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  font-size: 0.85rem;
  font-family: var(--oa-font-serif);
}

.site-footer__heading {
  font-family: var(--oa-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.95rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__list a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.86rem;
  font-family: var(--oa-font-sans);
  transition: color 0.15s;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 3px;
}

/* Affiliations column — logos sit directly on blue, no white pills */
.site-footer__col--affiliations .site-footer__logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.site-footer__logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: opacity 0.15s, transform 0.15s;
  width: auto;
  height: auto;
  box-sizing: border-box;
}

.site-footer__logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.85;
  box-shadow: none;
}

.site-footer__logo-link img {
  display: block;
  max-width: 170px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Follow column — newsletter form is wired up in Task 2 (MailPoet) */
.site-footer__col--follow .site-footer__tagline { margin-top: 0; margin-bottom: 0.85rem; }
/* TODO(Task 2): render do_shortcode(JUTE_MAILPOET_FORM_SHORTCODE) here and wrap it —
   don't override MailPoet's internal markup, style around it instead. */

/* Footer bottom strip — slightly darker blue for separation */
.site-footer__bottom {
  background: var(--uni-blue-darker);
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.site-footer__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--oa-font-sans);
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer__bottom-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__bottom-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .site-footer__col--brand { grid-column: 1 / -1; }
  .site-footer__col--affiliations { grid-column: 1 / -1; }
  .site-footer__col--affiliations .site-footer__logos { flex-direction: row; }
  .site-footer__col--follow { grid-column: 1 / -1; }
}

@media screen and (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 2rem 1.25rem 1.5rem;
  }
  .site-footer__col--brand { grid-column: 1 / -1; text-align: center; }
  .site-footer__col--brand .site-footer__logo-img { margin-left: auto; margin-right: auto; }
  .site-footer__col--affiliations { grid-column: 1 / -1; text-align: center; }
  .site-footer__col--affiliations .site-footer__heading { text-align: left; }
  .site-footer__col--affiliations .site-footer__logos {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.25rem;
    align-items: center;
  }
  .site-footer__col--affiliations .site-footer__logo-link img { max-width: 130px; max-height: 50px; }
  .site-footer__col--follow { grid-column: 1 / -1; }
  .site-footer__bottom { padding: 0.85rem 1.25rem; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; text-align: left; }
}

/* ════════════════════════════════════
   ABOUT — SUBPAGE CARDS
════════════════════════════════════ */
.about-affiliations {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.about-affiliation-link {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 0.5rem 0.85rem;
  border-radius: 3px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  max-width: 150px;
}

.about-affiliation-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border-color: var(--uni-blue);
}

.about-affiliation-link img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 45px;
  width: auto;
}

.about-subpages-grid { margin-top: 1.5rem; }

.about-subpage-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid var(--uni-blue);
  padding: 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.about-subpage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.about-subpage-card__cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--uni-blue);
}

.about-subpage-policies {
  text-align: center;
  margin-top: 2rem;
}

.about-subpage-policies__link {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--uni-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--uni-blue);
  padding-bottom: 2px;
}

.about-subpage-policies__link:hover { opacity: 0.7; }

/* ════════════════════════════════════
   ABOUT SUBPAGES — PROSE / AWARDS / COVERAGE / POLICIES
════════════════════════════════════ */
.static-prose {
  max-width: 760px;
  margin: 0 auto;
  font-family: Garamond, "Adobe Garamond Pro", serif;
}

.static-prose p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #2a2a2a;
  margin-bottom: 1.25rem;
}

.static-prose strong { color: #111; font-weight: 700; }
.static-prose em { color: #444; }

/* Awards list */
.awards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.award-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #999;
  padding: 1.25rem 1.5rem;
}

.award-card--win {
  border-left-color: var(--uni-blue);
  background: #fafbff;
}

.award-card__year {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--uni-blue);
  margin-bottom: 0.4rem;
}

.award-card__title {
  font-family: Avenir, "Avenir Next", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.award-card__body {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Coverage list */
.coverage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8e8e8;
}

.coverage-item {
  display: flex;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e8e8e8;
  align-items: baseline;
}

.coverage-item__date {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--uni-blue);
  flex: 0 0 150px;
}

.coverage-item__body { flex: 1; }

.coverage-item__title {
  font-family: Avenir, "Avenir Next", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

/* Policies */
.policies-toc {
  background: #fafbff;
  border: 1px solid #d8e0fa;
  border-left: 4px solid var(--uni-blue);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.policies-toc__heading {
  font-family: Avenir, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--uni-blue);
  margin: 0 0 0.85rem;
}

.policies-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.policies-toc li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.policies-toc a {
  color: #111;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.policies-toc a:hover {
  color: var(--uni-blue);
  border-bottom-color: var(--uni-blue);
}

.policy-block {
  border-top: 1px solid #e8e8e8;
  padding: 1.5rem 0;
}

.policy-block__title {
  font-family: Avenir, "Avenir Next", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.65rem;
  scroll-margin-top: 2rem;
}

.policy-block__placeholder {
  color: #999;
  font-style: italic;
  margin: 0;
}

/* ════════════════════════════════════
   RESPONSIVE — FOOTER / ABOUT / CATEGORY (shared media queries)
════════════════════════════════════ */
@media screen and (max-width: 1024px) {
  .more-stories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 767px) {
  .more-stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .awards-list { grid-template-columns: 1fr; }
  .coverage-item { flex-direction: column; gap: 0.35rem; }
  .coverage-item__date { flex: none; }
  .policies-toc ul { columns: 1; }
}

@media screen and (max-width: 480px) {
  .more-stories-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (min-width: 1200px) {
  .site-footer__inner,
  .site-footer__bottom-inner,
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ──────────────────────────────────────────────────────────────────
   Meet the Team (About page)
   ────────────────────────────────────────────────────────────────── */

.team-subhead {
  font-family: 'EB Garamond', Garamond, serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 2.5rem 0 1.25rem;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.team-subhead:first-of-type {
  margin-top: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-card {
  background: #fff;
  border-top: 2px solid #1a1a1a;
  border-bottom: 1px solid #d4d4d4;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
}

.team-card__photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: #ececec;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  font-family: 'EB Garamond', Garamond, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #1a1a1a;
}

.team-card__role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4365e2;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.team-card__bio {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #444;
  margin: 0 0 0.75rem;
}

.team-card__contact {
  font-size: 0.85rem;
  color: #4365e2;
  text-decoration: none;
  word-break: break-word;
}

.team-card__contact:hover {
  text-decoration: underline;
}

/* Compact variant for Design / Social teams */
.team-card--compact {
  padding: 1rem 0.75rem 1.25rem;
}

.team-card--compact .team-card__photo {
  width: 96px;
  height: 96px;
  margin-bottom: 0.75rem;
}

.team-card--compact .team-card__name {
  font-size: 1.05rem;
}

.team-card--compact .team-card__bio {
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }
  .team-card__photo {
    width: 110px;
    height: 110px;
  }
}

/* Team cards without a photo — top padding takes the place of the photo block */
.team-card--no-photo {
  padding-top: 1.75rem;
}

.team-card--no-photo .team-card__name {
  margin-top: 0;
}

/* Centred grid variant — keeps cards at portrait size when there are only 2 */
.team-grid--centered {
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE — OPTION A (index.php)
   ══════════════════════════════════════════════════════════════════ */
/* .oa-home is a bare wrapper — each band below owns its own full-bleed
   background/hairlines and centers its content independently, so the
   dark Most Read and blue Print Editions bands stay edge-to-edge on
   screens wider than 1400px instead of showing white gutters. */

.oa-kicker {
  display: inline-block;
  font-family: var(--oa-font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--uni-blue);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.oa-kicker--sm { font-size: 0.62rem; }
a.oa-kicker:hover { color: var(--uni-blue-darker); }

.oa-meta {
  font-family: var(--oa-font-sans);
  font-size: 0.8rem;
  color: var(--oa-meta-dark);
}
.oa-meta--sm { font-size: 0.72rem; color: var(--oa-meta); }
.oa-meta--inverse { color: rgba(255,255,255,0.7); }
.oa-meta__sep { margin: 0 0.3rem; }

/* ── Hero split: lead story + latest news rail ── */
.oa-hero { padding: 2rem 2rem 0; border-bottom: 1px solid var(--oa-ink); }
.oa-hero__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.oa-hero__lead { container-type: inline-size; display: flex; flex-direction: column; }
.oa-hero__lead-media { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #ececec; }
.oa-hero__lead-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-hero__lead-body { padding-top: 1rem; }
.oa-hero__lead-title {
  font-family: var(--oa-font-serif);
  font-size: clamp(28px, 3.5cqw, 44px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0.2rem 0 0.6rem;
  color: var(--oa-ink);
}
.oa-hero__lead-title a { color: inherit; text-decoration: none; }
.oa-hero__lead-title a:hover { text-decoration: underline; }
.oa-hero__lead-dek {
  font-family: var(--oa-font-serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: #333;
  margin: 0 0 0.75rem;
}

.oa-hero__rail { border-left: 1px solid var(--oa-hair); padding-left: 2rem; display: flex; flex-direction: column; }
.oa-hero__rail-title {
  font-family: var(--oa-font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--oa-ink);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--oa-ink);
}
.oa-hero__rail-list { display: flex; flex-direction: column; }
.oa-hero__rail-more {
  margin-top: 0.5rem;
  font-family: var(--oa-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--oa-ink);
  padding-bottom: 2px;
  align-self: flex-start;
}
.oa-hero__rail-more:hover { color: var(--uni-blue); border-color: var(--uni-blue); }

.oa-rail-card {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--oa-hair);
}
.oa-hero__rail-list .oa-rail-card:first-child { padding-top: 0; }
.oa-hero__rail-list .oa-rail-card:last-child { border-bottom: none; padding-bottom: 0; }
.oa-rail-card__media { display: block; width: 84px; aspect-ratio: 1 / 1; flex-shrink: 0; overflow: hidden; background: #ececec; }
.oa-rail-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-rail-card__body { display: flex; flex-direction: column; min-width: 0; }
.oa-rail-card__title {
  font-family: var(--oa-font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--oa-ink);
  margin: 0.1rem 0 0.3rem;
}
.oa-rail-card:hover .oa-rail-card__title { text-decoration: underline; }

/* ── 4-up headline row ── */
.oa-fourup { padding: 2rem; border-bottom: 1px solid var(--oa-ink); }
.oa-fourup__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.oa-headline-card { padding: 0 1.25rem; border-right: 1px solid var(--oa-hair); }
.oa-fourup__grid .oa-headline-card:first-child { padding-left: 0; }
.oa-fourup__grid .oa-headline-card:last-child { padding-right: 0; border-right: none; }
.oa-headline-card__media { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #ececec; margin-bottom: 0.75rem; }
.oa-headline-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.oa-headline-card:hover .oa-headline-card__media img { transform: scale(1.03); }
.oa-headline-card__title {
  font-family: var(--oa-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--oa-ink);
  margin: 0 0 0.4rem;
}
.oa-headline-card__title a { color: inherit; text-decoration: none; }
.oa-headline-card:hover .oa-headline-card__title a { text-decoration: underline; }
.oa-headline-card__dek { font-family: var(--oa-font-serif); font-size: 0.9rem; line-height: 1.5; color: #444; margin: 0 0 0.4rem; }

/* ── Most Read (dark band) ── */
.oa-mostread { background: var(--oa-ink); padding: 2.5rem 2rem; }
.oa-mostread__inner { max-width: 1400px; margin: 0 auto; }
.oa-mostread__title {
  font-family: var(--oa-font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--uni-blue);
  margin: 0 0 1.5rem;
}
.oa-mostread__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.oa-mostread__item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 0 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.oa-mostread__grid .oa-mostread__item:first-child { padding-left: 0; }
.oa-mostread__grid .oa-mostread__item:last-child { padding-right: 0; border-right: none; }
.oa-mostread__num {
  font-family: var(--oa-font-display);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--uni-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.oa-mostread__headline {
  font-family: var(--oa-font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin: 0.2rem 0 0.5rem;
}
.oa-mostread__item:hover .oa-mostread__headline { text-decoration: underline; }

/* ── Across the sections ── */
.oa-sections { padding: 2rem; border-bottom: 1px solid var(--oa-ink); }
.oa-sections__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.oa-section-col { padding: 0 1.5rem; border-right: 1px solid var(--oa-hair); }
.oa-sections__grid .oa-section-col:first-child { padding-left: 0; }
.oa-sections__grid .oa-section-col:last-child { padding-right: 0; border-right: none; }
.oa-section-col__head { border-top: 2px solid var(--oa-ink); padding-top: 0.6rem; margin-bottom: 1rem; }
.oa-section-col__title {
  font-family: var(--oa-font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oa-ink);
  margin: 0;
}
.oa-section-col__title a { color: inherit; text-decoration: none; }
.oa-section-col__title a:hover { color: var(--uni-blue); }
.oa-section-col__lead { display: block; text-decoration: none; color: inherit; margin-bottom: 1rem; }
.oa-section-col__lead-media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #ececec; margin-bottom: 0.6rem; }
.oa-section-col__lead-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-section-col__lead-title {
  display: block;
  font-family: var(--oa-font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--oa-ink);
  margin-bottom: 0.3rem;
}
.oa-section-col__lead:hover .oa-section-col__lead-title { text-decoration: underline; }
.oa-section-col__lead-dek { display: block; font-family: var(--oa-font-serif); font-size: 0.85rem; line-height: 1.5; color: #555; }
.oa-section-col__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.oa-section-col__list li { border-top: 1px solid var(--oa-hair); }
.oa-section-col__list a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--oa-font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--oa-ink);
  text-decoration: none;
}
.oa-section-col__list a:hover { text-decoration: underline; }
.oa-section-col__more {
  font-family: var(--oa-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--oa-ink);
  padding-bottom: 2px;
}
.oa-section-col__more:hover { color: var(--uni-blue); border-color: var(--uni-blue); }

/* ── Print Editions (blue band) ── */
.oa-print { background: var(--uni-blue); padding: 2.5rem 2rem; }
.oa-print__inner { max-width: 1400px; margin: 0 auto; }
.oa-print__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.oa-print__title {
  font-family: var(--oa-font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.oa-print__more {
  font-family: var(--oa-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}
.oa-print__more:hover { color: #dbe3fb; }
.oa-print__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); gap: 1.75rem; }
.oa-print-card { display: block; text-decoration: none; color: inherit; position: relative; }
.oa-print-card__badge {
  position: absolute; top: -10px; left: 12px;
  background: #fff; color: var(--uni-blue);
  font-family: var(--oa-font-sans); font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px; z-index: 1;
}
.oa-print-card__cover {
  display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  margin-bottom: 0.65rem; transition: transform 0.15s ease;
}
.oa-print-card:hover .oa-print-card__cover { transform: translateY(-3px); }
.oa-print-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-print-card__meta { display: flex; flex-direction: column; }
.oa-print-card__issue { font-family: var(--oa-font-sans); font-size: 0.9rem; font-weight: 700; color: #fff; }
.oa-print-card__date { font-family: var(--oa-font-serif); font-style: italic; font-size: 0.8rem; color: rgba(255,255,255,0.8); }

/* ── Homepage responsive ── */
@media (max-width: 1024px) {
  .oa-hero__grid { grid-template-columns: 1fr; }
  .oa-hero__rail { border-left: none; padding-left: 0; border-top: 1px solid var(--oa-hair); padding-top: 1.5rem; }
  .oa-fourup__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .oa-fourup__grid .oa-headline-card { border-right: none; padding: 0 0 1.5rem; }
  .oa-fourup__grid .oa-headline-card:nth-child(odd) { padding-right: 1.25rem; }
  .oa-fourup__grid .oa-headline-card:nth-child(even) { padding-left: 1.25rem; }
  .oa-mostread__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .oa-mostread__item { border-right: none; padding: 0 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .oa-sections__grid { grid-template-columns: repeat(2, 1fr); }
  .oa-section-col { border-right: none; border-bottom: 1px solid var(--oa-hair); padding: 0 0 1.5rem; margin-bottom: 1.5rem; }
  .oa-print__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .oa-hero { padding: 1.25rem 1rem 0; }
  .oa-hero__lead-title { font-size: 1.5rem; }
  .oa-hero__lead-media { aspect-ratio: 4 / 3; }
  .oa-fourup { padding: 1.5rem 1rem; }
  .oa-fourup__grid { grid-template-columns: 1fr; gap: 0; }
  .oa-fourup__grid .oa-headline-card { padding: 1.25rem 0; border-right: none; border-bottom: 1px solid var(--oa-hair); }
  .oa-fourup__grid .oa-headline-card:first-child { padding-top: 0; }
  .oa-fourup__grid .oa-headline-card:last-child { border-bottom: none; padding-bottom: 0; }
  .oa-mostread { padding: 1.75rem 1rem; }
  .oa-mostread__grid { grid-template-columns: 1fr; }
  .oa-mostread__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 0 0 1.25rem; margin-bottom: 1.25rem; }
  .oa-mostread__grid .oa-mostread__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .oa-sections { padding: 1.5rem 1rem; }
  .oa-sections__grid { grid-template-columns: 1fr; }
  .oa-section-col { border-right: none; border-bottom: 1px solid var(--oa-hair); padding: 0 0 1.5rem; margin-bottom: 1.5rem; }
  .oa-sections__grid .oa-section-col:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .oa-print { padding: 1.75rem 1rem; }
  .oa-print__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* ════════════════════════════════════
   LIVE / STICKY POST TREATMENT
════════════════════════════════════ */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #c0392b;
  color: #fff;
  font-family: var(--oa-font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px 3px 6px;
  margin-bottom: 0.45rem;
}

.live-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.sticky .oa-hero__lead { border-top: 3px solid #c0392b; padding-top: 0.75rem; }
.sticky .oa-rail-card,
.sticky .oa-headline-card__body,
.sticky .oa-section-col__lead {
  background: #fdf2f2;
  border-left: 3px solid #c0392b;
  padding-left: 0.6rem;
}

/* Category page list items (category.php) */
.sticky .cat-post-item {
  background: #fdf2f2;
  border-left: 3px solid #c0392b;
  padding-left: 0.85rem;
}

/* Red kicker label override on sticky posts */
.sticky .oa-kicker,
.sticky .card-category {
  color: #c0392b !important;
}

/* ══════════════════════════════════════════════════════════════════
   NEWSLETTER SIGNUP (Jetpack Subscriptions) — 4 placements
   ══════════════════════════════════════════════════════════════════ */

/* Shared form skin — targets Jetpack's own markup by element type
   rather than guessing its class names, so we wrap/style around it
   instead of fighting it. */
.oa-newsletter-form form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.oa-newsletter-form form p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.oa-newsletter-form form label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.oa-newsletter-form form input[type="email"] {
  font-family: var(--oa-font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--oa-hair);
  border-radius: 2px;
  background: #fff;
  color: #111;
  min-width: 220px;
  outline: none;
  transition: border-color 0.15s;
}
.oa-newsletter-form form input[type="email"]:focus { border-color: var(--uni-blue); }
.oa-newsletter-form form button[type="submit"],
.oa-newsletter-form form input[type="submit"] {
  font-family: var(--oa-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.68rem 1.4rem;
  background: var(--uni-blue);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.oa-newsletter-form form button[type="submit"]:hover,
.oa-newsletter-form form input[type="submit"]:hover { background: var(--uni-blue-darker); }

/* On a blue background (homepage band, footer) swap to a white input + ink button */
.oa-newsletter-band .oa-newsletter-form form input[type="email"],
.site-footer__col--follow .oa-newsletter-form form input[type="email"] {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.4);
}
.oa-newsletter-band .oa-newsletter-form form button[type="submit"],
.oa-newsletter-band .oa-newsletter-form form input[type="submit"],
.site-footer__col--follow .oa-newsletter-form form button[type="submit"],
.site-footer__col--follow .oa-newsletter-form form input[type="submit"] {
  background: var(--oa-ink);
  color: #fff;
}
.oa-newsletter-band .oa-newsletter-form form button[type="submit"]:hover,
.oa-newsletter-band .oa-newsletter-form form input[type="submit"]:hover,
.site-footer__col--follow .oa-newsletter-form form button[type="submit"]:hover,
.site-footer__col--follow .oa-newsletter-form form input[type="submit"]:hover {
  background: #333;
}

/* ── Placement 1: homepage inline band, between Most Read and Print Editions ── */
.oa-newsletter-band { background: var(--uni-blue); padding: 2rem; }
.oa-newsletter-band__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.oa-newsletter-band__pitch {
  font-family: var(--oa-font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.oa-newsletter-band .oa-newsletter-form { flex-shrink: 0; }

/* ── Placement 2: footer Follow column (compact, stacked) ── */
.oa-newsletter-form--compact form { flex-direction: column; align-items: stretch; }
.oa-newsletter-form--compact form p { flex-direction: column; align-items: stretch; }
.oa-newsletter-form--compact form input[type="email"] { min-width: 0; width: 100%; }
.oa-newsletter-form--compact form button[type="submit"],
.oa-newsletter-form--compact form input[type="submit"] { width: 100%; }

/* ── Placement 3: end-of-article CTA (single.php) ── */
.oa-article-newsletter {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--oa-paper);
  border: 1px solid var(--oa-hair);
  border-left: 4px solid var(--uni-blue);
}
.oa-article-newsletter__pitch {
  font-family: var(--oa-font-serif);
  font-size: 1.05rem;
  color: var(--oa-ink);
  margin: 0 0 0.85rem;
}

/* ── Placement 4: sticky dismissible bar (site-wide, footer.php) ── */
.oa-sticky-newsletter {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--oa-ink);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.oa-sticky-newsletter.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.oa-sticky-newsletter__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.oa-sticky-newsletter__pitch {
  font-family: var(--oa-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
}
.oa-sticky-newsletter .oa-newsletter-form { flex: 1; min-width: 0; }
.oa-sticky-newsletter .oa-newsletter-form form { flex-wrap: nowrap; gap: 0.5rem; }
.oa-sticky-newsletter .oa-newsletter-form form input[type="email"] {
  flex: 1;
  min-width: 120px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}
.oa-sticky-newsletter .oa-newsletter-form form button[type="submit"],
.oa-sticky-newsletter .oa-newsletter-form form input[type="submit"] {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
}
.oa-sticky-newsletter__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.oa-sticky-newsletter__close:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .oa-sticky-newsletter { transition: none; }
}

@media (max-width: 767px) {
  .oa-newsletter-band { padding: 1.5rem 1rem; }
  .oa-newsletter-band__inner { flex-direction: column; align-items: stretch; text-align: left; }
  .oa-newsletter-band .oa-newsletter-form form { flex-direction: column; align-items: stretch; }
  .oa-newsletter-band .oa-newsletter-form form input[type="email"] { min-width: 0; width: 100%; }
  .oa-newsletter-band .oa-newsletter-form form button[type="submit"],
  .oa-newsletter-band .oa-newsletter-form form input[type="submit"] { width: 100%; }

  .oa-sticky-newsletter__inner { flex-wrap: wrap; padding: 0.65rem 1rem; }
  .oa-sticky-newsletter__pitch { width: 100%; }
  .oa-sticky-newsletter .oa-newsletter-form { width: 100%; }
}
