/* ==========================================================
   RegionFree.com — Design System (Guardian Editorial Light)
   Georgia + system sans · Light theme · Section colours
   Mobile-first, no frameworks, no build step.
   ========================================================== */

/* ----------------------------------------------------------
   1. CSS Reset + Variables
   ---------------------------------------------------------- */
:root {
  /* Core palette */
  --bg: #fff;
  --surface: #f6f6f6;
  --border: #dcdcdc;
  --border-light: #efefef;

  /* Text hierarchy */
  --text: #1a1a1a;
  --text-2: #555;
  --text-3: #767676;
  --text-4: #999;

  /* Accent */
  --accent: #c70000;

  /* Links */
  --link: #1a73e8;
  --link-hover: #1558b0;

  /* Brand */
  --brand-dark: #052962;
  --brand-mid: #1a73e8;
  --white: #fff;

  /* Semantic */
  --amber-light: #fef9f0;
  --amber-mid: #b45309;
  --teal-light: #ecfdf5;
  --teal-mid: #059669;
  --coral-light: #fef2f2;
  --coral-mid: #dc2626;
  --coral-dark: #991b1b;

  /* Section colours */
  --s-streaming: #1a73e8;
  --s-vpn: #7c3aed;
  --s-dvd: #ea580c;
  --s-sports: #dc2626;
  --s-smarttv: #059669;
  --s-expat: #0891b2;
  --s-consoles: #0f766e;
  --s-travel: #b45309;
  --s-deals: #db2777;

  /* Section dark pairs */
  --sd-streaming: #0d47a1;
  --sd-vpn: #4c1d95;
  --sd-dvd: #9a3412;
  --sd-sports: #991b1b;
  --sd-smarttv: #065f46;
  --sd-expat: #155e75;
  --sd-consoles: #115e59;
  --sd-travel: #78350f;
  --sd-deals: #9d174d;

  /* Layout */
  --max-width: 1100px;
  --content-width: 740px;

  /* Fonts */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* ----------------------------------------------------------
   2. Base Typography
   ---------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ----------------------------------------------------------
   3. Top Stripe
   ---------------------------------------------------------- */
.top-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, #052962 50%, #052962 100%);
}

/* Section-specific stripes */
.top-stripe--streaming {
  background: linear-gradient(90deg, var(--s-streaming) 0%, var(--s-streaming) 50%, var(--sd-streaming) 50%, var(--sd-streaming) 100%);
}

.top-stripe--vpn {
  background: linear-gradient(90deg, var(--s-vpn) 0%, var(--s-vpn) 50%, var(--sd-vpn) 50%, var(--sd-vpn) 100%);
}

.top-stripe--dvd {
  background: linear-gradient(90deg, var(--s-dvd) 0%, var(--s-dvd) 50%, var(--sd-dvd) 50%, var(--sd-dvd) 100%);
}

.top-stripe--sports {
  background: linear-gradient(90deg, var(--s-sports) 0%, var(--s-sports) 50%, var(--sd-sports) 50%, var(--sd-sports) 100%);
}

.top-stripe--smarttv {
  background: linear-gradient(90deg, var(--s-smarttv) 0%, var(--s-smarttv) 50%, var(--sd-smarttv) 50%, var(--sd-smarttv) 100%);
}

.top-stripe--expat {
  background: linear-gradient(90deg, var(--s-expat) 0%, var(--s-expat) 50%, var(--sd-expat) 50%, var(--sd-expat) 100%);
}

.top-stripe--consoles {
  background: linear-gradient(90deg, var(--s-consoles) 0%, var(--s-consoles) 50%, var(--sd-consoles) 50%, var(--sd-consoles) 100%);
}

.top-stripe--travel {
  background: linear-gradient(90deg, var(--s-travel) 0%, var(--s-travel) 50%, var(--sd-travel) 50%, var(--sd-travel) 100%);
}

.top-stripe--deals {
  background: linear-gradient(90deg, var(--s-deals) 0%, var(--s-deals) 50%, var(--sd-deals) 50%, var(--sd-deals) 100%);
}

/* ----------------------------------------------------------
   4. Header
   ---------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  background: #fff;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

/* Logo */
.site-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  margin-right: auto;
}

