/*
 * Burnt River Off-Road Vehicle Facility: the site's own design (customer layer). Loaded after the LiveLaps layer
 * (css/site.css, css/imported.css) and the theme (css/theme.css). Colours come from the theme tokens, so Studio's
 * design controls and the dark theme keep working; the poster font stack needs no web font and no third party.
 * Sections marked .gp-dark, .gp-hero and the header/footer are dark in both themes on purpose.
 */
:root {
  --gp-night: #000000;
  --gp-brown: #5e0b12;
  --gp-sand: #f6f4f1;
  --gp-accent: #ff3d3d;
  --gp-max: 72rem;
  --gp-display: var(--font-display, Impact, 'Arial Narrow Bold', Haettenschweiler, sans-serif);
}
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: var(--font-sans, system-ui, sans-serif); background: var(--background); color: var(--foreground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.gp-skip { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--gp-accent); color: var(--gp-night); padding: .6rem 1rem; border-radius: .5rem; font-weight: 700; }
.gp-skip:focus { top: .5rem; }
:where(main, footer) a:focus-visible, .gp-btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

/* ---- header (dark in both themes) */
header[data-site-header] { background: var(--gp-night) !important; color: var(--gp-sand) !important; border-bottom: 3px solid var(--gp-accent); }
header[data-site-header] :is([data-slot="navigation-menu-link"], [data-base-ui-navigation-menu-trigger], [data-slot="dropdown-menu-trigger"], [data-slot="sheet-trigger"], [data-chatwoot-launcher], [data-header-actions] a:not(:last-child)) { background: transparent !important; color: var(--gp-sand) !important; }
header[data-site-header] :is([data-slot="navigation-menu-link"], [data-base-ui-navigation-menu-trigger], [data-slot="dropdown-menu-trigger"], [data-slot="sheet-trigger"]):is(:hover, :focus-visible) { background: rgb(246 244 241 / .12) !important; }
header[data-site-header] [data-nav-item] > :is(a, button) { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: .8rem; }
header[data-site-header] [data-header-actions] a:last-child { background: var(--gp-accent) !important; color: var(--gp-night) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
header[data-site-header] [data-header-actions] a:last-child:hover { background: #ff7a7a !important; }
[data-header-brand] img, [data-probe-brand] img { height: 3.4rem; width: auto; max-width: none; }
@media (max-width: 40rem) { [data-header-brand] img, [data-probe-brand] img { height: 2.75rem; } }

/* ---- layout helpers */
.gp-wrap { width: 100%; max-width: var(--gp-max); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 48rem) { .gp-wrap { padding-inline: 2rem; } }
.gp-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.gp-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.gp-section h2, .gp-pagehead h1, .gp-hero h1, .gp-cta h2, .gp-band h2 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; letter-spacing: .015em; line-height: 1.02; }
.gp-section h2, .gp-band h2, .gp-cta h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin: 0 0 .75rem; }
.gp-h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem) !important; margin: 3rem 0 1.25rem !important; }
.gp-h2 span { display: block; }
.gp-eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-foreground); margin: 0 0 .6rem; }
.gp-hero .gp-eyebrow, .gp-dark .gp-eyebrow, .gp-pagehead .gp-eyebrow, .gp-featured .gp-eyebrow { color: var(--gp-accent); }
.gp-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 46rem; margin: 0 0 1.5rem; color: inherit; opacity: .9; }
.gp-note { font-size: .95rem; color: var(--muted-foreground); margin: 1.25rem 0 0; max-width: 50rem; }
.gp-note-light { color: inherit; opacity: .8; }
.gp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem; border-radius: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background-color .15s, color .15s; }
.gp-btn:hover { transform: translateY(-2px); }
.gp-btn-primary { background: var(--gp-accent); color: var(--gp-night); }
.gp-btn-primary:hover { background: #ff7a7a; }
.gp-btn-ghost { border-color: rgb(246 244 241 / .6); color: var(--gp-sand); }
.gp-btn-ghost:hover { background: rgb(246 244 241 / .12); }
.gp-btn-outline { border-color: currentColor; color: var(--foreground); }
.gp-btn-outline:hover { background: var(--foreground); color: var(--background); }
.gp-dark .gp-btn-outline { color: var(--gp-sand); }
.gp-dark .gp-btn-outline:hover { background: var(--gp-sand); color: var(--gp-night); }
.gp-btn-dark { background: var(--gp-night); color: var(--gp-sand); }
.gp-btn-outline-dark { border-color: var(--gp-night); color: var(--gp-night); }
.gp-btn-outline-dark:hover { background: var(--gp-night); color: var(--gp-sand); }
.gp-btn-small { min-height: 2.5rem; padding: .5rem 1rem; }
.gp-textlink { display: inline-block; margin-top: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: var(--accent-foreground); text-decoration: underline; text-underline-offset: 4px; }

/* ---- dark band used for emphasis, dark in both themes */
.gp-dark { background: var(--gp-night); color: var(--gp-sand); background-image: radial-gradient(60rem 30rem at 85% -10%, rgb(255 61 61 / .18), transparent 60%); }
.gp-dark h2, .gp-dark h3 { color: var(--gp-sand); }

/* ---- page heading (own pages and the generated racing pages) */
.gp-pagehead, main > section[data-cms-section="page-heading"] { background: var(--gp-night); color: var(--gp-sand); position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0; max-width: none; }
.gp-pagehead::after, main > section[data-cms-section="page-heading"]::after { content: ''; position: absolute; inset: auto 0 0 0; height: .5rem; background: repeating-linear-gradient(90deg, var(--gp-accent) 0 1.5rem, var(--gp-night) 1.5rem 3rem); }
.gp-pagehead h1, main > section[data-cms-section="page-heading"] h1 { font-size: clamp(2.5rem, 7vw, 4.75rem) !important; margin: 0 0 .5rem; color: var(--gp-sand) !important; padding: 0; }
main > section[data-cms-section="page-heading"] { padding-inline: max(1.25rem, calc((100% - var(--gp-max)) / 2 + 2rem)) !important; }
main > section[data-cms-section="page-heading"] h1 { font-family: var(--gp-display) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .015em; line-height: 1.02 !important; }
main > section[data-cms-section="page-heading"] [data-cms="public-intro"] { color: rgb(246 244 241 / .85); font-size: 1.15rem; }
main > section[data-cms-section="page-heading"] a { color: var(--gp-accent); }
main > section[data-cms-section="page-heading"] + .mrc-public, main > [data-live-page] { margin-top: 2rem; }

/* ---- hero */
.gp-hero { position: relative; background: var(--gp-night); color: var(--gp-sand); isolation: isolate; overflow: hidden; }
.gp-hero-bg, .gp-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-hero-bg img { object-fit: cover; object-position: 50% 40%; }
.gp-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(0 0 0 / .92) 8%, rgb(0 0 0 / .6) 55%, rgb(122 15 22 / .35)), linear-gradient(0deg, rgb(0 0 0 / .8), transparent 40%); }
.gp-hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 9vw, 7rem); align-items: end; }
@media (min-width: 62rem) { .gp-hero-grid { grid-template-columns: 1.5fr 1fr; } }
.gp-hero h1 { font-size: clamp(2.75rem, 8vw, 5.75rem); margin: 0 0 1.25rem; color: var(--gp-sand); max-width: 14ch; text-shadow: 0 2px 24px rgb(0 0 0 / .4); }
.gp-hero .gp-lede { color: var(--gp-sand); }
.gp-featured { background: rgb(0 0 0 / .78); backdrop-filter: blur(6px); border: 1px solid rgb(255 61 61 / .6); border-radius: 1rem; padding: 1.75rem; box-shadow: 0 20px 50px rgb(0 0 0 / .4); }
.gp-featured-label { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--gp-accent); margin: 0 0 .5rem; }
.gp-featured h2 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; margin: 0; color: var(--gp-sand); }
.gp-featured-dates { font-size: 1.4rem; font-weight: 800; margin: .5rem 0 0; color: var(--gp-accent); }
.gp-featured-place { margin: .15rem 0 1rem; opacity: .85; }
.gp-featured-note { font-size: .95rem; opacity: .85; margin: 0 0 1.25rem; }

