/* One shared layer for standard pages, native forms and campaign landings. */
.ogr-site .ogr-lp-test-controls{flex-wrap:wrap;max-width:min(520px,calc(100vw - 32px))}
.ogr-site .ogr-lp-auto-status{flex-basis:100%;font-size:12px;line-height:1.45;white-space:normal}
.ogr-site #sponsorship-brochure{scroll-margin-top:calc(var(--ogr-header-height,180px) + 24px)}
.ogr-site .ogr-button-icon{display:inline-block!important;width:1em!important;height:1em!important;min-width:1em;max-width:1em!important;max-height:1em!important;flex:0 0 1em;vertical-align:-.1em;overflow:visible}
.ogr-site :is(.ogr-read,.ogr-overview-action){display:inline-flex;align-items:center;gap:.45em}
.ogr-site :is(.ogr-button,.ogr-lp-button){display:inline-flex;align-items:center;justify-content:center;gap:.5em;line-height:1.35}
.ogr-site :is(.ogr-button,.ogr-lp-button,.ogr-native-form button[type=submit]){background:var(--ogr-link-light,#167da8);color:#fff!important;border-color:transparent;background-image:none}
.ogr-site :is(.ogr-button,.ogr-lp-button,.ogr-native-form button[type=submit]):is(:hover,:focus-visible,:active){background:var(--ogr-link-light,#167da8)!important;color:#fff!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ogr-link-light,#167da8) 23%,transparent);filter:none;transform:none}
.ogr-site :is(.ogr-button,.ogr-lp-button)::before,.ogr-site :is(.ogr-button,.ogr-lp-button)::after{background:none!important}
.ogr-site :is(.ogr-button-outline,.ogr-button-quiet,.ogr-lp-outline){background:var(--ogr-card)!important;color:var(--ogr-accent-link)!important;border:1px solid var(--ogr-line)}
.ogr-site .ogr-native-form{display:grid;gap:15px;margin:0;width:100%;color:var(--ogr-ink);text-align:left}
.ogr-native-form [hidden]{display:none!important}.ogr-site .ogr-form-field{display:grid;gap:5px}.ogr-site .ogr-native-form label{font-size:14px;line-height:1.45;color:var(--ogr-ink)}
.ogr-site .ogr-native-form :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){width:100%;min-height:44px;background:var(--ogr-surface);color:var(--ogr-ink);border:1px solid var(--ogr-line);border-radius:10px;padding:10px 12px;font:inherit;box-shadow:none}
.ogr-site .ogr-native-form textarea{height:110px;min-height:85px;resize:vertical}.ogr-site .ogr-form-consent{display:flex;align-items:flex-start;gap:9px;font-size:13px}.ogr-form-consent input{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0}.ogr-form-consent a{text-decoration:underline}
.ogr-form-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.ogr-site .ogr-form-captcha{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ogr-site .ogr-form-captcha input{max-width:80px!important}.ogr-site .ogr-form-status{margin:0;font-size:14px;line-height:1.5;color:var(--ogr-ink)}
.ogr-site .ogr-native-form button:disabled{opacity:.65;cursor:wait}.ogr-site .ogr-native-form button[type=submit]{justify-self:start;min-width:140px;min-height:44px}
.ogr-site .ogr-lp-modal{position:fixed;inset:0;z-index:100010;display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden}.ogr-site .ogr-lp-modal[hidden]{display:none!important}
body.admin-bar .ogr-site .ogr-lp-modal{top:32px}.ogr-site .ogr-lp-modal-panel{position:relative;inset:auto;transform:none;margin:0;max-height:calc(100dvh - 80px);width:min(540px,100%);overflow-y:auto;overscroll-behavior:contain;padding:24px;background:var(--ogr-card);color:var(--ogr-ink);border:1px solid var(--ogr-line);border-radius:22px}
.ogr-site .ogr-lp-modal-panel>h2{font-size:clamp(24px,3vw,32px);padding-right:40px}.ogr-site .ogr-lp-modal-close{position:sticky;top:0;float:right;z-index:3;width:40px;height:40px;min-height:40px;padding:10px;background:var(--ogr-surface);color:var(--ogr-ink);border:1px solid var(--ogr-line)}
.ogr-site .ogr-lp-modal-panel .ogr-lp-promo-percent{font-size:36px;margin:8px 0}.ogr-site .ogr-lp-modal-panel p{font-size:14px}.ogr-site .ogr-lp-modal-panel .ogr-lp-eyebrow{clear:left}
.ogr-site.ogr-lp{--lp-ink:var(--ogr-ink);--lp-muted:var(--ogr-muted);--lp-line:var(--ogr-line);--lp-card:var(--ogr-card)}
.ogr-site :is(.ogr-lp-header,.ogr-lp-menu nav,.ogr-lp-feature,.ogr-lp-ticket,.ogr-lp-countdown-card,.ogr-lp-modal-panel){background:var(--ogr-card);color:var(--ogr-ink);border-color:var(--ogr-line)}
.ogr-site .ogr-lp-hero{background:var(--ogr-surface)}.ogr-site .ogr-lp-hero::after{background:linear-gradient(110deg,var(--ogr-bg) 14%,color-mix(in srgb,var(--ogr-bg) 94%,transparent) 42%,color-mix(in srgb,var(--ogr-bg) 60%,transparent))}
.ogr-site .ogr-lp-section{background:transparent;margin-block:28px}.ogr-site .ogr-lp-hero-meta{color:var(--ogr-muted)}.ogr-site :is(.ogr-lp-partner,.ogr-partner-graphic){background:#fff}.ogr-site .ogr-lp-partner img{background:#fff}
.ogr-site .ogr-lp-countdown>div{background:#fff;color:#17202d;border:1px solid #c5ccd5;box-shadow:0 2px 5px #0000000d}.ogr-site .ogr-lp-countdown>div small{color:#566173}.ogr-site .ogr-lp-countdown-card{margin-top:18px}
.ogr-site .ogr-shop-home.ogr-gallery-preview-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/3.35);grid-template-columns:none;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 0 14px;scrollbar-width:none}.ogr-site .ogr-shop-home::-webkit-scrollbar{display:none}.ogr-site .ogr-shop-home .ogr-shop-card{width:auto;min-width:0;scroll-snap-align:start}.ogr-site .ogr-shop-home .ogr-shop-info{display:flex;flex-direction:column;flex:1}.ogr-site .ogr-shop-home .ogr-shop-info .ogr-button{margin-top:auto}
.ogr-site .ogr-vehicle-card{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;overflow:hidden}.ogr-site .ogr-vehicle-info{padding:28px}.ogr-site .ogr-vehicle-visual{position:relative;min-height:340px}.ogr-site .ogr-vehicle-visual img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}.ogr-site .ogr-vehicle-info .ogr-prose{font-size:17px;line-height:1.7}.ogr-site .ogr-vehicle-specs-block{margin:20px 0 32px;padding:20px 24px;background:var(--ogr-card);border:1px solid var(--ogr-line);border-radius:16px}.ogr-vehicle-specs-block summary{font-weight:750;cursor:pointer}.ogr-vehicle-specs-block table{margin-top:18px}
.ogr-site .ogr-gallery-album{margin-block:14px}.ogr-site :is(.ogr-lp-arrows,.ogr-gallery-nav) button svg{display:block;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important}.ogr-site .ogr-footer-brand-link{border-left:0}.ogr-site .ogr-top .ogr-sub-toggle{box-shadow:none}
@media(min-width:1101px){.ogr-site .ogr-top nav .ogr-sub-toggle{display:none!important}.ogr-site .ogr-top nav .menu-item-has-children>a::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:9px;margin-top:-4px;display:inline-block;background:none}.ogr-site .ogr-top nav .menu-item-has-children:focus-within>.sub-menu{visibility:visible;opacity:1;transform:none;display:block!important}.ogr-site a[href*="timing"],.ogr-site .ogr-race-links a{white-space:nowrap}}
@media(max-width:1100px){.ogr-site .ogr-mobile-menu nav .sub-menu{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0 0 0 12px!important;margin:0 0 6px!important}.ogr-site .ogr-top nav li>a{padding-block:8px!important;min-height:44px}.ogr-site .ogr-top nav li{margin-block:0!important}.ogr-site .ogr-mobile-menu>nav{padding:12px;max-height:calc(100dvh - var(--ogr-header-height,160px) - 24px)}.ogr-site .ogr-shop-home.ogr-gallery-preview-track{grid-auto-columns:calc((100% - 20px)/2)}}
@media(max-width:640px){.ogr-site .ogr-vehicle-card{grid-template-columns:1fr;gap:0}.ogr-site .ogr-vehicle-info{padding:22px}.ogr-site .ogr-shop-home.ogr-gallery-preview-track{grid-auto-columns:85%}.ogr-site .ogr-lp-modal{padding:12px}.ogr-site .ogr-lp-modal-panel{padding:18px;max-height:calc(100dvh - 32px)}body.admin-bar .ogr-site .ogr-lp-modal{top:46px}body.admin-bar .ogr-site .ogr-lp-modal-panel{max-height:calc(100dvh - 70px)}.ogr-site .ogr-native-form{gap:12px}.ogr-site .ogr-native-form button[type=submit]{width:100%}}
@media(prefers-reduced-motion:reduce){.ogr-site *{scroll-behavior:auto!important}}
.ogr-site .ogr-foot{border-top:0}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-hero::after{background:linear-gradient(110deg,var(--ogr-bg) 14%,color-mix(in srgb,var(--ogr-bg) 94%,transparent) 42%,color-mix(in srgb,var(--ogr-bg) 60%,transparent))}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-partner-grid .ogr-partner{background:#fff}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-button{background:var(--ogr-link-light);color:#fff!important}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-button.ogr-lp-outline{background:var(--ogr-card)!important;color:var(--ogr-accent-link)!important}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-button:is(:hover,:focus-visible,:active){background:var(--ogr-link-light)!important;color:#fff!important}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-modal-panel{padding:24px;max-height:calc(100dvh - 80px)}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-modal-close{position:sticky;top:0;right:0;float:right}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-ticket-tabs button.active{background:var(--ogr-link-light);color:#fff}
@media(max-width:640px){html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-modal-panel{padding:18px;max-height:calc(100dvh - 80px)}}

/* Paired background/foreground states shared by the landing and regular pages. */

html[data-ogr-theme] .ogr-site a.ogr-button:is(.ogr-button-outline,.ogr-button-quiet),
html[data-ogr-theme] .ogr-site.ogr-lp a.ogr-lp-button.ogr-lp-outline{background:var(--ogr-card)!important;color:var(--ogr-accent-link)!important;border:1px solid var(--ogr-accent-link)!important}
html[data-ogr-theme] .ogr-site a.ogr-button:is(.ogr-button-outline,.ogr-button-quiet):is(:hover,:focus-visible,:active),
html[data-ogr-theme] .ogr-site.ogr-lp a.ogr-lp-button.ogr-lp-outline:is(:hover,:focus-visible,:active){background:var(--ogr-link-light,#167da8)!important;color:#fff!important;border-color:var(--ogr-link-light,#167da8)!important}
html[data-ogr-theme] .ogr-site .ogr-home-feature .ogr-home-feature-content :is(h3,h3 a,p),
html[data-ogr-theme] .ogr-site .ogr-home-feature .ogr-home-feature-heading{color:var(--ogr-home-ink,#17202d)!important}
html[data-ogr-theme="dark"] .ogr-site :is(.ogr-brand .ogr-logo,.ogr-footer-brand-logo,.ogr-lp-event-logo,.ogr-home-feature-logo){background:#fff;border-radius:12px;padding:8px;box-sizing:content-box}
html[data-ogr-theme="dark"] .ogr-site .ogr-lp-event-logo{padding:16px 20px;border-radius:18px}
.ogr-site .ogr-foot-links{display:block;min-width:0}
.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){width:100%;text-align:left}
.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list)>li>a{display:flex;align-items:center;min-height:44px;line-height:1.45;padding:4px 0;overflow-wrap:anywhere}
@media(max-width:767px){.ogr-site .ogr-foot{margin-top:20px;padding-block:24px;gap:20px}.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){gap:8px 16px;text-align:center}.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list)>li>a{justify-content:center}.ogr-site .ogr-foot-brand{gap:14px}.ogr-site .ogr-footer-brand-logo{max-height:80px}.ogr-site .ogr-vehicle-visual{min-height:0;aspect-ratio:4/3}}
@media(max-width:359px){.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){grid-template-columns:1fr}}
/* Compact legal navigation and photo captions independent of image contrast. */
.ogr-site .ogr-foot-links{justify-self:end;width:auto;max-width:100%}
.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){grid-template-columns:repeat(2,max-content);gap:0 24px;width:auto}
.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list)>li>a{padding:6px 0;min-height:44px}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-gallery-photo{height:auto;display:flex;flex-direction:column;background:var(--ogr-card);border:1px solid var(--ogr-line)}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-gallery-photo img{height:260px;flex:none;object-fit:cover}
html[data-ogr-theme] .ogr-site.ogr-lp .ogr-lp-gallery-photo figcaption{position:static;inset:auto;display:block;width:100%;max-width:none;box-sizing:border-box;margin:0;padding:12px 16px;background:var(--ogr-card);color:var(--ogr-ink);font-size:15px;font-style:normal;font-weight:700;line-height:1.5;text-align:left;text-shadow:none}
@media(max-width:767px){.ogr-site .ogr-foot-links{justify-self:center;width:auto;max-width:100%}.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;max-width:440px}}
@media(max-width:359px){.ogr-site .ogr-foot-links :is(.menu,.ogr-menu-list){grid-template-columns:1fr}}

