/* Event substitutions only: orange/brown from the official TDM mark. */
:root{--red:#e56b23;--red-dark:#a74713;--ink:#301810;--text:#301810}
.site-header{background:#fff}.site-header .brand{height:106px;overflow:hidden}.site-header .brand img{display:block;height:106px;width:auto;max-width:100%;object-fit:contain;object-position:left center}
@media(max-width:700px){.site-header .brand{height:85px}.site-header .brand img{height:85px;width:auto}}
.distance-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.series-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.distance-tiles{grid-template-columns:1fr}}

@media(max-width:700px){.series-bar{grid-template-columns:1fr}}
.site-header .nav{color:#301810}.site-header .nav a:not(.button){color:inherit}.site-header .menu{color:#301810}
@media(max-width:1024px){.site-header .nav{background:#fff}}
.ride-benefits .eyebrow,.benefits-column h3,.answers-fast h2 em,.hero-date{color:#e56b23}
.answers-fast .path-race{--card-image:url('assets/gravel-riders.jpg')}.answers-fast .path-routes{--card-image:url('assets/gravel-action.jpg')}.answers-fast .path-weekend{--card-image:url('assets/gravel-finish.jpg')}
.answers-fast::before{background-image:linear-gradient(90deg,rgba(0,0,0,.74),rgba(0,0,0,.61)),url('assets/gravel-bike.jpg')}
.answers-fast .path::after{background:linear-gradient(0deg,rgba(99,43,17,.95),rgba(177,76,23,.72) 34%,rgba(177,76,23,.08) 74%)}
/* Keep the mobile menu control legible against its dark button surface. */
.site-header .menu{color:#fff;background:#111}

/* Header: 1.33× official 2027 event lockup and GR Tri menu typography. */
.site-header .brand{height:141px}
.site-header .brand img{height:141px}
.site-header .nav a{font:400 17px/1.2 Oswald,Arial,Helvetica,sans-serif!important;letter-spacing:.035em!important;text-transform:uppercase!important}
.site-header .nav a.is-active,.site-header .nav a[aria-current="page"]{font-weight:700!important}
@media(min-width:1025px){.site-header .brand{flex:0 0 auto}.site-header .nav{gap:clamp(9px,1.32vw,19px)}}
@media(max-width:1024px){
 .site-header .nav a{font-size:18px!important}
 .site-header .nav a.button{font-size:16px!important}
 .site-header .nav.open{max-height:calc(100dvh - 222px)}
}
@media(max-width:700px){.site-header .brand,.site-header .brand img{height:113px}}
/* Home Race-at-a-glance strip: fully opaque dark brown from the exact official vector. */
main > .glance[aria-label="Race at a glance"]{background-color:#2f1711}
/* Reframe only the three Bike subpage photo layers; retain the exact photos and text treatment. */
main > .hero[style*="assets/gravel-riders.jpg"]{--hero-position:center top}
main > .hero[style*="assets/gravel-action.jpg"]{--hero-position:center 6%}
main > .hero[style*="assets/gravel-course.jpg"]{--hero-position:center 8%}
@media(max-width:700px){
 main > .hero[style*="assets/gravel-riders.jpg"]{--hero-position:65% top}
 main > .hero[style*="assets/gravel-action.jpg"]{--hero-position:58% 6%}
 main > .hero[style*="assets/gravel-course.jpg"]{--hero-position:60% 8%}
}
/* Orange rollover and keyboard-focus treatment for the bottom Quick Answers photo links. */
.answers-fast .path:is(:hover,:focus-visible)::after{
 background:linear-gradient(0deg,rgba(135,48,16,.99) 0%,rgba(153,58,21,.96) 49%,rgba(177,76,23,.08) 83%);
}
.answers-fast .path:is(:hover,:focus-visible){border-color:#e56b23}
.answers-fast .path:focus-visible{outline:3px solid #873010;outline-offset:2px}

/* Dirtfest hero treatment: keep real gravel photos readable without darkening riders. */
main > .hero{
 --hero-position:center 22%;
 color:#fff9ef;
 background-color:#2f1711;
}
main > .hero::before{
 background-image:linear-gradient(90deg,rgba(38,19,14,.96) 0%,rgba(38,19,14,.86) 25%,rgba(38,19,14,.59) 48%,rgba(38,19,14,.12) 74%,rgba(38,19,14,.04) 100%),var(--hero);
 background-size:cover;
 background-position:center,var(--hero-position);
}
main > .hero > .wrap > p:not(.eyebrow):not(.hero-date){max-width:35rem;color:#fff9ef}
main > .hero h1{color:#fff9ef}
main > .hero .button:not(.alt){color:#26130e}
main > .hero:not(.subpage-hero):not(.weekend-hero) :is(.hero-date,h1 span){color:#ff9b61}
main > .hero h1 em{color:#ff9b61}
main > .hero:not(:has(.hero-date)) h1{max-width:680px}
main > .hero[style*="assets/gravel-bike.jpg"]{--hero-position:62% 15%}
main > .hero[style*="assets/gravel-riders.jpg"]{--hero-position:68% 0%}
main > .hero[style*="assets/gravel-action.jpg"]{--hero-position:58% 15%}
main > .hero[style*="assets/gravel-finish.jpg"]{--hero-position:63% 24%}
main > .hero[style*="assets/gravel-course.jpg"]{--hero-position:60% 8%}
@media(max-width:700px){
 main > .hero:not(.weekend-hero):not(:has(.hero-date)),main > .hero:has(.hero-date){
  align-items:end;
  min-height:0;
 }
 main > .hero:not(.weekend-hero):not(:has(.hero-date)) > .wrap, main > .hero:has(.hero-date) > .wrap{
  padding-top:clamp(195px,53vw,300px);
  padding-bottom:36px;
 }
 main > .hero::before{
  background-image:linear-gradient(180deg,rgba(38,19,14,.03) 0%,rgba(38,19,14,.09) 19%,rgba(38,19,14,.48) 36%,rgba(38,19,14,.87) 54%,#26130e 74%),var(--hero);
  background-size:cover,auto 79%;
  background-position:center,var(--hero-position);
  background-repeat:no-repeat;
 }
 main > .hero[style*="assets/gravel-bike.jpg"]{--hero-position:74% 0%}
 main > .hero[style*="assets/gravel-riders.jpg"]{--hero-position:54% 0%}
 main > .hero[style*="assets/gravel-action.jpg"]{--hero-position:51% 0%}
 main > .hero[style*="assets/gravel-finish.jpg"]{--hero-position:58% 0%}
 main > .hero[style*="assets/gravel-course.jpg"]{--hero-position:54% 0%}
}
.weekend-reference-label{font:700 1rem/1.3 Poppins,Arial,sans-serif;color:#301810;margin:1.25rem 0 .75rem}
