:root {
  --brand: #2457d6;
  --brand-bright: #1764ee;
  --brand-dark: #183d9a;
  --red: #ed1c24;
  --ink: #071536;
  --muted: #62738e;
  --line: #dbe7f4;
  --ice: #edf7ff;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(45, 91, 157, 0.12);
  --radius: 14px;
  --container: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(33, 79, 159, 0.12);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--container), calc(100% - 64px));
  min-height: 74px;
  margin: auto;
  display: grid;
  grid-template-columns: 230px 1fr 48px;
  align-items: stretch;
  gap: 22px;
}
.brand { display: flex; align-items: center; width: 205px; padding: 7px 0; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(18px, 2.5vw, 48px); }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-bright);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand); }
.search-toggle, .menu-toggle, .search-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.search-toggle { display: grid; place-items: center; }
.search-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  border-radius: 2px;
  background: var(--ink);
  transform: rotate(45deg);
}
.menu-toggle { display: none; width: 44px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero {
  --hero-image: url("../images/gr86-hero-v2.png");
  position: relative;
  min-height: 610px;
  overflow: hidden;
  isolation: isolate;
  background-color: #050b15;
  background-image: linear-gradient(90deg, rgba(3, 9, 19, 0.98) 0%, rgba(3, 9, 19, 0.94) 34%, rgba(3, 9, 19, 0.72) 53%, rgba(3, 9, 19, 0.12) 82%), linear-gradient(0deg, rgba(2, 7, 16, 0.72) 0%, transparent 46%), var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 68% 52%;
  transition: background-image 0.45s ease;
  border-bottom: 4px solid var(--brand-bright);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -4px;
  width: min(42vw, 620px);
  height: 8px;
  background: var(--red);
  clip-path: polygon(0 0, 96% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -20%;
  bottom: -20%;
  left: 53%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(92, 157, 255, 0.7), transparent);
  transform: rotate(17deg);
  pointer-events: none;
}
.hero-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at 72% 74%, rgba(24, 103, 238, 0.18), transparent 26%), repeating-linear-gradient(90deg, transparent 0, transparent 119px, rgba(255, 255, 255, 0.025) 120px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(var(--container), calc(100% - 64px));
  margin: auto;
  padding: 92px 0 118px;
}
.eyebrow { display: flex; align-items: center; gap: 15px; color: #a9bad0; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow span { color: #6da0ff; font-weight: 600; }
.eyebrow i { width: 32px; height: 2px; background: var(--red); }
.hero-sponsor-logo { display: block; width: clamp(190px, 18vw, 270px); height: auto; margin-top: 28px; padding: 12px 16px; border-radius: 4px; background: rgba(255,255,255,.96); box-shadow: 0 16px 38px rgba(0,0,0,.24); }
.hero h1 { max-width: 780px; margin: 25px 0 0; color: #fff; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: clamp(54px, 5.2vw, 78px); font-weight: 700; line-height: 0.94; letter-spacing: -0.025em; text-wrap: balance; text-shadow: 0 8px 30px rgba(0, 0, 0, 0.32); }
.hero-copy > .primary-button { margin-top: 31px; }
.hero-copy > p { max-width: 510px; margin: 0 0 32px; color: #bac9dc; font-size: 15px; line-height: 1.7; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid #4c89f8;
  border-radius: 3px;
  color: #fff;
  background: #1f64e8;
  box-shadow: 0 12px 30px rgba(5, 39, 100, 0.38);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); background: #2d73f2; box-shadow: 0 16px 34px rgba(5, 39, 100, 0.52); }
.race-briefs {
  position: absolute;
  z-index: 3;
  top: 38px;
  right: max(5vw, calc((100vw - var(--container)) / 2));
  display: grid;
  width: 238px;
  border: 1px solid rgba(134, 164, 204, 0.34);
  border-left: 3px solid var(--brand-bright);
  border-radius: 3px;
  background: rgba(4, 13, 27, 0.86);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.race-briefs.is-updating { opacity: 0.4; transform: translateY(-3px); }
.brief { min-width: 0; padding: 13px 15px; border-right: 0; border-bottom: 1px solid rgba(134, 164, 204, 0.2); }
.brief:last-child { border-bottom: 0; }
.brief span, .fastest-lap span { display: block; color: #7790af; font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.brief strong { display: block; margin-top: 3px; color: #f5f8fd; font-size: 14px; }
.brief small { color: #94a8c2; font-size: 9px; }
.fastest-lap {
  position: absolute;
  z-index: 3;
  right: max(5vw, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  width: 238px;
  padding: 15px 17px;
  border-top: 2px solid var(--red);
  border-radius: 2px;
  background: rgba(4, 13, 27, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}
.fastest-lap strong { display: block; margin: 3px 0; color: #72a5ff; font-family: "IBM Plex Mono", monospace; font-size: 20px; }
.fastest-lap small { display: block; color: #97a9c0; font-size: 9px; text-transform: uppercase; }

.news-shell {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
}
.news-main { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.section-heading span { display: none; color: var(--brand); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) repeat(3, minmax(0, 0.78fr));
  gap: 14px;
}
.article-grid.filtered-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { overflow: hidden; border: 1px solid #dfe8f1; border-radius: 11px; background: var(--surface); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-image { position: relative; display: block; height: 160px; overflow: hidden; background: var(--ice); }
.story-card-featured .story-image { height: 209px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.story-card:hover .story-image img { transform: scale(1.035); }
.story-image span { position: absolute; top: 14px; left: 14px; padding: 4px 9px; border-radius: 5px; color: #fff; background: var(--brand-bright); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.story-body { min-height: 205px; padding: 14px 14px 13px; display: flex; flex-direction: column; }
.story-card-featured .story-body { min-height: 164px; padding: 16px 18px 14px; }
.story-body h3 { margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: -0.025em; }
.story-card-featured h3 { font-size: 19px; }
.story-body h3 a::after { content: ""; position: absolute; inset: 0; }
.story-card { position: relative; }
.story-body p { margin: 12px 0; color: var(--muted); font-size: 11px; }
.story-meta { display: flex; align-items: center; gap: 9px; margin-top: auto; color: #6b7b94; font-size: 9px; }
.story-meta i { width: 1px; height: 11px; background: #cbd7e5; }
.story-meta span { color: var(--brand); }
.news-sidebar { padding-left: 20px; border-left: 1px solid var(--line); }
.sidebar-block { margin-bottom: 23px; }
.sidebar-block h2, .article-side-block h2 { margin: 0 0 10px; color: var(--brand); font-size: 13px; text-transform: uppercase; }
.recommended-list { display: grid; gap: 0; }
.compact-story { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compact-story:first-child { padding-top: 0; }
.compact-story img { width: 105px; height: 70px; border-radius: 7px; object-fit: cover; }
.compact-story > span { min-width: 0; }
.compact-story strong { display: block; font-size: 11px; line-height: 1.35; }
.compact-story small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.compact-story time { display: block; margin-top: 5px; color: #8391a6; font-size: 8px; }
.compact-story:hover strong { color: var(--brand); }
.next-block { padding-top: 3px; }
.next-card { display: grid; grid-template-columns: 128px 1fr; gap: 12px; overflow: hidden; padding: 8px; border: 1px solid #dbe7f5; border-radius: 11px; background: #f9fcff; }
.next-card img { width: 128px; height: 94px; border-radius: 7px; object-fit: cover; }
.next-card > span { display: flex; flex-direction: column; justify-content: center; }
.next-card strong { font-size: 11px; line-height: 1.3; }
.next-card small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.next-card b { margin-top: 7px; color: var(--brand); font-size: 10px; }
.next-card i { margin-left: 12px; font-style: normal; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed #bfd0e3; border-radius: var(--radius); background: var(--ice); }
.empty-state h3 { margin: 0 0 7px; }
.empty-state p { margin: 0; color: var(--muted); }

.category-feed {
  padding: 66px 0 92px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 9%, #ffffff 100%);
}
.category-feed > * { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.category-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding-bottom: 48px; }
.category-intro span { grid-column: 1 / -1; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.category-intro h2 { max-width: 650px; margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.05; letter-spacing: -0.045em; }
.category-intro p { max-width: 480px; margin: 0 0 5px auto; color: var(--muted); font-size: 14px; }
.category-section { scroll-margin-top: 92px; padding: 42px 0 50px; border-top: 1px solid var(--line); }
.category-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.category-head span { color: var(--brand); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.category-head h2 { margin: 3px 0 0; font-size: 28px; letter-spacing: -0.03em; }
.category-head > a { padding-bottom: 5px; color: var(--brand); font-size: 11px; font-weight: 600; }
.category-head > a b { margin-left: 10px; }
.category-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.9fr); gap: 34px; }
.category-grid > .story-card { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 310px; }
.category-grid > .story-card .story-image { height: 100%; min-height: 310px; }
.category-grid > .story-card .story-body { min-height: 0; padding: 26px; justify-content: center; }
.category-grid > .story-card h3 { font-size: clamp(21px, 2vw, 30px); line-height: 1.18; }
.category-grid > .story-card p { font-size: 12px; line-height: 1.6; }
.category-list { display: grid; align-content: start; }
.category-list .compact-story { grid-template-columns: 142px 1fr; padding: 13px 0; }
.category-list .compact-story:first-child { padding-top: 0; }
.category-list .compact-story img { width: 142px; height: 84px; }
.category-list .compact-story strong { font-size: 13px; }
.category-section-alt .category-grid > .story-card { grid-template-columns: 0.85fr 1.15fr; }
.category-section-alt .category-grid > .story-card .story-image { order: 2; }

/* GOD55-inspired category rails, refined for the WOW88 design system */
.category-section {
  opacity: 0;
  transform: translateY(36px);
  padding: 18px 0;
  border-top: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.category-section.is-visible { opacity: 1; transform: translateY(0); }
.category-surface {
  position: relative;
  overflow: hidden;
  padding: 38px 34px 30px;
  border: 1px solid rgba(109, 157, 229, 0.2);
  border-radius: 30px 30px 9px 9px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(38, 103, 229, 0.3), transparent 28%),
    linear-gradient(145deg, #071536 0%, #0a1d43 58%, #0d2b62 100%);
  box-shadow: 0 28px 65px rgba(7, 21, 54, 0.16);
}
.category-surface::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  width: 118px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-bright), var(--red));
}
.category-surface::after {
  content: "88";
  position: absolute;
  right: -18px;
  bottom: -74px;
  color: rgba(255, 255, 255, 0.025);
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}
.category-section-alt .category-surface {
  color: var(--ink);
  border-color: #d7e6f6;
  background:
    radial-gradient(circle at 86% 8%, rgba(76, 144, 245, 0.18), transparent 30%),
    linear-gradient(145deg, #f9fcff 0%, #edf7ff 100%);
  box-shadow: 0 24px 58px rgba(43, 91, 157, 0.11);
}
.category-section-alt .category-surface::after { color: rgba(36, 87, 214, 0.035); }
.category-surface .category-head { position: relative; z-index: 2; margin-bottom: 25px; }
.category-surface .category-head span { color: #7eabff; font-family: "IBM Plex Mono", monospace; letter-spacing: 0.16em; }
.category-section-alt .category-head span { color: var(--brand); }
.category-surface .category-head h2 { color: inherit; font-size: clamp(27px, 2.4vw, 38px); }
.category-actions { display: flex; align-items: center; gap: 8px; }
.category-actions > a { margin-right: 10px; color: #dce9ff; font-size: 11px; font-weight: 600; }
.category-section-alt .category-actions > a { color: var(--brand); }
.category-actions button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(185, 211, 249, 0.36);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.category-section-alt .category-actions button { color: var(--brand); border-color: #b9d2ed; background: rgba(255, 255, 255, 0.7); }
.category-actions button:hover:not(:disabled), .category-actions button:focus-visible { color: #fff; background: var(--brand-bright); transform: translateY(-2px); }
.category-actions button:disabled { opacity: 0.28; cursor: default; }
.category-rail {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 1px 1px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.category-rail::-webkit-scrollbar { display: none; }
.rail-story {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(184, 209, 245, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.category-section-alt .rail-story { border-color: #d8e6f4; background: rgba(255, 255, 255, 0.72); }
.rail-story:hover { transform: translateY(-6px); border-color: rgba(78, 143, 255, 0.65); background: rgba(255, 255, 255, 0.09); }
.category-section-alt .rail-story:hover { background: #fff; }
.rail-story-image { position: relative; display: block; height: 205px; overflow: hidden; background: #102a59; }
.rail-story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(4, 14, 38, 0.55)); }
.rail-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rail-story:hover .rail-story-image img { transform: scale(1.055); }
.rail-story-image > span { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 4px 8px; border-radius: 4px; color: #fff; background: rgba(23, 100, 238, 0.92); font-family: "IBM Plex Mono", monospace; font-size: 8px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rail-story-image > i { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--brand-bright), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.rail-story:hover .rail-story-image > i { transform: scaleX(1); }
.rail-story-body { min-height: 196px; padding: 17px 16px 15px; display: flex; flex-direction: column; }
.rail-story-body h3 { margin: 0; font-size: 14px; line-height: 1.38; letter-spacing: -0.02em; }
.rail-story-body p { margin: 10px 0 15px; color: #aebfd9; font-size: 10px; line-height: 1.55; }
.category-section-alt .rail-story-body p { color: var(--muted); }
.rail-story-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; font-family: "IBM Plex Mono", monospace; font-size: 8px; }
.rail-story-footer time { color: #8399ba; }
.rail-story-footer > a { color: #7eabff; font-weight: 600; text-transform: uppercase; }
.category-section-alt .rail-story-footer > a { color: var(--brand); }
.rail-story-footer b { margin-left: 6px; }
.rail-progress { position: relative; z-index: 2; width: 100%; height: 1px; margin-top: 6px; overflow: hidden; background: rgba(166, 194, 234, 0.2); }
.rail-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--brand-bright), var(--red)); transform: scaleX(0.18); transform-origin: left; transition: transform 0.25s ease-out; }

.article-page {
  min-height: 720px;
  padding: 36px 0 80px;
  background: radial-gradient(circle at 90% 30%, rgba(181, 221, 255, 0.24), transparent 32%), linear-gradient(110deg, #fff 0%, #fff 63%, #f5faff 100%);
}
.article-layout {
  width: min(1340px, calc(100% - 64px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(290px, 390px);
  justify-content: space-between;
  gap: 70px;
}
.article-content { min-width: 0; }
.breadcrumbs { display: flex; gap: 14px; margin-bottom: 15px; color: #8190a7; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.breadcrumbs a:first-child { color: var(--brand); }
.article-content > h1 { max-width: 800px; margin: 0 0 12px; font-size: clamp(40px, 4.5vw, 64px); line-height: 1.03; letter-spacing: -0.045em; }
.standfirst { max-width: 690px; margin: 0 0 18px; color: #2d3d5c; font-size: 16px; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; color: #677892; font-size: 12px; }
.byline strong { color: var(--brand); }
.byline i { width: 1px; height: 17px; background: #aebdd0; }
.author-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--ink), var(--brand)); font-size: 11px; font-weight: 700; }
.article-hero { width: 100%; height: 370px; border-radius: 13px; object-fit: cover; box-shadow: 0 18px 45px rgba(41, 82, 146, 0.12); }
.article-copy { max-width: 760px; padding: 6px 6px 0; color: #283957; font-size: 14px; }
.article-copy p { margin: 17px 0; }
.race-snapshot { margin-top: 24px; padding: 15px 18px 13px; border: 1px solid #d7e6f7; border-radius: 12px; background: rgba(249, 252, 255, 0.9); box-shadow: 0 8px 24px rgba(51, 101, 170, 0.07); }
.race-snapshot h2 { margin: 0 0 12px; color: var(--brand); font-size: 12px; text-transform: uppercase; }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { position: relative; min-height: 52px; padding: 2px 12px 2px 36px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-size: 14px; }
.stat-item small { color: #71829c; font-size: 8px; text-transform: uppercase; }
.stat-icon { position: absolute; top: 7px; left: 6px; width: 20px; height: 20px; border: 2px solid var(--brand-bright); border-radius: 50%; }
.stat-icon.flag { border-radius: 2px; transform: skewY(-12deg); }
.stat-icon.trophy { border-radius: 4px 4px 9px 9px; }
.stat-icon.speed { border-width: 2px 2px 0; border-radius: 20px 20px 0 0; }
.stat-icon.bars { border: 0; border-radius: 0; background: linear-gradient(90deg, var(--brand) 0 18%, transparent 18% 28%, var(--brand) 28% 48%, transparent 48% 58%, var(--brand) 58% 78%, transparent 78% 88%, var(--brand) 88%); opacity: 0.55; }
.facebook-link { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0 6px; color: var(--brand); font-size: 12px; font-weight: 600; }
.article-sidebar { display: grid; align-content: start; gap: 15px; }
.article-side-block { padding: 21px 18px; border: 1px solid #d9e7f5; border-radius: 13px; background: rgba(249, 252, 255, 0.85); box-shadow: 0 9px 25px rgba(59, 103, 160, 0.06); }
.article-side-block h2 { position: relative; margin-bottom: 18px; font-size: 15px; }
.article-side-block h2::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 8px; background: var(--brand-bright); }
.article-side-block .compact-story { grid-template-columns: 150px 1fr; gap: 14px; padding: 14px 0; }
.article-side-block .compact-story img { width: 150px; height: 86px; }
.article-side-block .compact-story strong { font-size: 12px; }
.article-side-block .next-card { grid-template-columns: 1fr; padding: 0; border: 0; background: transparent; }
.article-side-block .next-card img { width: 100%; height: 145px; }
.article-side-block .next-card > span { padding: 10px 4px 2px; }
.article-side-block .next-card strong { font-size: 14px; }
.not-found { width: min(720px, calc(100% - 40px)); margin: 100px auto; text-align: center; }
.not-found > span { color: #cfdef0; font-size: 88px; font-weight: 800; line-height: 1; }
.not-found h1 { margin: 10px 0; font-size: 42px; }
.not-found p { margin-bottom: 25px; color: var(--muted); }

.site-footer { padding: 32px max(32px, calc((100vw - var(--container)) / 2)); color: #bdcae0; background: var(--ink); display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 30px; }
.site-footer img { width: 170px; padding: 7px; border-radius: 7px; background: #fff; }
.site-footer p { margin: 0; font-size: 12px; }
.site-footer small { font-size: 10px; }

.search-overlay { position: fixed; z-index: 200; inset: 0; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(5, 18, 48, 0.5); backdrop-filter: blur(5px); cursor: default; }
.search-panel { position: relative; width: min(690px, calc(100% - 32px)); max-height: min(720px, calc(100vh - 48px)); margin: 24px auto; overflow: auto; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 18px; background: #fff; box-shadow: 0 28px 100px rgba(4, 24, 65, 0.3); }
.search-panel-head { display: flex; align-items: flex-start; justify-content: space-between; }
.search-panel-head span { color: var(--brand); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.search-panel-head h2 { margin: 4px 0 18px; font-size: 28px; }
.search-close { width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--ice); font-size: 28px; line-height: 1; }
.search-field input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid #bdd2e9; border-radius: 10px; outline: 0; color: var(--ink); background: #f8fbff; }
.search-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.1); }
.search-results { display: grid; margin-top: 16px; }
.search-results a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-results img { width: 112px; height: 70px; border-radius: 8px; object-fit: cover; }
.search-results span { align-self: center; }
.search-results small { display: block; margin-bottom: 3px; color: var(--brand); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.search-results strong { display: block; font-size: 13px; }
.no-results { padding: 32px 0; color: var(--muted); text-align: center; }

:focus-visible { outline: 3px solid rgba(23, 100, 238, 0.35); outline-offset: 3px; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 190px 1fr 42px; width: min(100% - 38px, var(--container)); gap: 14px; }
  .brand { width: 178px; }
  .main-nav { gap: 20px; }
  .nav-link { font-size: 12px; }
  .hero-copy, .news-shell { width: calc(100% - 48px); }
  .hero h1 { max-width: 570px; }
  .race-briefs { right: 24px; }
  .brief { min-width: 112px; padding-inline: 12px; }
  .fastest-lap { right: 24px; }
  .news-shell { grid-template-columns: minmax(0, 1fr) 280px; }
  .article-grid { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.75fr)); }
  .story-card:nth-child(4) { display: none; }
  .article-layout { width: calc(100% - 48px); grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
  .article-side-block .compact-story { grid-template-columns: 110px 1fr; }
  .article-side-block .compact-story img { width: 110px; }
  .category-feed > * { width: calc(100% - 48px); }
  .category-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 24px; }
  .category-grid > .story-card { grid-template-columns: 1fr; }
  .category-grid > .story-card .story-image { min-height: 220px; height: 220px; }
  .category-section-alt .category-grid > .story-card { grid-template-columns: 1fr; }
  .category-section-alt .category-grid > .story-card .story-image { order: 0; }
  .rail-story { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 68px; grid-template-columns: 1fr 48px 44px; }
  .brand { width: 178px; }
  .brand img { height: 52px; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; }
  .search-toggle { grid-column: 2; grid-row: 1; }
  .main-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 15px 24px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 35px rgba(35, 72, 125, 0.12);
  }
  .main-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
  .nav-link { min-height: 48px; justify-content: flex-start; border-bottom: 1px solid var(--line); }
  .nav-link::after { right: auto; width: 28px; }
  .hero { min-height: 650px; background-position: 66% center; }
  .hero::after { display: none; }
  .hero-copy { padding: 64px 0 150px; }
  .hero h1 { max-width: 560px; font-size: 68px; }
  .hero-copy > p { max-width: 420px; }
  .race-briefs { top: auto; right: 24px; bottom: 18px; left: 24px; width: auto; display: flex; border-left-width: 1px; }
  .brief { flex: 1; min-width: 0; border-right: 1px solid rgba(134, 164, 204, 0.2); border-bottom: 0; }
  .brief:last-child { border-right: 0; }
  .fastest-lap { display: none; }
  .news-shell { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid .story-card:nth-child(4) { display: block; }
  .story-card-featured { grid-column: span 2; }
  .news-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { grid-template-columns: 1fr 1fr; }
  .article-content > h1 { font-size: 52px; }
  .article-hero { height: 420px; }
  .site-footer { grid-template-columns: 160px 1fr; }
  .site-footer small { grid-column: 1 / -1; }
  .category-intro { grid-template-columns: 1fr; }
  .category-intro span { grid-column: auto; }
  .category-intro p { margin-left: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid > .story-card { grid-template-columns: 1.2fr 0.8fr; }
  .category-grid > .story-card .story-image { height: 100%; min-height: 280px; }
  .category-surface { padding: 32px 26px 25px; }
  .rail-story { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
  .header-inner { width: calc(100% - 24px); }
  .brand { width: 150px; }
  .brand img { height: 48px; }
  .main-nav.open { grid-template-columns: 1fr; }
  .hero { min-height: 570px; background-image: linear-gradient(90deg, rgba(3, 9, 19, 0.97) 0%, rgba(3, 9, 19, 0.88) 56%, rgba(3, 9, 19, 0.36) 100%), linear-gradient(0deg, rgba(2, 7, 16, 0.78), transparent 48%), var(--hero-image); background-position: 64% center; background-size: cover; }
  .hero-copy { width: calc(100% - 36px); padding: 48px 0 94px; }
  .eyebrow { gap: 11px; font-size: 9px; }
  .eyebrow i { width: 20px; }
  .hero h1 { max-width: 460px; margin-top: 23px; font-size: clamp(44px, 12.2vw, 58px); line-height: 0.94; }
  .hero-copy > p { max-width: 390px; color: #c7d3e3; font-size: 13px; line-height: 1.6; }
  .primary-button { min-height: 48px; padding-inline: 20px; }
  .race-briefs { display: none; }
  .news-shell { width: calc(100% - 30px); padding-top: 27px; }
  .article-grid, .article-grid.filtered-grid { grid-template-columns: 1fr; }
  .story-card-featured { grid-column: auto; }
  .story-card-featured .story-image, .story-image { height: 210px; }
  .story-body, .story-card-featured .story-body { min-height: auto; padding: 16px; }
  .story-meta { margin-top: 18px; }
  .news-sidebar { grid-template-columns: 1fr; }
  .category-feed { padding: 50px 0 68px; }
  .category-feed > * { width: calc(100% - 30px); }
  .category-intro { gap: 15px; padding-bottom: 34px; }
  .category-section { padding: 32px 0 38px; }
  .category-head h2 { font-size: 24px; }
  .category-grid > .story-card { grid-template-columns: 1fr; min-height: 0; }
  .category-grid > .story-card .story-image { height: 220px; min-height: 220px; }
  .category-grid > .story-card .story-body { padding: 18px; }
  .category-list .compact-story { grid-template-columns: 112px 1fr; }
  .category-list .compact-story img { width: 112px; height: 74px; }
  .category-surface { padding: 27px 18px 22px; border-radius: 22px 22px 8px 8px; }
  .category-surface .category-head { align-items: center; margin-bottom: 18px; }
  .category-actions > a { display: none; }
  .category-actions button { width: 32px; height: 32px; }
  .category-rail { gap: 14px; padding-bottom: 14px; }
  .rail-story { flex-basis: 86%; }
  .rail-story-image { height: 205px; }
  .rail-story-body { min-height: 178px; }
  .compact-story { grid-template-columns: 112px 1fr; }
  .article-page { padding-top: 24px; }
  .article-layout { width: calc(100% - 30px); }
  .article-content > h1 { font-size: clamp(36px, 11vw, 50px); }
  .standfirst { font-size: 14px; }
  .byline i:last-of-type, .byline > span:last-child { display: none; }
  .article-hero { height: 255px; }
  .article-copy { padding-inline: 0; font-size: 13px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { margin: 7px 0; border-right: 0; }
  .stat-item:last-child { grid-column: span 2; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-side-block { padding: 18px 14px; }
  .article-side-block .compact-story { grid-template-columns: 112px 1fr; }
  .article-side-block .compact-story img { width: 112px; }
  .site-footer { padding: 30px 20px; grid-template-columns: 1fr; gap: 18px; }
  .site-footer img { width: 160px; }
  .search-panel { padding: 19px; }
  .search-results a { grid-template-columns: 90px 1fr; }
  .search-results img { width: 90px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .hero-motion-video { display: none; }
  .category-section { opacity: 1; transform: none; }
}

/* WOW88 MTCC partnership and campaign surfaces */
.hero-motion-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--ice);
}
.hero-wash { z-index: 1; }
.hero::before, .hero::after { z-index: 2; }
.hero-copy { z-index: 3; }
.hero h1 { max-width: 780px; font-size: clamp(42px, 4.4vw, 68px); }

.event-feature {
  display: grid;
  grid-template-columns: 1fr;
  width: min(var(--container), calc(100% - 64px));
  margin: 52px auto 20px;
  border: 1px solid #d7e7f7;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 70px rgba(32, 83, 151, 0.12);
}
.event-feature-main {
  position: relative;
  padding: 42px 46px 38px;
  background: linear-gradient(135deg, #071536 0%, #102c64 68%, #153b84 100%);
  color: #fff;
}
.event-feature-main::after {
  content: "88";
  position: absolute;
  right: 28px;
  bottom: -48px;
  color: rgba(255,255,255,.045);
  font: 800 210px/1 "Barlow Condensed", sans-serif;
  pointer-events: none;
}
.event-kicker, .sponsor-board-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-transform: uppercase; font: 600 11px/1.2 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.event-kicker span { color: #74aaff; }
.event-kicker time { color: #b9cee9; }
.event-title-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 25px; margin: 32px 0 28px; }
.event-title-row p { margin: 0 0 7px; color: #a8c5e8; font-size: 13px; }
.event-title-row h2 { max-width: 650px; margin: 0; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.02; letter-spacing: -.04em; }
.event-title-row > strong { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); color: #86b5ff; font: 600 11px/1.25 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.event-title-row > strong b { color: #fff; font: 800 58px/1 "Barlow Condensed", sans-serif; }
.event-feature-main > a { position: relative; z-index: 1; display: inline-flex; gap: 24px; margin-top: 27px; color: #fff; font-size: 13px; font-weight: 600; }
.event-feature-main > a span { color: #6ba5ff; }
.sponsor-board { padding: 26px 32px 30px; background: #fff; }
.sponsor-board-head { padding-bottom: 15px; border-bottom: 1px solid #e2e8f0; color: #0b1733; }
.sponsor-board-head span::before, .partner-logo-wall > div > span::before, .article-racing-wall-head span::before { content: "▦"; margin-right: 8px; color: var(--brand); font-size: 15px; }
.sponsor-board-head small { color: #718096; }
.racing-brand-grid { display: flex; gap: 12px; margin-top: 18px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: #b7c5d8 transparent; scroll-snap-type: x proximity; }
.racing-brand-grid > span { min-width: 145px; min-height: 88px; flex: 1 0 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #e5e9ef; border-radius: 9px; color: #08142f; background: #f7f7f8; text-align: center; scroll-snap-align: start; }
.brand-logo-card img { display: block; width: min(142px, 90%); height: 42px; padding: 0; object-fit: contain; }
.brand-logo-card small { color: #6e849e; text-transform: uppercase; font: 600 8px/1.2 "IBM Plex Mono", monospace; letter-spacing: .06em; }
.brand-logo-card.brand-logo-solid img { padding: 0; }
.brand-petronas { color: #00a19c !important; font: 700 16px/1 "Poppins", sans-serif !important; letter-spacing: -.04em !important; }
.brand-tgr { color: #fff !important; font: 700 11px/1.05 "Poppins", sans-serif !important; letter-spacing: -.02em !important; }
.brand-tgr b { display: inline-block; margin-right: 4px; padding: 3px 5px; color: #fff; background: #e60012; }
.brand-hankook { color: #fff !important; font: italic 700 17px/1 "Poppins", sans-serif !important; letter-spacing: -.05em !important; }
.brand-brembo { color: #e32629 !important; font: 700 18px/1 "Poppins", sans-serif !important; letter-spacing: -.07em !important; }
.brand-motul { padding: 5px 8px !important; color: #fff !important; background: #d50019 !important; font: 800 16px/1 "Poppins", sans-serif !important; letter-spacing: .02em !important; }
.brand-sparco { color: #1d61ad !important; font: italic 800 18px/1 "Poppins", sans-serif !important; letter-spacing: -.06em !important; }

.news-page { background: linear-gradient(180deg, #edf7ff 0, #fff 620px); }
.news-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr);
  gap: 60px;
  align-items: end;
  width: min(var(--container), calc(100% - 64px));
  margin: auto;
  padding: 78px 0 64px;
}
.news-masthead > div > span, .partner-logo-wall > div > span { color: var(--brand); text-transform: uppercase; font: 600 11px/1.2 "IBM Plex Mono", monospace; letter-spacing: .09em; }
.news-masthead h1 { margin: 18px 0; max-width: 780px; font-size: clamp(50px, 6vw, 88px); line-height: .97; letter-spacing: -.055em; }
.news-masthead > div > p { max-width: 650px; margin: 0; color: #526986; font-size: 16px; }
.news-event-card { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; border-radius: 22px; color: #fff; background: linear-gradient(155deg, rgba(7,21,54,.12), rgba(7,21,54,.94)), url("../images/gr86-hero-v2.png") center/cover; box-shadow: var(--shadow); }
.news-event-card > span { margin-bottom: auto; color: #9dc2ff; text-transform: uppercase; font: 600 10px/1.2 "IBM Plex Mono", monospace; }
.news-event-card strong { font-size: 24px; line-height: 1.15; }
.news-event-card small { margin-top: 12px; color: #c8d8ec; }
.news-event-card b { margin-top: 24px; color: #86b5ff; font-size: 12px; }
.ad-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; width: min(970px, calc(100% - 40px)); min-height: 90px; margin: 0 auto 66px; padding: 18px 24px; border: 1px dashed #a7bad0; border-radius: 10px; color: #60738d; background: rgba(255,255,255,.75); }
.ad-banner > div { display: flex; align-items: center; gap: 10px; }
.ad-banner > div span { display: grid; place-items: center; width: 34px; height: 24px; border-radius: 4px; color: #fff; background: #8a9db4; font: 700 9px/1 "IBM Plex Mono", monospace; }
.ad-banner small { font: 500 9px/1.3 "IBM Plex Mono", monospace; }
.ad-banner strong { color: #435b78; text-align: center; font-size: 14px; }
.ad-banner > a { color: var(--brand); font-size: 11px; font-weight: 700; }
.news-page-content { width: min(var(--container), calc(100% - 64px)); margin: 0 auto 90px; }
.news-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-page-grid .story-card-featured { grid-column: span 2; }
.partner-logo-wall { padding: 54px max(32px, calc((100vw - var(--container)) / 2)); color: #0b1733; background: #fff; border-top: 1px solid #e3e9f1; border-bottom: 1px solid #e3e9f1; }
.partner-logo-wall h2 { margin: 10px 0 25px; font-size: clamp(28px, 3.2vw, 42px); }
.partner-logo-grid { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: #b7c5d8 transparent; scroll-snap-type: x proximity; }
.partner-logo-grid article { min-width: 170px; min-height: 105px; flex: 1 0 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid #e5e9ef; border-radius: 10px; color: #60738d; background: #f7f7f8; scroll-snap-align: start; }
.partner-logo-grid article > span { font-size: 20px; }
.partner-logo-grid article small { color: #6e849e; font-size: 9px; text-transform: uppercase; }
.partner-brand-logo { display: block; width: min(190px, 78%); height: 62px; padding: 0; object-fit: contain; }
.partner-brand-logo.partner-brand-solid { padding: 0; }
.partner-logo-grid .partner-logo-featured { background: #fff; }
.partner-logo-featured img { width: 190px; }
.brand-disclaimer { margin: 18px 0 0; color: #657d99; font-size: 10px; }

@media (max-width: 980px) {
  .event-feature, .news-masthead { grid-template-columns: 1fr; }
  .event-feature { width: calc(100% - 48px); }
  .news-masthead { width: calc(100% - 48px); gap: 36px; }
  .news-event-card { min-height: 270px; }
  .news-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .hero-motion-video { display: none; }
  .event-feature { width: calc(100% - 30px); margin-top: 30px; overflow: hidden; border-radius: 17px; }
  .event-feature-main, .sponsor-board { min-width: 0; padding: 27px 20px; }
  .sponsor-board-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .racing-brand-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(145px, 72%);
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
  .racing-brand-grid::-webkit-scrollbar { display: none; }
  .racing-brand-grid > span { min-width: 0; width: auto; flex: none; }
  .racing-brand-grid img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
  .event-title-row { flex-direction: column; align-items: stretch; gap: 18px; margin: 28px 0 20px; }
  .event-title-row > div { width: 100%; min-width: 0; }
  .event-title-row h2 { width: 100%; max-width: 100%; font-size: clamp(28px, 8.2vw, 36px); line-height: 1.04; overflow-wrap: normal; word-break: normal; }
  .event-title-row > strong { width: 100%; padding: 13px 0 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .event-title-row > strong b { display: inline-block; margin-left: 8px; font-size: 38px; }
  .news-masthead { width: calc(100% - 36px); padding: 45px 0 36px; }
  .news-masthead h1 { font-size: 48px; }
  .ad-banner { grid-template-columns: 1fr; text-align: center; }
  .ad-banner > div { justify-content: center; }
  .news-page-content { width: calc(100% - 30px); margin-bottom: 55px; }
  .news-page-grid { grid-template-columns: 1fr; }
  .news-page-grid .story-card-featured { grid-column: auto; }
  .partner-logo-wall { padding: 55px 20px; }
}

/* Official MTCC event identities */
.official-event-partners {
  width: min(var(--container), calc(100% - 64px));
  margin: 24px auto 64px;
  padding: 38px;
  border-radius: 22px;
  color: #fff;
  background: #030507;
  box-shadow: 0 22px 60px rgba(7, 21, 54, .18);
}
.official-partners-head { display: grid; grid-template-columns: 1fr auto; gap: 8px 25px; align-items: end; margin-bottom: 24px; }
.official-partners-head span { grid-column: 1 / -1; color: #6da0ff; text-transform: uppercase; font: 600 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .11em; }
.official-partners-head h2 { margin: 0; font-size: clamp(25px, 2.8vw, 40px); }
.official-partners-head p { margin: 0; color: #93a2b7; font-size: 11px; }
.official-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.official-identity-grid figure { min-height: 154px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 20px; border: 1px solid #282d35; border-radius: 12px; background: #fff; }
.official-identity-grid .official-identity-featured { grid-column: auto; min-height: 190px; }
.official-identity-grid img { width: 100%; height: 74px; object-fit: contain; }
.official-identity-grid .official-identity-featured img { height: 112px; }
.official-event-partners figcaption { margin-top: 10px; color: #718097; text-align: center; text-transform: uppercase; font: 600 8px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.official-partner-strip { margin-top: 12px; }
.official-partner-strip img { width: 100%; height: 112px; object-fit: contain; }

.article-event-details { margin-top: 34px; overflow: hidden; border: 1px solid #cfe0f3; border-radius: 18px; background: #f5faff; box-shadow: 0 18px 44px rgba(38, 86, 151, .1); }
.article-event-heading { padding: 28px 30px 24px; color: #fff; background: linear-gradient(135deg, #071536, #123b83); }
.article-event-heading > span { color: #83b2ff; text-transform: uppercase; font: 600 9px/1.2 "IBM Plex Mono", monospace; letter-spacing: .11em; }
.article-event-heading h2 { margin: 9px 0 5px; font-size: clamp(25px, 3vw, 38px); line-height: 1.06; }
.article-event-heading p { margin: 0; color: #b8cae1; font-size: 11px; }
.article-official-partners { padding: 26px 28px 30px; border-top: 1px solid #d5e3f2; background: #05070b; }
.article-official-partners > h3 { margin: 0 0 16px; color: #fff; font-size: 16px; }
.article-official-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-official-grid figure { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 14px; border-radius: 9px; background: #fff; }
.article-official-grid img { width: 100%; height: 62px; object-fit: contain; }
.article-official-grid .article-official-featured img { height: 82px; }
.article-partner-strip { margin-top: 10px; }
.article-partner-strip img { width: 100%; height: 92px; object-fit: contain; }
.article-official-partners figcaption { margin-top: 7px; color: #6d7e94; text-align: center; font-size: 8px; }
.article-racing-wall { padding: 26px 28px 30px; border-top: 1px solid #e0e7ef; color: #0b1733; background: #fff; }
.article-racing-wall-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #e0e7ef; text-transform: uppercase; font: 600 9px/1.2 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.article-racing-wall-head span { color: #0b1733; }
.article-racing-wall-head small { color: #737f91; }
.article-racing-grid { display: flex; gap: 10px; margin-top: 18px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: #b7c5d8 transparent; scroll-snap-type: x proximity; }
.article-racing-grid > span { min-width: 138px; min-height: 88px; flex: 1 0 138px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #e5e9ef; border-radius: 9px; background: #f7f7f8; scroll-snap-align: start; }

@media (max-width: 720px) {
  .official-event-partners { width: calc(100% - 30px); padding: 24px 18px; }
  .official-partners-head { grid-template-columns: 1fr; }
  .official-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-partner-strip img { height: 74px; }
  .article-event-heading, .article-official-partners, .article-racing-wall { padding: 24px 18px; }
}

@media (max-width: 520px) {
  .official-identity-grid, .article-official-grid { grid-template-columns: 1fr; }
  .official-identity-grid .official-identity-featured { grid-column: auto; min-height: 154px; }
  .official-identity-grid .official-identity-featured img { height: 90px; }
}
