/* ==========================================================================
   B2C Buzz — Trending News, Trusted Insights
   Core stylesheet
   ========================================================================== */

:root {
  /* Brand palette (sampled from b2cbuzz.com) */
  --blue: #15499d;
  --blue-dark: #0f3573;
  --blue-soft: #eaf0fa;
  --orange: #fe7743;
  --orange-dark: #e85f2b;
  --orange-soft: #fff1ea;
  --slate: #273f4f;
  --muted: #69727d;
  --grey: #929292;
  --cream: #efeeea;
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.06);
  --white: #fff;
  --ink: #1c2833;

  --shadow-sm: 0 1px 3px rgba(39, 63, 79, 0.08);
  --shadow: 0 6px 24px rgba(39, 63, 79, 0.1);
  --shadow-lg: 0 16px 48px rgba(39, 63, 79, 0.14);

  --radius: 10px;
  --radius-lg: 16px;
  /* Container width — stepped up on larger displays (see "Large displays"
     near the end of this file) so the layout uses the screen instead of
     sitting in a 1200px column with dead space either side. */
  --wrap: 1200px;
  --sidebar-w: 330px;
  --header-h: 76px;

  --font: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` (not `hidden`) contains the off-canvas nav without creating a
     scroll container, so `position: sticky` keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue); }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 54px 0; }
.section--tint { background: var(--cream); }
.section--blue { background: var(--blue); color: #fff; }

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

.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: 40px;
  align-items: start;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--orange { background: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
/* Icons inside buttons need an explicit size — an inline SVG with no
   width/height attribute otherwise falls back to its intrinsic size and
   renders enormous. Every other icon context already sets this. */
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }


/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--slate);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.topbar__links { display: flex; gap: 16px; }
.topbar__meta a:hover, .topbar a:hover { color: var(--orange); }
.socials { display: flex; align-items: center; gap: 6px; }
.socials a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background .18s ease, color .18s ease;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand lockup: the logo image already carries the "B2C BUZZ" wordmark, so
   the tagline sits beneath it rather than repeating the name in text. */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 0 0 auto;
}
.brand__logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.brand--footer .brand__logo { height: 46px; }
.brand__text { line-height: 1.1; min-width: 0; }
.brand__tag {
  display: block;
  font-size: .62rem; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
  white-space: nowrap;
  line-height: 1.2;
}

/* ---------- Primary nav ---------- */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 1px; }
.nav__only-mobile { display: none; }
.nav__list > li > a {
  display: block;
  padding: 10px 11px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--slate);
  border-radius: 6px;
  white-space: nowrap;
}
.nav__list > li > a span { font-size: .7em; opacity: .6; }
.nav__list > li > a:hover { color: var(--blue); background: var(--blue-soft); }
.nav__list > li > a.is-active { color: var(--blue); }
.nav__list > li > a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.has-sub { position: relative; }
.sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 500;
}
.sub a:hover { background: var(--blue-soft); color: var(--blue); }
.sub a b { color: var(--grey); font-weight: 600; font-size: .78rem; }

.header__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all .18s ease;
}
.icon-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle { display: none; }

/* ---------- Search drawer ---------- */
.searchbar {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding: 16px 0;
}
.searchbar.is-open { display: block; }
.searchbar form { display: flex; gap: 10px; }
.searchbar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.searchbar input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ==========================================================================
   Breaking ticker
   ========================================================================== */
.ticker {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.ticker .wrap { display: flex; align-items: center; gap: 0; min-height: 46px; }
.ticker__label {
  background: var(--orange);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 4px;
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
}
.ticker__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* min-width:0 lets the flex item shrink below its content width so the
   marquee clips instead of stretching the page. */
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; margin-left: 16px; }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { font-size: .9rem; color: rgba(255, 255, 255, .95); white-space: nowrap; }
.ticker__track a:hover { color: #fff; text-decoration: underline; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards + thumbnails
   ========================================================================== */
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .9);
}
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .22), transparent 55%);
}
.thumb__initials {
  position: relative; z-index: 1;
  font-size: 1.5rem; font-weight: 800; letter-spacing: .06em;
  opacity: .85;
}
/* A real featured image sits above the gradient placeholder. */
.thumb img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}

.chip {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.chip--blue { background: var(--blue); }
.chip--ghost { background: var(--blue-soft); color: var(--blue); }
.chip--float { position: absolute; top: 12px; left: 12px; z-index: 2; }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--grey);
}
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 13px; height: 13px; fill: currentColor; opacity: .8; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* Standard vertical card */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  transition: transform .22s ease;
}
.card:hover { transform: translateY(-4px); }
.card:hover .card__title a { color: var(--blue); }
.card__body { display: flex; flex-direction: column; gap: 8px; }
.card__title { font-size: 1.02rem; margin: 0; line-height: 1.4; }
.card__excerpt {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card--boxed {
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

/* Horizontal list card */
.card-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.card-row .thumb { aspect-ratio: 1 / 1; border-radius: 8px; }
.card-row h3 {
  font-size: .95rem;
  margin: 0 0 6px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-row:hover h3 a { color: var(--blue); }

/* Numbered trending card */
.card-rank { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.card-rank__no {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  opacity: .9;
}
.card-rank h3 { font-size: .93rem; margin: 0 0 5px; line-height: 1.4; }

/* ==========================================================================
   Market hero — dark premium, animated growth chart
   ========================================================================== */
.mhero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(21, 73, 157, .55), transparent 62%),
    radial-gradient(620px 420px at 12% 88%, rgba(254, 119, 67, .18), transparent 60%),
    linear-gradient(160deg, #0b1721 0%, #10222f 45%, #0a1620 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 86px) 0 clamp(52px, 7vw, 92px);
}

/* Faint technical grid */
.mhero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 100%);
}
/* Soft vignette so the news content below reads as a separate surface */
.mhero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -2;
  background: linear-gradient(to bottom, transparent, rgba(8, 18, 26, .65));
}

.mhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

/* ---------- Copy column ---------- */
.mhero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 22px;
}
.mhero__eyebrow b {
  display: inline-grid; place-items: center;
  padding: 3px 9px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
}

.mhero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.mhero h1 .accent {
  background: linear-gradient(96deg, var(--orange) 10%, #ffb38a 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mhero__lede {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 52ch;
  margin: 0 0 30px;
}
.mhero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.mhero__cta .btn { padding: 14px 26px; font-size: .96rem; }
.mhero__cta .btn--orange { box-shadow: 0 10px 30px rgba(254, 119, 67, .34); }
.mhero__cta .btn--glass {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(8px);
}
.mhero__cta .btn--glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Inline KPI strip under the CTAs */
.mhero__kpis {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3.4vw, 42px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mhero__kpi b {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.mhero__kpi span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .58);
  letter-spacing: .04em;
}

/* ---------- Chart column ---------- */
.mhero__viz { position: relative; }
.mhero__panel {
  position: relative;
  border-radius: 20px;
  padding: 22px 22px 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(3, 10, 16, .5);
  backdrop-filter: blur(10px);
}
.mhero__panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 6px;
}
.mhero__panel-head strong { font-size: .95rem; font-weight: 700; }
.mhero__panel-head span { font-size: .74rem; color: rgba(255, 255, 255, .55); }
.mhero__delta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(52, 199, 123, .16);
  border: 1px solid rgba(52, 199, 123, .34);
  color: #6ee7a8; font-size: .8rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mhero__chart { display: block; width: 100%; height: auto; overflow: visible; }

/* Line draw */
.mhero__line {
  fill: none;
  stroke: url(#mhLine);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#mhGlow);
  stroke-dasharray: var(--len, 1400);
  stroke-dashoffset: var(--len, 1400);
}
.mhero__area { fill: url(#mhArea); opacity: 0; }
.mhero__gridline { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.mhero__node {
  fill: #0d1b26;
  stroke: var(--orange);
  stroke-width: 2.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.mhero__peak-halo { fill: rgba(254, 119, 67, .3); opacity: 0; transform-box: fill-box; transform-origin: center; }

/* Floating stat cards around the panel */
.mhero__card {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(14, 30, 41, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 16px 40px rgba(3, 10, 16, .5);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  opacity: 0;
}
.mhero__card i {
  width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(254, 119, 67, .18);
  color: var(--orange);
}
.mhero__card i svg { width: 16px; height: 16px; fill: currentColor; }
.mhero__card b {
  display: block; font-size: 1rem; font-weight: 800; line-height: 1.15;
  color: #fff; font-variant-numeric: tabular-nums;
}
.mhero__card span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .62); }
.mhero__card--a { top: -22px; right: 14px; }
.mhero__card--b { top: 42%; left: -34px; }
.mhero__card--c { bottom: -20px; right: 42px; }
.mhero__card--b i { background: rgba(96, 165, 250, .18); color: #7cb0ff; }
.mhero__card--c i { background: rgba(110, 231, 168, .16); color: #6ee7a8; }

/* Particles drifting up toward the chart */
.mhero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mhero__particles i {
  position: absolute;
  width: var(--s, 4px); height: var(--s, 4px);
  border-radius: 50%;
  background: var(--c, rgba(254, 119, 67, .7));
  box-shadow: 0 0 10px var(--c, rgba(254, 119, 67, .7));
  opacity: 0;
  animation: mhDrift var(--d, 9s) linear var(--delay, 0s) infinite;
}
@keyframes mhDrift {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); }
  12%  { opacity: .85; }
  75%  { opacity: .5; }
  100% { opacity: 0; transform: translate3d(var(--dx, 90px), var(--dy, -230px), 0) scale(1.1); }
}

/* ---------- Entrance timeline (added when .is-ready lands) ---------- */
.mhero__reveal { opacity: 0; transform: translateY(22px); }
.mhero.is-ready .mhero__reveal {
  animation: mhRise .78s cubic-bezier(.22, .8, .28, 1) var(--delay, 0s) both;
}
@keyframes mhRise {
  to { opacity: 1; transform: translateY(0); }
}

.mhero.is-ready .mhero__line { animation: mhDraw 1.9s cubic-bezier(.4, 0, .2, 1) .45s forwards; }
@keyframes mhDraw { to { stroke-dashoffset: 0; } }

.mhero.is-ready .mhero__area { animation: mhFade .9s ease 1.5s forwards; }
@keyframes mhFade { to { opacity: 1; } }

.mhero.is-ready .mhero__node { animation: mhPop .5s cubic-bezier(.34, 1.56, .64, 1) var(--delay, 0s) forwards; }
@keyframes mhPop {
  0%   { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

.mhero.is-ready .mhero__peak-halo { animation: mhPulse 2.4s ease-out 2.3s infinite; }
@keyframes mhPulse {
  0%   { opacity: .75; transform: scale(.55); }
  70%  { opacity: 0;   transform: scale(2.3); }
  100% { opacity: 0;   transform: scale(2.3); }
}

.mhero.is-ready .mhero__card {
  animation: mhCard .7s cubic-bezier(.22, .8, .28, 1) var(--delay, 0s) both,
             mhFloat 6s ease-in-out var(--float, 0s) infinite;
}
@keyframes mhCard {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mhFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .mhero__reveal,
  .mhero__card,
  .mhero__area,
  .mhero__node { opacity: 1 !important; transform: none !important; animation: none !important; }
  .mhero__line { stroke-dashoffset: 0 !important; animation: none !important; }
  .mhero__peak-halo,
  .mhero__particles { display: none; }
}

@media (max-width: 980px) {
  .mhero__grid { grid-template-columns: 1fr; gap: 46px; }
  .mhero__card--b { left: -14px; }
  .mhero__card--a { right: 0; }
}
@media (max-width: 620px) {
  .mhero { padding-top: 34px; }
  .mhero__grid { gap: 34px; }
  .mhero__lede { margin-bottom: 24px; }
  .mhero__cta { margin-bottom: 26px; gap: 10px; }
  .mhero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .mhero__kpis { gap: 18px 26px; padding-top: 20px; }
  .mhero__panel { padding: 18px 16px 12px; border-radius: 16px; }
  .mhero__card { padding: 9px 12px; border-radius: 11px; }
  .mhero__card b { font-size: .88rem; }
  .mhero__card span { font-size: .66rem; }
  .mhero__card i { width: 26px; height: 26px; }
  .mhero__card--a { top: -16px; right: -6px; }
  .mhero__card--b { top: auto; bottom: 64px; left: -8px; }
  .mhero__card--c { display: none; }
}

/* ==========================================================================
   News hero
   ========================================================================== */
.hero { padding: 34px 0 10px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
}
.hero__side { display: grid; grid-template-rows: repeat(2, 1fr); gap: 24px; }

.feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  color: #fff;
  isolation: isolate;
}
.feature--tall { min-height: 484px; }
.feature--alt { background: linear-gradient(135deg, var(--orange) 0%, #c2410c 100%); }
.feature--slate { background: linear-gradient(135deg, var(--slate) 0%, #14212b 100%); }
.feature::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 78% 12%, rgba(255, 255, 255, .2), transparent 58%);
}
/* Featured image behind the gradient scrim in hero cards. */
.feature__img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature__inner { padding: 26px; width: 100%; }
.feature__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9, 20, 28, .82) 8%, rgba(9, 20, 28, .1) 62%);
}
.feature h2, .feature h3 { color: #fff; margin: 10px 0 8px; }
.feature--tall h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.feature h3 { font-size: 1.08rem; }
.feature .meta { color: rgba(255, 255, 255, .8); }
.feature a:hover { color: var(--orange); }
.feature__excerpt {
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
  max-width: 60ch;
  margin: 0 0 10px;
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.sec-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 76px; height: 2px;
  background: var(--orange);
}
.sec-head h2 { margin: 0; }
.sec-head__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.sec-head__link:hover { color: var(--orange); gap: 9px; }
.sec-head__link svg { width: 14px; height: 14px; fill: currentColor; transition: transform .18s ease; }

.section--blue .sec-head { border-color: rgba(255, 255, 255, .22); }
.section--blue .sec-head h2 { color: #fff; }
.section--blue .sec-head__link { color: #fff; }

/* ==========================================================================
   Sidebar widgets
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.widget__title {
  font-size: 1rem;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.widget__title::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 44px; height: 2px; background: var(--orange);
}
.widget--tint { background: var(--cream); border-color: transparent; }

.cat-list li + li { border-top: 1px solid var(--line-soft); }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: .9rem;
  font-weight: 500;
}
.cat-list a:hover { color: var(--blue); padding-left: 5px; }
.cat-list .count {
  min-width: 30px;
  text-align: center;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 700;
}
.cat-list a:hover .count { background: var(--orange); color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
}
.tags a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Newsletter widget */
.newsbox {
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-align: center;
}
.newsbox h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.newsbox p { font-size: .86rem; color: rgba(255, 255, 255, .82); margin-bottom: 14px; }
.newsbox input {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 6px;
  margin-bottom: 10px;
}
.newsbox input:focus { outline: 2px solid var(--orange); }
.newsbox .note { font-size: .74rem; margin: 10px 0 0; opacity: .7; }

/* ==========================================================================
   Newsletter strip
   ========================================================================== */
.newsletter-strip {
  background: var(--slate);
  color: #fff;
  padding: 44px 0;
}
.newsletter-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-strip h2 { color: #fff; margin-bottom: 4px; }
.newsletter-strip p { color: rgba(255, 255, 255, .75); margin: 0; font-size: .93rem; }
.newsletter-strip form { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 520px; }
.newsletter-strip input {
  flex: 1;
  padding: 13px 16px;
  border: 0;
  border-radius: 6px;
}
.newsletter-strip input:focus { outline: 2px solid var(--orange); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, .74); font-size: .9rem; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: var(--orange); }
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 52px 0 40px;
}
.footer__main h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__main li + li { margin-top: 9px; }
.footer__about p { font-size: .88rem; line-height: 1.7; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255, 255, 255, .55); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem;
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-head {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.page-head h1 { margin: 6px 0 6px; }
.page-head p { color: var(--muted); margin: 0; max-width: 70ch; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--grey); flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); }

/* Standalone breadcrumb bar — mirrors the BreadcrumbList JSON-LD */
.breadcrumbs {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  font-size: .82rem;
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 0; margin: 0; list-style: none;
}
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li[aria-current="page"] { color: var(--slate); font-weight: 600; }
.breadcrumbs .sep { color: var(--grey); opacity: .6; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs a:hover { color: var(--orange); text-decoration: underline; }
/* The bar sits directly under the page-head on pages that have both. */
.breadcrumbs + .page-head { border-top: 0; }

/* ==========================================================================
   Article (single post)
   ========================================================================== */
.article { max-width: 100%; }
.article__hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .75);
  font-weight: 700; letter-spacing: .1em;
}
.article__body { font-size: 1.03rem; line-height: 1.85; color: #37424d; }
.article__body h2 { margin: 2em 0 .6em; font-size: 1.45rem; }
.article__body h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.article__body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2rem; }
.article__body ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1.2rem; }
.article__body li { margin-bottom: .5em; }
.article__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--orange);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.06rem;
  font-style: italic;
  color: var(--slate);
}
.article__body blockquote p:last-child { margin: 0; }
.article__body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .93rem; }
.article__body th, .article__body td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.article__body th { background: var(--blue-soft); color: var(--blue); font-weight: 700; }

.byline {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  margin: 0 0 22px;
  border-block: 1px solid var(--line);
}
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; flex: 0 0 auto;
}
.byline__name { font-weight: 700; font-size: .95rem; }

.share { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.share a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--slate);
}
.share a:hover { background: var(--blue); color: #fff; }
.share svg { width: 15px; height: 15px; fill: currentColor; }

/* ==========================================================================
   Category / archive grid
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
}
.filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .9rem; font-weight: 600;
  padding-inline: 12px;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

.empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ==========================================================================
   Category tiles (all-categories overview)
   ========================================================================== */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 118px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.cat-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .22), transparent 60%);
}
.cat-tile strong { position: relative; font-size: 1.02rem; }
.cat-tile span { position: relative; font-size: .8rem; opacity: .85; }

/* ==========================================================================
   EMI calculator
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.calc > * { min-width: 0; }
.field { margin-bottom: 22px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.field label { font-weight: 600; font-size: .92rem; }
.field__val {
  font-weight: 700; color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 12px; border-radius: 6px; font-size: .92rem;
}
.field input[type="range"] { width: 100%; accent-color: var(--blue); }
.field__scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--grey); margin-top: 4px; }
.field input[type="number"] {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 6px;
}

.result {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.result__hero { background: linear-gradient(140deg, var(--blue), var(--blue-dark)); color: #fff; padding: 26px 22px; text-align: center; }
.result__hero small { display: block; font-size: .8rem; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.result__hero strong { display: block; font-size: 2.1rem; font-weight: 800; margin-top: 4px; }
.result__rows { padding: 8px 22px 20px; }
.result__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.result__row:last-child { border-bottom: 0; font-weight: 700; color: var(--blue); }
.donut { display: grid; place-items: center; padding: 18px 0 4px; }
.legend { display: flex; justify-content: center; gap: 18px; font-size: .8rem; padding-bottom: 16px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* ==========================================================================
   Contact / about
   ========================================================================== */
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ico {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.info-card .ico svg { width: 22px; height: 22px; fill: currentColor; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .9rem; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field .optional { font-weight: 400; color: var(--grey); font-size: .82em; }
.field-hint { margin: 5px 0 0; font-size: .78rem; color: var(--grey); }

/* Server-side validation feedback */
.field-error {
  margin: 6px 0 0;
  font-size: .8rem;
  font-weight: 600;
  color: #c2410c;
}
[aria-invalid="true"] { border-color: #e07a5a !important; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }

.note-banner {
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--slate);
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 120%);
  background: var(--slate);
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  z-index: 200;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Large displays

   The layout was capped at 1200px, which left ~350px of dead space either
   side on a 1920px monitor. The container now steps up with the viewport.
   Type scales a little too, so a wider column does not just mean more
   whitespace around the same small text.
   ========================================================================== */
@media (min-width: 1400px) {
  :root {
    --wrap: 1320px;
    --sidebar-w: 340px;
  }
}

@media (min-width: 1650px) {
  :root {
    --wrap: 1480px;
    --sidebar-w: 360px;
  }
  body { font-size: 16.5px; }
  .section { padding: 62px 0; }
}

@media (min-width: 1900px) {
  :root {
    --wrap: 1600px;
    --sidebar-w: 380px;
  }
  body { font-size: 17px; }
  .section { padding: 68px 0; }
  .hero { padding: 42px 0 10px; }
  .feature--tall { min-height: 540px; }
}

@media (min-width: 2400px) {
  :root { --wrap: 1760px; }
}

/* A wide main column must not produce over-long lines. Article prose keeps a
   comfortable measure (~70–75 characters) regardless of container width;
   figures, tables and callouts still span the full column. */
.article__body > *:not(figure):not(table):not(.note-banner):not(div) {
  max-width: 66ch;
}
.article__body > div[style*="overflow-x"] { max-width: 100%; }
.page-head p { max-width: 88ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .nav__list > li > a { padding: 10px 8px; font-size: .82rem; }
  .brand__tag { display: none; }
}

@media (max-width: 1120px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .footer__main { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }

  /* Below this width the full category bar can no longer fit, so the whole
     menu moves off-canvas behind the hamburger. */
  .nav-toggle { display: grid; }
  .nav__list > li > a { font-size: .95rem; }
  .brand__tag { display: block; }
  .nav__only-mobile { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, .16);
    padding: 76px 18px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 120;
    margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a { padding: 12px 14px; font-size: .95rem; }
  .nav__list > li > a.is-active::after { display: none; }
  .sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    padding: 0 0 6px 12px;
    display: none;
  }
  .has-sub.is-open .sub { display: block; }
  .header__tools { margin-left: auto; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(9, 20, 28, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .28s ease;
    z-index: 110;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .feature--tall { min-height: 340px; }
  .hero__side { grid-template-rows: auto; }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .calc { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .topbar__meta .hide-sm { display: none; }
  .topbar__links { display: none; }
  /* Home-page category blocks stack instead of splitting lead + list. */
  .section .grid[style*="1.1fr"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
  .section { padding: 38px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr; padding: 38px 0 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 12px; }
  .brand__tag { display: none; }
  .brand__logo { height: 34px; }
  .brand--footer .brand__logo { height: 40px; }
  .topbar .wrap { flex-wrap: wrap; padding-block: 6px; row-gap: 4px; }
  .newsletter-strip form { min-width: 100%; }
  .newsletter-strip .wrap { gap: 20px; }
  .card-row { grid-template-columns: 92px minmax(0, 1fr); }
  .stat-row { gap: 14px; }
  .byline { flex-wrap: wrap; }
  .share { margin-left: 0; }
}

/* ==========================================================================
   Touch target sizes

   WCAG 2.5.8 asks for at least 24x24 CSS pixels on anything you tap, unless
   the link sits inline inside a sentence. The footer lists, the "View all"
   links and the top-bar links were all rendering around 19px tall on a phone
   — reachable with a mouse, fiddly with a thumb.

   Padding rather than font-size: the hit area grows, the design does not
   visibly change.
   ========================================================================== */
@media (max-width: 900px) {
  .footer ul li a,
  .topbar__links a,
  .footer__bottom nav a,
  .sec-head__link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding-block: 4px;
  }

  /* Spacing the rows out as well, so neighbouring targets are not adjacent
     enough to mis-tap. */
  .footer ul li + li { margin-top: 2px; }
}

@media print {
  .topbar, .site-header, .ticker, .sidebar, .site-footer, .to-top, .newsletter-strip { display: none !important; }
}