/* Homepage partner carousel: white logo surfaces in every colour mode. */
.ogr-site .ogr-partner-carousel{--partner-count:var(--partner-visible);--partner-gap:16px;position:relative}
.ogr-site .ogr-partner-viewport{overflow-x:auto;scrollbar-width:thin;border-radius:17px}
.ogr-site .ogr-partner-track{display:flex;width:max-content;gap:var(--partner-gap)}
.ogr-site .ogr-partner-carousel .ogr-partner-grid{display:flex;gap:var(--partner-gap);flex:none}
.ogr-site .ogr-partner-carousel .ogr-partner{box-sizing:border-box;flex:0 0 var(--partner-width,220px);width:var(--partner-width,220px);min-height:120px;background:#fff!important;color:#151922!important}
.ogr-site .ogr-partner-carousel .ogr-partner :is(a,.ogr-partner-graphic){background:#fff!important;color:#151922!important;width:100%}
.ogr-site .ogr-partner-carousel .ogr-partner img{width:100%;height:76px;object-fit:contain;background:#fff!important}
.ogr-site .ogr-partner-carousel.is-moving .ogr-partner-viewport{overflow:hidden}
@media(max-width:767px){.ogr-site .ogr-partner-carousel{--partner-count:var(--partner-mobile);--partner-gap:12px}.ogr-site .ogr-partner-carousel .ogr-partner{min-height:100px;padding:16px}.ogr-site .ogr-partner-carousel .ogr-partner img{height:64px}}

/* Team detail pages use two generous columns, one on phones. */
.ogr-site .ogr-team-grid.ogr-team-grid-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%}
.ogr-site .ogr-team-grid-detail .ogr-team-card{min-width:0}
.ogr-site .ogr-team-grid-detail .ogr-team-photo{height:auto;aspect-ratio:16/9}
.ogr-site .ogr-team-grid-detail .ogr-team-text{padding:clamp(20px,2.4vw,36px)}
.ogr-site .ogr-team-grid-detail .ogr-team-text h3{font-size:clamp(24px,2vw,32px)}
.ogr-site .ogr-team-grid-detail .ogr-team-text .ogr-prose{font-size:16px;line-height:1.7}
@media(max-width:767px){.ogr-site .ogr-team-grid.ogr-team-grid-detail{grid-template-columns:minmax(0,1fr);gap:20px}}
