/* ==========================================================================
   Gravel & Castles — main stylesheet
   Palette: Provence limestone, terracotta roofs, lavender fields, olive groves.
   Type: Fraunces (display, with the swash ampersand) + Archivo (text, labels).
   ========================================================================== */

:root {
	--limestone: #f4ecdc;
	--sand: #e8d6b4;
	--stone: #d9b98a;
	--ochre: #d68a3c;
	--terracotta: #b4512c;
	--terracotta-dark: #96401f;
	--lavender: #7d6aa3;
	--lavender-soft: #b9a8d3;
	--olive: #4e5b33;
	--ink: #1f1a17;
	--ink-soft: #4a403a;
	--line: rgba(31, 26, 23, .18);
	--radius: 18px;
	--radius-sm: 10px;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(72px, 10vw, 140px);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--limestone);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body::after {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none;
	opacity: .06;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	z-index: 200;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 2.5px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terracotta); color: var(--limestone); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--limestone); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; font-variation-settings: "opsz" 144; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--terracotta); }
h2 { font-size: clamp(38px, 5.6vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: 22px; }
p { margin: 0 0 1em; }
.eyebrow, .has-eyebrow-style {
	font-family: var(--sans); font-stretch: 75%; font-weight: 700;
	letter-spacing: .18em; text-transform: uppercase; font-size: 13px;
	color: var(--terracotta); margin: 0 0 18px;
}
.eyebrow--rule { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--rule::before, .eyebrow--rule::after { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.lead, p.is-style-lead { font-family: var(--display); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.32; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--sans); font-weight: 700; font-stretch: 85%;
	letter-spacing: .06em; text-transform: uppercase; font-size: 14px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--ink); color: var(--limestone); }
.btn-primary:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--terracotta); color: var(--limestone); }
.btn-ghost, .wp-block-button.is-style-outline .wp-block-button__link { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--limestone); border-color: var(--ink); }
.btn-light { background: var(--limestone); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--limestone); }
.btn-outline-light { border-color: currentColor; color: inherit; }
.btn-outline-light:hover { background: var(--limestone); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-row, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-buttons.is-content-justification-center, .text-center .wp-block-buttons { justify-content: center; }
.btn-wa svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--limestone) 88%, transparent);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.home .site-header:not(.is-scrolled), .is-home .site-header:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo { display: block; width: 210px; flex: none; }
.site-logo svg, .site-logo img { width: 100%; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__menu > li { position: relative; }
.site-nav__menu a { text-decoration: none; font-weight: 600; font-stretch: 85%; font-size: 15px; letter-spacing: .03em; position: relative; padding: 8px 0; display: inline-block; }
.site-nav__menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav__menu > li > a:hover::after, .site-nav__menu > .current-menu-item > a::after, .site-nav__menu > .current-menu-ancestor > a::after, .site-nav__menu > .current-page-ancestor > a::after { transform: scaleX(1); }
.site-nav__menu a:hover { color: var(--ink); }
.site-nav__menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: -14px; min-width: 220px;
	background: var(--limestone); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(31,26,23,.4);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav__menu li:hover > .sub-menu, .site-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.site-nav__menu .sub-menu a:hover { background: var(--sand); }
.site-nav__menu .menu-item-has-children > a { padding-right: 16px; }
.site-nav__menu .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.site-nav__extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; gap: 4px; font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .1em; text-decoration: none; }
.lang-switch span { opacity: .45; }
.lang-switch .is-current { opacity: 1; }
.lang-switch:hover span { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle__bars { display: grid; gap: 5px; width: 24px; }
.nav-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.site-header__cta { display: none; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		background: var(--limestone); flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: 24px var(--gutter) 40px; gap: 24px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
	}
	.admin-bar .site-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav__menu { flex-direction: column; gap: 0; }
	.site-nav__menu > li { border-bottom: 1px solid var(--line); }
	.site-nav__menu a { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.01em; padding: 12px 0; }
	.site-nav__menu > li > a::after { display: none; }
	.site-nav__menu .menu-item-has-children > a::before { display: none; }
	.site-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 12px 14px; min-width: 0; }
	.site-nav__menu .sub-menu a { font-family: var(--sans); font-size: 17px; padding: 6px 0; }
	.site-nav__extra { display: block; }
	.site-nav__extra .btn { width: 100%; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .site-logo { width: 170px; } }
@media (max-width: 600px) { .hero__art { min-height: 280px; } }