.site-logo span {
  color: var(--accent);
}

.site-logo:hover {
  text-decoration: none;
}

.site-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: -2px;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav a {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 9px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: none;
}

/* Section-coloured nav hovers + active states */
.site-nav a[data-s="streaming"]:hover,
.site-nav a[data-s="streaming"].active {
  color: var(--s-streaming);
  border-bottom-color: var(--s-streaming);
}

.site-nav a[data-s="vpn"]:hover,
.site-nav a[data-s="vpn"].active {
  color: var(--s-vpn);
  border-bottom-color: var(--s-vpn);
}

.site-nav a[data-s="dvd"]:hover,
.site-nav a[data-s="dvd"].active {
  color: var(--s-dvd);
  border-bottom-color: var(--s-dvd);
}

.site-nav a[data-s="sports"]:hover,
.site-nav a[data-s="sports"].active {
  color: var(--s-sports);
  border-bottom-color: var(--s-sports);
}

.site-nav a[data-s="smarttv"]:hover,
.site-nav a[data-s="smarttv"].active {
  color: var(--s-smarttv);
  border-bottom-color: var(--s-smarttv);
}

.site-nav a[data-s="expat"]:hover,
.site-nav a[data-s="expat"].active {
  color: var(--s-expat);
  border-bottom-color: var(--s-expat);
}

.site-nav a[data-s="consoles"]:hover,
.site-nav a[data-s="consoles"].active {
  color: var(--s-consoles);
  border-bottom-color: var(--s-consoles);
}

.site-nav a[data-s="travel"]:hover,
.site-nav a[data-s="travel"].active {
  color: var(--s-travel);
  border-bottom-color: var(--s-travel);
}

.site-nav a[data-s="deals"]:hover,
.site-nav a[data-s="deals"].active {
  color: var(--s-deals);
  border-bottom-color: var(--s-deals);
}

/* Header search icon (visible at all breakpoints) */
.header-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 8px;
  border-radius: 50%;
  color: var(--text-2);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.header-search-link:hover,
.header-search-link:focus-visible {
  color: var(--accent);
  background: var(--surface);
  text-decoration: none;
  outline: none;
}

/* Hamburger (nav-toggle) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 5px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 600px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  text-decoration: none;
}

.mobile-menu .mob-dot {
  width: 3px;
  height: 18px;
  border-radius: 0;
  flex-shrink: 0;
}

.mobile-menu .mob-search {
  color: var(--text-2);
  font-weight: 500;
  gap: 12px;
}

.mobile-menu .mob-search svg {
  flex-shrink: 0;
  color: var(--text-3);
}

.mobile-menu .mob-cta {
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
  border-bottom: none;
}

/* ----------------------------------------------------------
   5. Layout
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.page-layout__main {
  min-width: 0;
}

.page-layout__sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

/* ----------------------------------------------------------
   6. Breadcrumbs
   ---------------------------------------------------------- */
.breadcrumbs {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 13px;
  color: var(--text-4);
}

.breadcrumbs a {
  color: var(--text-3);
  font-size: 13px;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 6px;
  color: #ccc;
}

/* ----------------------------------------------------------
   7. Section Tags
   ---------------------------------------------------------- */
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid currentColor;
  padding-left: 8px;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Section tag colour classes */
.t-streaming { color: var(--s-streaming); }
.t-vpn       { color: var(--s-vpn); }
.t-dvd       { color: var(--s-dvd); }
.t-sports    { color: var(--s-sports); }
.t-smarttv   { color: var(--s-smarttv); }
.t-expat     { color: var(--s-expat); }
.t-consoles  { color: var(--s-consoles); }
.t-travel    { color: var(--s-travel); }
.t-deals     { color: var(--s-deals); }

/* ----------------------------------------------------------
   8. Cards — Shared
   ---------------------------------------------------------- */
.card {
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #bbb;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card a:hover {
  text-decoration: none;
}

.card__image {
  width: 100%;
  object-fit: cover;
}

.card__body {
  padding: 20px 22px;
  border-top: 3px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.card a:hover .card__title {
  color: var(--accent);
}

.card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 10px;
}

.card__meta {
  font-size: 13px;
  color: var(--text-4);
  margin-top: auto;
}

