:root {
  --red: #e10600;
  --red-bright: #ff2018;
  --ink: #090909;
  --ink-soft: #151515;
  --paper: #f4f2ed;
  --white: #fff;
  --muted: #a7a7a7;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(9,9,9,.16);
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); line-height: 1.5; overflow-x: hidden; }
body::selection { background: var(--red); color: var(--white); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.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; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header, .admin-header { position: relative; z-index: 20; width: min(100%, var(--max)); margin: 0 auto; min-height: 92px; padding: 1rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 230px; height: 52px; object-fit: cover; object-position: center; background: var(--white); border: 1px solid rgba(255,255,255,.14); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.3rem, 3vw, 3.5rem); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-nav a { position: relative; padding: .8rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .45rem; height: 2px; background: var(--red); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.language-switch { display: flex; gap: .35rem; align-items: center; color: #555; font-size: .7rem; font-weight: 900; }
.language-button { border: 0; background: transparent; padding: .3rem; color: #666; cursor: pointer; }
.language-button.is-active { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line-dark); background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--white); }

.hero { position: relative; width: min(100%, var(--max)); margin: 0 auto; min-height: 760px; padding: clamp(4rem, 9vw, 8rem) var(--pad) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 82%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); min-height: 560px; align-items: center; }
.hero-copy { position: relative; z-index: 3; max-width: 830px; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; color: #bbb; font-size: .68rem; font-weight: 900; letter-spacing: .2em; }
.eyebrow > span:first-child { width: 38px; height: 3px; background: var(--red); }
.hero h1, .admin-main h1 { margin: 0; font: 400 clamp(4.2rem, 10.3vw, 9.8rem)/.78 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em, .admin-main h1 em { color: var(--red); font-style: normal; }
.hero h1.hero h1.hero-brand-title { width: min(860px, 100%); height: auto !important; min-height: 0; overflow: visible; background: transparent; border-left: 0; box-shadow: none; display: block; }
.hero .hero-tagline { display: flex; flex-direction: column; width: 128%; padding: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-size: clamp(58px, 8.4vw, 118px); font-weight: 300; font-style: normal; font-stretch: condensed; letter-spacing: -.075em; line-height: .76; transform: scaleX(.78); transform-origin: left top; }
.hero .hero-tagline span { color: var(--white); }
.hero .hero-tagline em { color: var(--red); font-style: normal; }
.hero-brand-logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-intro { max-width: 620px; margin: 2rem 0; color: #c5c5c5; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 50px; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 0; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-bright); }
.button-ghost { border-color: rgba(255,255,255,.36); background: transparent; color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-danger { border-color: #85302d; background: transparent; color: #ff8d88; }
.button-danger:hover { background: #8d1712; color: var(--white); }
.button-small { min-height: 38px; padding: .55rem .85rem; font-size: .62rem; }
.hero-visual { position: absolute; z-index: 0; inset: -5rem -12rem -2rem 35%; overflow: hidden; transform: skewX(-8deg); border-left: 1px solid rgba(255,255,255,.08); }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 45% 45%, rgba(225,6,0,.22), transparent 43%), linear-gradient(140deg, transparent 30%, rgba(255,255,255,.04) 30.2%, transparent 31%); }
.hero-gp { position: absolute; right: 7%; top: 15%; color: rgba(255,255,255,.035); font: 400 29rem/.8 var(--display); letter-spacing: -.12em; transform: skewX(8deg); }
.speed-lines { position: absolute; inset: 0; opacity: .4; background: repeating-linear-gradient(165deg, transparent 0 19px, rgba(255,255,255,.045) 20px 21px); }
.track-loop { position: absolute; width: 420px; height: 250px; right: 15%; top: 27%; border: 5px solid rgba(255,255,255,.12); border-left-color: var(--red); border-radius: 48% 34% 55% 38%; transform: rotate(-18deg) skewX(8deg); filter: drop-shadow(0 0 18px rgba(225,6,0,.25)); }
.track-loop::after { content: ""; position: absolute; width: 180px; height: 110px; left: 95px; top: 62px; border: 2px dashed rgba(255,255,255,.14); border-radius: 46% 35% 58% 41%; }
.apex-dot { position: absolute; width: 12px; height: 12px; right: 27%; top: 31%; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(225,6,0,.15), 0 0 25px var(--red); }
.next-race-card { position: absolute; z-index: 4; right: 0; bottom: 1rem; width: min(390px, 36vw); padding: 1.5rem; background: rgba(11,11,11,.92); border-top: 3px solid var(--red); border-inline: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(12px); }
.next-race-head { display: flex; align-items: center; gap: .55rem; color: #aaa; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.next-race-head span:last-child { margin-left: auto; color: var(--white); }
.live-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(225,6,0,.14); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(225,6,0,0); } }
.race-location { margin: 1.2rem 0 .25rem; color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.next-race-card h2 { margin: 0; font: 400 clamp(2rem, 3vw, 3.3rem)/.95 var(--display); text-transform: uppercase; }
.race-date { margin: .7rem 0 1.3rem; color: #bbb; font-size: .75rem; text-transform: uppercase; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.countdown div { display: grid; gap: .1rem; border-right: 1px solid var(--line-dark); text-align: center; }
.countdown div:last-child { border: 0; }
.countdown strong { font: 400 2rem/1 var(--display); }
.countdown span { color: #777; font-size: .55rem; letter-spacing: .14em; }
.hero-status { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, 110px) 1fr; align-items: center; gap: 1rem; min-height: 90px; border-top: 1px solid var(--line-dark); }
.hero-status > div { display: grid; gap: .2rem; }
.status-label { color: #666; font-size: .55rem; letter-spacing: .16em; }
.hero-status strong { font: 400 1.45rem/1 var(--display); }
.data-status { display: flex !important; grid-auto-flow: column; justify-content: end; align-items: center; color: #8d8d8d; font-size: .66rem; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ac46b; box-shadow: 0 0 10px rgba(74,196,107,.7); }

.section { width: min(100%, var(--max)); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) var(--pad); }
.section-dark { background: var(--ink-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading > p { width: min(420px, 40%); margin: 0 0 .5rem; color: #8d8d8d; font-size: .82rem; }
.section-number { margin: 0 0 .8rem; color: var(--red); font-size: .62rem; font-weight: 900; letter-spacing: .15em; }
.section-heading h2 { margin: 0; font: 400 clamp(3.2rem, 7.2vw, 7rem)/.82 var(--display); letter-spacing: -.025em; }
.section-heading-light { color: var(--ink); }
.section-heading-light > p { color: #666; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.news-card { display: flex; min-width: 0; flex-direction: column; background: var(--ink); }
.news-media { aspect-ratio: 16/10; overflow: hidden; background: #1d1d1d; }
.news-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.035); }
.news-media-placeholder { position: relative; display: grid; place-items: center; color: rgba(255,255,255,.09); font: 400 clamp(5rem, 10vw, 9rem)/1 var(--display); background: repeating-linear-gradient(145deg, #181818 0 16px, #1d1d1d 16px 17px); }
.news-media-placeholder::after { content: ""; position: absolute; width: 45%; height: 3px; background: var(--red); transform: rotate(-18deg); }
.news-content { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.news-meta { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .9rem; color: #777; font-size: .58rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.news-source { color: var(--red); }
.news-content h3 { margin: 0; font: 700 clamp(1.2rem, 1.8vw, 1.65rem)/1.08 var(--body); letter-spacing: -.025em; }
.news-excerpt { margin: .9rem 0 1.4rem; color: #999; font-size: .82rem; }
.news-link { align-self: flex-start; margin-top: auto; padding: .2rem 0; border: 0; border-bottom: 1px solid var(--red); background: transparent; color: var(--white); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.skeleton-card { min-height: 440px; padding: 0 1.3rem 1.3rem; background: var(--ink); animation: skeleton 1.3s ease-in-out infinite alternate; }
.skeleton-card div { height: 240px; margin: 0 -1.3rem 1.5rem; background: #202020; }
.skeleton-card span { display: block; width: 85%; height: 18px; margin: .6rem 0; background: #202020; }
.skeleton-card span:last-child { width: 55%; }
@keyframes skeleton { to { opacity: .55; } }
.empty-state { padding: 5rem 1rem; border: 1px solid var(--line-dark); text-align: center; }
.empty-icon { display: block; color: var(--red); font: 400 4rem/1 var(--display); }
.empty-state h3 { margin: .8rem 0 .2rem; font: 400 2rem/1 var(--display); text-transform: uppercase; }
.empty-state p { color: #888; }

.race-hub, .schedule-section { background: var(--paper); color: var(--ink); }
.race-hub-meta { display: grid; justify-items: end; color: #777; font-size: .6rem; letter-spacing: .13em; }
.race-hub-meta strong { color: var(--red); font: 400 2rem/1 var(--display); }
.result-shell { border: 1px solid var(--line-light); background: var(--white); box-shadow: 0 22px 60px rgba(0,0,0,.08); }
.result-title-row { display: flex; justify-content: space-between; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--line-light); }
.result-title-row p { margin: 0; color: #777; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-title-row h3 { margin: .2rem 0 0; font: 400 clamp(2.5rem, 5vw, 5rem)/.9 var(--display); text-transform: uppercase; }
.chequered { width: 78px; height: 78px; opacity: .8; background: conic-gradient(var(--ink) 25%, var(--white) 0 50%, var(--ink) 0 75%, var(--white) 0); background-size: 20px 20px; transform: skewX(-8deg); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; min-height: 330px; padding: 3rem clamp(1rem, 8vw, 9rem) 0; gap: 1rem; background: linear-gradient(to bottom, transparent 70%, #f3f3f3); }
.podium-place { position: relative; display: grid; align-content: start; min-height: 165px; padding: 1.4rem; border-top: 5px solid #999; background: #eceae5; text-align: center; }
.podium-place span { position: absolute; left: 50%; top: -63px; transform: translateX(-50%); color: #d8d5cf; font: 400 5.5rem/1 var(--display); }
.podium-place strong { position: relative; z-index: 1; font-size: clamp(1rem, 2vw, 1.35rem); }
.podium-place small { color: #777; }
.place-one { min-height: 230px; border-color: var(--red); background: var(--ink); color: var(--white); }
.place-one span { color: var(--red); }
.place-one small { color: #aaa; }
.place-three { min-height: 130px; }

.schedule-section { padding-top: clamp(5rem, 8vw, 8rem); }
.schedule-list { border-top: 3px solid var(--ink); }
.schedule-row { display: grid; grid-template-columns: 90px minmax(220px, .8fr) minmax(360px, 1.3fr) 110px; gap: 1.5rem; align-items: center; min-height: 150px; padding: 1.5rem 1rem; border-bottom: 1px solid var(--line-light); transition: background .18s ease; }
.schedule-row:hover { background: var(--white); }
.schedule-row.is-past { opacity: .58; }
.schedule-row.is-next { position: relative; background: var(--white); box-shadow: inset 5px 0 var(--red); opacity: 1; }
.schedule-round { display: grid; text-align: center; }
.schedule-round span { color: #777; font-size: .55rem; font-weight: 900; letter-spacing: .14em; }
.schedule-round strong { font: 400 3.5rem/1 var(--display); }
.schedule-identity > span { color: var(--red); font-size: .59rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.schedule-identity h3 { margin: .25rem 0; font: 400 2rem/.95 var(--display); text-transform: uppercase; }
.schedule-identity small { color: #777; }
.session-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; }
.session-list div { display: flex; justify-content: space-between; gap: .7rem; padding-bottom: .35rem; border-bottom: 1px dotted #bbb; font-size: .67rem; }
.session-list span { color: #777; }
.session-list strong { text-align: right; }
.schedule-status { justify-self: end; padding: .45rem .6rem; border: 1px solid; font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.status-complete { border-color: #aaa; color: #777; }
.status-upcoming { border-color: var(--red); color: var(--red); }

.standings-section { background: var(--ink); }
.standings-tabs { display: flex; border: 1px solid var(--line-dark); }
.tab-button { min-height: 42px; padding: .5rem 1rem; border: 0; background: transparent; color: #777; font-size: .62rem; font-weight: 900; letter-spacing: .1em; cursor: pointer; }
.tab-button.is-active { background: var(--red); color: var(--white); }
.standings-table-wrap { overflow-x: auto; border-top: 3px solid var(--red); }
.standings-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.standings-table th { padding: 1rem; border-bottom: 1px solid var(--line-dark); color: #666; font-size: .56rem; letter-spacing: .14em; text-align: left; }
.standings-table th:last-child, .standings-table td:last-child { text-align: right; }
.standings-table td { position: relative; padding: 1.1rem 1rem; border-bottom: 1px solid var(--line-dark); }
.standings-table tr { transition: background .18s ease; }
.standings-table tbody tr:hover { background: #141414; }
.standing-position { width: 85px; color: #666; font: 400 1.7rem/1 var(--display); }
.standing-name { min-width: 260px; overflow: hidden; }
.standing-name strong { position: relative; z-index: 1; }
.points-bar { position: absolute; left: 0; bottom: 0; width: var(--score); height: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.standing-team { color: #8d8d8d; font-size: .8rem; }
.standing-wins { color: #aaa; }
.standing-points { color: var(--white); font: 400 1.6rem/1 var(--display); }
.empty-inline { padding: 2rem !important; color: #777; text-align: center !important; }

.site-footer { width: min(100%, var(--max)); margin: 0 auto; padding: 3rem var(--pad); display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; border-top: 1px solid var(--line-dark); }
.footer-brand .brand-logo { width: 190px; height: 44px; }
.site-footer > p { margin: 0; max-width: 520px; color: #777; font-size: .75rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .6rem; }
.article-dialog { width: min(720px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid #333; background: #111; color: var(--white); }
.article-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 42px; height: 42px; border: 1px solid #444; background: transparent; font-size: 1.5rem; cursor: pointer; }
.article-source { color: var(--red); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.article-dialog h2 { margin: 1rem 0 2rem; font: 400 clamp(2.4rem, 6vw, 5rem)/.9 var(--display); text-transform: uppercase; }
.article-body { color: #c8c8c8; white-space: pre-wrap; }

.admin-body { min-height: 100dvh; background: #0b0b0b; }
.admin-header { width: 100%; position: sticky; top: 0; background: rgba(9,9,9,.94); backdrop-filter: blur(14px); }
.admin-main { width: min(100%, var(--max)); margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) var(--pad); }
.login-panel { max-width: 760px; min-height: 620px; padding-top: 3rem; }
.login-panel > p:not(.eyebrow) { max-width: 550px; margin: 2rem 0; color: #999; }
.admin-form { display: grid; gap: .65rem; }
.admin-form label { color: #aaa; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; border: 1px solid #353535; border-radius: 0; outline: 0; background: #111; color: var(--white); padding: .85rem 1rem; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.admin-form textarea { resize: vertical; }
.token-row { display: grid; grid-template-columns: 1fr auto; }
.token-row input { min-height: 54px; }
.form-message, .dashboard-status { min-height: 1.5em; margin: .4rem 0 0; color: #76d38f; font-size: .72rem; }
.form-message.is-error, .dashboard-status.is-error { color: #ff8d88; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.dashboard-head h1 { font-size: clamp(4rem, 8vw, 8rem); }
.dashboard-actions { display: flex; gap: .7rem; padding-bottom: .5rem; }
.dashboard-status { margin: 1rem 0; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 3rem 0; border: 1px solid var(--line-dark); }
.admin-stats > div { display: grid; gap: .4rem; padding: 1.5rem; border-right: 1px solid var(--line-dark); }
.admin-stats > div:last-child { border: 0; }
.admin-stats span { color: #777; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-stats strong { font: 400 2.6rem/1 var(--display); }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 2rem; align-items: start; }
.admin-column, .original-post-panel, .published-panel { border-top: 3px solid var(--red); background: #101010; }
.admin-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.2rem; border-bottom: 1px solid var(--line-dark); }
.admin-section-title h2 { margin: 0; font: 400 2rem/1 var(--display); text-transform: uppercase; }
.admin-section-title span { color: #666; font-size: .62rem; }
.editor-list { display: grid; }
.editor-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.2rem; padding: 1.2rem; border-bottom: 1px solid var(--line-dark); }
.editor-thumb { width: 160px; height: 110px; object-fit: cover; background: #1d1d1d; }
.editor-thumb-placeholder { display: grid; place-items: center; color: #353535; font: 400 3.5rem/1 var(--display); }
.editor-item h3 { margin: .2rem 0; font-size: 1rem; line-height: 1.15; }
.editor-item-content > p:not(.editor-meta) { margin: .5rem 0; color: #8a8a8a; font-size: .72rem; }
.editor-meta { margin: 0; color: var(--red); font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.editor-source-link { color: #bbb; font-size: .62rem; text-decoration: underline; }
.editor-actions { display: flex; gap: .5rem; margin-top: .9rem; }
.post-form { padding: 1.2rem; }
.post-form .button { margin-top: .5rem; }
.admin-empty { margin: 0; padding: 2rem; color: #777; font-size: .8rem; }
.published-panel { margin-top: 2rem; }
.editor-list-published { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editor-list-published .editor-item { grid-template-columns: 110px minmax(0, 1fr); }
.editor-list-published .editor-thumb { width: 110px; height: 90px; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { inset: 0 -20rem 0 38%; opacity: .65; }
  .next-race-card { width: 360px; }
  .schedule-row { grid-template-columns: 70px 1fr 1.4fr; }
  .schedule-status { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header { min-height: 76px; }
  .brand-logo { width: 164px; height: 40px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; left: var(--pad); right: var(--pad); top: calc(100% + 1px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .5rem 1rem; background: #101010; border: 1px solid var(--line-dark); }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 1px solid var(--line-dark); }
  .hero { min-height: 960px; padding-top: 5rem; }
  .hero-grid { min-height: 760px; align-items: start; }
  .hero h1.hero-brand-title { width: min(620px, 100%); height: clamp(105px, 22vw, 145px); }
  .hero-visual { inset: 20rem -18rem 4rem 5%; }
  .next-race-card { left: 0; right: auto; bottom: 1rem; width: min(100%, 390px); }
  .hero-status { grid-template-columns: repeat(3, 1fr); }
  .data-status { grid-column: 1 / -1; justify-content: start; padding-bottom: 1.2rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > p { width: 100%; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .podium { padding-inline: 1rem; }
  .schedule-row { grid-template-columns: 60px 1fr; gap: 1rem; }
  .session-list { grid-column: 2; }
  .site-footer { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .editor-list-published { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  :root { --pad: 1rem; }
  .language-switch { margin-left: -.8rem; }
  .hero { min-height: 900px; }
  .hero h1.hero-brand-title { height: 100px; }
  .hero-intro { font-size: .92rem; }
  .hero-visual { inset: 19rem -19rem 7rem -5rem; }
  .track-loop { width: 340px; height: 210px; }
  .next-race-card { bottom: 1.5rem; }
  .hero-status { min-height: 135px; }
  .section { padding-block: 4.5rem; }
  .section-heading h2 { font-size: 3.7rem; }
  .news-grid { grid-template-columns: 1fr; }
  .result-title-row { align-items: flex-end; }
  .chequered { width: 52px; height: 52px; background-size: 14px 14px; }
  .podium { min-height: 280px; gap: .4rem; padding-inline: .5rem; }
  .podium-place { padding: 1rem .35rem; }
  .podium-place strong { font-size: .8rem; }
  .podium-place small { font-size: .6rem; }
  .session-list { grid-template-columns: 1fr; }
  .schedule-row { padding-inline: .2rem; }
  .schedule-identity h3 { font-size: 1.6rem; }
  .standings-tabs { width: 100%; }
  .tab-button { flex: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links, .site-footer .legal { grid-column: auto; }
  .admin-header .brand-logo { width: 158px; height: 39px; }
  .admin-main h1 { font-size: 4rem; }
  .token-row { grid-template-columns: 1fr; gap: .5rem; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-stats > div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .editor-item, .editor-list-published .editor-item { grid-template-columns: 1fr; }
  .editor-thumb, .editor-list-published .editor-thumb { width: 100%; height: 180px; }
  .dashboard-actions { width: 100%; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