/* ---------- Home hero ---------- */
.hero {
	position: relative; margin-top: calc(var(--header-h) * -1);
	background: linear-gradient(180deg, #f7e7c9 0%, #f4d3a2 48%, #eeb27a 100%);
	overflow: hidden; display: flex; flex-direction: column;
}
.hero__copy { position: relative; z-index: 2; text-align: center; padding-top: calc(var(--header-h) + clamp(32px, 6vh, 80px)); padding-bottom: clamp(28px, 4vh, 48px); }
.hero__title { font-size: clamp(62px, min(12.5vw, 20vh), 188px); font-weight: 700; line-height: .86; margin: 6px 0 24px; }
.hero__title em { display: block; }
.hero__meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-stretch: 80%; font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 30px; }
.hero__meta b { color: var(--terracotta); }
.hero .btn-row { justify-content: center; }
.hero__art { position: relative; margin-top: auto; aspect-ratio: 1440 / 470; min-height: 260px; max-height: 70vh; width: 100%; }
.hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun { animation: glow 6s ease-in-out infinite alternate; transform-origin: 1080px 268px; transform-box: view-box; }
@keyframes glow { to { transform: scale(1.06); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--sand); overflow: hidden; white-space: nowrap; padding: 16px 0; font-family: var(--display); font-style: italic; font-size: 26px; }
.marquee__track { display: inline-flex; animation: marquee 50s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: 15px; color: var(--ochre); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); background: var(--limestone); }
.page-hero--sand { background: linear-gradient(180deg, var(--limestone), #f1dfbf); }
.page-hero--terracotta { background: var(--terracotta); color: var(--limestone); }
.page-hero--ink { background: var(--ink); color: var(--sand); }
.page-hero--lavender { background: var(--lavender); color: var(--limestone); }
.page-hero--olive { background: var(--olive); color: var(--limestone); }
.page-hero--terracotta .eyebrow, .page-hero--lavender .eyebrow, .page-hero--olive .eyebrow { color: var(--sand); }
.page-hero--ink .eyebrow { color: var(--ochre); }
.page-hero--terracotta h1 em, .page-hero--olive h1 em { color: var(--sand); }
.page-hero--ink h1 em, .page-hero--lavender h1 em { color: var(--ochre); }
.page-hero__inner { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 40px; align-items: end; }
.page-hero__copy { min-width: 0; }
.page-hero__title { font-size: clamp(48px, 8.4vw, 116px); font-weight: 700; line-height: .92; margin: 0 0 22px; }
.page-hero__intro { font-family: var(--display); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.35; max-width: 34ch; margin: 0; opacity: .92; }
.page-hero__crumb { display: inline-block; margin-bottom: 26px; font-size: 14px; font-weight: 600; text-decoration: none; opacity: .75; }
.page-hero__crumb:hover { opacity: 1; color: inherit; }
.page-hero__icon { color: currentColor; opacity: .9; }
.page-hero__icon svg { width: 100%; height: auto; }
.page-hero--sand .page-hero__icon, .page-hero--sand .page-hero__icon svg { color: var(--ink); }
@media (max-width: 860px) {
	.page-hero__inner { grid-template-columns: 1fr; }
	.page-hero__icon { max-width: 260px; }
}

/* ---------- Page content (block editor output) ---------- */
.entry { padding-block: clamp(48px, 7vw, 96px); }
.entry--home, .entry--elementor { padding-block: 0; }
.entry:has(> .section:first-child) { padding-top: 0; }
.entry:has(> .section:last-child) { padding-bottom: 0; }
.entry > .section:first-child:not([class*="section--"]) { padding-top: clamp(48px, 6vw, 88px); }
.section > *, .wp-block-column > * { margin-block-start: 0; }
.entry > *:not(.section):not(.alignfull):not(.alignwide) { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.entry > .alignwide { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.entry > .alignfull { width: 100%; }
.entry > h2 { font-size: clamp(32px, 4.2vw, 52px); margin-top: 1.4em; }
.entry > h3 { margin-top: 1.4em; }
.entry > p, .entry > ul, .entry > ol { color: var(--ink-soft); }
.entry > *:first-child { margin-top: 0; }
.entry--inline > * { width: auto !important; margin-inline: 0 !important; }
.entry--article > p:first-of-type { font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--ink); }

/* Sections: a Group block with the class "section" */
.section { padding-block: var(--section); padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); margin: 0; }
.section:not(.section--sand, .section--ink, .section--terracotta, .section--lavender, .section--olive) + .section:not(.section--sand, .section--ink, .section--terracotta, .section--lavender, .section--olive) { padding-top: 0; }
.section > *:last-child { margin-bottom: 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--terracotta { background: var(--terracotta); color: var(--limestone); }
.section--lavender { background: var(--lavender); color: var(--limestone); }
.section--olive { background: var(--olive); color: var(--limestone); }
.section--ink h2 em, .section--lavender h2 em { color: var(--ochre); }
.section--terracotta h2 em, .section--olive h2 em { color: var(--sand); }
.section--ink .eyebrow { color: var(--ochre); }
.section--terracotta .eyebrow, .section--olive .eyebrow, .section--lavender .eyebrow { color: var(--sand); }
.section--ink p, .section--olive p, .section--terracotta p, .section--lavender p { color: inherit; opacity: .9; }
.section--ink .btn-primary, .section--olive .btn-primary, .section--terracotta .btn-primary, .section--lavender .btn-primary,
.section--ink .wp-block-button:not(.is-style-outline) .wp-block-button__link, .section--olive .wp-block-button:not(.is-style-outline) .wp-block-button__link, .section--terracotta .wp-block-button:not(.is-style-outline) .wp-block-button__link, .section--lavender .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--limestone); color: var(--ink); }
.section--ink .wp-block-button.is-style-outline .wp-block-button__link, .section--olive .wp-block-button.is-style-outline .wp-block-button__link, .section--terracotta .wp-block-button.is-style-outline .wp-block-button__link, .section--lavender .wp-block-button.is-style-outline .wp-block-button__link { color: inherit; }
.section--flush-bottom { padding-bottom: calc(var(--section) * .6); }
.section .wp-block-buttons:not(:first-child) { margin-top: 32px; }
.section .pills + .wp-block-buttons { margin-top: 28px; }
.text-center { text-align: center; }
.text-center > * { margin-inline: auto; }
.narrow { max-width: 760px; }
.section p, .section li { max-width: 68ch; }
.text-center p { margin-inline: auto; }
.section .muted, .muted { color: var(--ink-soft); }

/* Head row: title left, intro right */
.wp-block-columns { display: flex; gap: clamp(28px, 5vw, 80px); margin: 0 0 1.5em; }
.wp-block-columns.is-not-stacked-on-mobile { flex-wrap: nowrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > *:last-child { margin-bottom: 0; }
.wp-block-columns.are-vertically-aligned-bottom, .split { align-items: flex-end; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
@media (max-width: 860px) { .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; gap: 24px; } }
.split { margin-bottom: clamp(36px, 5vw, 60px); }
.split h2 { margin-bottom: 0; }

/* Numbered rows (schedule, “why race”) */
.rows { border-top: 1.5px solid currentColor; margin-top: 40px; }
.rows .wp-block-column { border-left: 1px solid var(--line); padding: 26px 0 0 24px; }
.rows .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.section--ink .rows .wp-block-column, .section--olive .rows .wp-block-column, .section--terracotta .rows .wp-block-column, .section--lavender .rows .wp-block-column { border-color: rgba(244,236,220,.22); }
.rows h3 { font-size: clamp(24px, 2.3vw, 30px); margin: 6px 0 10px; }
.rows .num { font-family: var(--display); font-style: italic; color: var(--terracotta); font-size: 20px; margin: 0; }
.section--ink .rows .num, .section--lavender .rows .num { color: var(--ochre); }
.section--olive .rows .num, .section--terracotta .rows .num { color: var(--sand); }
.rows p { font-size: 16px; }
@media (max-width: 860px) {
	.rows .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
	.rows .wp-block-column:first-child { border-top: 0; }
}

/* Heritage drawing */
.gc-icon-wrap { color: currentColor; margin: 0 0 22px; }
.gc-icon { width: 100%; height: auto; max-height: 150px; display: block; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid currentColor; margin-top: clamp(40px, 6vw, 80px); }
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(38px, 4.6vw, 62px); font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.stat strong small { font-size: .45em; letter-spacing: 0; }
.stat span { font-size: 14px; color: var(--ink-soft); display: block; margin-top: 8px; }
@media (max-width: 860px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.stat:nth-child(n+3) { margin-top: 18px; }
}

/* ---------- Race cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--1 { grid-template-columns: minmax(0, 520px); }
.cards--2, .cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }
.card {
	position: relative; isolation: isolate; border-radius: var(--radius);
	padding: 26px 26px 24px; min-height: 440px; display: flex; flex-direction: column; overflow: hidden;
	transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(31,26,23,.55); }
.card:focus-within { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.card--terracotta { background: var(--terracotta); color: var(--limestone); }
.card--ink { background: var(--ink); color: var(--sand); }
.card--lavender { background: var(--lavender); color: var(--limestone); }
.card--olive { background: var(--olive); color: var(--limestone); }
.card--ochre { background: var(--ochre); color: var(--ink); }
.card__top { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1.5px solid currentColor; font-stretch: 75%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
.tag--soft { border-color: transparent; background: rgba(244,236,220,.18); }
.card__title { font-size: clamp(34px, 3.2vw, 44px); margin: 24px 0 10px; color: inherit; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__link:hover { color: inherit; }
.card__text { font-size: 15.5px; opacity: .9; margin: 0 0 20px; }
.card__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 22px; margin: auto 0 0; position: relative; z-index: 1; }
.card__facts dt { font-size: 11px; font-stretch: 75%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.card__facts dd { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: lining-nums; white-space: nowrap; }
.card__facts dd small { font-size: .5em; letter-spacing: 0; }
.card__more { margin-top: 18px; font-weight: 700; font-stretch: 85%; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }
.card__profile { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; opacity: .16; pointer-events: none; z-index: -1; color: currentColor; width: 100%; }

/* Race comparison table */
.race-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.race-table { width: 100%; border-collapse: collapse; min-width: 620px; font-variant-numeric: tabular-nums; }
.race-table th, .race-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.race-table thead th { font-size: 12px; font-stretch: 75%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1.5px solid var(--ink); }
.race-table tbody th { font-family: var(--display); font-size: 22px; font-weight: 600; }
.race-table tbody th a { text-decoration: none; }
.race-table tbody tr { transition: background-color .2s; }
.race-table tbody tr:hover { background: rgba(232,214,180,.5); }
.race-table__go { text-decoration: none; font-size: 20px; }
.section--ink .race-table thead th { color: var(--sand); border-color: var(--sand); }
.section--ink .race-table th, .section--ink .race-table td { border-color: rgba(232,214,180,.2); }

/* Race key numbers */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); border-top: 1.5px solid currentColor; border-bottom: 1px solid var(--line); margin: 0 0 clamp(40px, 5vw, 64px); }
.facts__item { padding: 20px 18px 20px 0; min-width: 0; }
.facts__item + .facts__item { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-stretch: 75%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); overflow-wrap: break-word; hyphens: auto; min-width: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: lining-nums; }
.facts dd small { font-size: .5em; letter-spacing: 0; }
@media (max-width: 640px) {
	.facts { grid-template-columns: 1fr 1fr; }
	.facts__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.facts__item { border-top: 1px solid var(--line); }
	.facts__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Race page ---------- */
.race-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 100px) clamp(80px, 10vw, 140px); }
.race-hero--terracotta { background: var(--terracotta); color: var(--limestone); }
.race-hero--ink { background: var(--ink); color: var(--sand); }
.race-hero--lavender { background: var(--lavender); color: var(--limestone); }
.race-hero--olive { background: var(--olive); color: var(--limestone); }
.race-hero--ochre { background: var(--ochre); color: var(--ink); }
.race-hero .eyebrow { color: inherit; opacity: .8; }
.race-hero__inner { position: relative; z-index: 1; }
.race-hero__title { font-size: clamp(56px, 10vw, 150px); font-weight: 700; line-height: .9; margin: 0 0 20px; }
.race-hero__intro { font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); max-width: 36ch; line-height: 1.32; margin: 0 0 30px; opacity: .92; }
.race-hero .card__profile { height: 55%; opacity: .14; z-index: 0; }
.race-body { padding-block: clamp(40px, 6vw, 80px) 0; }
.race-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); margin-bottom: clamp(56px, 8vw, 100px); }
@media (max-width: 900px) { .race-grid { grid-template-columns: 1fr; } }
.race-main { color: var(--ink-soft); }
.race-main h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--ink); }
.race-main h3 { color: var(--ink); }
.race-main > p:first-child { font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--ink); }
.side-title { font-size: 26px; margin: 34px 0 16px; }
.checklist, .entry ul.is-style-checklist, ul.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li, ul.is-style-checklist li { position: relative; padding-left: 32px; font-weight: 500; }
.checklist li::before, ul.is-style-checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23f4ecdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.waypoints { list-style: none; padding: 0; margin: 0; position: relative; }
.waypoints::before { content: ""; position: absolute; left: 75px; top: 14px; bottom: 14px; border-left: 2px dashed var(--stone); }
.waypoints li { display: grid; grid-template-columns: 62px 1fr; align-items: baseline; gap: 34px; padding: 9px 0; position: relative; }
.waypoints li::after { content: ""; position: absolute; left: 70px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--limestone); border: 3px solid var(--terracotta); }
.waypoints__km { font-family: var(--display); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.waypoints__km small { font-size: 12px; }
.waypoints__name { font-weight: 500; line-height: 1.35; }
.section-title { font-size: clamp(30px, 3.6vw, 46px); }
.race-map { margin-bottom: clamp(56px, 8vw, 100px); }
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 16 / 10; max-width: 100%; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 24px; }
.map-embed__placeholder .gc-icon { width: 200px; color: var(--ink); }
.map-embed__placeholder p { margin: 0; color: var(--ink-soft); }
.map-embed__ext { font-size: 14px; font-weight: 600; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 3 / 4; } }
.race-others { margin-bottom: clamp(56px, 8vw, 100px); }

