body[data-home-layout="race-first"] .site-header{gap:20px;flex-wrap:nowrap;min-height:88px;padding:12px clamp(16px,4vw,64px)}
body[data-home-layout="race-first"] .site-header .brand{flex:0 0 auto}
body[data-home-layout="race-first"] .site-header .brand-logo{width:150px;max-height:65px;object-fit:contain}
body[data-home-layout="race-first"] .jdrc-primary-nav{flex:1;justify-content:center;gap:20px;overflow:visible;min-width:0}
body[data-home-layout="race-first"] .jdrc-primary-nav>a{display:flex!important;white-space:nowrap;font-size:12px}
body[data-home-layout="race-first"] .hero{min-height:0;padding:46px clamp(20px,6vw,80px);gap:44px;align-items:center}
body[data-home-layout="race-first"] .hero h1{font-size:clamp(40px,4.8vw,66px)!important;line-height:1.05;letter-spacing:-.025em;margin:18px 0}
body[data-home-layout="race-first"] .hero-heading-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px}
body[data-home-layout="race-first"] .hero-heading-row h1{flex:0 1 auto}
body[data-home-layout="race-first"] .hero-register{flex:0 0 auto;min-height:48px;text-align:center;white-space:nowrap}
@media(max-width:420px){body[data-home-layout="race-first"] .hero-register{margin-inline:auto}}
body[data-home-layout="race-first"] .hero-text{font-size:17px;line-height:1.6;max-width:580px;margin-bottom:22px}
body[data-home-layout="race-first"] .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
body[data-home-layout="race-first"] .hero-photo-card{min-height:0;aspect-ratio:4/3;max-height:440px}
body[data-home-layout="race-first"] .hero-photo-card img{width:100%;height:100%;object-fit:cover}
.home-race-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:24px;max-width:580px}
.home-race-search label{grid-column:1/-1;font-size:12px;color:#ccc;font-weight:750}
.home-race-search input{width:100%;min-width:0;min-height:46px;border:1px solid #555;background:#111;color:#fff;border-radius:8px;padding:10px 12px}
.home-race-search input:focus-visible{outline:2px solid #f65c66;outline-offset:3px}
.home-start{padding-top:22px!important;padding-bottom:22px!important}
.home-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-start-grid>a{display:block;padding:24px;border:1px solid #3c3c40;border-radius:14px;background:#101014;color:#fff;text-decoration:none}
.home-start-grid>a:first-child{border-color:#e74352;background:linear-gradient(135deg,#291216,#101014)}
.home-start-grid span{display:block;color:#fa6975;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.home-start-grid h2{font-size:24px;margin:10px 0}
.home-start-grid p{font-size:14px;line-height:1.6;margin:0;color:#c5c5cd}
.home-community .jdrc-header-podium{width:100%;max-width:none;display:flex;margin:18px 0;justify-content:flex-start}
.home-community .jdrc-global-livebar{position:static;margin:18px 0}
body[data-home-layout="race-first"] .stat-strip{margin:24px 0}
body[data-home-layout="race-first"] main>.section{scroll-margin-top:110px}
@media(max-width:1050px) and (min-width:721px){body[data-home-layout="race-first"] .site-header{gap:12px;padding-inline:16px}body[data-home-layout="race-first"] .site-header .brand-logo{width:110px}body[data-home-layout="race-first"] .jdrc-primary-nav{gap:12px}body[data-home-layout="race-first"] .jdrc-primary-nav>a{font-size:10px}}
@media(max-width:720px){body[data-home-layout="race-first"] .site-header{min-height:72px;gap:10px}body[data-home-layout="race-first"] .jdrc-primary-nav{display:none!important}body[data-home-layout="race-first"] .hero{padding:26px 18px;gap:22px;display:flex;flex-direction:column;align-items:stretch}body[data-home-layout="race-first"] .hero h1{font-size:42px!important}body[data-home-layout="race-first"] .hero-text{font-size:15px}body[data-home-layout="race-first"] .hero-photo-card{aspect-ratio:16/9;max-height:240px}body[data-home-layout="race-first"] .hero-actions .button{flex:1 1 auto;width:auto;min-height:44px;padding:12px}.home-start-grid{grid-template-columns:1fr}.home-start-grid>a{padding:18px}.home-start-grid h2{font-size:21px;margin:7px 0}.home-race-search{margin-top:18px}.home-community .jdrc-header-podium{flex-wrap:wrap}.home-community .jdrc-header-podium-list{flex-wrap:wrap}}

@media(max-width:720px){body[data-home-layout="race-first"] .jdrc-mobile-dock{grid-template-columns:repeat(5,minmax(0,1fr))}body[data-home-layout="race-first"] .jdrc-mobile-dock a,body[data-home-layout="race-first"] .jdrc-mobile-dock button{min-width:0;font-size:10px!important;line-height:1.2!important;text-align:center}}


.homepage-secondary-logo{grid-column:1/-1;display:flex;justify-content:flex-end}.homepage-secondary-logo img{width:180px;max-width:100%;height:auto;object-fit:contain}

/* Homepage race discovery: existing data, no full video loads for cards. */
.home-video-grid,#homeSearchMatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-video-card{min-width:0;display:flex;flex-direction:column;padding:24px;border:1px solid #414149;border-top:3px solid #ff7b24;border-radius:12px;background:linear-gradient(145deg,#202025,#111114);overflow-wrap:anywhere}.home-video-card h3{font-size:21px;line-height:1.3;margin:5px 0 10px}.home-video-card p{line-height:1.55}.home-video-card .button{margin-top:auto;align-self:flex-start;min-height:44px}.home-video-access{color:#ffd3ad;font-size:13px}.home-search-results{max-width:100%;margin-top:18px;padding:18px;border:1px solid #555;border-radius:12px;background:#111}.home-search-results[hidden]{display:none}#homeSearchMatches{grid-template-columns:1fr;max-height:560px;overflow-y:auto}.home-racer-match{display:grid;gap:8px;padding:16px;border:1px solid #555;border-radius:8px;color:#fff;min-height:44px}.home-racer-match span{font-size:13px;color:#ffd3ad}.home-start-grid>a:first-child{border-color:#ff7b24;background:linear-gradient(135deg,#302016,#101014)}.home-start-grid span{color:#ffac6d}body[data-home-layout="race-first"] .hero h1{font-size:clamp(38px,4.5vw,64px)!important}.home-video-grid>.empty-state{grid-column:1/-1}@media(max-width:900px){.home-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.home-video-grid{grid-template-columns:1fr}.home-video-card{padding:20px}body[data-home-layout="race-first"] .hero h1{font-size:clamp(32px,9vw,44px)!important}.home-race-search{grid-template-columns:1fr}.home-race-search button{min-height:46px}.home-search-results{padding:12px}}

.home-driver-directory summary{cursor:pointer;padding:18px;border:1px solid #555;border-radius:10px;min-height:48px;color:#fff;font-weight:750}.home-driver-directory[open] summary{margin-bottom:18px}.home-driver-directory summary:focus-visible{outline:2px solid #ff9b50;outline-offset:3px}