/* Review box — generic bordered container (avoids .card grid styles) */
.review-box {
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
  background: #fff;
  padding: 1.25rem 1.5rem;
}

/* Card border-top section colours */
.b-streaming { border-top-color: var(--s-streaming); }
.b-vpn       { border-top-color: var(--s-vpn); }
.b-dvd       { border-top-color: var(--s-dvd); }
.b-sports    { border-top-color: var(--s-sports); }
.b-smarttv   { border-top-color: var(--s-smarttv); }
.b-expat     { border-top-color: var(--s-expat); }
.b-consoles  { border-top-color: var(--s-consoles); }
.b-travel    { border-top-color: var(--s-travel); }
.b-deals     { border-top-color: var(--s-deals); }

/* ----------------------------------------------------------
   9. Homepage — Magazine Grid
   ---------------------------------------------------------- */
.magazine-section {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border);
}

/* Section heading (used above magazine grids) */
.section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

/* Top row: large card + tool card (+ optional rotating promo card) */
.magazine-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

/* When the promo card is present, switch to a 2-row named-area grid so the
   feature article spans both rows on the left, WCIW sits in the top-right
   matching the feature image height (340px), and the promo card fills the
   bottom-right cell, ending flush with the feature card. */
.magazine-top--with-promo {
  grid-template-rows: 340px 1fr;
  grid-template-areas:
    "feature wciw"
    "feature promo";
}

.magazine-top--with-promo > .card--large { grid-area: feature; }
.magazine-top--with-promo > .tool-card   { grid-area: wciw; }
.magazine-top--with-promo > .promo-card  { grid-area: promo; }

.card--large .card__image {
  height: 340px;
}

.card--large .card__title {
  font-size: 28px;
}

/* Middle row: 3 equal cards */
.magazine-mid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.card--mid .card__image {
  height: 180px;
}

.card--mid .card__title {
  font-size: 20px;
}

/* Bottom row: headline-only cards */
.magazine-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Headline cards */
.headline-card {
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s;
}

.headline-card:hover {
  border-color: #bbb;
}

.headline-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.headline-card a:hover {
  text-decoration: none;
}

.headline-card__body {
  padding: 16px 18px 18px;
  border-top: 3px solid var(--border);
}

.headline-card__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.headline-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.2px;
}

.headline-card a:hover .headline-card__title {
  color: var(--accent);
}

.headline-card__meta {
  font-size: 12px;
  color: var(--text-4);
  margin-top: 8px;
}

/* ----------------------------------------------------------
   10. Homepage — Tool Card (What Can I Watch?)
   ---------------------------------------------------------- */
.tool-card {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card__body {
  padding: 24px 22px;
  border-top: 3px solid var(--accent);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card__heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tool-card__subtitle {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 18px;
}

.tool-field {
  margin-bottom: 12px;
}

.tool-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.tool-field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.tool-field select:focus {
  outline: none;
  border-color: #052962;
}

.tool-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s;
}

.tool-submit:hover {
  background: #a50000;
}

/* .tool-note is a direct child of .tool-card__body (which is display:flex;
   flex-direction:column), so margin-top:auto pushes the note to the
   bottom of the body. The body's 24px padding-bottom provides the gap
   beneath; the auto-margin distributes the remaining slack above. */
.tool-note {
  font-size: 12px;
  color: var(--text-4);
  margin-top: auto;
  text-align: center;
}

/* ----------------------------------------------------------
   10b. Homepage — Promo Card (rotating: deal / vpn / trending)
   ---------------------------------------------------------- */
.promo-card {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s;
}

.promo-card:hover {
  border-color: #bbb;
}

.promo-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-card a:hover {
  text-decoration: none;
}

.promo-card__body {
  padding: 20px 22px;
  border-top: 3px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.promo-card__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.promo-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.promo-card a:hover .promo-card__title {
  color: var(--accent);
}

.promo-card__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 12px;
  /* Clamp to 2 lines so the CTA always sits at the bottom of the card */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* ----------------------------------------------------------
   11. Homepage — Most Read + Newsletter
   ---------------------------------------------------------- */
.bottom-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.bottom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.most-read-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.most-read-list {
  list-style: none;
  padding: 0;
  counter-reset: mostread;
}

.most-read-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  counter-increment: mostread;
}

.most-read-list li::before {
  content: counter(mostread);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
}

.most-read-list li:last-child {
  border-bottom: none;
}

.most-read-content {
  flex: 1;
}

.most-read-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.most-read-list a {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.most-read-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Email block within bottom section */
.email-block {
  padding-top: 8px;
}

/* ----------------------------------------------------------
   12. Article Page
   ---------------------------------------------------------- */
.article-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-top: 10px;
  letter-spacing: -0.5px;
}

.article-standfirst {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-2);
  margin-top: 12px;
  font-style: italic;
}

