/* ==========================================================
   TWC Cycling Ltd — twccycling.com
   Main colours: orange, white, red. Secondary: pink, black.
   ========================================================== */
:root {
  --orange: #F26A1B;          /* brand orange: backgrounds, icons, large accents (use ink text on it) */
  --orange-hover: #E05A0B;
  --orange-deep: #C2410C;     /* orange text/links on white (passes contrast) */
  --orange-soft: #FFE6D5;
  --cream: #FFF7F0;
  --red: #C8102E;
  --red-dark: #9E0B23;
  --pink: #E2457A;
  --pink-soft: #FDE3EC;
  --ink: #141416;
  --ink-2: #222228;
  --ink-3: #2E2E36;
  --text: #4A4A55;
  --muted: #6B6B76;
  --line: #F0DDCF;
  --line-2: #E7D3C4;
  --white: #FFFFFF;
  --gold: #F5B700;
  --silver: #B9C0C8;
  --bronze: #C9824A;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 20, 22, 0.08);
  --shadow-lg: 0 24px 50px rgba(20, 20, 22, 0.16);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 1; letter-spacing: .2px; }
p { margin: 0; }
button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.section { padding: 92px 0; }
.section-sm { padding: 56px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-red { background: var(--red); color: var(--white); }
.bg-orange { background: var(--orange); color: var(--ink); }
.center { text-align: center; }
.mt-12 { margin-top: 12px; } .mt-20 { margin-top: 20px; } .mt-28 { margin-top: 28px; } .mt-40 { margin-top: 40px; }
.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: -999px; top: 8px; z-index: 300; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--orange-deep); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.bg-ink .eyebrow, .on-dark .eyebrow { color: var(--orange); }
.bg-red .eyebrow { color: #fff; }
.bg-red .eyebrow::before { background: #fff; }
.section-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.section-title em { font-style: normal; color: var(--orange); }
.bg-ink .section-title em { color: var(--orange); }
.section-head { margin-bottom: 44px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; color: var(--text); font-size: 17px; }
.bg-ink .section-head p { color: #D6D3D8; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.lead { font-size: 17.5px; color: var(--text); margin-top: 16px; }
.text-link { font-weight: 700; color: var(--orange-deep); text-decoration: none; padding: 10px 0; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); color: var(--ink); box-shadow: 0 10px 24px rgba(242,106,27,.35); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: var(--cream); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--red); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary::after, .btn-red::after, .btn-white::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary:hover::after, .btn-red:hover::after, .btn-white:hover::after { left: 130%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Header & menu ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--red)); z-index: 200; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,20,22,.08); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; gap: 18px; transition: height .3s ease; }
.site-header.scrolled .header-inner { height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); transition: transform .5s ease; }
.logo:hover .logo-mark { transform: rotate(-20deg) scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: .9; }
.logo-name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .3px; color: var(--ink); }
.logo-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 4px; color: var(--red); margin-top: 5px; }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-tag { color: var(--orange); }
.logo:hover .logo-name { color: var(--ink); }
.logo-light:hover .logo-name { color: #fff; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.nav-item:hover .nav-link::after, .nav-item.active .nav-link::after { transform: scaleX(1); }
.nav-link:hover { color: var(--ink); }
.has-drop .nav-link { padding-right: 2px; }
.drop-toggle { background: none; border: none; padding: 10px 8px 10px 3px; cursor: pointer; color: var(--ink); display: flex; align-items: center; min-height: 40px; }
.drop-toggle .chev { transition: transform .25s ease; }
.has-drop:hover .chev, .has-drop.open .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 10px); min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 120; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.has-drop:hover .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background .2s ease; }
.dropdown a strong { font-size: 14.5px; }
.dropdown a span { font-size: 12.5px; color: var(--muted); }
.dropdown a:hover, .dropdown a.active { background: var(--cream); }
.dropdown a.active strong { color: var(--orange-deep); }