/* Prize table */
.prize { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .prize { grid-template-columns: 1fr; } }
.prize__col { border: 1.5px solid currentColor; border-radius: var(--radius); padding: 24px 26px; }
.prize__title { font-size: 28px; margin: 0 0 12px; }
.prize__list { list-style: none; margin: 0; padding: 0; }
.prize__list li, .prize__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; margin: 0; }
.prize__list li span { font-family: var(--display); font-style: italic; font-size: 20px; }
.prize__list li strong { font-family: var(--display); font-size: 24px; font-weight: 600; }
.prize__total { border-bottom: 0; padding-top: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.prize__total strong { font-family: var(--display); font-size: 30px; letter-spacing: -.02em; text-transform: none; color: var(--terracotta); }
.section--ink .prize__col { border-color: rgba(232,214,180,.4); }
.section--ink .prize__total strong { color: var(--ochre); }
.section--ink .prize__list li, .section--ink .prize__total { border-color: rgba(232,214,180,.2); }

/* Info cards (Group with class "info") */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-grid > .wp-block-column, .info { background: rgba(244,236,220,.7); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--sand .info-grid > .wp-block-column { background: var(--limestone); }
.info-grid h3 { font-size: 24px; margin-bottom: 8px; }
.info-grid p { font-size: 15.5px; color: var(--ink-soft); }
.wp-block-columns.info-grid { display: grid; gap: 16px; }
.section--ink .info-grid > .wp-block-column, .section--olive .info-grid > .wp-block-column { background: rgba(244,236,220,.06); border-color: rgba(244,236,220,.18); }
.section--ink .info-grid p, .section--olive .info-grid p { color: inherit; }

/* FAQ (Details block) */
.wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.wp-block-details summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-family: var(--display); font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.25; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 400; font-size: 30px; color: var(--terracotta); transition: transform .25s; }
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > *:not(summary) { color: var(--ink-soft); max-width: 68ch; }
.wp-block-details[open] > *:last-child { padding-bottom: 20px; }

/* Countdown band */
.cta-band { padding-block: var(--section); text-align: center; }
.cta-band .eyebrow { margin-bottom: 0; }
.countdown { display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px); margin: 22px 0 40px; }
.countdown > div { min-width: 96px; }
.countdown strong { display: block; font-family: var(--display); font-size: clamp(56px, 10vw, 140px); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
.countdown span { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-stretch: 75%; color: var(--ink-soft); }
.countdown .sep { font-family: var(--display); font-size: clamp(46px, 8vw, 110px); color: var(--ochre); line-height: 1.1; min-width: 0; }
.section--ink .countdown span { color: var(--sand); }
@media (max-width: 560px) { .countdown > div { min-width: 0; } .countdown .sep { display: none; } }

/* Tents */
.tents-wrap { margin-top: clamp(24px, 4vw, 48px); margin-inline: calc(max(var(--gutter), (100% - var(--wrap)) / 2) * -1); margin-bottom: calc(var(--section) * -1); }
.section > .tents-wrap { margin-inline: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) * -1); margin-bottom: calc(var(--section) * -1); }
.tents { display: block; width: 100%; height: auto; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.pills li { border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-stretch: 85%; opacity: .9; }

/* Schedule */
.schedule { list-style: none; padding: 0; margin: 0; counter-reset: day; border-top: 1.5px solid currentColor; }
.section .schedule li, .schedule li { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: day; max-width: none; color: var(--ink-soft); }
.schedule li::before { grid-row: span 2; content: "0" counter(day); font-family: var(--display); font-style: italic; font-size: 44px; line-height: 1; color: var(--terracotta); }
.schedule strong { display: block; font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .schedule li { grid-template-columns: 60px 1fr; } .schedule li::before { font-size: 32px; } }

/* ---------- Forms ---------- */
.gc-form { position: relative; }
.gc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.gc-field { display: grid; gap: 6px; min-width: 0; }
.gc-field--full, .gc-field--submit, .gc-field--check { grid-column: 1 / -1; }
.gc-field label { font-size: 13px; font-weight: 700; font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase; }
.gc-field label small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.gc-field .req { color: var(--terracotta); }
.gc-field input, .gc-field select, .gc-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	background: rgba(255,255,255,.55); border: 1.5px solid rgba(31,26,23,.28); border-radius: 12px; padding: 13px 14px;
	transition: border-color .2s, background-color .2s;
}
.gc-field input:focus, .gc-field select:focus, .gc-field textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; box-shadow: 0 0 0 3px rgba(180,81,44,.15); }
.gc-field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.gc-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terracotta); }
.gc-field--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; font-stretch: 100%; }
.gc-field--submit { margin-top: 6px; }
.gc-form__msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; font-weight: 600; margin: 0 0 18px; }
.gc-form__msg--ok { background: #e3ecd3; color: #33421d; }
.gc-form__msg--err { background: #f6dcd2; color: #7a2b10; }
.gc-form__note { font-size: 13px; opacity: .7; margin: 10px 0 0; }
.gc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .gc-form__grid { grid-template-columns: 1fr; } }
.form-card { background: var(--limestone); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(31,26,23,.5); color: var(--ink); }
.section--sand .form-card { background: #faf5ea; }
.gc-form--inline .gc-form__grid { grid-template-columns: 1fr auto; gap: 0; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; }
.gc-form--inline .gc-field input { border: 0; border-radius: 0; background: transparent; color: inherit; padding: 14px 18px; }
.gc-form--inline .gc-field input::placeholder { color: inherit; opacity: .55; }
.gc-form--inline .gc-field input:focus { box-shadow: none; background: rgba(244,236,220,.06); }
.gc-form--inline .gc-field--submit { grid-column: auto; margin: 0; }
.gc-form--inline .btn { border-radius: 0; height: 100%; background: var(--terracotta); color: var(--limestone); padding-inline: 20px; }
.gc-form--inline .btn:hover { transform: none; background: var(--ochre); }
.gc-form--inline .btn .arrow { display: none; }
.gc-form--inline .gc-form__msg { margin-bottom: 12px; }

/* ---------- Partners ---------- */
.partners { display: grid; gap: clamp(32px, 4vw, 52px); }
.partners__title { font-family: var(--sans); font-stretch: 75%; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--terracotta); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1.5px solid currentColor; }
.partners__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.partners__tier--premium .partners__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (max-width: 560px) { .partners__item a, .partners__item > img, .partners__item > .partners__name { height: 92px; padding: 14px; } .partners__tier--premium .partners__item a { height: 120px; } }
.partners__item a, .partners__item > img, .partners__item > .partners__name { display: grid; place-items: center; height: 120px; padding: 22px; border-radius: var(--radius-sm); background: #fbf7ee; border: 1px solid var(--line); text-decoration: none; }
.partners__tier--premium .partners__item a { height: 170px; }
.partners__item img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; }
.partners__item a:hover img { filter: none; opacity: 1; }
.partners__item--empty a { text-align: center; line-height: 1.4; background: transparent; border: 1.5px dashed rgba(31,26,23,.35); color: var(--ink-soft); font-size: 13px; font-weight: 700; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.partners__item--empty a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.partners__name { font-family: var(--display); font-size: 22px; font-weight: 600; }

/* ---------- News ---------- */
.section { position: relative; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.news-card__link { display: block; text-decoration: none; }
.news-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); display: grid; place-items: center; margin-bottom: 16px; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card__media .gc-icon { width: 60%; color: var(--ink); opacity: .6; }
.news-card__link:hover img { transform: scale(1.04); }
.news-card__date { font-size: 12.5px; font-weight: 700; font-stretch: 75%; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 8px; }
.news-card__title { font-size: 27px; margin: 0 0 8px; }
.news-card__excerpt { color: var(--ink-soft); font-size: 15.5px; }
.news-card__more { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.news-empty-state { text-align: center; padding: 40px 0 20px; color: var(--ink-soft); }
.news-empty-state .gc-icon { max-width: 260px; margin: 0 auto 16px; color: var(--ink); opacity: .5; }
.article-cover { margin-block: 0 40px; }
.article-cover img { border-radius: var(--radius); width: 100%; }
.pagination { margin-top: 40px; display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; text-decoration: none; border: 1px solid var(--line); }
.pagination .current { background: var(--ink); color: var(--limestone); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.not-found .gc-icon { max-width: 300px; margin: 0 auto 20px; }
.not-found .page-hero__intro { margin: 0 auto 30px; }
.not-found .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding-top: clamp(60px, 8vw, 100px); padding-bottom: 36px; overflow: hidden; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--limestone); }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: clamp(32px, 5vw, 70px); }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__logo { display: block; width: 230px; margin-bottom: 18px; }
.site-footer__logo svg { width: 100%; height: auto; display: block; }
.site-footer__brand p { opacity: .75; max-width: 36ch; font-size: 15.5px; }
.footer-title { font-family: var(--sans); font-stretch: 75%; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; color: var(--ochre); margin: 0 0 16px; }
.footer-menu, .legal-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu { display: grid; gap: 9px; }
.footer-menu a { text-decoration: none; opacity: .88; }
.site-footer__news p { opacity: .75; font-size: 15px; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(232,214,180,.3); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--sand); color: var(--ink); }
.site-footer__word { font-family: var(--display); font-weight: 700; font-size: clamp(58px, 15vw, 220px); line-height: .8; letter-spacing: -.04em; color: rgba(232,214,180,.07); margin: 60px 0 0; white-space: nowrap; }
.site-footer__bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(232,214,180,.16); display: flex; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; font-size: 13px; opacity: .7; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-menu a { text-decoration: none; }