/* ---- stats */
.gp-stats { background: var(--gp-accent); color: var(--gp-night); }
.gp-stats dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; margin: 0; padding-block: 1.75rem; }
@media (min-width: 48rem) { .gp-stats dl { grid-template-columns: repeat(4, 1fr); } }
.gp-stats dt { font-family: var(--gp-display); font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; text-transform: uppercase; }
.gp-stats dd { margin: .25rem 0 0; font-weight: 700; font-size: .9rem; }

/* ---- quick-link cards */
.gp-cards { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .gp-cards { grid-template-columns: repeat(3, 1fr); } }
.gp-card { position: relative; display: block; padding: 1.5rem 1.5rem 3.25rem; background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: 1rem; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.gp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gp-accent); }
.gp-card-no { font-family: var(--gp-display); color: var(--accent-foreground); opacity: .6; font-size: 1rem; letter-spacing: .1em; }
.gp-card h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: .25rem 0 .4rem; letter-spacing: .01em; }
.gp-card p { margin: 0; color: var(--muted-foreground); }
.gp-arrow { position: absolute; right: 1.25rem; bottom: 1rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--gp-accent); color: var(--gp-night); font-weight: 900; transition: transform .18s; }
.gp-card:hover .gp-arrow { transform: translateX(4px); }