.featured-image {
  max-width: var(--content-width);
  margin: 20px auto 0;
  padding: 0 20px;
}

.featured-image img {
  width: 100%;
  height: auto;
}

.featured-image figcaption {
  font-size: 13px;
  color: var(--text-3);
  padding-top: 8px;
  line-height: 1.4;
  border-top: 1px solid #e5e5e5;
  margin-top: 6px;
}

/* Byline */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  flex-shrink: 0;
}

.byline-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}

.byline-text strong {
  color: var(--text);
}

.byline-text .meta-sep {
  color: #ccc;
  margin: 0 6px;
}

.verified-badge--recent {
  color: var(--amber-mid);
  background: var(--amber-light);
}

.verified-badge--stale {
  color: var(--coral-mid);
  background: var(--coral-light);
}

/* Table of contents */
.toc-box {
  max-width: var(--content-width);
  margin: 24px auto;
  padding: 0 20px;
}

.toc-toggle {
  background: var(--surface);
  border: 1px solid #e5e5e5;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
}

.toc-toggle:hover {
  background: #f0f0f0;
}

.toc-arrow {
  transition: transform 0.2s;
  font-size: 12px;
}

.toc-content {
  background: var(--surface);
  border: 1px solid #e5e5e5;
  border-top: none;
  padding: 0 16px 16px;
  display: none;
}

.toc-content.open {
  display: block;
}

.toc-content ol {
  padding-left: 20px;
  margin: 0;
}

.toc-content li {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding: 2px 0;
}

.toc-content li a {
  color: #333;
}

.toc-content li a:hover {
  color: var(--s-streaming);
}

/* Article body */
.article-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-body p {
  margin-bottom: 18px;
  color: #333;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article-body li {
  margin-bottom: 8px;
  color: #333;
}

.article-body strong {
  color: var(--text);
}

/* Quick answer callout */
.quick-answer {
  background: #fef9f0;
  border-left: 4px solid #e6a817;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a3800;
}

.quick-answer strong {
  color: #7a5f00;
}

/* CTA box */
.cta-box {
  border: 1px solid var(--border);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}

.cta-box h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.cta-box p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 16px;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.cta-button:hover {
  background: #a50000;
  text-decoration: none;
}

/* ----------------------------------------------------------
   13. Related Articles
   ---------------------------------------------------------- */
.related-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 40px;
  border-top: 1px solid var(--border);
}

/* In the sidebar layout, fill the article column rather than the
   centred content width — keeps the rule from crossing the sidebar. */
.article-wrap .related-section {
  max-width: none;
  margin: 0;
  padding: 0 0 40px;
}

.related-section h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 16px;
  color: var(--text);
}

.related-list {
  list-style: none;
  padding: 0;
}

.related-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.related-list li:last-child {
  border-bottom: none;
}

.related-thumb {
  flex: 0 0 160px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--border-light);
}

.related-thumb img {
  display: block;
  width: 160px;
  height: 100px;
  object-fit: cover;
}

.related-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 520px) {
  .related-thumb,
  .related-thumb img {
    flex-basis: 100px;
    width: 100px;
    height: 70px;
  }
}

.related-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.related-list a {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
}

.related-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.related-meta {
  font-size: 13px;
  color: var(--text-4);
  margin-top: 4px;
}

/* Tag colour classes (used in related lists, most-read, etc.) */
.tag-streaming { color: var(--s-streaming); }
.tag-vpn       { color: var(--s-vpn); }
.tag-dvd       { color: var(--s-dvd); }
.tag-sports    { color: var(--s-sports); }
.tag-smarttv   { color: var(--s-smarttv); }
.tag-expat     { color: var(--s-expat); }
.tag-consoles  { color: var(--s-consoles); }
.tag-travel    { color: var(--s-travel); }
.tag-deals     { color: var(--s-deals); }