/* ---------- Elementor-built pages inside the theme ---------- */
.entry--elementor .elementor-section-wrap, .entry--elementor > .elementor { max-width: none; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core bits */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image figcaption, .wp-caption-text { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.wp-block-separator { border: 0; border-top: 1.5px solid var(--ink); margin: 40px auto; }
.wp-block-quote { border-left: 3px solid var(--terracotta); padding-left: 22px; margin-left: 0; font-family: var(--display); font-size: 24px; line-height: 1.35; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.wp-block-embed iframe { border-radius: var(--radius); }

/* ---------- Cookie banner (Complianz) in the site's style ---------- */
#cmplz-cookiebanner-container .cmplz-cookiebanner,
.cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--limestone);
	--cmplz_banner_border_color: var(--line);
	--cmplz_banner_border_radius: 18px;
	--cmplz_text_color: var(--ink);
	--cmplz_hyperlink_color: var(--terracotta);
	--cmplz_button_accept_background_color: var(--ink);
	--cmplz_button_accept_border_color: var(--ink);
	--cmplz_button_accept_text_color: var(--limestone);
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: var(--ink);
	--cmplz_button_deny_text_color: var(--ink);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: transparent;
	--cmplz_button_settings_text_color: var(--ink);
	--cmplz_button_border_radius: 999px;
	--cmplz_slider_active_color: var(--terracotta);
	--cmplz_category_header_always_active_color: var(--olive);
	font-family: var(--sans) !important;
	background: var(--limestone) !important;
	color: var(--ink) !important;
	border: 1px solid var(--line) !important;
	border-radius: 18px !important;
	box-shadow: 0 30px 60px -24px rgba(31, 26, 23, .45) !important;
	padding: 22px 24px !important;
}
.cmplz-cookiebanner .cmplz-logo { width: 40px !important; height: 40px !important; min-width: 40px; background: url("../img/gc-mark-terra.png") center / contain no-repeat; border-radius: 10px; }
.cmplz-cookiebanner .cmplz-logo img, .cmplz-cookiebanner .cmplz-logo svg { display: none !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--display) !important; font-size: 22px !important; font-weight: 600 !important; letter-spacing: -.01em; color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-message p { font-family: var(--sans) !important; font-size: 14px !important; line-height: 1.55 !important; color: var(--ink-soft) !important; }
.cmplz-cookiebanner .cmplz-buttons { gap: 8px !important; }
.cmplz-cookiebanner .cmplz-btn {
	font-family: var(--sans) !important; font-weight: 700 !important; font-stretch: 85%;
	text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px !important;
	border-radius: 999px !important; border-width: 1.5px !important; height: 44px !important; min-height: 44px; padding: 0 18px !important;
	transition: background-color .2s, color .2s;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--ink) !important; color: var(--limestone) !important; border-color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--terracotta) !important; border-color: var(--terracotta) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny, .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background: transparent !important; color: var(--ink) !important; border-color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover, .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover { background: var(--ink) !important; color: var(--limestone) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences { background: transparent !important; border-color: transparent !important; color: var(--ink) !important; text-decoration: underline; text-underline-offset: .2em; }
.cmplz-cookiebanner .cmplz-links .cmplz-link, .cmplz-cookiebanner .cmplz-documents a { color: var(--terracotta) !important; font-size: 13px !important; }
.cmplz-cookiebanner .cmplz-close { color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-category { background: rgba(232, 214, 180, .45) !important; border-radius: 12px !important; }
.cmplz-cookiebanner .cmplz-category-title { font-family: var(--sans) !important; font-weight: 700 !important; }
#cmplz-manage-consent .cmplz-manage-consent {
	background: var(--ink) !important; color: var(--limestone) !important; border-radius: 12px 12px 0 0 !important;
	font-family: var(--sans) !important; font-weight: 700 !important; font-size: 12.5px !important; letter-spacing: .06em; text-transform: uppercase;
	border: 0 !important; box-shadow: none !important;
}
@media (max-width: 560px) {
	.cmplz-cookiebanner { padding: 18px !important; border-radius: 18px 18px 0 0 !important; }
}

/* ---------------------------------------------------------------------------
 * Legal pages (Privacy, Terms, Cookies): one shared reading style.
 * ------------------------------------------------------------------------ */
.legal-doc { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.legal-doc > *:first-child, .legal-doc .cmplz-document > *:first-child { margin-top: 0; }
.legal-doc h2, .legal-doc .cmplz-document h2 {
	font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2;
	color: var(--ink); margin: 2.2em 0 .6em; padding-top: 1.1em; border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 24px); text-transform: none; letter-spacing: 0;
}
.legal-doc h3, .legal-doc .cmplz-document h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; color: var(--ink); margin: 1.6em 0 .4em; text-transform: none; letter-spacing: 0; }
.legal-doc h4, .legal-doc h5 { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); margin: 1em 0 .3em; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); }
.legal-doc ul, .legal-doc ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-doc li { margin-bottom: .35em; }
.legal-doc a { color: var(--terracotta); text-underline-offset: 3px; }
.legal-doc b, .legal-doc strong { color: var(--ink); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-doc th { color: var(--ink); background: var(--limestone); font-weight: 700; }
.legal-doc .table-scroll, .legal-doc figure { overflow-x: auto; }
/* Table of contents */
.legal-toc { columns: 2 260px; column-gap: 32px; background: var(--limestone); border-radius: var(--radius-sm); padding: 20px 24px 20px 44px !important; font-size: 15px; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { text-decoration: none; color: var(--ink); }
.legal-toc a:hover { color: var(--terracotta); }
.legal-credit { margin-top: 3em; font-size: 13px; opacity: .7; }
/* Complianz cookie statement */
.legal-doc .cmplz-document { max-width: none; font-size: inherit; }
.legal-doc .cmplz-dropdown { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 10px; background: #fff; }
.legal-doc .cmplz-dropdown summary { padding: 12px 16px; cursor: pointer; }
.legal-doc .cmplz-dropdown summary h3 { margin: 0; font-size: 16px; }
.legal-doc .cmplz-service-description, .legal-doc .cmplz-sharing-data, .legal-doc .cookies-per-purpose { padding: 0 16px 12px; }
.legal-doc .cookies-per-purpose h5 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.legal-doc .cmplz-manage-consent-container { margin: 1em 0 2em; }
@media (max-width: 600px) {
	.legal-doc { font-size: 16px; }
}

/* Contact directory ([gc_contacts]) */
.contact-list { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a { font-family: var(--display); font-size: clamp(19px, 2vw, 22px); color: var(--terracotta); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.press-band h2 { margin-top: .2em; }

/* ---------------------------------------------------------------------------
 * Course map (drawn from the GPX / Komoot track + OpenStreetMap)
 * ------------------------------------------------------------------------ */
.routemap { margin: 0; background: #efe3cb; border-radius: var(--radius); padding: clamp(8px, 1.4vw, 16px); box-shadow: 0 30px 60px -34px rgba(31, 26, 23, .45); }
.routemap__svg { display: block; width: auto; max-width: 100%; height: auto; max-height: 86vh; margin-inline: auto; }
.routemap .rm-forest path { fill: #8f9a68; fill-opacity: .26; stroke: #4e5b33; stroke-opacity: .35; stroke-width: 1.2; stroke-linejoin: round; }
.routemap .rm-trees { fill: none; stroke: #4e5b33; stroke-width: 1.3; stroke-linecap: round; opacity: .7; }
.routemap .rm-trees path { fill: #a7a46e; fill-opacity: .55; }
.routemap .rm-river { fill: none; stroke: #9fc1bc; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.routemap .rm-river--2 { stroke-width: 5; }
.routemap .rm-river--3 { stroke-width: 11; }
.routemap .rm-canal { stroke-width: 2.5; stroke-dasharray: 1 0; opacity: .8; }
.routemap .rm-rlabel { font-family: var(--display); font-style: italic; font-size: 19px; font-weight: 500; fill: #4f7d77; paint-order: stroke; stroke: #efe3cb; stroke-width: 5px; stroke-linejoin: round; }
.routemap .rm-route-bg { fill: none; stroke: #efe3cb; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.routemap .rm-route { fill: none; stroke: var(--terracotta); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.routemap .rm-kms circle { fill: var(--limestone); stroke: var(--terracotta); stroke-width: 1.6; }
.routemap .rm-kms text { font: 700 9.5px/1 var(--sans); font-stretch: 80%; fill: var(--terracotta); }
.routemap .rm-mark { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.routemap .rm-mark .rm-halo { fill: #efe3cb; fill-opacity: .85; stroke: none; }
.routemap .rm-dot { fill: var(--limestone); stroke: var(--ink); stroke-width: 2.2; }
.routemap .rm-dot--3 { fill: var(--ink); }
.routemap .rm-place { font-family: var(--sans); font-weight: 700; font-stretch: 85%; letter-spacing: .06em; fill: var(--ink); paint-order: stroke; stroke: #efe3cb; stroke-width: 4px; stroke-linejoin: round; }
.routemap .rm-place--3 { font-size: 20px; }
.routemap .rm-place--2 { font-size: 15px; }
.routemap .rm-place--1 { font-family: var(--display); font-weight: 500; font-style: italic; letter-spacing: 0; font-size: 14px; fill: var(--ink-soft); }
.routemap .rm-start circle { fill: var(--terracotta); stroke: var(--limestone); stroke-width: 3; }
.routemap .rm-start path { fill: var(--limestone); stroke: var(--limestone); stroke-width: 1.5; stroke-linejoin: round; }
.routemap .rm-finish circle { fill: var(--limestone); stroke: var(--terracotta); stroke-width: 4; }
.routemap .rm-rider { opacity: 0; transition: opacity .6s; }
.routemap .rm-rider circle { fill: var(--ochre); stroke: var(--ink); stroke-width: 2.5; }
.routemap.is-riding .rm-rider { opacity: 1; }
.routemap .rm-compass circle { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.routemap .rm-n1 { fill: var(--terracotta); } .routemap .rm-n2 { fill: var(--ink); }
.routemap .rm-compass text, .routemap .rm-scale text { font: 700 13px/1 var(--sans); fill: var(--ink); }
.routemap .rm-scale path { stroke: var(--ink); stroke-width: 2; fill: none; }
.routemap__profile { display: block; width: 100%; height: clamp(70px, 10vw, 120px); margin-top: 14px; }
.routemap .rm-prof-fill { fill: var(--stone); fill-opacity: .45; }
.routemap .rm-prof-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.routemap .rm-prof-tick { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.routemap__axis, .routemap__alt { display: flex; justify-content: space-between; font: 700 12px/1.4 var(--sans); font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 4px 2px 0; }
.routemap__alt { justify-content: flex-start; opacity: .8; }
.routemap__credit { font-size: 11px; color: var(--ink-soft); opacity: .7; text-align: right; margin-top: 6px; }
.routemap__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* animation: everything is drawn by default; JS hides it until the map is in view */
.routemap.is-pending .rm-route, .routemap.is-pending .rm-prof-line { stroke-dashoffset: 1; }
.routemap.is-pending .rm-mark, .routemap.is-pending .rm-kms, .routemap.is-pending .rm-places, .routemap.is-pending .rm-rlabel, .routemap.is-pending .rm-finish { opacity: 0; }
.routemap.is-pending .rm-forest, .routemap.is-pending .rm-trees, .routemap.is-pending .rm-rivers { opacity: 0; }
.routemap.is-pending .rm-prof-fill { opacity: 0; }
.routemap .rm-forest, .routemap .rm-trees, .routemap .rm-rivers, .routemap .rm-rlabel, .routemap .rm-places, .routemap .rm-kms, .routemap .rm-finish, .routemap .rm-prof-fill { transition: opacity .9s ease; }
.routemap .rm-trees { transition-delay: .3s; }
.routemap .rm-rivers, .routemap .rm-rlabel { transition-delay: .15s; }
.routemap .rm-places { transition-delay: .5s; }
.routemap.is-drawn .rm-route { transition: stroke-dashoffset 3.4s cubic-bezier(.45, .05, .35, 1) .5s; }
.routemap.is-drawn .rm-prof-line { transition: stroke-dashoffset 3.4s cubic-bezier(.45, .05, .35, 1) .5s; }
.routemap.is-drawn .rm-prof-fill { transition-delay: 2.6s; }
.routemap .rm-mark { transition: opacity .5s ease, transform .5s ease; transition-delay: calc(1s + var(--i, 0) * .14s); }
.routemap.is-drawn .rm-kms, .routemap.is-drawn .rm-finish { transition-delay: 3.4s; }
@media (max-width: 700px) {
	.routemap { padding: 6px; border-radius: 12px; }
	.routemap .rm-place--3 { font-size: 32px; }
	.routemap .rm-place--2 { font-size: 25px; }
	.routemap .rm-place--1 { display: none; }
	.routemap .rm-rlabel { font-size: 30px; }
	.routemap .rm-route { stroke-width: 7; }
	.routemap .rm-route-bg { stroke-width: 15; }
	.routemap .rm-mark > * { transform: scale(1.5); }
	.routemap .rm-kms, .routemap .rm-scale, .routemap .rm-trees { display: none; }
	.routemap .rm-compass { transform-box: fill-box; }
	.routemap .rm-river--1 { stroke-width: 3.5; }
	.routemap .rm-river--2 { stroke-width: 7; }
	.routemap .rm-river--3 { stroke-width: 15; }
}