/* ---- split layouts */
.gp-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .gp-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.gp-split figure { margin: 0; }
.gp-split-img img, .gp-gallery img, .gp-flyer img { width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-xl); display: block; }
.gp-band { background: var(--gp-brown); color: var(--gp-sand); padding-block: clamp(3rem, 7vw, 5rem); background-image: linear-gradient(135deg, rgb(0 0 0 / .35), transparent 60%); }
.gp-band .gp-eyebrow { color: var(--gp-accent); }
.gp-band .gp-btn-primary { margin-top: .5rem; }
.gp-first .gp-split { align-items: center; }

/* ---- fee lists */
.gp-fees { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.gp-fees > li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; padding: .9rem 1.1rem; border-radius: .75rem; background: rgb(246 244 241 / .08); border: 1px solid rgb(246 244 241 / .18); }
.gp-fee-name { font-weight: 700; }
.gp-fee-price { font-family: var(--gp-display); font-size: 1.9rem; line-height: 1; color: var(--gp-accent); text-align: right; }
.gp-fee-note { grid-column: 1 / -1; font-size: .85rem; opacity: .75; min-height: 0; }
.gp-fee-note:empty { display: none; }
main > section:not(.gp-band):not(.gp-dark) .gp-fees > li { background: var(--card); border-color: var(--border); }
main > section:not(.gp-band):not(.gp-dark) .gp-fee-price { color: var(--accent-foreground); }
.gp-fees-compact > li { grid-template-columns: 1fr auto; }

/* ---- sponsors */
.gp-sponsors { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 40rem) { .gp-sponsors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .gp-sponsors:not(.gp-sponsors-named) { grid-template-columns: repeat(6, 1fr); } }
.gp-sponsors > li { display: flex; flex-direction: column; gap: .75rem; align-items: center; justify-content: center; padding: 1rem; background: #fff; border: 1px solid var(--border); border-radius: 1rem; min-height: 7.5rem; }
.gp-logo { display: grid; place-items: center; width: 100%; }
.gp-logo img { max-height: 6rem; width: auto; max-width: 100%; object-fit: contain; }
.gp-sponsors-named > li { min-height: 11rem; }
.gp-sponsor-name { color: #121212; font-weight: 700; text-align: center; font-size: .95rem; }

/* ---- cta band */
.gp-cta { background: var(--gp-accent); color: var(--gp-night); padding-block: clamp(2.5rem, 6vw, 4rem); }
.gp-cta .gp-wrap { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .gp-cta .gp-wrap { grid-template-columns: 1fr auto; } }
.gp-cta h2 { color: var(--gp-night); }
.gp-cta p { margin: 0; font-size: 1.1rem; }
.gp-cta .gp-actions { margin: 0; }

/* ---- schedule */
.gp-rounds { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: none; }
.gp-rounds > li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .25rem 1rem; align-items: center; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-left: 6px solid var(--gp-accent); border-radius: .75rem; }
@media (min-width: 48rem) { .gp-rounds > li { grid-template-columns: 5.5rem 1fr auto; } }
.gp-round-no { font-family: var(--gp-display); font-size: 1.6rem; color: var(--accent-foreground); text-transform: uppercase; }
.gp-round-main h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.gp-round-main p { margin: 0; color: var(--muted-foreground); }
.gp-round-dates { grid-column: 2; font-weight: 800; }
@media (min-width: 48rem) { .gp-round-dates { grid-column: auto; text-align: right; font-size: 1.1rem; } }
.gp-days { display: grid; gap: 1.5rem; margin: 2.5rem 0; }
@media (min-width: 56rem) { .gp-days { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; } }
.gp-day { background: rgb(246 244 241 / .06); border: 1px solid rgb(246 244 241 / .18); border-radius: 1rem; padding: 1.25rem 1.5rem; }
.gp-day h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; color: var(--gp-accent); font-size: 1.8rem; margin: 0 0 .75rem; }
.gp-timeline { list-style: none; margin: 0; padding: 0; }
.gp-timeline > li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .55rem 0; border-top: 1px solid rgb(246 244 241 / .14); font-size: .95rem; }
.gp-timeline > li:first-child { border-top: 0; }
.gp-time { font-weight: 800; color: var(--gp-sand); }
.gp-flyer { margin-top: 1rem; }
.gp-flyer h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; color: var(--gp-accent); font-size: 1.6rem; margin: 1rem 0 .5rem; }
.gp-flyer p { margin: 0 0 .75rem; }