/* ----------------------------------------------------------
   Search page (/search/) — uses .article-wrap layout, so width
   constraints come from .article-main / .article-sidebar.
   ---------------------------------------------------------- */
.t-search { color: var(--accent); }

.search-header__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
  color: var(--text);
}

.search-header__sub {
  font-size: 15px;
  color: var(--text-3);
  margin: 0 0 20px;
}

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.search-form__submit {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.search-form__submit:hover {
  background: #1557b0;
}

.search-meta {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-3);
}

.search-meta__hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-4);
  font-style: italic;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result {
  border-bottom: 1px solid var(--border-light);
}

.search-result:last-child {
  border-bottom: none;
}

.search-result__link {
  display: block;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
}

.search-result__link:hover {
  text-decoration: none;
}

.search-result__link:hover .search-result__title {
  color: var(--accent);
}

.search-result__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.search-result__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 8px;
}

.search-result__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 8px;
}

.search-result__meta {
  font-size: 13px;
  color: var(--text-4);
  margin: 0;
}

.search-empty {
  padding: 40px 20px;
  text-align: center;
  background: var(--surface-2, #fafafa);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.search-empty h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 8px;
}

.search-empty p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0 0 16px;
}

.search-empty__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.search-prompt {
  font-size: 15px;
  color: var(--text-3);
  padding: 32px 0;
}

@media (max-width: 520px) {
  .search-form {
    flex-direction: column;
  }

  .search-form__submit {
    width: 100%;
  }

  .search-header__title {
    font-size: 26px;
  }
}

/* ----------------------------------------------------------
   Static pages (about, legal, privacy, affiliate disclosure)
   Smaller body text — denser legal/info content reads better at 15px.
   ---------------------------------------------------------- */
.static-page {
  font-size: 15px;
  line-height: 1.65;
  padding: 48px 0 64px;
}

.static-page h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.static-page h2 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.static-page h3 {
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 6px;
}

.static-page p,
.static-page li,
.static-page td,
.static-page th {
  font-size: 15px;
}

/* ----------------------------------------------------------
   13b. Article Sidebar Layout
   ---------------------------------------------------------- */
.article-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-wrap .breadcrumbs {
  max-width: none;
  padding: 16px 0 0;
}

.article-wrap .featured-image {
  max-width: none;
  padding: 0;
  margin: 20px 0 0;
}

.article-wrap .article-title,
.article-wrap .article-standfirst,
.article-wrap .byline {
  max-width: none;
}

.article-wrap .toc-box {
  max-width: none;
  padding: 0;
  margin: 24px 0;
}

.article-wrap .article-body {
  max-width: none;
  padding: 24px 0 40px;
}

.article-sidebar {
  position: sticky;
  top: 20px;
  padding-top: 52px;
}

.ad-slot--sidebar-rect {
  height: 250px;
  margin-bottom: 24px;
}

.sidebar-widget {
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.sidebar-widget__header {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 16px 0;
  margin-bottom: 4px;
}

.sidebar-related {
  list-style: none;
  padding: 0;
}

.sidebar-related li {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light, #f0f0f0);
}

.sidebar-related-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.sidebar-related a {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  display: block;
  text-decoration: none;
}

.sidebar-related a:hover {
  color: var(--link);
  text-decoration: none;
}

.sidebar-related-meta {
  font-size: 12px;
  color: var(--text-4);
  margin-top: 3px;
}

.sidebar-tool {
  padding: 16px;
}

.sidebar-tool label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 4px;
}

.sidebar-tool select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  margin-bottom: 10px;
}

.sidebar-tool-btn {
  display: block;
  width: 100%;
  background: var(--link);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-tool-btn:hover {
  background: var(--link-hover);
}

.article-below {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------------------------------
   14. Section Hub Page
   ---------------------------------------------------------- */
.section-hero {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--border);
}

.section-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.section-hero__main {
  flex: 1;
}

.section-hero__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 580px;
}

.section-hero__sidebar {
  flex-shrink: 0;
  width: 260px;
  border: 1px solid var(--border);
  padding: 20px;
  background: #fff;
}

