/* ══════════════════════════════════════════════════════════════
   WINBOX RACING — NEWS / BLOG STYLES
   Loaded after winbox-racing.css (which supplies the colour vars,
   fonts, nav and mobile drawer).
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #05080f;   /* page background            */
  --surface:  #0a1220;   /* cards                      */
  --surface2: #0c1526;   /* raised cards               */
  --line:     rgba(255,255,255,.09);
  --line2:    rgba(255,255,255,.14);
  --muted:    #8b97a8;
  --muted2:   #c3cdda;
  --radius:   12px;
}

/* ── PAGE SHELL ─────────────────────────────────────────────── */
body.news {
  background: var(--ink);
  background-attachment: scroll;
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
}
body.news a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 90px;
}

.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;
}

/* Nav on news pages is always solid (no hero behind it) */
/* Frosted-glass header, matching about-us.php.
   The alpha has to stay low — a near-opaque background leaves the
   backdrop-filter with nothing to show through and the blur is wasted. */
body.news #nav {
  background: rgba(6, 10, 18, .5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
/* Slightly denser once content is scrolling underneath */
body.news #nav.sc {
  background: rgba(6, 10, 18, .62);
  border-bottom-color: rgba(0, 200, 240, .14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .34);
}

/* No backdrop-filter support → fall back to a solid bar so the nav
   never turns into unreadable transparent text. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.news #nav,
  body.news #nav.sc { background: rgba(6, 10, 18, .95); }
}

/* Touch devices: blur repaints on every scroll frame and janks badly,
   so keep the original decision to drop it and use a solid bar. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  body.news #nav,
  body.news #nav.sc {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 10, 18, .93);
  }
}
body.news .nav-link.active { color: var(--cyan); }
.nav-spacer { height: 74px; }

/* ── BREAKING NEWS STRIP ────────────────────────────────────── */
.breaking {
  --bk-bg:   #4cc3e6;   /* the solid band colour */
  --bk-dark: #062033;   /* category text        */
  display: flex;
  align-items: stretch;
  height: 42px;
  overflow: hidden;
  margin-bottom: 26px;
  /* fills the wedge the label's clip-path cuts away, so the slant reads
     as white-on-cyan rather than white-on-page-background */
  background: var(--bk-bg);
}
.breaking-label {
  flex: 0 0 auto;
  display: flex; align-items: center;
  background: #fff;
  padding: 0 30px 0 28px;
  /* slanted trailing edge — top edge runs longer than the bottom */
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.breaking-label span {
  font-family: var(--fb);
  font-size: 15px; font-weight: 700; font-style: italic;
  letter-spacing: .02em; text-transform: uppercase;
  color: #000;
}
.breaking-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--bk-bg);
  display: flex; align-items: center;
}
.breaking-track {
  display: flex;
  width: max-content;
  animation: bk-scroll 55s linear infinite;
}
.breaking:hover .breaking-track { animation-play-state: paused; }
.breaking-set { display: flex; align-items: center; }
@keyframes bk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bk-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px;
  white-space: nowrap;
}
.bk-cat {
  font-family: var(--fb);
  font-size: 13px; font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
}
.bk-title {
  font-family: var(--fb);
  font-size: 13px; font-weight: 500;
  color: var(--bk-dark);
}
.bk-item:hover .bk-title { text-decoration: underline; }

/* ── SHARED BITS ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fc);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.eyebrow.sm { font-size: 11px; margin-bottom: 0; }
.eyebrow-dash { width: 22px; height: 2px; background: var(--cyan); display: block; }

.chip {
  display: inline-block;
  font-family: var(--fc);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--cyan);
  color: #04141c;
  padding: 4px 9px;
  border-radius: 3px;
}

.meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.meta-row.tight { gap: 8px; }
.meta-date {
  font-family: var(--fc);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin: 62px 0 26px;
}
.sec-title {
  font-family: var(--fc);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700; letter-spacing: .005em;
  line-height: 1.05;
  color: #fff;
}
.more-link {
  font-family: var(--fc);
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .25s;
}
.more-link:hover { color: var(--cyan); }
.more-link span { font-size: 17px; line-height: 1; }

/* ── HERO GRID ──────────────────────────────────────────────── */
.hero-news {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 14px;
}
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 0; }