/* ---- classes */
.gp-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.gp-jump a { padding: .45rem 1rem; border: 2px solid var(--border); border-radius: 999px; font-weight: 800; text-decoration: none; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--foreground); }
.gp-jump a:hover { border-color: var(--gp-accent); background: var(--accent); }
.gp-classes { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .gp-classes { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.gp-class { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gp-class header { background: var(--gp-night); color: var(--gp-sand); padding: 1rem 1.25rem; border-bottom: 3px solid var(--gp-accent); }
.gp-class h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0; }
.gp-class-meta { margin: .15rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; color: var(--gp-accent); font-weight: 800; font-size: .9rem; }
.gp-class-meta span[aria-hidden] { opacity: .6; }
.gp-table { overflow-x: auto; max-width: 100%; }
.gp-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.gp-table th, .gp-table td { padding: .55rem .9rem; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.gp-table thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); border-top: 0; background: var(--muted); }
.gp-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--muted) 45%, transparent); }
.gp-table th:first-child, .gp-table td:first-child { width: 3.5rem; white-space: nowrap; color: var(--muted-foreground); }
.gp-table td:nth-child(2) { font-weight: 700; }

/* ---- racer info */
.gp-grid-2 { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .gp-grid-2 { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.gp-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.gp-tip { padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
.gp-tip h3, .gp-steps h3, .gp-panel h3, .gp-dodont h3 { margin: 0 0 .35rem; font-size: 1.15rem; font-weight: 800; }
.gp-tip p, .gp-steps p { margin: 0; color: var(--muted-foreground); }
.gp-panel { background: var(--accent); color: var(--accent-foreground); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--border); }
.gp-panel-wide { margin-top: 2rem; }
.gp-panel h2 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; margin: 0 0 .75rem; }
.gp-checks, .gp-crosses { list-style: none; margin: .5rem 0 0; padding: 0; }
.gp-checks > li, .gp-crosses > li { position: relative; padding: .45rem 0 .45rem 1.9rem; }
.gp-checks > li::before { content: '\2713'; position: absolute; left: 0; top: .4rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--gp-accent); color: var(--gp-night); font-weight: 900; font-size: .8rem; }
.gp-crosses > li::before { content: '\00d7'; position: absolute; left: 0; top: .4rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; background: #dc2626; color: #fff; font-weight: 900; line-height: 1; }
.gp-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .85rem; counter-reset: step; }
.gp-steps > li { counter-increment: step; position: relative; padding: 1.1rem 1.25rem 1.1rem 4.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
.gp-steps > li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--gp-accent); color: var(--gp-night); font-family: var(--gp-display); font-size: 1.3rem; }
.gp-dodont { display: grid; gap: 1.25rem; align-content: start; }
.gp-dodont h3 { color: var(--gp-accent); font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; }
.gp-dodont .gp-bad { color: #ff9aa2; }

/* ---- about, contact, gallery */
.gp-prose h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.gp-prose .cms-rich-content p { margin: 0 0 1rem; line-height: 1.7; font-size: 1.05rem; }
.gp-gallery { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .gp-gallery { grid-template-columns: 1fr 1.4fr; } }
.gp-gallery img { height: 100%; object-fit: cover; }
.gp-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .gp-contact-list { grid-template-columns: repeat(3, 1fr); } }
.gp-contact-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-top: 5px solid var(--gp-accent); border-radius: 1rem; }
.gp-contact-card h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 800; color: var(--muted-foreground); margin: 0 0 .5rem; }
.gp-contact-link { font-size: 1.25rem; font-weight: 800; color: var(--foreground); overflow-wrap: anywhere; text-decoration-color: var(--gp-accent); text-underline-offset: 4px; }