.sh-hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 640px) {
  .sh-hero-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------------
   Section hub — hero image (decorative, hidden on mobile)
   ---------------------------------------------------------- */
.section-hero__image {
  flex-shrink: 0;
  width: 240px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  align-self: flex-start;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .section-hero__image {
    display: none;
  }
}

/* ----------------------------------------------------------
   Section hub — featured article (image left, text right; stacks on mobile)
   ---------------------------------------------------------- */
.section-featured {
  padding-top: 32px;
}

.section-featured__link,
.section-featured__link:hover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
  text-decoration: none;
  color: inherit;
}

.section-featured__link:hover .section-featured__title {
  color: var(--accent);
}

.section-featured__image {
  overflow: hidden;
}

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

.section-featured__body {
  padding: 8px 0 8px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-featured__tag {
  font-size: 12px;
  margin-bottom: 10px;
}

.section-featured__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.section-featured__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 14px;
}

.section-featured__meta {
  font-size: 13px;
  color: var(--text-4);
}

@media (max-width: 768px) {
  .section-featured__link {
    grid-template-columns: 1fr;
  }

  .section-featured__image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .section-featured__body {
    padding: 20px 0 0;
  }

  .section-featured__title {
    font-size: 24px;
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.stat-divider {
  height: 1px;
  background: var(--border-light);
  margin: 14px 0;
}

.popular-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.popular-list {
  list-style: none;
  padding: 0;
}

.popular-list li {
  padding: 5px 0;
}

.popular-list a {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.popular-list a:hover {
  text-decoration: none;
}

/* Featured card (section hub) */
.featured-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s;
}

.featured-card:hover {
  border-color: #bbb;
}

.featured-card a {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.featured-card__image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.featured-card__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.featured-card__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.featured-card a:hover .featured-card__title {
  color: var(--accent);
}

.featured-card__excerpt {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 12px;
}

.featured-card__meta {
  font-size: 13px;
  color: var(--text-4);
}

/* Article grid (section hub) */
.grid-section {
  padding: 32px 0 40px;
}

.grid-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Grid card (section hub article grid) */
.grid-card {
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
}

.grid-card:hover {
  border-color: #bbb;
}

.grid-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid-card a:hover {
  text-decoration: none;
}

.grid-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.grid-card__body {
  padding: 18px 20px 20px;
  border-top: 3px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grid-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.grid-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}

.grid-card a:hover .grid-card__title {
  color: var(--accent);
}

.grid-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 10px;
}

.grid-card__meta {
  font-size: 13px;
  color: var(--text-4);
  margin-top: auto;
}

/* Ad card in grid */
.grid-ad-card {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.grid-ad-card .ad-slot {
  flex: 1;
  min-height: 250px;
}

/* Browse sections / pills */
.browse-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.browse-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-pill {
  display: inline-block;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s;
}

.section-pill:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* Outlined variant (section-dvd style) */
.section-pill--outline {
  background: transparent;
  border: 1.5px solid var(--pill-c);
  color: var(--pill-c);
  transition: background 0.15s, color 0.15s;
}

.section-pill--outline:hover {
  background: var(--pill-c);
  color: #fff;
  opacity: 1;
}

/* ----------------------------------------------------------
   15. Email Capture
   ---------------------------------------------------------- */
.email-capture {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.email-section {
  padding: 0 0 40px;
}

.email-inner {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 28px 24px;
}

.email-inner h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text);
}

.email-inner p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 16px;
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: inherit;
}

.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.email-form button {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.email-form button:hover {
  background: #333;
}

.email-form__consent {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-4);
  width: 100%;
}

.email-form__consent a {
  color: var(--text-2);
  text-decoration: underline;
}

/* ----------------------------------------------------------
   16. Ad Slots
   ---------------------------------------------------------- */
.ad-slot {
  border: 2px dashed var(--border);
  background: #fafafa;
  text-align: center;
  color: #bbb;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot--inline {
  height: 250px;
  margin: 28px 0;
}

.ad-slot--leaderboard {
  height: 90px;
}

.ad-slot--sidebar {
  height: 250px;
}

/* Ad wrapper — content-width (article pages) */
.ad-slot-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 32px;
}