.nav-social { display: flex; gap: 6px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.social-btn:hover { background: var(--orange); color: var(--ink); transform: translateY(-3px); }
.social-btn-lg { width: 46px; height: 46px; }
.social-btn-dark { background: var(--ink-3); color: #fff; }
.social-btn-dark:hover { background: var(--orange); color: var(--ink); }
.nav-social-mobile { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-social-desktop { display: none; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; display: block; overflow-y: auto; padding: 12px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s; }
  .site-header.scrolled .main-nav { top: 64px; }
  .main-nav.open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 17px; }
  .nav-link::after { display: none; }
  .nav-item.active > .nav-link { color: var(--orange-deep); }
  .drop-toggle { padding: 14px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 10px; min-width: 0; width: 100%; display: none; background: transparent; }
  .dropdown::after, .dropdown::before { display: none; }
  .has-drop:hover .dropdown { transform: none; }
  .has-drop.open .dropdown { display: block; transform: none; }
  .has-drop:hover .chev { transform: none; }
  .has-drop.open .chev { transform: rotate(180deg); }
  .dropdown a { background: var(--cream); margin-bottom: 6px; }
  .nav-social-mobile { display: flex; gap: 10px; padding-top: 22px; }
  .nav-social-mobile .social-btn { width: 48px; height: 48px; }
}

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; height: min(88vh, 760px); min-height: 560px; overflow: hidden; background: var(--ink); color: #fff; }
.hc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hc-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 7.5s linear; }
.hc-slide.active img { transform: scale(1); }
.hc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,16,.88) 0%, rgba(14,14,16,.62) 45%, rgba(14,14,16,.12) 100%), linear-gradient(0deg, rgba(14,14,16,.6), transparent 40%); }
.hc-content { position: relative; z-index: 2; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px 70px; display: flex; flex-direction: column; justify-content: center; }
.hc-content > * { max-width: 640px; }
.hc-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: var(--orange); color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: 2px; padding: 8px 14px; border-radius: 999px; text-transform: uppercase; }
.hc-title { font-size: clamp(48px, 7.4vw, 96px); font-weight: 800; margin: 20px 0 18px; }
.hc-title span { color: var(--orange); }
.hc-text { font-size: clamp(16px, 1.6vw, 19px); color: #ECE7EA; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hc-slide .hc-tag, .hc-slide .hc-title, .hc-slide .hc-text, .hc-slide .hc-actions { opacity: 0; transform: translateY(30px); }
.hc-slide.active .hc-tag, .hc-slide.active .hc-title, .hc-slide.active .hc-text, .hc-slide.active .hc-actions { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.hc-slide.active .hc-title { transition-delay: .15s; }
.hc-slide.active .hc-text { transition-delay: .3s; }
.hc-slide.active .hc-actions { transition-delay: .45s; }
.hc-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; }
.hc-controls-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.hc-dots { display: flex; gap: 8px; flex: 1; }
.hc-dot { flex: 1; max-width: 120px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; color: #fff; text-align: left; }
.hc-dot .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; }
.hc-dot .bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.hc-dot.active .bar i { animation: hcbar var(--hc-time, 6.5s) linear forwards; }
.hc-dot.done .bar i { width: 100%; }
.hc-dot .lbl { font-size: 12px; font-weight: 600; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-dot.active .lbl { opacity: 1; }
.hero-carousel.paused .hc-dot.active .bar i { animation-play-state: paused; }
@keyframes hcbar { to { width: 100%; } }
.hc-arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(20,20,22,.35); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.hc-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hc-count { font-family: var(--display); font-size: 22px; font-weight: 700; min-width: 64px; text-align: right; }
.hc-count b { color: var(--orange); font-size: 30px; }
@media (max-width: 720px) {
  .hero-carousel { height: 82vh; min-height: 560px; }
  .hc-slide::after { background: linear-gradient(0deg, rgba(14,14,16,.92) 10%, rgba(14,14,16,.45) 60%, rgba(14,14,16,.25)); }
  .hc-content { justify-content: flex-end; padding-bottom: 110px; }
  .hc-dot .lbl, .hc-count { display: none; }
  .hc-arrow { width: 46px; height: 46px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.15); will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,16,.85), rgba(14,14,16,.2)); }