.hcard {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  isolation: isolate;
}
.hcard-main { aspect-ratio: 16 / 10; }
.hcard-sm   { min-height: 0; }

.hcard img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.hcard:hover img { transform: scale(1.045); }

.hcard-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,6,12,.95) 0%, rgba(3,6,12,.55) 38%, rgba(3,6,12,0) 72%);
}
.hcard-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.hcard-sm .hcard-body { padding: 18px; gap: 9px; }

.hcard-title {
  font-family: var(--fc);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .005em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.hcard-main .hcard-title { font-size: clamp(24px, 2.7vw, 36px); }
.hcard-sm   .hcard-title { font-size: clamp(16px, 1.35vw, 19px); }
.hcard:hover .hcard-title { color: var(--cyan); }

/* ── QUICK STRIP (4 across) ─────────────────────────────────── */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.scard {
  display: flex; gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  transition: border-color .25s, background .25s;
}
.scard:hover { border-color: rgba(0,200,240,.4); background: var(--surface2); }
.scard-thumb {
  flex: 0 0 74px; height: 62px;
  border-radius: 7px; overflow: hidden; background: #0d1522;
}
.scard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scard-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.scard-cat {
  font-family: var(--fc);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}
.scard-body h4 {
  font-family: var(--fb);
  font-size: 12.5px; font-weight: 600; line-height: 1.35;
  color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.scard:hover h4 { color: var(--cyan); }
.scard .meta-date { font-size: 10px; }

/* ── LATEST COVERAGE ────────────────────────────────────────── */
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}
/* Not enough posts to fill the numbered list — one column, so the feature
   card uses the whole row instead of sitting beside an empty half. */
.coverage-grid-solo { grid-template-columns: minmax(0, 1fr); }
.feature-card { display: block; }
.feature-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.feature-card:hover .feature-img img { transform: scale(1.04); }
.feature-body { padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.feature-body .meta-row { justify-content: flex-start; gap: 18px; }
.feature-body h3 {
  font-family: var(--fc);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 700; line-height: 1.18; color: #fff;
}
.feature-card:hover h3 { color: var(--cyan); }

/* Numbered rank list */
.rank-list { list-style: none; }
.rank-list li { border-bottom: 1px solid var(--line); }
.rank-list li:first-child { border-top: 1px solid var(--line); }
.rank-list a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: 17px 4px;
  transition: background .25s;
}
.rank-list a:hover { background: rgba(255,255,255,.025); }
.rank-num {
  font-family: var(--fc);
  font-size: 21px; font-weight: 700;
  color: var(--cyan);
  letter-spacing: .02em;
}
.rank-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rank-title {
  font-family: var(--fb);
  font-size: 14.5px; font-weight: 600; line-height: 1.4; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-list a:hover .rank-title { color: var(--cyan); }
.rank-arrow {
  color: var(--cyan); font-size: 16px;
  opacity: .55; transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.rank-list a:hover .rank-arrow { opacity: 1; transform: translateX(0); }

/* ── ARCHIVE GRID ───────────────────────────────────────────── */
.archive-head { margin-top: 8px; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.cat-pill {
  font-family: var(--fc);
  font-size: 12px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px;
  transition: all .22s;
}
.cat-pill:hover { border-color: rgba(0,200,240,.45); color: #fff; }
.cat-pill.on { background: var(--cyan); border-color: var(--cyan); color: #04141c; }

.search-box { display: flex; align-items: center; gap: 0; }
.search-box input {
  background: var(--surface); border: 1px solid var(--line);
  border-right: none; border-radius: 8px 0 0 8px;
  padding: 11px 15px; color: #fff; font-family: var(--fb); font-size: 14px;
  width: 240px;
}
.search-box input:focus { outline: none; border-color: rgba(0,200,240,.5); }
.search-box button {
  background: var(--cyan); border: none; border-radius: 0 8px 8px 0;
  padding: 0 14px; height: 41px; cursor: pointer;
}
.search-box button svg { width: 18px; height: 18px; fill: #04141c; display: block; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.gcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.gcard:hover { border-color: rgba(0,200,240,.42); transform: translateY(-3px); }
.gcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.gcard:hover .gcard-img img { transform: scale(1.05); }
.gcard-img .chip { position: absolute; top: 12px; left: 12px; }
.gcard-body { padding: 17px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.gcard-body h3 {
  font-family: var(--fc); font-size: 19px; font-weight: 700; line-height: 1.22; color: #fff;
}
.gcard:hover h3 { color: var(--cyan); }
.gcard-body p { font-size: 13.5px; line-height: 1.6; color: var(--muted); flex: 1; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a {
  min-width: 40px; text-align: center;
  font-family: var(--fc); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  padding: 9px 13px; border-radius: 7px;
  border: 1px solid var(--line); color: var(--muted2);
  transition: all .2s;
}
.pager a:hover { border-color: rgba(0,200,240,.5); color: #fff; }
.pager a.on { background: var(--cyan); border-color: var(--cyan); color: #04141c; }

/* ── SINGLE ARTICLE ─────────────────────────────────────────── */
.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
  margin: 4px 0 28px;
}
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: rgba(255,255,255,.3); }
.crumb-current { color: var(--muted2) !important; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 52px;
  align-items: start;
}

.article > .meta-row { margin-bottom: 16px; }
.article-title {
  font-family: var(--fc);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: .005em;
  color: #fff;
  margin-bottom: 16px;
}
.article-dek {
  font-size: 15.5px; line-height: 1.7; color: var(--muted);
  max-width: 62ch;
  margin-bottom: 24px;
}

.byline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.byline-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: var(--surface2);
  border: 1px solid var(--line2);
}
.byline-name { font-size: 14px; font-weight: 600; color: #fff; }
.byline-date { font-family: var(--fc); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

.share { display: flex; align-items: center; gap: 9px; }
.share-label {
  font-family: var(--fc); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-right: 3px;
}
.share-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: background .22s, border-color .22s;
}
.share-btn svg { width: 15px; height: 15px; fill: #fff; }
.share-btn:hover { background: var(--cyan); border-color: var(--cyan); }
.share-btn:hover svg { fill: #04141c; }
.share-btn.copied { background: #00e08a; border-color: #00e08a; }
.share-btn.copied svg { fill: #04141c; }

.article-hero { margin-bottom: 30px; }
.article-hero img {
  width: 100%;
  /* Required: the width/height attributes we emit for CLS would otherwise be
     taken as a presentational height and stretch the image to full size. */
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line); display: block;
}

/* Safety net for any image that gets width/height attributes but no
   explicit sizing rule of its own. */
img:not([class]):not(.avatar) { max-width: 100%; }
.article-hero figcaption {
  font-size: 12.5px; color: var(--muted); margin-top: 10px; font-style: italic;
}

/* Article body typography */
.article-body { font-size: 16.5px; line-height: 1.85; color: var(--muted2); max-width: 72ch; }
.article-body > * + * { margin-top: 22px; }
.article-body p { }
.article-body strong { color: #fff; font-weight: 600; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body h2, .article-body h3 {
  font-family: var(--fc); color: #fff; font-weight: 700; line-height: 1.2;
  margin-top: 38px;
}
.article-body h2 { font-size: 27px; }
.article-body h3 { font-size: 22px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

.article-body blockquote {
  position: relative;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px 24px 62px;
  margin: 30px 0;
}
.article-body blockquote::before {
  content: '\201C';
  position: absolute; left: 22px; top: 12px;
  font-family: Georgia, serif; font-size: 54px; line-height: 1;
  color: var(--cyan); opacity: .85;
}
.article-body blockquote p { font-size: 16px; line-height: 1.65; color: #fff; margin: 0; }
.article-body blockquote cite,
.article-body blockquote footer {
  display: block; margin-top: 14px;
  font-family: var(--fc); font-style: normal;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan);
}
.article-body blockquote cite::before { content: '— '; }

.tag-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 38px; }
.tag-label {
  font-family: var(--fc); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-right: 4px;
}
.tag {
  font-size: 12px; font-weight: 500;
  background: var(--surface2); border: 1px solid var(--line);
  color: var(--muted2);
  padding: 6px 12px; border-radius: 999px;
  transition: all .2s;
}
.tag:hover { border-color: var(--cyan); color: var(--cyan); }

.post-nav {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pn-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fc); font-size: 12.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  background: var(--surface2); border: 1px solid var(--line);
  color: var(--muted2);
  padding: 11px 20px; border-radius: 999px;
  transition: all .22s;
}
.pn-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.pn-next { margin-left: auto; }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 38px; position: sticky; top: 92px; }
.side-block .eyebrow { margin-bottom: 14px; }
.side-list { display: flex; flex-direction: column; }
.side-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: 13px; align-items: start;
  padding: 13px 8px 13px 8px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: background .22s, border-color .22s;
}
.side-item:hover { background: rgba(255,255,255,.03); border-color: var(--line); }
.side-thumb { aspect-ratio: 4 / 3; border-radius: 7px; overflow: hidden; background: var(--surface); }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.side-cat {
  font-family: var(--fc); font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--cyan);
}
.side-body h4 {
  font-family: var(--fb); font-size: 13.5px; font-weight: 600; line-height: 1.38; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.side-item:hover h4 { color: var(--cyan); }
.side-rank a { grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 12px; padding: 14px 4px; }
.side-rank .rank-num { font-size: 18px; }
.side-rank .rank-title { font-size: 13.5px; }

/* ── NEWSLETTER ─────────────────────────────────────────────── */
.newsletter-wrap { max-width: 1240px; margin: 0 auto 70px; padding: 0 28px; }
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(0,200,240,.16) 0%, rgba(0,200,240,0) 55%),
    linear-gradient(115deg, #0a1e3d 0%, #071328 55%, #050d1c 100%);
  border: 1px solid rgba(0,200,240,.38);
  border-radius: 14px;
  padding: 48px 52px;
  box-shadow: 0 0 60px rgba(0,200,240,.06) inset;
}
.newsletter-copy h2 {
  font-family: var(--fc);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; line-height: 1.08; color: #fff;
  margin-bottom: 14px;
}
.newsletter-copy p { font-size: 14.5px; line-height: 1.7; color: var(--muted2); max-width: 46ch; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  flex: 1 1 220px; min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 13px 20px;
  color: #fff; font-family: var(--fb); font-size: 14.5px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; border-color: var(--cyan); }
.newsletter-form button {
  background: var(--cyan); color: #04141c; border: none;
  border-radius: 999px; padding: 13px 30px;
  font-family: var(--fc); font-size: 14px; font-weight: 700;
  letter-spacing: .1em; cursor: pointer;
  transition: box-shadow .25s;
}
.newsletter-form button:hover { box-shadow: 0 0 26px rgba(0,200,240,.55); }
.nl-msg { flex: 1 0 100%; font-size: 13.5px; margin-top: 2px; }
.nl-msg.ok  { color: #6ff0bd; }
.nl-msg.bad { color: #ff8fa3; }

/* ── FOLLOW CTA (shown when NEWSLETTER_ENABLED is false) ── */
.social-cta { display: flex; flex-direction: column; gap: 12px; }
.social-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 22px; border-radius: 999px;
  font-family: var(--fc); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
}
.social-btn svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.social-btn span { flex: 1; }
/* Drawn, not typed. The old version used the U+2197 character, which
   phones substitute with the colour emoji from the system font — so the
   arrow looked nothing like the desktop one. An SVG renders identically
   everywhere and takes its colour from the button. */
.cta-arrow {
  width: 15px; height: 15px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2.1;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .55;
  transition: transform .22s, opacity .22s;
}
.social-btn:hover .cta-arrow { transform: translate(2px, -2px); opacity: 1; }

/* Instagram — the primary action */
.social-btn-ig {
  background: var(--cyan);
  color: #04141c;
  box-shadow: 0 6px 22px rgba(0,200,240,.22);
}
.social-btn-ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,200,240,.45);
}

/* YouTube — secondary */
.social-btn-yt {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.social-btn-yt:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.32);
}

@media (prefers-reduced-motion: reduce) {
  .social-btn, .cta-arrow { transition: none; }
  .social-btn:hover { transform: none; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 28px 30px;
  max-width: 1240px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 42px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.75; color: var(--muted); max-width: 42ch; }
.footer-brand .footer-tagline {
  margin-top: 12px;
  font-family: var(--fc);
  font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan);
}
.footer-col h4 {
  font-family: var(--fc); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 15px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: var(--muted);
  padding: 5px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12.5px; color: var(--muted);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }

/* ── EMPTY STATE ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 90px 20px;
  border: 1px dashed var(--line2);
  border-radius: 14px;
  background: var(--surface);
}
.empty-state h2 { font-family: var(--fc); font-size: 30px; color: #fff; margin-bottom: 10px; }
.empty-state p  { color: var(--muted); margin-bottom: 24px; }
.empty-state .btn-cyan-solid { display: inline-block; }

/* ── "Not translated yet" notice on an article ── */
.lang-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 22px; padding: 12px 16px;
  background: rgba(255,176,32,.07); border: 1px solid rgba(255,176,32,.28);
  border-radius: 8px;
  font-family: var(--fb); font-size: 13.5px; color: #e8c98a;
}
.lang-note svg { width: 17px; height: 17px; fill: #ffb020; flex: none; }
.lang-note a { color: var(--cyan); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .mnav-panel, .mnav-scrim { transition: none; }
}

/* ── Hero carousel dots (mobile only) ── */
.hero-dots { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
.hero-dot {
  width: 7px; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,.28);
  transition: width .28s ease, background .28s ease;
}
.hero-dot.on { width: 20px; background: var(--cyan); }

/* ══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; gap: 56px; }
  .sidebar { position: static; }
  .side-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .coverage-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .wrap, .newsletter-wrap, .site-footer { padding-left: 20px; padding-right: 20px; }
  .hero-news { grid-template-columns: 1fr; }
  .hcard-main { aspect-ratio: 16 / 11; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hcard-sm { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 34px 26px; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .sec-head { margin: 46px 0 20px; }
  .bk-item { padding: 0 20px; }
}

/* ══════════════════════════════════════════════════════════════
   PHONE  (Frames 10 & 13)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .wrap { padding-bottom: 60px; }
  .nav-spacer { height: 62px; }

  .breaking { height: 38px; }
  .breaking-label { padding: 0 24px 0 16px; }
  .breaking-label span { font-size: 13px; }
  .bk-cat, .bk-title { font-size: 12px; }

  /* ── Hero becomes a swipeable carousel ──
     display:contents dissolves .hero-side so all three cards become
     siblings in one scroll-snap row. */
  .hero-news {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-news::-webkit-scrollbar { display: none; }
  .hero-side { display: contents; }
  .hcard, .hcard-main, .hcard-sm {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 11;
  }
  .hcard-main .hcard-title, .hcard-sm .hcard-title { font-size: 20px; }
  .hcard-sm .hcard-body { padding: 20px; gap: 11px; }
  .hero-dots { display: flex; }

  /* ── Swipeable strip ──
     Three-across only works from about 620px up. On a real phone that
     leaves ~120px per card, which truncates every headline to two words,
     so below that the cards widen and the row scrolls instead. The clamp
     means a wider phone simply shows more of the next card. */
  .strip {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .strip::-webkit-scrollbar { display: none; }
  .scard {
    flex: 0 0 clamp(210px, 72vw, 262px);
    scroll-snap-align: start;
    gap: 11px;
    padding: 10px;
  }
  .scard-thumb { flex: 0 0 62px; height: 56px; border-radius: 6px; }
  .scard-cat { font-size: 9.5px; letter-spacing: .13em; }
  .scard-body { gap: 4px; justify-content: center; }
  .scard-body h4 { font-size: 13px; line-height: 1.35; -webkit-line-clamp: 2; }
  .scard .meta-date { font-size: 10px; }

  /* ── Article ── */
  .byline { align-items: flex-start; }
  .article-body { font-size: 16px; }
  .article-body blockquote { padding: 22px 20px 20px 20px; }
  .article-body blockquote::before { display: none; }
  .post-nav { flex-direction: row; }
  .pn-btn { flex: 1; justify-content: center; padding: 11px 14px; font-size: 11.5px; }

  /* Latest News stays two-up under the article (Frame 13) */
  .side-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .side-item { grid-template-columns: 1fr; gap: 9px; }
  .side-thumb { aspect-ratio: 16 / 10; }

  /* Footer keeps its three link columns */
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 11px; margin-bottom: 11px; }
  .footer-col a { font-size: 12.5px; padding: 4px 0; }
  .footer-bar { font-size: 11.5px; }
  .footer-legal { gap: 12px; }

  .search-box { width: 100%; }
  .search-box input { width: 100%; }
  .sec-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-track { animation: none; }
  .hcard img, .gcard-img img, .feature-img img { transition: none; }
}