.ad-slot-wrap .ad-slot {
  height: 90px;
}

/* Ad wrapper — full-width (section hubs) */
.ad-slot-wrap--full {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px;
}

.ad-slot-wrap--full .ad-slot {
  height: 90px;
}

/* ----------------------------------------------------------
   17. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-sans);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #a50000;
}

.btn-secondary {
  background: var(--text);
  color: #fff;
}

.btn-secondary:hover {
  background: #333;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* ----------------------------------------------------------
   18. Footer
   ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-4);
  background: #fff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-3);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

/* ----------------------------------------------------------
   19. Cookie Banner
   ---------------------------------------------------------- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: #fff;
  padding: 16px 20px;
  z-index: 9999;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__actions button {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.cookie-banner__accept {
  background: #fff;
  color: var(--text);
}

.cookie-banner__accept:hover {
  background: #e0e0e0;
}

.cookie-banner__settings {
  background: transparent;
  color: #ccc;
  border: 1px solid #666 !important;
}

.cookie-banner__settings:hover {
  background: rgba(255,255,255,0.1);
}

/* ----------------------------------------------------------
   20. Responsive — Mobile (max-width: 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  /* Nav */
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  /* Magazine grid */
  .magazine-top {
    grid-template-columns: 1fr;
  }

  /* Reset the desktop named-area grid: stack feature → wciw → promo */
  .magazine-top--with-promo {
    grid-template-rows: auto;
    grid-template-areas:
      "feature"
      "wciw"
      "promo";
  }

  .card--large .card__image {
    height: 220px;
  }

  .card--large .card__title {
    font-size: 24px;
  }

  .magazine-mid {
    grid-template-columns: 1fr;
  }

  .magazine-bottom {
    grid-template-columns: 1fr;
  }

  /* Bottom section */
  .bottom-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Article page */
  .article-title {
    font-size: 28px;
  }

  .article-standfirst {
    font-size: 17px;
  }

  .byline {
    flex-wrap: wrap;
  }

  /* Email */
  .email-form {
    flex-direction: column;
  }

  .email-form button {
    width: 100%;
  }

  /* Section hub */
  .section-hero__inner {
    flex-direction: column;
    gap: 20px;
  }

  .section-hero__sidebar {
    width: 100%;
  }

  .section-hero__title {
    font-size: 28px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card__image {
    min-height: 200px;
  }

  .featured-card__body {
    padding: 20px;
  }

  .featured-card__title {
    font-size: 24px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  /* Section hub featured (section-dvd style) */
  .sh-featured {
    grid-template-columns: 1fr !important;
  }

  .sh-featured > div:last-child {
    padding: 16px 0 0 !important;
  }

  /* Page layout */
  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-layout__sidebar {
    display: none;
  }

  /* Section pills */
  .section-pills {
    gap: 8px;
  }

  .section-pill {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Ad slots */
  .ad-slot--inline {
    height: 200px;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Article sidebar layout — stack sidebar below article on mobile */
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-sidebar {
    position: static;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid var(--border);
  }
}

/* ----------------------------------------------------------
   20b. Responsive — Tablet (769px–1024px)
   ---------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .magazine-mid {
    grid-template-columns: 1fr 1fr;
  }

  .magazine-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-hero__sidebar {
    width: 220px;
  }
}

/* ----------------------------------------------------------
   21. Print Styles
   ---------------------------------------------------------- */
@media print {
  .site-header,
  .site-nav,
  .header-search-link,
  .nav-toggle,
  .mobile-menu,
  .top-stripe,
  .site-footer,
  .ad-slot,
  .ad-slot-wrap,
  .ad-slot-wrap--full,
  .ad-slot--inline,
  .ad-slot--leaderboard,
  .ad-slot--sidebar,
  .grid-ad-card,
  .cookie-banner,
  .email-capture,
  .email-section,
  .toc-box,
  .cta-box {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .article-title {
    font-size: 24pt;
  }

  .article-body {
    max-width: 100%;
    padding: 0;
  }

  .breadcrumbs {
    max-width: 100%;
    padding: 0;
  }

  .article-header {
    max-width: 100%;
    padding: 0;
  }

  .article-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-sidebar {
    position: static;
    padding-top: 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 20px;
  }
}