.page-hero .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 100px; }
.page-hero h1 { font-size: clamp(48px, 6.5vw, 82px); font-weight: 800; margin: 10px 0 16px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 18px; max-width: 640px; color: #EFEAED; }
.page-hero .eyebrow { color: var(--orange); }
.crumbs { font-size: 14px; color: #E3DEE1; }
.crumbs a { color: var(--orange); text-decoration: none; }
.page-hero .container > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.page-hero h1 { animation-delay: .08s; }
.page-hero p { animation-delay: .16s; }
.page-hero .hero-actions { animation-delay: .24s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- League countdown strip ---------- */
.kickoff { background: var(--orange); color: var(--ink); position: relative; overflow: hidden; }
.kickoff::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.08) 22px 44px); animation: stripes 3s linear infinite; }
@keyframes stripes { to { background-position: 62px 0; } }
.kickoff-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 26px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.kickoff h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.kickoff p { font-weight: 600; margin-top: 4px; }
.cd-grid { display: flex; gap: 8px; }
.cd-grid > div { background: var(--ink); color: #fff; border-radius: 12px; min-width: 70px; padding: 10px 8px; text-align: center; }
.cd-num { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--orange); }
.cd-grid small { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #D6D3D8; }
.cd-num.tick { animation: tick .4s ease; }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.cd-mini { display: inline-flex; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.cd-mini span { background: var(--ink); color: var(--orange); padding: 3px 8px; border-radius: 6px; min-width: 38px; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 220px; object-fit: cover; transition: transform .7s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; padding: 7px 11px; border-radius: 8px; text-transform: uppercase; }
.card-tag.orange { background: var(--orange); color: var(--ink); }
.card-tag.pink { background: var(--pink); color: #fff; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 28px; font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--text); }
.meta strong { color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 18px; }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; position: relative; overflow: hidden; text-decoration: none; color: var(--ink); }
.feature-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 { font-size: 28px; font-weight: 800; }
.feature-card p { color: var(--text); font-size: 15px; }
.feature-card .text-link { margin-top: auto; padding: 0; }
.icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s ease, background .35s ease; }
.feature-card:hover .icon-box { transform: rotate(-8deg) scale(1.08); background: var(--orange); color: var(--ink); }
.icon-box.red { background: #FCE2E6; color: var(--red); }
.icon-box.pink { background: var(--pink-soft); color: #B4235A; }
.icon-box.dark { background: var(--ink); color: var(--orange); }

.step { background: #fff; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 28px; display: flex; align-items: center; justify-content: center; transition: transform .6s ease; }
.step:hover .step-num { transform: rotate(360deg); }
.step h3 { font-family: var(--body); text-transform: none; font-size: 19px; font-weight: 700; }
.step p { color: var(--text); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); color: #8A2E05; }
.chip.red { background: #FCE2E6; color: var(--red-dark); }
.chip.pink { background: var(--pink-soft); color: #9B1B4C; }
.chip.dark { background: var(--ink); color: #fff; }
.chip.green { background: #DFF3E4; color: #1E6B34; }
.chip.grey { background: #EEECEF; color: #4A4A55; }

.split-img { width: 100%; height: 460px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.img-stack { position: relative; }
.img-stack .badge-float { position: absolute; right: -18px; bottom: 28px; background: var(--orange); color: var(--ink); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite; }
.badge-float strong { font-family: var(--display); font-size: 42px; display: block; line-height: 1; }
.badge-float span { font-weight: 700; font-size: 13px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature h4 { font-size: 17px; margin-bottom: 2px; }
.feature p { color: var(--text); font-size: 15px; }
.feature:hover .icon-box { transform: scale(1.1); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141416' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Stats band with rider ---------- */
.impact-band { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 24px 84px; max-width: 1200px; margin: 0 auto; }
.stat { text-align: center; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; }
.stat-label { font-size: 15px; font-weight: 600; margin-top: 6px; color: #FFE3E7; }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; border-top: 2px dashed rgba(255,255,255,.35); }
.rider { position: absolute; bottom: 6px; left: -100px; animation: ride 14s linear infinite; }
.rider .wheel { animation: spin .6s linear infinite; }
.rider.r2 { animation-duration: 19s; animation-delay: -7s; opacity: .55; transform: scale(.75); transform-origin: bottom; }
@keyframes ride { from { left: -100px; } to { left: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- League calendar ---------- */
.cal-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.cal-scroll::-webkit-scrollbar { height: 8px; }
.cal-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.round-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; text-decoration: none; color: var(--ink); }
.round-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.round-card .rc-top { display: flex; justify-content: space-between; align-items: center; }
.round-card .rc-n { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 1px; color: var(--muted); }
.round-card .rc-month { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; text-transform: uppercase; }
.round-card .rc-town { font-size: 19px; font-weight: 700; }
.round-card .rc-date { font-size: 13.5px; color: var(--text); }
.round-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--region, var(--orange)); }
.round-card.final { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-card.final .rc-n, .round-card.final .rc-date { color: #CFCBD0; }
.round-card.final .rc-month { color: var(--orange); }
.round-card.rest { background: repeating-linear-gradient(135deg, #FAF6F2 0 12px, #F4EEE8 12px 24px); color: var(--muted); }
.reg-central { --region: #F26A1B; } .reg-eastern { --region: #C8102E; } .reg-western { --region: #E2457A; } .reg-northern { --region: #141416; }
.region-chip { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--region, var(--orange)); }
.reg-central .region-chip, .region-chip.reg-central { color: var(--ink); }

.timeline-year { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.ty-month { border-radius: 12px; padding: 12px 6px; text-align: center; background: #fff; border: 1px solid var(--line); position: relative; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 6px; }
.ty-month b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.ty-month span { font-size: 12.5px; font-weight: 600; }
.ty-month i { width: 12px; height: 12px; border-radius: 50%; background: var(--region, var(--orange)); }
.ty-month.rest { background: repeating-linear-gradient(135deg, #FAF6F2 0 8px, #F2ECE6 8px 16px); color: var(--muted); }
.ty-month.final { background: var(--ink); color: #fff; }
.ty-month.final b { color: var(--orange); }
.ty-month.done::after { content: "✓"; position: absolute; top: 6px; right: 8px; font-size: 12px; color: #1E6B34; font-weight: 800; }
@media (max-width: 900px) { .timeline-year { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 480px) { .timeline-year { grid-template-columns: repeat(4, 1fr); } }

.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.region-card { border-radius: 20px; padding: 26px 22px; color: #fff; background: var(--region); position: relative; overflow: hidden; transition: transform .35s ease; }
.region-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.region-card.reg-central { color: var(--ink); }
.region-card h3 { font-size: 30px; font-weight: 800; }
.region-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.region-card li { background: rgba(255,255,255,.16); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14.5px; }
.region-card.reg-central li { background: rgba(255,255,255,.35); }
.region-card li small { display: block; font-weight: 500; opacity: .85; font-size: 12px; }
.region-card .bg-num { position: absolute; right: -4px; bottom: -26px; font-family: var(--display); font-weight: 800; font-size: 120px; opacity: .14; line-height: 1; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.data th { background: var(--ink); color: #fff; text-align: left; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 13px 14px; white-space: nowrap; position: sticky; top: 0; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr { transition: background .2s ease; }
table.data tbody tr:hover { background: var(--cream); }
table.data tbody tr:last-child td { border-bottom: none; }
table.data .num { text-align: center; }
table.data .total { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--orange-deep); text-align: center; }
table.data tr.clickable { cursor: pointer; }
.pos { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; background: #F2EEF0; }
.pos.p1 { background: var(--gold); color: var(--ink); } .pos.p2 { background: var(--silver); color: var(--ink); } .pos.p3 { background: var(--bronze); color: #fff; }
.who { display: flex; align-items: center; gap: 12px; }
.who img, .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange-deep); font-weight: 800; font-size: 14px; }
.who strong { display: block; }
.who small { color: var(--muted); font-size: 12.5px; }
.pts-cell { color: var(--muted); }
.pts-cell.win { color: var(--ink); font-weight: 800; }
.pts-cell.win::after { content: " ★"; color: var(--gold); }

/* Club badges */
.club-badge { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .5px; flex-shrink: 0; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.club-badge.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 26px; }
.club-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.club-tag .club-badge { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }

/* Tabs & filters */
.tabs { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 4px; flex-wrap: wrap; }
.tab { border: none; background: transparent; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink); min-height: 44px; transition: background .2s ease, color .2s ease; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab:hover:not([aria-selected="true"]) { background: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.toolbar .search { flex: 1 1 240px; max-width: 360px; position: relative; }
.toolbar input, .toolbar select { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; min-height: 46px; }
.toolbar select { width: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s ease; }
.filter-btn:hover { border-color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* Podium */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 14px; max-width: 760px; margin: 0 auto 40px; }
.podium-spot { text-align: center; }
.podium-spot .pp { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 4px solid var(--silver); background: var(--orange-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: var(--orange-deep); }
.podium-spot.first .pp { width: 120px; height: 120px; border-color: var(--gold); }
.podium-spot.third .pp { border-color: var(--bronze); }
.podium-spot strong { display: block; font-size: 16px; }
.podium-spot small { color: var(--muted); }
.podium-block { margin-top: 12px; border-radius: 14px 14px 0 0; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.7,.2,1) both; }
.podium-spot.first .podium-block { height: 150px; background: var(--orange); color: var(--ink); animation-delay: .2s; }
.podium-spot.second .podium-block { height: 110px; animation-delay: .4s; }
.podium-spot.third .podium-block { height: 84px; background: var(--red); animation-delay: .6s; }
.podium-block b { font-size: 44px; line-height: 1; }
.podium-block span { font-size: 15px; letter-spacing: 1px; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Preview note */
.preview-note { display: flex; gap: 12px; align-items: flex-start; background: #FFF8E1; border: 1px solid #F2D27A; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; color: #5C4600; margin-bottom: 28px; }
.preview-note strong { color: #3D2E00; }

/* ---------- Hall of fame ---------- */
.hof-hero { background: radial-gradient(circle at 70% 20%, rgba(242,106,27,.35), transparent 50%), var(--ink); }
.hof-round { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 220px 1fr; margin-bottom: 26px; transition: box-shadow .35s ease; }
.hof-round:hover { box-shadow: var(--shadow-lg); }
.hof-side { background: var(--ink); color: #fff; padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.hof-side::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--region); }
.hof-side .m { font-family: var(--display); font-size: 46px; font-weight: 800; color: var(--orange); line-height: 1; text-transform: uppercase; }
.hof-side .y { font-family: var(--display); font-size: 24px; font-weight: 700; }
.hof-side .t { font-weight: 700; font-size: 18px; margin-top: 10px; }
.hof-side small { color: #CFCBD0; }
.hof-winners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hof-winner { padding: 24px; display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: start; position: relative; }
.hof-winner + .hof-winner { border-left: 1px solid var(--line); }
.hof-photo { position: relative; }
.hof-photo img, .hof-photo .avatar { width: 130px; height: 150px; border-radius: 18px; object-fit: cover; font-size: 34px; }
.hof-photo .medal { position: absolute; right: -10px; bottom: -10px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.2); animation: medal 3s ease-in-out infinite; }
@keyframes medal { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.06); } }
.hof-cat { font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange-deep); }
.hof-cat.women { color: #B4235A; }
.hof-name { font-family: var(--display); font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 1; margin: 6px 0 8px; }
.hof-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.hof-stats span { background: var(--cream); border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.hof-msg { font-size: 14.5px; color: var(--text); border-left: 3px solid var(--orange); padding-left: 12px; font-style: italic; }
.hof-club-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: var(--cream); border-top: 1px solid var(--line); font-size: 14.5px; flex-wrap: wrap; }
.hof-round.upcoming { grid-template-columns: 220px 1fr; opacity: .95; }
.hof-round.upcoming .hof-side { background: #2A2A31; }
.hof-await { padding: 30px; display: flex; align-items: center; gap: 22px; }
.hof-await .q { width: 92px; height: 92px; border-radius: 50%; border: 3px dashed var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 44px; color: var(--line-2); flex-shrink: 0; animation: pulseq 2.4s ease-in-out infinite; }
@keyframes pulseq { 50% { transform: scale(1.06); border-color: var(--orange); color: var(--orange); } }
.hof-await h3 { font-size: 26px; }
.hof-await p { color: var(--text); }
.champ-banner { background: linear-gradient(120deg, var(--orange), #FF9A4D); color: var(--ink); border-radius: 26px; padding: 34px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; position: relative; overflow: hidden; }
.champ-banner .trophy { width: 90px; height: 90px; border-radius: 24px; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: float 4s ease-in-out infinite; }
.champ-banner h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 250; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- Team / org chart ---------- */
.org { display: flex; justify-content: center; overflow-x: auto; padding: 10px 4px 30px; }
.org ul { list-style: none; margin: 0; padding: 40px 0 0; display: flex; justify-content: center; position: relative; }
.org > ul { padding-top: 0; }
.org li { position: relative; padding: 40px 8px 0; display: flex; flex-direction: column; align-items: center; }
.org > ul > li { padding-top: 0; }
/* connectors */
.org li::before, .org li::after { content: ""; position: absolute; top: 0; height: 40px; border-top: 3px solid var(--line-2); width: 50%; }
.org li::before { right: 50%; }
.org li::after { left: 50%; border-left: 3px solid var(--line-2); }
.org li:only-child::before, .org li:only-child::after { display: none; }
.org li:only-child { padding-top: 0; }
.org li:first-child::before, .org li:last-child::after { border: 0 none; }
.org li:last-child::before { border-right: 3px solid var(--line-2); border-radius: 0 12px 0 0; }
.org li:first-child::after { border-radius: 12px 0 0 0; }
.org ul ul::before { content: ""; position: absolute; top: 0; left: 50%; border-left: 3px solid var(--line-2); height: 40px; }
.org > ul > li > ul::before { height: 40px; }
.org.drawn li::before, .org.drawn li::after, .org.drawn ul ul::before { border-color: var(--orange); transition: border-color 1.2s ease; }
.person { width: 184px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 16px 18px; text-align: center; cursor: pointer; position: relative; transition: transform .35s ease, box-shadow .35s ease; font: inherit; color: inherit; }
.person:hover, .person:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.person.lead { width: 240px; background: var(--ink); color: #fff; border-color: var(--ink); }
.person.l2 { border: 2px solid var(--orange); }
.person .ph { display: block; width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; position: relative; }
.person > span, .person > strong { display: block; }
.person.lead .ph { width: 130px; height: 130px; }
.person .ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 1; border: 4px solid #fff; }
.person.lead .ph img { border-color: var(--ink); }
.person .ph::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--orange), var(--red), var(--pink), var(--orange)); animation: spinring 6s linear infinite; }
@keyframes spinring { to { transform: rotate(360deg); } }
.person strong { display: block; font-size: 17px; line-height: 1.25; }
.person .role { display: block; font-size: 13px; color: var(--orange-deep); font-weight: 700; margin-top: 4px; }
.person.lead .role { color: var(--orange); }
.person .mail { display: block; font-size: 11.5px; line-height: 1.35; color: var(--muted); margin-top: 8px; word-break: break-all; }
.person.lead .mail { color: #CFCBD0; }
.person .more { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--orange-soft); padding: 5px 10px; border-radius: 999px; }
.person.lead .more { background: var(--orange); }
.org .person { opacity: 0; transform: translateY(24px) scale(.96); }
.org.in .person { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; transition-delay: var(--d, 0s); }
.org.in .person:hover { transform: translateY(-8px); transition-delay: 0s; }
.level-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; font-size: 14px; font-weight: 600; color: var(--text); }
.level-legend span { display: inline-flex; align-items: center; gap: 8px; }
.level-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
@media (max-width: 1100px) {
  .org { display: block; }
  .org ul { flex-direction: column; align-items: stretch; padding: 0 0 0 26px; border-left: 3px solid var(--line-2); margin-left: 16px; }
  .org > ul { border: none; padding: 0; margin: 0; }
  .org li { padding: 14px 0 0; align-items: flex-start; }
  .org li::before, .org li::after, .org ul ul::before { display: none; }
  .org ul ul > li > .person::before { content: ""; position: absolute; left: -29px; top: 40px; width: 26px; border-top: 3px solid var(--line-2); }
  .person, .person.lead { width: 100%; max-width: 520px; display: grid; grid-template-columns: 76px 1fr; gap: 4px 16px; text-align: left; align-items: center; padding: 16px; }
  .person .ph, .person.lead .ph { width: 76px; height: 76px; margin: 0; grid-row: span 4; }
}
.modal { position: fixed; inset: 0; z-index: 260; background: rgba(14,14,16,.7); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card { background: #fff; border-radius: 24px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: rise .4s cubic-bezier(.2,.7,.2,1); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); font-size: 26px; cursor: pointer; z-index: 2; }
.modal-head { display: flex; gap: 20px; align-items: center; padding: 28px; background: var(--ink); color: #fff; }
.modal-head img, .modal-head .avatar { width: 110px; height: 110px; border-radius: 20px; object-fit: cover; font-size: 32px; }
.modal-head h3 { font-size: 34px; }
.modal-head .role { color: var(--orange); font-weight: 700; }
.modal-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.modal-body p { color: var(--text); }
.contact-line { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Races ---------- */
.race-card .card-media img { height: 230px; }
.race-cd { position: absolute; left: 14px; bottom: 14px; }
.race-date { position: absolute; right: 14px; top: 14px; background: #fff; border-radius: 12px; text-align: center; padding: 6px 12px; box-shadow: var(--shadow); }
.race-date b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--red); }
.race-date span { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.cause-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--pink-soft); color: #8E1244; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.result-card h3 { grid-column: 1 / -1; font-size: 28px; }
.mini-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-podium li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.mini-podium .pos { width: 28px; height: 28px; font-size: 13px; }

/* ---------- Sponsors ---------- */
.partners { border-bottom: 1px solid var(--line); padding: 42px 0; text-align: center; background: #fff; }
.partners-title { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--text); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sponsor-logo { display: inline-flex; align-items: center; gap: 10px; height: 60px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; color: #75707A; white-space: nowrap; transition: color .2s ease; }
.sponsor-logo:hover { color: var(--orange-deep); }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sponsor-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.sponsor-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sponsor-tile .sponsor-logo { font-size: 22px; height: auto; color: var(--ink); }
.sponsor-tile small { color: var(--muted); font-weight: 600; }
.package { background: var(--ink-2); border: 1px solid #3A3A42; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; color: #fff; transition: transform .35s ease, box-shadow .35s ease; }
.package:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.package.featured { background: #fff; color: var(--ink); border: 3px solid var(--orange); }
.package-name { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--orange); }
.package.featured .package-name { align-self: flex-start; background: var(--orange); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.package.gold .package-name { color: var(--gold); }
.package-price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.package-price small { font-size: 18px; font-weight: 600; }
.package ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: #E3DEE1; }
.package.featured ul { color: var(--text); }
.package .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 38px; font-weight: 800; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
fieldset.field { border: none; padding: 0; margin: 0; }
.form-note { font-size: 13.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label { display: flex; flex-direction: column; gap: 3px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px; cursor: pointer; font-weight: 700; min-height: 70px; transition: border-color .2s ease, background .2s ease; }
.radio-card label small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.radio-card input:checked + label { border-color: var(--orange); background: var(--cream); box-shadow: inset 0 0 0 2px var(--orange); }
.radio-card input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #E8F5E9; color: #1B5E20; font-weight: 600; }
.form-msg.show { display: block; animation: rise .4s ease; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Join hub */
.join-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.join-tile { border-radius: 22px; padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: #fff; background: var(--ink); min-height: 220px; position: relative; overflow: hidden; transition: transform .35s ease; }
.join-tile:hover { transform: translateY(-8px); color: #fff; }
.join-tile.o { background: var(--orange); color: var(--ink); } .join-tile.o:hover { color: var(--ink); }
.join-tile.r { background: var(--red); }
.join-tile.p { background: var(--pink); }
.join-tile h3 { font-size: 30px; font-weight: 800; }
.join-tile p { font-size: 14.5px; opacity: .9; }
.join-tile .go { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.join-tile .bg-icon { position: absolute; right: -20px; bottom: -20px; opacity: .14; transition: transform .5s ease; }
.join-tile:hover .bg-icon { transform: rotate(-15deg) scale(1.1); }
.form-section { scroll-margin-top: 100px; }

/* ---------- Payments ---------- */
.pay-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pay-summary { background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; position: sticky; top: 100px; }
.pay-summary .amt { font-family: var(--display); font-size: 52px; font-weight: 800; color: var(--orange); line-height: 1; margin: 8px 0; }
.pay-summary .ref { background: var(--ink-3); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 15px; }
.pay-summary small { color: #CFCBD0; }
.method { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 18px; }
.method-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.method-logo { width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.method-logo.mtn { background: #FFCB05; color: #000; }
.method-logo.airtel { background: #E40000; color: #fff; }
.method-logo.bank { background: var(--ink); color: var(--orange); }
.method-head h3 { font-family: var(--body); text-transform: none; font-size: 19px; }
.method-head p { color: var(--muted); font-size: 13.5px; }
.code-box { margin: 0 22px; background: var(--cream); border: 2px dashed var(--orange); border-radius: 16px; padding: 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.code-box .lbl { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.code-box .code { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: 3px; line-height: 1; }
.code-box .nm { font-size: 13px; font-weight: 600; color: var(--text); }
.copy-btn { border: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px; cursor: pointer; min-height: 44px; transition: background .2s ease; }
.copy-btn:hover { background: var(--orange); color: var(--ink); }
.copy-btn.copied { background: #1E7E34; color: #fff; }
.ussd-steps { list-style: none; counter-reset: s; margin: 0; padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.ussd-steps li { counter-increment: s; position: relative; padding: 3px 0 0 40px; min-height: 28px; font-size: 15px; }
.ussd-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ussd-steps code { background: var(--ink); color: var(--orange); padding: 2px 8px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.bank-table { width: calc(100% - 44px); margin: 0 22px 22px; border-collapse: collapse; font-size: 15px; }
.bank-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.bank-table td:first-child { color: var(--muted); width: 40%; }
.warn-box { background: #FDECEC; border: 1px solid #F3B9BF; color: #7A1020; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }

/* ---------- Gallery ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; transition: transform .5s ease, filter .5s ease; }
.gallery-strip img:hover { transform: scale(1.04) rotate(-.6deg); filter: saturate(1.2); }
.gallery-grid { columns: 3 300px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 16px; overflow: hidden; background: var(--orange-soft); }
.gallery-item button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery-item button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gallery-item img { width: 100%; height: auto; min-height: 180px; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.gallery-item figcaption small { display: block; font-weight: 500; color: #FFD9C2; }
.lightbox { position: fixed; inset: 0; z-index: 280; background: rgba(15,15,18,.94); display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 14px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 12px; }
.lightbox p { color: #fff; font-weight: 600; text-align: center; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: none; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- About timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--line); transform: translateX(-50%); border-radius: 4px; }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; width: 4px; background: linear-gradient(var(--orange), var(--red)); transform: translateX(-50%); border-radius: 4px; height: 0; transition: height .2s linear; }
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::after { content: ""; position: absolute; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); z-index: 1; }
.tl-item:nth-child(odd)::after { right: -11px; }
.tl-item:nth-child(even)::after { left: -11px; }
.tl-year { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--orange-deep); line-height: 1; }
.tl-item h3 { font-size: 26px; margin: 6px 0 8px; }
.tl-item p { color: var(--text); }
@media (max-width: 760px) {
  .timeline::before, .timeline .tl-fill { left: 11px; }
  .tl-item, .tl-item:nth-child(even), .tl-item:nth-child(odd) { width: 100%; left: 0; text-align: left; padding: 0 0 36px 46px; }
  .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 0; right: auto; }
}
.mvv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mvv-card { border-radius: 24px; padding: 36px; position: relative; overflow: hidden; }
.mvv-card.mission { background: var(--orange); color: var(--ink); }
.mvv-card.vision { background: var(--ink); color: #fff; }
.mvv-card h3 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.mvv-card p { font-size: 18px; }
.mvv-card .big-icon { position: absolute; right: -20px; bottom: -24px; opacity: .15; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; gap: 16px; align-items: flex-start; transition: transform .3s ease, box-shadow .3s ease; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value h4 { font-size: 18px; margin-bottom: 4px; }
.value p { color: var(--text); font-size: 14.5px; }

/* Cause section */
.cause-band { background: linear-gradient(120deg, var(--pink-soft), var(--cream)); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cause-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.cause-item { background: #fff; border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14.5px; }
.cause-band img { border-radius: 22px; height: 380px; width: 100%; object-fit: cover; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: center; transition: transform .3s ease, box-shadow .3s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.contact-card strong { display: block; }
.contact-card small { color: var(--muted); display: block; }
.contact-card a { font-size: 14px; font-weight: 600; word-break: break-all; }
.map { width: 100%; height: 380px; border: 0; border-radius: 22px; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 64px 24px; max-width: 1200px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.cta-band p { margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stay band + footer */
.stay-band { background: var(--cream); border-top: 1px solid var(--line); padding: 64px 0; }
.stay-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.stay-inner p { color: var(--text); margin-top: 12px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 240px; font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 10px; min-height: 52px; background: #fff; }
.newsletter-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.stay-social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer { background: var(--ink); color: #CFCBD0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 64px 24px 40px; max-width: 1200px; margin: 0 auto; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 16px; letter-spacing: 1.5px; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #E6E1E3; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo { margin-bottom: 16px; }
.site-footer p { font-size: 14.5px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-bottom { border-top: 1px solid #2E2E36; padding: 22px 24px; max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); animation: bob 3s ease-in-out infinite; }
.whatsapp-float:hover { color: #fff; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.back-top { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--orange); color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-2, .pay-layout, .cause-band { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .region-grid, .join-hub, .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hof-winners { grid-template-columns: minmax(0, 1fr); }
  .hof-winner + .hof-winner { border-left: none; border-top: 1px solid var(--line); }
  .pay-summary { position: static; }
  .img-stack .badge-float { right: 12px; }
}
@media (max-width: 760px) {
  .hof-round, .hof-round.upcoming { grid-template-columns: minmax(0, 1fr); }
  .mvv { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .region-grid, .join-hub, .values-grid, .form-grid, .radio-cards, .footer-grid, .stay-inner, .cause-list, .result-card { grid-template-columns: minmax(0, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-img { height: 320px; }
  .form-card { padding: 22px; }
  .hof-winner { grid-template-columns: 96px 1fr; padding: 18px; }
  .hof-photo img, .hof-photo .avatar { width: 96px; height: 116px; }
  .cd-grid > div { min-width: 58px; }
  .cd-num { font-size: 26px; }
  .stat-num { font-size: 48px; }
  .podium-spot .pp { width: 72px; height: 72px; }
  .podium-spot.first .pp { width: 90px; height: 90px; }
  .cause-band { padding: 26px; }
  .modal-head { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .org .person { opacity: 1; transform: none; }
  .hc-slide img { transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Home standings snapshot */
.mini-head { font-family: var(--body); text-transform: none; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.snap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .snap-grid { grid-template-columns: minmax(0, 1fr); } }

.step .package-price { font-size: 32px; }

/* ==========================================================
   WordPress additions
   ========================================================== */
h1 em, h2 em, .hc-title em, .page-hero h1 em { font-style: normal; color: var(--orange); }
.bg-red h2 em, .kickoff h2 em, .bg-orange h2 em { color: inherit; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.mvv-card.mission h3 em { color: var(--ink); }
.logo-img { width: 46px; height: 46px; object-fit: contain; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.sponsor-img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.sponsor-img.lg { max-height: 70px; }
.sponsor-logo:hover .sponsor-img, .sponsor-tile:hover .sponsor-img { filter: none; opacity: 1; }
.form-msg.error { background: #FDECEC; color: #8A1C1C; }
#pay-online-note { display: block; margin-top: 8px; }
.simple-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.simple-hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; }
.page-body { padding-top: 48px; }
.entry-content { font-size: 17px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { height: auto; border-radius: 12px; }
.post-hero-img { width: 100%; margin-bottom: 24px; }
.pagination { margin-top: 40px; }
/* WooCommerce checkout */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce button.button.alt, .woocommerce-page #place_order { background: var(--orange); color: var(--ink); border-radius: 10px; font-family: var(--body); font-weight: 700; font-size: 16px; padding: 14px 26px; border: none; }
.woocommerce .button:hover, .woocommerce button.button.alt:hover, .woocommerce-page #place_order:hover { background: var(--orange-hover); color: var(--ink); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; min-height: 48px; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.woocommerce-checkout #order_review_heading { font-family: var(--display); font-size: 32px; text-transform: uppercase; margin: 32px 0 14px; }
.woocommerce-checkout h3 { font-size: 28px; margin-bottom: 14px; }
.woocommerce-checkout #payment { background: var(--cream); border-radius: 14px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--orange); background: var(--cream); border-radius: 10px; }
.twc-thanks { background: var(--cream); border: 2px solid var(--orange); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.twc-thanks h2 { font-size: 40px; color: var(--orange-deep); margin-bottom: 8px; }

/* Carousel with a single slide: no arrows or dots */
.hero-carousel.single .hc-controls { display: none; }

/* Before the first round has results */
.not-yet { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 2px dashed #F2C4A4; border-radius: 20px; padding: 28px 30px; }
.not-yet .q { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.not-yet .q svg { width: 28px; height: 28px; }
.not-yet h3 { font-size: 26px; margin: 2px 0 8px; }
.not-yet p { margin: 0 0 16px; color: var(--muted); max-width: 640px; }
.not-yet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bg-dark .not-yet, .bg-ink .not-yet { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.25); }
.bg-dark .not-yet p, .bg-ink .not-yet p { color: #d6d0d3; }
@media (max-width: 600px) { .not-yet { flex-direction: column; padding: 22px; } }

/* Eight values: four per row on wide screens */
@media (min-width: 1101px) { .values-grid.v8 { grid-template-columns: repeat(4, 1fr); } }

/* Team cards: room for a full email on one line (desktop chart only) */
/* Desktop chart: wider cards; cards on the same row share one height, buttons lined up */
@media (min-width: 1101px) {
  .org .person { width: 280px; }
  .org li { padding-left: 14px; padding-right: 14px; }
  .org li > .person:last-child { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; }
  .org li > .person:last-child .mail { margin-bottom: 12px; }
  .org li > .person:last-child .more { margin-top: auto; }
}
.person .mail { word-break: normal; overflow-wrap: anywhere; }

/* Preview bar on a switched-off page (admins only) */
.twc-hidden-bar { background: #FFF8E1; border-bottom: 1px solid #F2D27A; color: #5C4600; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.twc-hidden-bar a { color: #C2410C; text-decoration: underline; }

/* ---------- Phone safety: nothing may widen the page ---------- */
html, body { max-width: 100%; }
body { overflow-x: clip; }
input, select, textarea { max-width: 100%; min-width: 0; }
.form-card, .form-card > *, .pay-summary { min-width: 0; }
.sponsor-tile, .sponsor-tile .sponsor-logo { min-width: 0; overflow-wrap: anywhere; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
.text-link, .step a, .contact-card a, .person .mail { overflow-wrap: anywhere; }
.sponsor-tile .sponsor-logo { white-space: normal; text-align: center; }
.site-header.scrolled { background: #fff; }

/* ---------- League divisions ---------- */
.pts-cell.dropped { color: #A9A3A8; text-decoration: line-through; }
.data tr.dropped td { color: #A9A3A8; }
.disc-switch { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 4px; }
.disc-switch button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.disc-switch button[aria-pressed="true"] { background: var(--orange); color: var(--ink); }
.leader-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
.leader-list li { font-size: 15px; }
.leader-list small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .75; }
.leader-list strong { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
@media (max-width: 600px) { .leader-list { grid-template-columns: minmax(0, 1fr); } .disc-switch button { padding: 8px 12px; font-size: 13px; } }
.tabs { flex-wrap: wrap; }
.reg-international { --region: #1F6FB2; }

/* ---------- TWC logo image ---------- */
.logo-has-img { gap: 0; }
.logo-has-img .logo-img { width: auto; height: 60px; max-width: 200px; object-fit: contain; display: block; transition: height .3s ease; }
.site-header.scrolled .logo-has-img .logo-img { height: 48px; }
.logo-img-footer { display: block; width: auto; height: 104px; max-width: 100%; }
@media (max-width: 600px) { .logo-has-img .logo-img { height: 46px; } .site-header.scrolled .logo-has-img .logo-img { height: 42px; } .logo-img-footer { height: 86px; } }

/* Contact cards: email and phone on separate lines; emails wrap after "@" only */
.contact-card > div { min-width: 0; }
.contact-card a.cc-line { display: flex; align-items: flex-start; gap: 7px; margin-top: 6px; word-break: normal; overflow-wrap: break-word; line-height: 1.4; }
.contact-card a.cc-line svg { flex: none; margin-top: 3px; }
.person .mail { word-break: normal; overflow-wrap: break-word; }

/* ---------- Schools cycling ---------- */
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.split .lead { max-width: 640px; margin-top: 10px; }
.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.school-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.school-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.school-top { display: flex; gap: 14px; align-items: center; }
.school-top h3 { font-size: 21px; line-height: 1.15; margin: 0; }
.school-top .meta { font-size: 13.5px; color: var(--muted); }
.school-badge { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 19px; }
.school-photo { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.school-about { margin: 0; font-size: 14.5px; color: var(--muted); }
.chip.pink-chip { background: #FCE4EE; color: #9D1B4F; }
.school-riders summary { cursor: pointer; font-weight: 700; color: var(--orange-deep); }
.school-riders { font-size: 14px; }
.school-riders > div { margin-top: 8px; }
.school-riders ol { margin: 4px 0 0; padding-left: 20px; }
@media (max-width: 1000px) { .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .school-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer: join links + contact details (address, phone, email) */
.site-footer .footer-join { margin-bottom: 18px; }
.site-footer .footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.site-footer .footer-contact svg { flex: none; margin-top: 3px; color: var(--orange); }
.site-footer .fc-address span { color: #CFCBD0; }
.site-footer .footer-contact a { overflow-wrap: anywhere; }
