:root{--bg:#101214;--panel:#181b1e;--text:#f3f2ee;--muted:#989b9d;--red:#ed3b32;--line:#303437;--display:'Barlow Condensed',Impact,sans-serif;--body:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:15px}a{color:inherit;text-decoration:none}.site-header{height:78px;padding:0 6.2%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12;background:#101214;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:37px;height:37px;border:2px solid var(--red);display:grid;place-content:center;font:800 21px var(--display);letter-spacing:-2px;transform:skew(-7deg)}.brand-mark span{color:var(--red)}.brand-name{font:700 15px var(--display);letter-spacing:1.4px}.brand-name b{color:#a4a6a7;font-weight:500}.main-nav{display:flex;gap:36px;height:100%;align-items:center}.main-nav a{font-size:12px;color:#b5b7b8;letter-spacing:.8px;position:relative}.main-nav a:hover,.main-nav a.active{color:white}.main-nav a.active:after{content:"";position:absolute;width:100%;height:2px;background:var(--red);left:0;bottom:-31px}.header-cta{font-size:10px;letter-spacing:1px;font-weight:700;border:1px solid #4a4d4f;padding:12px 14px}.header-cta span{color:var(--red);margin-left:10px}.menu-toggle{display:none;background:none;border:0;color:white;font-size:24px}.hero{height:min(690px,78vw);min-height:520px;position:relative;background:#202427 center 54%/cover no-repeat;display:flex;align-items:center;padding:0 11%;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,14,15,.94) 0%,rgba(12,14,15,.65) 42%,rgba(12,14,15,.08) 100%),linear-gradient(0deg,rgba(12,14,15,.62),transparent 30%)}.hero-content{position:relative;margin-top:-7px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#c1c3c3;margin:0 0 17px}.live-dot{display:inline-block;background:var(--red);width:7px;height:7px;border-radius:50%;margin-right:8px;box-shadow:0 0 10px #ed3b32}.hero h1{font:800 clamp(76px,11vw,150px)/.78 var(--display);letter-spacing:-2px;margin:0 0 30px}.hero h1 em,h2 em{font-style:normal;color:var(--red)}.hero-copy{font-size:16px;line-height:1.7;color:#d0d0ce;margin-bottom:27px}.button{display:inline-flex;align-items:center;gap:30px;padding:16px 19px;font-size:10px;font-weight:700;letter-spacing:1px}.button-red{background:var(--red)}.button-red span{font-size:18px}.hero-meta{position:absolute;bottom:33px;left:11%;display:flex;align-items:center;gap:13px;color:#c2c4c4;font-size:9px;letter-spacing:1.5px}.meta-line{height:1px;width:40px;background:var(--red)}.hero-index{position:absolute;right:6.2%;bottom:30px;font:700 14px var(--display)}.hero-index span{color:var(--red);padding:0 6px}.ticker{height:50px;background:var(--red);display:flex;align-items:center;overflow:hidden;white-space:nowrap}.ticker div{font:700 16px var(--display);letter-spacing:2px;word-spacing:4px;animation:marquee 34s linear infinite}.ticker i{font-style:normal;padding:0 28px;color:#ffb0a9}@keyframes marquee{to{transform:translateX(-35%)}}.section{padding:92px 11%}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:36px}.section-heading .eyebrow{color:var(--red);margin-bottom:9px}.section h2,.about-copy h2{font:700 clamp(43px,6vw,70px)/.9 var(--display);letter-spacing:.5px;margin:0}.section-count{font-size:9px;letter-spacing:1.4px;color:#7f8385;padding-bottom:6px}.event-placeholder{min-height:155px;border:1px solid #363a3c;background:linear-gradient(105deg,#191c1e,#141719);display:flex;align-items:center;gap:22px;padding:28px}.placeholder-icon{width:46px;height:46px;border:1px solid #414547;color:var(--red);display:grid;place-items:center;font-size:23px}.event-placeholder h3,.results-empty h3{font:600 24px var(--display);margin:0 0 6px}.event-placeholder p,.results-empty p{font-size:12px;color:var(--muted);margin:0}.event-status{margin-left:auto;color:#777c7e;font-size:9px;letter-spacing:1px;border:1px solid #373b3d;padding:10px}.about-section{display:grid;grid-template-columns:1.1fr .9fr;min-height:440px;background:#191c1f}.about-image{position:relative;background:linear-gradient(0deg,#1214169c,transparent 55%),url('https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=1200&q=80') center/cover}.about-image{background-image:linear-gradient(0deg,#1214169c,transparent 55%),url('https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=1200&q=80')}.image-label{position:absolute;bottom:32px;left:11%;font:600 13px/1.5 var(--display);letter-spacing:1.5px;color:#ddd}.image-label b{color:white;font-size:18px}.about-copy{padding:72px 13% 55px 11%;align-self:center}.about-copy .eyebrow{color:var(--red)}.about-copy h2{margin-bottom:23px}.about-copy>p:not(.eyebrow){font-size:13px;line-height:1.9;color:#aeb1b2;max-width:410px}.about-copy .about-note{font-size:9px!important;letter-spacing:1.5px;color:var(--red)!important;font-weight:700;margin-top:25px}.results-section{padding-bottom:100px}.result-tabs{display:flex;border-bottom:1px solid #393d3f;gap:27px}.result-tab{background:none;border:0;border-bottom:2px solid transparent;color:#777d7f;padding:0 5px 14px;font:700 13px var(--body);letter-spacing:1px;cursor:pointer}.result-tab span{font-size:9px;margin-left:8px;color:#777}.result-tab.active{color:white;border-color:var(--red)}.result-tab.active span{color:var(--red)}.results-empty{display:flex;align-items:center;gap:22px;padding:35px 0;border-bottom:1px solid #303436}.empty-number{font:700 50px var(--display);color:#4f5456}.results-label{margin-left:auto;text-align:right;color:#707577;font-size:9px;line-height:1.6;letter-spacing:1px}.results-label b{color:var(--red)}.quote-band{padding:52px 11%;background:var(--red);display:flex;align-items:center;gap:25px}.quote-mark{font:800 90px/.6 var(--display);color:#ff918a}.quote-band p{font:700 clamp(22px,3vw,36px)/1.05 var(--display);margin:0}.quote-band p em{font-style:normal;color:#551b19}.quote-sign{margin-left:auto;font-size:9px;letter-spacing:1px;white-space:nowrap}.site-footer{padding:31px 6.2%;display:flex;align-items:center;gap:28px;min-height:95px}.footer-brand .brand-mark{width:31px;height:31px;font-size:18px}.footer-brand .brand-name{font-size:12px}.site-footer>p,.back-top,.copyright{font-size:9px;letter-spacing:1px;color:#85898a}.back-top{margin-left:auto;color:#c1c3c3}.copyright{font-size:8px}
@media(max-width:760px){.site-header{height:66px;padding:0 5%}.menu-toggle{display:block;margin-left:auto;margin-right:15px}.main-nav{display:none;position:absolute;top:65px;left:0;right:0;background:#151719;height:auto;padding:18px 6%;flex-direction:column;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.main-nav a.active:after{display:none}.header-cta{font-size:8px;padding:10px}.hero{min-height:570px;height:75vh;padding:0 7%;background-position:59% center}.hero-shade{background:linear-gradient(90deg,#0c0e0fea,#0c0e0e8a 62%,#0c0e0e40),linear-gradient(0deg,#0c0e0e99,transparent 45%)}.hero h1{font-size:clamp(80px,18vw,122px)}.hero-meta{left:7%}.section{padding:68px 7%}.section-heading{align-items:start}.section-count{font-size:8px}.event-placeholder{align-items:flex-start;flex-wrap:wrap;padding:20px}.event-placeholder>div:nth-child(2){flex:1;min-width:190px}.event-status{margin:0 0 0 68px}.about-section{grid-template-columns:1fr}.about-image{min-height:290px}.about-copy{padding:55px 7%}.results-empty{gap:14px}.results-empty h3{font-size:21px}.results-label{display:none}.quote-band{padding:38px 7%;gap:12px;flex-wrap:wrap}.quote-sign{margin-left:60px}.site-footer{padding:25px 6%;gap:14px;flex-wrap:wrap}.site-footer>p{display:none}.back-top{margin-left:auto}.copyright{width:100%;text-align:center}.ticker div{animation-duration:22s}}

/* Simcore Italia identity and event artwork */
.brand-logo{display:block;width:154px;height:54px;object-fit:contain;mix-blend-mode:screen}
.footer-brand .brand-logo{width:125px;height:44px}
.hero{background-image:url('../media/simcore-race-screenshot-clean.jpg');background-position:center 52%}
.about-image{background-image:linear-gradient(0deg,#1214169c,transparent 55%),url('../media/simcore-car-vertical.jpg');background-position:center 60%}
.event-card{border:1px solid #363a3c;background:#151719;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:stretch}
.event-banner{display:block;overflow:hidden;background:#080a0c;min-height:190px}
.event-banner img{display:block;width:100%;height:100%;max-height:235px;object-fit:cover;transition:transform .35s ease}
.event-banner:hover img{transform:scale(1.015)}
.event-info{display:flex;align-items:center;gap:16px;padding:23px 22px;flex-wrap:wrap}
.event-date{width:65px;min-width:65px;height:65px;background:var(--red);display:flex;flex-direction:column;align-items:center;justify-content:center;font:800 34px/.85 var(--display)}
.event-date small{font:700 9px var(--body);letter-spacing:1px;margin-top:6px}
.event-details{flex:1;min-width:150px}.event-details .eyebrow{font-size:9px;color:var(--red);margin:0 0 5px}.event-details h3{font:700 28px var(--display);text-transform:uppercase;margin:0 0 5px}.event-details>p:last-child{margin:0;color:#aeb1b2;font-size:11px;line-height:1.7}.event-details>p span{color:var(--red);padding:0 5px}
.poster-link{padding:12px 14px;border:1px solid #45494b;font-size:9px;letter-spacing:1px;font-weight:700;white-space:nowrap}.poster-link span{color:var(--red);margin-left:8px}
@media(max-width:760px){.brand-logo{width:128px;height:48px}.event-card{grid-template-columns:1fr}.event-banner{min-height:0}.event-banner img{height:auto;max-height:none}.event-info{padding:19px 15px;gap:13px;flex-wrap:wrap}.event-date{width:55px;min-width:55px;height:55px;font-size:29px}.event-details h3{font-size:24px}.event-details>p:last-child{line-height:1.6}.poster-link{margin-left:68px}.hero{background-position:56% center}}

/* Practice session leaderboard */
.practice-results[hidden],.results-empty[hidden]{display:none!important}
.session-heading{display:flex;align-items:end;justify-content:space-between;padding:29px 0 18px;border-bottom:1px solid #34383a}
.session-heading .eyebrow{color:var(--red);font-size:9px;margin-bottom:7px}
.session-heading h3{font:700 31px/.95 var(--display);margin:0;letter-spacing:.5px}
.session-heading h3 span{font-size:15px;color:#9b9fa0;letter-spacing:1px;margin-left:8px}
.session-class{font-size:9px;letter-spacing:1px;color:#aaa;padding-bottom:3px}
.table-scroll{overflow-x:auto}
.leaderboard{width:100%;border-collapse:collapse;min-width:680px;text-align:left}
.leaderboard th{padding:14px 12px;color:#777d7f;font-size:9px;letter-spacing:1.1px;font-weight:600;border-bottom:1px solid #363a3c}
.leaderboard td{padding:12px;border-bottom:1px solid #292d2f;font-size:12px;color:#c5c7c7}
.leaderboard tbody tr:hover{background:#1a1d1f}
.leaderboard tbody tr.leader{background:linear-gradient(90deg,#ed3b3215,transparent 80%)}
.leaderboard .position{width:66px;color:#888d8f;font:700 17px var(--display)}
.leaderboard .leader .position,.leaderboard .leader .lap-time{color:var(--red)}
.driver-name{font-weight:600;white-space:nowrap}
.driver-class{display:inline-block;margin-left:6px;padding:3px 5px;border:1px solid #45494b;color:#858a8b;font-size:8px;letter-spacing:.5px;vertical-align:1px}
.car-name{color:#929798!important}
.lap-time{font:700 15px var(--display);letter-spacing:.4px;white-space:nowrap}
.time-gap,.lap-count{font-variant-numeric:tabular-nums;white-space:nowrap}
.lap-count{color:#8e9394!important}
@media(max-width:760px){.session-heading{align-items:flex-start;gap:12px;flex-direction:column}.session-heading h3{font-size:27px}.session-heading h3 span{font-size:13px}}

/* Publii result editor tables and article pages */
.result-content{display:none}.result-content.active{display:block}
.table-scroll table{width:100%;border-collapse:collapse;min-width:680px;text-align:left}
.table-scroll th{padding:14px 12px;color:#777d7f;font-size:9px;letter-spacing:1.1px;font-weight:600;border-bottom:1px solid #363a3c}
.table-scroll td{padding:12px;border-bottom:1px solid #292d2f;font-size:12px;color:#c5c7c7}
.table-scroll tbody tr:first-child{background:linear-gradient(90deg,#ed3b3215,transparent 80%)}
.table-scroll tbody tr:first-child td:nth-child(1),.table-scroll tbody tr:first-child td:nth-child(5){color:var(--red)}
.article-section{min-height:70vh;padding-top:90px}.article-title{font:700 clamp(42px,7vw,76px)/.95 var(--display);margin:0 0 32px}.article-content{line-height:1.8;color:#c5c7c7;max-width:850px;margin-bottom:38px}.article-content img{max-width:100%;height:auto}.article-content table{border-collapse:collapse;width:100%}

/* Use the two-car race screenshot in the homepage hero, without its driver tag. */
.hero{background-image:url('../media/simcore-race-screenshot-clean.jpg');background-position:center 52%}
@media(max-width:760px){.hero{background-position:center 52%}}

/* Collapsible latest results, initially closed on the homepage. */
.results-disclosure{border:1px solid var(--line);background:var(--panel)}
.results-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 30px;cursor:pointer;list-style:none;user-select:none}
.results-disclosure>summary::-webkit-details-marker{display:none}
.results-disclosure>summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.results-disclosure .section-count{display:flex;align-items:center;gap:16px}
.disclosure-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #4a4d4f;border-radius:50%;color:var(--red);font:500 22px/1 var(--body);transition:transform .2s ease,background .2s ease}
.results-disclosure[open] .disclosure-icon{transform:rotate(45deg);background:#ed3b3215}
.results-panel{padding:0 30px 30px}
.results-session{border-top:1px solid var(--line)}
.results-session>summary{cursor:pointer;list-style:none}
.results-session>summary::-webkit-details-marker{display:none}
.results-session>summary:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.session-toggle{display:grid;place-items:center;width:30px;height:30px;border:1px solid #4a4d4f;border-radius:50%;color:var(--red);font:500 21px/1 var(--body);transition:transform .2s ease,background .2s ease}
.results-session[open] .session-toggle{transform:rotate(45deg);background:#ed3b3215}
.results-session .table-scroll{padding-bottom:8px}
@media(max-width:760px){.results-disclosure>summary{padding:22px 18px}.results-disclosure .section-count{gap:9px;font-size:8px}.disclosure-icon{width:28px;height:28px}.results-panel{padding:0 18px 22px}}

/* Give the team identity more visibility while preserving the existing layout. */
.site-header .brand-logo{width:190px;height:66px}
.footer-brand .brand-logo{width:146px;height:52px}
.about-image{display:grid;place-items:center;overflow:hidden;background:#101214}
.about-image .team-poster{display:block;width:100%;height:100%;max-height:600px;object-fit:contain;object-position:center}
.about-copy{background-image:linear-gradient(rgba(16,18,20,.86),rgba(16,18,20,.90)),url('../media/simcore-car-wide.jpg');background-size:cover;background-position:35% center;background-repeat:no-repeat}
@media(max-width:760px){.site-header .brand-logo{width:145px;height:50px}.footer-brand .brand-logo{width:130px;height:46px}.about-image{min-height:0;height:auto}.about-image .team-poster{height:auto;max-height:650px;width:100%}}

/* Balance the portrait and the team copy in the about section. */
.about-section{grid-template-columns:minmax(0,42fr) minmax(0,58fr)}
.about-image{min-width:0;display:grid;place-items:center;background:#080a0b}
.about-image .team-poster{width:100%;height:100%;max-height:600px;object-fit:contain;object-position:center}
.about-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(30px,3.4vw,54px)}
.about-copy>p:not(.eyebrow){max-width:38ch}
@media(max-width:760px){.about-section{grid-template-columns:1fr}.about-copy{padding:48px 7%}}