/* ---- footer (dark in both themes) */
.gp-footer { background: var(--gp-night); color: var(--gp-sand); margin-top: 0; border-top: 6px solid var(--gp-accent); }
.gp-footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 56rem) { .gp-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.gp-footer-brand img { width: 11rem; height: auto; }
.gp-footer-brand p { margin: 1rem 0 0; max-width: 22rem; opacity: .85; }
.gp-footer h2 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--gp-accent); font-size: 1.15rem; margin: 0 0 .75rem; }
.gp-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.gp-footer nav a { color: var(--gp-sand); text-decoration: none; padding: .3rem 0; overflow-wrap: anywhere; }
.gp-footer nav a:hover { color: var(--gp-accent); text-decoration: underline; }
.gp-footer-bar { border-top: 1px solid rgb(246 244 241 / .15); padding-block: 1.25rem; font-size: .875rem; }
.gp-footer-bar .gp-wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.gp-footer-bar p { margin: 0; opacity: .8; }
.gp-footer-bar a { color: var(--gp-accent); }

/* ---- the home page's promoter-driven schedule (shown only when the promoter has events) */
[data-imported-schedule]:not([hidden]) { padding-block: 3rem; }

/* ---- Additional components: banners, track cards, name lists, executive list and news archive */
.gp-banner { margin: 0 0 2rem; }
.gp-banner img { display: block; width: 100%; height: auto; border-radius: 1rem; border: 1px solid var(--border); background: var(--gp-night); }
.gp-namelist { list-style: none; margin: 1rem 0 2.5rem; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.gp-namelist > li { padding: .9rem 1.1rem; background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-left: 6px solid var(--gp-accent); border-radius: .75rem; font-weight: 700; }
.gp-tracks { list-style: none; margin: 1.5rem 0 1rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.gp-tracks > li { display: flex; flex-direction: column; background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.gp-tracks figure { margin: 0; background: var(--gp-night); }
.gp-tracks img { display: block; width: 100%; height: 11rem; object-fit: cover; }
.gp-tracks > li > div { padding: 1rem 1.25rem 1.25rem; }
.gp-tracks h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 .25rem; }
.gp-tracks p { margin: 0; overflow-wrap: anywhere; }
.gp-people { list-style: none; margin: .75rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.gp-people > li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.gp-people span { color: var(--muted-foreground); font-weight: 600; }
.gp-archive { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.gp-archive > li { padding: 1.25rem 1.5rem; border: 1px solid rgb(246 244 241 / .18); border-radius: 1rem; background: rgb(246 244 241 / .06); }
.gp-archive h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin: 0; color: var(--gp-accent); }
.gp-archive-date { margin: .15rem 0 .75rem; font-weight: 700; opacity: .85; }
.gp-archive a { color: var(--gp-accent); text-decoration: underline; }


/* ---- Burnt River additions (components on top of the shared gp-* set above) */
[data-header-brand] img, [data-probe-brand] img { background: #000; border-radius: .25rem; }
.gp-footer-brand img { width: 12rem; background: #000; }
:root { --gp-text-on-dark: #f6f4f1; }

/* waiver call-out (dark in both themes) */
.gp-waiver { background: #000; color: var(--gp-sand); border-top: 3px solid var(--gp-accent); border-bottom: 3px solid var(--gp-accent); }
.gp-waiver .gp-wrap { display: grid; gap: 1.25rem; align-items: center; padding-block: 1.75rem; }
@media (min-width: 52rem) { .gp-waiver .gp-wrap { grid-template-columns: 1fr auto; } }
.gp-waiver p { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.5; }
.gp-waiver .gp-actions { margin: 0; }

/* opening hours */
.gp-hours { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .4rem; max-width: 34rem; }
.gp-hours > li { display: grid; grid-template-columns: 8rem 1fr; gap: .75rem; align-items: baseline; padding: .7rem 1rem; background: rgb(246 244 241 / .07); border: 1px solid rgb(246 244 241 / .16); border-radius: .6rem; }
.gp-hours .gp-hours-day { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: .85rem; color: var(--gp-accent); }
.gp-hours .gp-hours-time { font-weight: 700; font-size: 1.05rem; }
.gp-hours .gp-hours-note { grid-column: 2; font-weight: 500; font-size: .88rem; opacity: .8; }
main > section:not(.gp-dark):not(.gp-band) .gp-hours > li { background: var(--card); border-color: var(--border); }
main > section:not(.gp-dark):not(.gp-band) .gp-hours .gp-hours-day { color: var(--accent-foreground); }
.gp-open-today { margin-top: 1rem; font-weight: 700; }

/* posters and flyers */
.gp-posters { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 48rem) { .gp-posters { grid-template-columns: repeat(3, 1fr); } }
.gp-posters-2 { grid-template-columns: 1fr; }
@media (min-width: 48rem) { .gp-posters-2 { grid-template-columns: repeat(2, 1fr); } }
.gp-poster { margin: 0; }
.gp-poster a { display: block; }
.gp-poster img { width: 100%; height: auto; display: block; border-radius: 1rem; box-shadow: var(--shadow-xl); border: 1px solid var(--border); background: #000; }
.gp-poster figcaption { margin-top: .75rem; font-weight: 700; text-align: center; }
.gp-poster figcaption a { display: inline; text-decoration: underline; text-underline-offset: 4px; }

/* feature list with big numbers */
.gp-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.gp-facts > li { padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-left: 6px solid var(--gp-accent); border-radius: .75rem; }
.gp-facts strong { display: block; }
.gp-dark .gp-facts > li { background: rgb(246 244 241 / .07); border-color: rgb(246 244 241 / .16); border-left-color: var(--gp-accent); }

/* long copy */
.gp-longtext { max-width: 52rem; }
.gp-longtext p { margin: 0 0 1.1rem; line-height: 1.75; font-size: 1.05rem; }
.gp-ordered { margin: 1rem 0; padding-left: 1.4rem; display: grid; gap: .6rem; line-height: 1.65; }
.gp-ordered ol { list-style: lower-alpha; padding-left: 1.4rem; margin: .5rem 0 0; display: grid; gap: .3rem; }
.gp-rules { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 54rem; counter-reset: rule; }
.gp-rules > li { counter-increment: rule; position: relative; padding: 1rem 1.25rem 1rem 3.75rem; background: var(--card); border: 1px solid var(--border); border-radius: .85rem; line-height: 1.6; }
.gp-rules > li::before { content: counter(rule); position: absolute; left: 1rem; top: .9rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--gp-accent); color: #000; font-weight: 900; font-size: .9rem; }
.gp-rules > li.gp-rule-strong { border-left: 6px solid var(--gp-accent); }

/* two-up text columns */
.gp-cols { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .gp-cols { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.gp-cols-3 { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .gp-cols-3 { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.gp-classlist { list-style: none; margin: .5rem 0 0; padding: 0; }
.gp-classlist > li { padding: .55rem 0; border-top: 1px solid var(--border); line-height: 1.5; }
.gp-classlist > li:first-child { border-top: 0; }
.gp-classlist strong { font-weight: 800; }
.gp-class > .gp-classlist { padding: .5rem 1.25rem 1rem; }
.gp-class > p { margin: 0; padding: .75rem 1.25rem 0; color: var(--muted-foreground); }

/* map and video frames */
.gp-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow-lg); }
.gp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gp-frame-map { aspect-ratio: 4 / 3; }
.gp-maps { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .gp-maps { grid-template-columns: 1fr 1fr; align-items: start; } }
.gp-maps figure { margin: 0; }
.gp-maps img { width: 100%; height: auto; display: block; border-radius: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: #fff; }
.gp-maps figcaption { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 700; }
.gp-maps figcaption a { text-decoration: underline; text-underline-offset: 4px; }

/* address block */
.gp-address { font-style: normal; line-height: 1.7; font-size: 1.1rem; font-weight: 600; }
.gp-address a { color: inherit; text-decoration-color: var(--gp-accent); text-underline-offset: 4px; }

/* sponsor tiles (logos are dark-on-transparent or on-black artwork, so the tile is always light/black as supplied) */
.gp-sponsor-tiles { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .gp-sponsor-tiles { grid-template-columns: repeat(3, 1fr); } }
.gp-sponsor-tiles > li { display: grid; background: #000; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gp-sponsor-tiles a, .gp-sponsor-tiles span.gp-tile { display: grid; place-items: center; padding: 1rem; min-height: 8.5rem; }
.gp-sponsor-tiles a:hover { outline: 3px solid var(--gp-accent); outline-offset: -3px; }
.gp-sponsor-tiles img { width: 100%; max-width: 20rem; height: auto; max-height: 9rem; object-fit: contain; }
.gp-sponsor-strip { background: #000; color: var(--gp-sand); padding-block: clamp(2.5rem, 6vw, 4rem); }
.gp-sponsor-strip .gp-sponsor-tiles > li { border-color: rgb(246 244 241 / .18); }

/* photo albums */
.gp-albums { display: grid; gap: 1rem; margin-top: 1.5rem; }
.gp-album { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gp-album > summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: center; padding: .75rem; }
.gp-album > summary::-webkit-details-marker { display: none; }
.gp-album > summary img { width: 7.5rem; height: 5rem; object-fit: cover; border-radius: .6rem; background: #000; }
.gp-album-title { font-family: var(--gp-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.gp-album-count { display: block; font-family: var(--font-sans); text-transform: none; font-size: .85rem; color: var(--muted-foreground); margin-top: .2rem; }
.gp-album > summary::after { content: '+'; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gp-accent); color: #000; font-weight: 900; font-size: 1.25rem; }
.gp-album[open] > summary::after { content: '\2212'; }
.gp-album > summary:focus-visible { outline: 3px solid var(--ring); outline-offset: -3px; }
.gp-album-grid { list-style: none; margin: 0; padding: .75rem; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); border-top: 1px solid var(--border); }
.gp-album-grid a { display: block; border-radius: .6rem; overflow: hidden; background: #000; }
.gp-album-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gp-album-grid a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gp-album-grid a:hover img { transform: none; } }
.gp-album-link { padding: 0 1rem 1rem; }
.gp-feature-photo { margin: 0 0 1.5rem; }
.gp-feature-photo img { display: block; max-width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-lg); }

/* results archive */
.gp-years { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .gp-years { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.gp-year { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gp-year header { background: #000; color: var(--gp-sand); padding: .9rem 1.25rem; border-bottom: 3px solid var(--gp-accent); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gp-year h3 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin: 0; }
.gp-year header span { font-size: .85rem; opacity: .8; font-weight: 700; }
.gp-year ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1rem; }
.gp-year li { padding: .5rem 0; border-top: 1px solid var(--border); }
.gp-year li:first-child { border-top: 0; }
.gp-year a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gp-accent); text-underline-offset: 4px; }
.gp-year p { margin: 0; padding: .75rem 1.25rem 0; color: var(--muted-foreground); }

/* social links */
.gp-social { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.gp-inline-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.gp-inline-list > li { padding: .8rem 1.1rem; background: var(--card); border: 1px solid var(--border); border-left: 6px solid var(--gp-accent); border-radius: .75rem; font-weight: 600; }
.gp-inline-list a { font-weight: 800; text-decoration: underline; text-decoration-color: var(--gp-accent); text-underline-offset: 4px; }
.gp-dark .gp-inline-list > li { background: rgb(246 244 241 / .07); border-color: rgb(246 244 241 / .16); border-left-color: var(--gp-accent); }
.gp-dark .gp-inline-list a { color: var(--gp-sand); }
.gp-cards-4 { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gp-cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .gp-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.gp-payments { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; font-weight: 600; }
.gp-payments img { background: #fff; border-radius: .4rem; padding: .25rem; }
.gp-small-print { font-size: .9rem; color: var(--muted-foreground); }
.gp-sponsor-strip .gp-btn-outline, .gp-waiver .gp-btn-outline { color: var(--gp-sand); }
.gp-sponsor-strip .gp-btn-outline:hover { background: var(--gp-sand); color: #000; }
.gp-table .gp-th-wide { width: auto; white-space: normal; color: var(--foreground); font-weight: 800; }
.gp-table .gp-td-wide { white-space: normal; font-weight: 400; min-width: 12rem; }
.gp-table td.gp-td-wide:nth-child(2) { font-weight: 600; }
.gp-table td a { overflow-wrap: anywhere; }
.gp-rules p, .gp-pp { margin: 0 0 .9rem; line-height: 1.75; }
.gp-rules li > p { margin: 0; }
.gp-longtext h2 { font-family: var(--gp-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 2rem 0 .75rem; }
