/* ==========================================================================
   Malad Valley Marathon — Theme styles
   Brand:
     navy   #1B2A4E   (deep)
     navy-2 #2A3A66   (mid)
     green  #3D5C2C   (alpine)
     gold   #D4A341   (sun)
     cream  #F8F5EE   (background)
     ink    #1A1A1A   (body text)
   ========================================================================== */

:root {
  --mvm-navy: #1B2A4E;
  --mvm-navy-2: #2A3A66;
  --mvm-green: #3D5C2C;
  --mvm-gold: #D4A341;
  --mvm-gold-2: #B8862C;
  --mvm-cream: #F8F5EE;
  --mvm-cream-2: #EFEBDF;
  --mvm-ink: #1A1A1A;
  --mvm-muted: #6B6B6B;
  --mvm-line: #E2DDD0;
  --mvm-white: #FFFFFF;

  --mvm-font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --mvm-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --mvm-container: 1180px;
  --mvm-radius: 10px;
  --mvm-radius-lg: 18px;
  --mvm-shadow-sm: 0 2px 6px rgba(27,42,78,0.06);
  --mvm-shadow: 0 8px 24px rgba(27,42,78,0.10);
  --mvm-shadow-lg: 0 18px 48px rgba(27,42,78,0.14);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mvm-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--mvm-ink);
  background: var(--mvm-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--mvm-navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--mvm-gold-2); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mvm-font-display);
  color: var(--mvm-navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }

.mvm-skip {
  position: absolute; left: -9999px; top: auto;
  background: var(--mvm-navy); color: #fff; padding: .6rem 1rem;
}
.mvm-skip:focus { left: 1rem; top: 1rem; z-index: 9999; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ---------- Layout ---------- */
.mvm-container {
  width: 100%;
  max-width: var(--mvm-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.mvm-container--narrow { max-width: 760px; }
.mvm-section { padding: 4.5rem 0; }
.mvm-section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.mvm-section-head h2 { margin-bottom: .6rem; }
.mvm-section-head .mvm-lede { color: var(--mvm-muted); font-size: 1.1rem; }
.mvm-text-center { text-align: center; }
.mvm-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--mvm-gold-2);
  margin: 0 0 .6rem;
}

/* ---------- Header ---------- */
.mvm-header {
  background: var(--mvm-white);
  border-bottom: 1px solid var(--mvm-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2);
}
.mvm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}
.mvm-brand { flex-shrink: 0; display: flex; align-items: center; }
.mvm-brand__logo { height: 56px; width: auto; }
.mvm-brand__logo--mark { height: 48px; }
.mvm-nav { flex: 1; display: flex; justify-content: center; }
.mvm-nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.5rem; align-items: center;
}
.mvm-nav-list a, .mvm-nav-link {
  color: var(--mvm-navy);
  font-weight: 600;
  font-size: .95rem;
  padding: .35rem .25rem;
  border-bottom: 2px solid transparent;
}
.mvm-nav-list a:hover, .mvm-nav-list .current-menu-item > a, .mvm-nav-link.is-current {
  color: var(--mvm-green);
  border-bottom-color: var(--mvm-gold);
}
.mvm-header__cta { flex-shrink: 0; }

.mvm-nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.mvm-nav-toggle__bar {
  width: 26px; height: 3px; background: var(--mvm-navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mvm-mobile-nav {
  background: var(--mvm-white);
  border-top: 1px solid var(--mvm-line);
  padding: 1rem 1.25rem 1.5rem;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
}
.mvm-mobile-nav .mvm-nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
.mvm-mobile-nav .mvm-nav-list a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--mvm-line); }
.mvm-mobile-nav .mvm-btn { margin-top: 1rem; width: 100%; text-align: center; }

@media (max-width: 900px) {
  .mvm-nav, .mvm-header__cta { display: none; }
  .mvm-nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.mvm-btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  line-height: 1;
}
.mvm-btn--primary {
  background: var(--mvm-gold);
  color: var(--mvm-navy);
  border-color: var(--mvm-gold);
}
.mvm-btn--primary:hover {
  background: var(--mvm-gold-2);
  border-color: var(--mvm-gold-2);
  color: var(--mvm-white);
  transform: translateY(-1px);
  box-shadow: var(--mvm-shadow);
}
.mvm-btn--ghost {
  background: transparent;
  color: var(--mvm-navy);
  border-color: var(--mvm-navy);
}
.mvm-btn--ghost:hover {
  background: var(--mvm-navy);
  color: var(--mvm-white);
}
.mvm-btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

.mvm-link {
  color: var(--mvm-navy);
  font-weight: 700;
  border-bottom: 2px solid var(--mvm-gold);
  padding-bottom: 2px;
}
.mvm-link:hover { color: var(--mvm-green); }
.mvm-link--lg { font-size: 1.05rem; }

/* ---------- Hero ---------- */
.mvm-hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(212,163,65,.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(61,92,44,.18), transparent 60%),
    linear-gradient(180deg, var(--mvm-cream) 0%, var(--mvm-cream-2) 100%);
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.mvm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='180' viewBox='0 0 1200 180'><path d='M0 180 L150 60 L300 110 L460 30 L620 90 L780 40 L940 100 L1100 50 L1200 110 L1200 180 Z' fill='%231B2A4E' fill-opacity='0.06'/></svg>");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  pointer-events: none;
}
.mvm-hero__inner { position: relative; text-align: center; max-width: 920px; margin: 0 auto; }
.mvm-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.5rem; }
.mvm-pill {
  display: inline-block;
  padding: .35rem .85rem;
  background: var(--mvm-white);
  color: var(--mvm-navy);
  border: 1px solid var(--mvm-line);
  border-radius: 999px;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mvm-hero__title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  margin: 0 0 1.25rem;
  letter-spacing: -.015em;
}
.mvm-hero__lede {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--mvm-navy-2);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.mvm-hero__cta {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
}
.mvm-hero__scroll {
  margin-top: 3.5rem;
  font-size: .75rem;
  letter-spacing: .25em;
  color: var(--mvm-muted);
}

/* ---------- Hero: video background variant ---------- */
.mvm-hero--video {
  background: #0b1326; /* solid fallback while video loads */
  color: #fff;
  padding: 7rem 0 8rem;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.mvm-hero--video::before { display: none; } /* drop the SVG mountain overlay */
.mvm-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.mvm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,19,38,.55) 0%, rgba(11,19,38,.35) 40%, rgba(11,19,38,.75) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 90%);
  pointer-events: none;
}
.mvm-hero--video .mvm-hero__inner {
  z-index: 2;
  background: rgba(11, 19, 38, .10);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border: none;
  border-radius: 10px;
  padding: 1rem 1.25rem 1.15rem;
  width: fit-content;
  max-width: min(760px, 92%);
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}
.mvm-hero--video .mvm-hero__badges { margin-bottom: .9rem; }
.mvm-hero--video .mvm-hero__title { margin-bottom: .6rem; }
.mvm-hero--video .mvm-hero__lede { margin-bottom: 1.4rem; }
.mvm-hero--video .mvm-hero__scroll { margin-top: 1.6rem; }
@media (max-width: 640px) {
  .mvm-hero--video .mvm-hero__inner { padding: 1rem 1rem 1.25rem; border-radius: 12px; }
}
.mvm-hero--video .mvm-hero__title,
.mvm-hero--video .mvm-hero__lede {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.5);
}
.mvm-hero--video .mvm-hero__lede { color: rgba(255,255,255,.92); }
.mvm-hero--video .mvm-hero__scroll { color: rgba(255,255,255,.75); }
.mvm-hero--video .mvm-pill {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mvm-hero--video .mvm-pill--accent { background: var(--mvm-green); border-color: var(--mvm-green); color: #fff; }
.mvm-hero--video .mvm-btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}
.mvm-hero--video .mvm-btn--ghost:hover { background: rgba(255,255,255,.18); }
.mvm-hero--video .mvm-link,
.mvm-hero--video .mvm-link--lg { color: #fff; }
.mvm-hero--video .mvm-link:hover { color: var(--mvm-gold, #d4a341); }

@media (prefers-reduced-motion: reduce) {
  .mvm-hero__video { display: none; }
  .mvm-hero--video { background:
    linear-gradient(180deg, rgba(11,19,38,.85), rgba(11,19,38,.95)),
    var(--mvm-cream-2);
  }
}
@media (max-width: 640px) {
  .mvm-hero--video { min-height: 62vh; padding: 5rem 0 6rem; }
}

/* ---------- Stats ---------- */
.mvm-stats { background: var(--mvm-white); border-top: 1px solid var(--mvm-line); border-bottom: 1px solid var(--mvm-line); padding: 3rem 0; }
.mvm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 800px) { .mvm-stats__grid { grid-template-columns: repeat(2, 1fr); } }
.mvm-stat__num {
  font-family: var(--mvm-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--mvm-green);
  line-height: 1;
}
.mvm-stat__lbl { font-weight: 700; color: var(--mvm-navy); margin-top: .35rem; }
.mvm-stat__sub { color: var(--mvm-muted); font-size: .85rem; }

/* ---------- Distance cards ---------- */
.mvm-distance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.mvm-distance-card {
  display: flex;
  flex-direction: column;
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  padding: 1.75rem;
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.mvm-distance-card:hover,
.mvm-distance-card:focus-visible {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(27, 42, 78, .18);
  border-color: var(--mvm-green);
  background: linear-gradient(180deg, var(--mvm-green) 0%, #2f4a23 100%);
  color: #fff;
  text-decoration: none;
  outline: none;
}
.mvm-distance-card:hover h3,
.mvm-distance-card:focus-visible h3,
.mvm-distance-card:hover p,
.mvm-distance-card:focus-visible p,
.mvm-distance-card:hover .mvm-link,
.mvm-distance-card:focus-visible .mvm-link {
  color: #fff;
}
.mvm-distance-card:hover .mvm-distance-card__price,
.mvm-distance-card:focus-visible .mvm-distance-card__price {
  color: var(--mvm-gold);
}
.mvm-distance-card:hover .mvm-distance-card__pill,
.mvm-distance-card:focus-visible .mvm-distance-card__pill {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.mvm-distance-card:hover .mvm-distance-card__pill--gold,
.mvm-distance-card:focus-visible .mvm-distance-card__pill--gold {
  background: var(--mvm-gold);
  color: var(--mvm-navy);
}
.mvm-distance-card .mvm-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
}
.mvm-distance-card--feature {
  background: linear-gradient(180deg, var(--mvm-white) 0%, #FBF6E8 100%);
  border-color: var(--mvm-gold);
}
.mvm-distance-card__pill {
  display: inline-block;
  background: var(--mvm-cream-2);
  color: var(--mvm-navy);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.mvm-distance-card__pill--gold { background: var(--mvm-gold); color: var(--mvm-navy); }
.mvm-distance-card h3 { margin: 0 0 .35rem; }
.mvm-distance-card__price {
  font-family: var(--mvm-font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--mvm-green); margin: 0 0 .75rem;
}

/* ---------- Feature blocks ---------- */
.mvm-feature--alt { background: var(--mvm-white); border-top: 1px solid var(--mvm-line); border-bottom: 1px solid var(--mvm-line); }
.mvm-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) {
  .mvm-feature__grid { grid-template-columns: 1fr; }
  .mvm-feature__grid--reverse .mvm-feature__copy { order: 2; }
}
.mvm-feature__map {
  background: var(--mvm-cream-2);
  border-radius: var(--mvm-radius-lg);
  min-height: 380px;
  overflow: hidden;
  box-shadow: var(--mvm-shadow);
}
.mvm-feature__map .mvm-route--compact,
.mvm-feature__map .mvm-route--compact .mvm-route__map {
  margin: 0;
  height: 100%;
  min-height: 380px;
  border-radius: var(--mvm-radius-lg);
}
.mvm-feature__map:empty {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='380'><rect width='600' height='380' fill='%23EFEBDF'/><path d='M40 320 Q150 200 280 240 T560 100' stroke='%231B2A4E' stroke-width='4' fill='none' stroke-dasharray='6 6'/><circle cx='40' cy='320' r='10' fill='%23D4A341'/><circle cx='560' cy='100' r='10' fill='%233D5C2C'/></svg>");
  background-size: cover;
  background-position: center;
}
.mvm-feature__visual--logo { display: flex; align-items: center; justify-content: center; }
.mvm-feature__visual--logo img { max-width: 360px; }
.mvm-checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.mvm-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .5rem;
}
.mvm-checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.25rem; height: 1.25rem;
  background: var(--mvm-green); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}

/* ---------- CTA band ---------- */
.mvm-cta {
  background: linear-gradient(135deg, var(--mvm-navy) 0%, var(--mvm-navy-2) 100%);
  color: var(--mvm-white);
}
.mvm-cta h2 { color: var(--mvm-white); }
.mvm-cta .mvm-lede { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 2rem; }
.mvm-cta .mvm-btn--ghost { color: var(--mvm-white); border-color: var(--mvm-white); }
.mvm-cta .mvm-btn--ghost:hover { background: var(--mvm-white); color: var(--mvm-navy); }

/* ---------- Page heads / prose ---------- */
.mvm-page-head { text-align: center; margin: 0 auto 3rem; max-width: 760px; }
.mvm-page-title { margin: 0; }
.mvm-prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.mvm-prose h2 { margin-top: 2.25rem; }
.mvm-prose h3 { margin-top: 1.75rem; }
.mvm-prose ul, .mvm-prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.mvm-prose img { border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow-sm); }
.mvm-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--mvm-gold);
  background: var(--mvm-cream-2);
  font-family: var(--mvm-font-display);
  font-size: 1.2rem;
  color: var(--mvm-navy);
}
.mvm-prose table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  background: var(--mvm-white); box-shadow: var(--mvm-shadow-sm); border-radius: var(--mvm-radius); overflow: hidden;
}
.mvm-prose th, .mvm-prose td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--mvm-line); }
.mvm-prose th { background: var(--mvm-cream-2); font-weight: 700; color: var(--mvm-navy); }
.mvm-prose tr:last-child td { border-bottom: 0; }

/* ---------- Post grid ---------- */
.mvm-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.mvm-post-card {
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.mvm-post-card:hover { transform: translateY(-3px); box-shadow: var(--mvm-shadow); }
.mvm-post-card__thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mvm-post-card__body { padding: 1.5rem; }
.mvm-post-card__title { font-size: 1.25rem; margin: 0 0 .35rem; }
.mvm-post-card__title a { color: var(--mvm-navy); }
.mvm-post-card__title a:hover { color: var(--mvm-green); }
.mvm-post-card__meta { color: var(--mvm-muted); font-size: .85rem; margin: 0 0 .75rem; }
.mvm-post-card__excerpt { color: var(--mvm-ink); margin-bottom: .85rem; }

.mvm-pagination { margin-top: 2rem; text-align: center; }
.mvm-pagination .page-numbers {
  display: inline-block; padding: .5rem .85rem; margin: 0 .15rem;
  border: 1px solid var(--mvm-line); border-radius: 6px;
  color: var(--mvm-navy); font-weight: 600; background: var(--mvm-white);
}
.mvm-pagination .page-numbers.current { background: var(--mvm-navy); color: var(--mvm-white); border-color: var(--mvm-navy); }

.mvm-feature-image { margin: 0 0 2rem; border-radius: var(--mvm-radius-lg); overflow: hidden; box-shadow: var(--mvm-shadow); }
.mvm-post-footer { margin-top: 3rem; text-align: center; }

/* ---------- Course / Route components (used by mvm-routes plugin) ---------- */
.mvm-route {
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--mvm-shadow-sm);
  margin: 0 0 2.5rem;
}
.mvm-route__head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mvm-route__title { margin: 0; font-size: 1.6rem; }
.mvm-route__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem; margin-bottom: 1.25rem;
}
.mvm-route__stat {
  background: var(--mvm-cream); border-radius: var(--mvm-radius);
  padding: .85rem 1rem; text-align: center;
}
.mvm-route__stat-num { font-family: var(--mvm-font-display); font-weight: 800; font-size: 1.4rem; color: var(--mvm-navy); }
.mvm-route__stat-lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mvm-muted); }
.mvm-route__map {
  height: 420px; width: 100%; border-radius: var(--mvm-radius);
  background: var(--mvm-cream-2); margin-bottom: 1rem;
  z-index: 0;
}
.mvm-route__elev {
  background: var(--mvm-cream);
  border-radius: var(--mvm-radius);
  padding: 1rem;
}
.mvm-route__elev-canvas { width: 100%; height: 180px; display: block; }
.mvm-route__download {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
}

/* ---------- Footer ---------- */
.mvm-footer {
  background: var(--mvm-navy);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 0;
  margin-top: 2rem;
}
.mvm-footer h4 {
  color: var(--mvm-gold);
  font-family: var(--mvm-font-body);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.mvm-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (max-width: 800px) { .mvm-footer__grid { grid-template-columns: 1fr 1fr; } }
.mvm-footer__logo { width: 90px; margin-bottom: 1rem; }
.mvm-footer__tag { color: var(--mvm-gold); font-family: var(--mvm-font-display); font-size: 1.2rem; margin: 0 0 .5rem; }
.mvm-footer__col ul { list-style: none; padding: 0; margin: 0; }
.mvm-footer__col li { margin-bottom: .4rem; }
.mvm-footer__col a, .mvm-footer__brand a, .mvm-footer__sponsors { color: rgba(255,255,255,.85); }
.mvm-footer__col a:hover { color: var(--mvm-gold); }
.mvm-footer__sponsors { font-size: .85rem; color: rgba(255,255,255,.6); }
.mvm-footer__bottom { background: rgba(0,0,0,.18); padding: 1.25rem 0; }
.mvm-footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.7);
}

/* ---------- Forms ---------- */
.mvm-form { display: grid; gap: 1rem; max-width: 560px; margin: 0 auto; }
.mvm-form label { font-weight: 600; color: var(--mvm-navy); display: block; margin-bottom: .35rem; }
.mvm-form input, .mvm-form select, .mvm-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--mvm-line); border-radius: var(--mvm-radius);
  font: inherit; color: var(--mvm-ink); background: var(--mvm-white);
}
.mvm-form input:focus, .mvm-form select:focus, .mvm-form textarea:focus {
  outline: none; border-color: var(--mvm-gold); box-shadow: 0 0 0 3px rgba(212,163,65,.25);
}
.mvm-form .mvm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .mvm-form .mvm-form__row { grid-template-columns: 1fr; } }
#mvm-reg-noshirt-wrap { margin-top: .5rem; }
.mvm-noshirt { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; padding: .65rem .85rem;
  border: 1px dashed rgba(15,30,60,.25); border-radius: var(--mvm-radius); background: #FAF6EC; line-height: 1.35; }
.mvm-noshirt:hover { background: #F5EFE0; border-color: var(--mvm-gold); }
.mvm-noshirt input[type="checkbox"] { width: auto; margin: .2rem 0 0; flex: 0 0 auto; }
.mvm-noshirt em { color: #5a5a5a; font-style: normal; font-size: .92em; display: block; }
.mvm-form__error {
  background: #FCE9E9; color: #8A1F1F; padding: .75rem 1rem;
  border-radius: var(--mvm-radius); border: 1px solid #F2C2C2;
}
.mvm-form__success {
  background: #E6F1DD; color: #1F4A18; padding: .75rem 1rem;
  border-radius: var(--mvm-radius); border: 1px solid #BFD9A8;
}

/* ---------- Registration page ---------- */
.mvm-reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.mvm-reg-card {
  background: var(--mvm-white);
  border: 2px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  text-align: left;
}
.mvm-reg-card:hover { border-color: var(--mvm-gold); transform: translateY(-2px); box-shadow: var(--mvm-shadow); }
.mvm-reg-card.is-selected { border-color: var(--mvm-green); background: linear-gradient(180deg, #fff 0%, #F4F8EE 100%); }
.mvm-reg-card h3 { margin: 0 0 .35rem; }
.mvm-reg-card__price { font-family: var(--mvm-font-display); font-size: 1.4rem; font-weight: 800; color: var(--mvm-green); margin: 0 0 .5rem; }
.mvm-reg-card__desc { color: var(--mvm-muted); font-size: .9rem; margin: 0; }

/* ---------- Gallery ---------- */
.mvm-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.mvm-gallery img {
  border-radius: var(--mvm-radius);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  box-shadow: var(--mvm-shadow-sm);
}

/* ---------- Utilities ---------- */
.mvm-mt-0 { margin-top: 0; }
.mvm-mt-1 { margin-top: 1rem; }
.mvm-mt-2 { margin-top: 2rem; }
.mvm-mb-0 { margin-bottom: 0; }

/* ==========================================================================
   Training Discount (Strava verification panel + discounted card pricing)
   ========================================================================== */

.mvm-strava {
  border: 1px solid var(--mvm-line, #e3dfd2);
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  margin: 0 0 2rem;
  box-shadow: 0 2px 8px rgba(27,42,78,.04);
}
.mvm-strava--ok {
  border-color: var(--mvm-green, #3D5C2C);
  background: linear-gradient(135deg, #f6f9f1, #fff);
}
.mvm-strava__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: .8rem;
}
.mvm-strava__head strong {
  font-family: var(--mvm-display, "Playfair Display", serif);
  font-size: 1.25rem;
  color: var(--mvm-navy, #1B2A4E);
}
.mvm-strava__head span {
  color: var(--mvm-muted, #4a4a4a);
  font-size: .95rem;
}
.mvm-strava__disconnect {
  margin-left: auto;
  font-size: .85rem;
  color: var(--mvm-muted, #4a4a4a);
}
.mvm-strava__tiers {
  list-style: none;
  margin: 0 0 .8rem;
  padding: 0;
  display: grid;
  gap: .35rem;
  font-size: .95rem;
}
.mvm-strava__tiers li {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: baseline;
}
.mvm-strava__tiers li span:first-child {
  min-width: 10rem;
  color: var(--mvm-navy, #1B2A4E);
  font-weight: 600;
}
.mvm-strava__tiers li strong { color: var(--mvm-green, #3D5C2C); }
.mvm-strava__tiers li em { color: var(--mvm-muted, #4a4a4a); font-style: normal; font-size: .88rem; }
.mvm-strava__note {
  font-size: .85rem;
  color: var(--mvm-muted, #4a4a4a);
  margin: .5rem 0 0;
}
.mvm-strava__local {
  display: inline-block;
  background: var(--mvm-gold, #D4A341);
  color: var(--mvm-ink, #1A1A1A);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .78rem;
  margin-left: .5rem;
  letter-spacing: .02em;
}

.mvm-btn--strava {
  background: #fc4c02;
  color: #fff;
  border-color: #fc4c02;
}
.mvm-btn--strava:hover { background: #e54400; border-color: #e54400; color: #fff; }

/* Discount breakdown panel on registration page */
.mvm-discounts {
  background: linear-gradient(180deg, #FFFCF2 0%, #FFF8E1 100%);
  border: 1px solid #E8D69B;
  border-left: 4px solid var(--mvm-gold, #D4A341);
  border-radius: var(--mvm-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.mvm-discounts__title { margin: 0 0 .25rem; font-size: 1.15rem; color: var(--mvm-navy, #0F1E3C); }
.mvm-discounts__lede { margin: 0 0 .75rem; color: #4a4a4a; font-size: .95rem; }
.mvm-discounts__list { list-style: none; padding: 0; margin: 0; }
.mvm-discounts__list li {
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  font-size: .95rem;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(15,30,60,.12);
}
.mvm-discounts__list li:last-child { border-bottom: 0; }
.mvm-discounts__list li::before {
  content: "+";
  position: absolute; left: 0; top: .35rem;
  width: 1.1rem; height: 1.1rem; line-height: 1.05rem; text-align: center;
  background: var(--mvm-gold, #D4A341); color: #fff;
  border-radius: 999px; font-weight: 700; font-size: .85rem;
}
.mvm-discounts__list li.is-active::before { background: var(--mvm-green, #3D5C2C); content: "\2713"; }
.mvm-discounts__cutoff {
  margin-top: .85rem;
  padding: .75rem 1rem;
  background: #FFF;
  border: 1px dashed #B8A66F;
  border-radius: var(--mvm-radius);
  font-size: .92rem;
  line-height: 1.4;
}
.mvm-discounts__cutoff.is-past {
  background: #FCEFEA;
  border-color: #D9897A;
  color: #6B2419;
}

/* Discounted price display in distance cards */
.mvm-reg-card { position: relative; }
.mvm-reg-card__strike {
  text-decoration: line-through;
  color: var(--mvm-muted, #4a4a4a);
  margin-right: .35rem;
  font-size: .85em;
}
.mvm-reg-card__new { color: var(--mvm-green, #3D5C2C); font-weight: 700; }
.mvm-reg-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--mvm-green, #3D5C2C);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Per-card discount breakdown */
.mvm-reg-card__breakdown {
  list-style: none;
  margin: .65rem 0 0;
  padding: .6rem 0 0;
  border-top: 1px dashed rgba(15,30,60,.18);
  font-size: .78rem;
  line-height: 1.35;
}
.mvm-reg-card__breakdown li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .5rem;
  padding: .15rem 0;
  color: var(--mvm-green, #3D5C2C);
}
.mvm-reg-card__bd-lbl { opacity: .9; }
.mvm-reg-card__bd-amt { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ==========================================================================
   Order summary + pay tiles
   ========================================================================== */
.mvm-summary {
  margin: 1.75rem 0 1.25rem;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15,30,60,.06);
  overflow: hidden;
}
.mvm-summary__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 1.25rem .5rem;
  border-bottom: 1px solid #F0EBDC;
}
.mvm-summary__head h3 { margin: 0; font-size: 1.05rem; color: var(--mvm-navy, #0F1E3C); }
.mvm-summary__dist { color: var(--mvm-muted, #6a6a6a); font-size: .9rem; }
.mvm-summary__items { list-style: none; padding: .5rem 1.25rem; margin: 0; }
.mvm-summary__items li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .4rem 0;
  border-bottom: 1px dotted #EFE9D9;
  font-size: .95rem;
}
.mvm-summary__items li:last-child { border-bottom: 0; }
.mvm-summary__items li.is-discount .mvm-summary__amt { color: var(--mvm-green, #3D5C2C); font-weight: 700; }
.mvm-summary__items li.is-base { color: var(--mvm-navy, #0F1E3C); }
.mvm-summary__amt { font-variant-numeric: tabular-nums; }
.mvm-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .8rem 1.25rem 1rem;
  background: linear-gradient(180deg, #FFFCF2 0%, #FFF8E1 100%);
  border-top: 1px solid #F0EBDC;
}
.mvm-summary__total-lbl { font-weight: 700; color: var(--mvm-navy, #0F1E3C); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.mvm-summary__total-val { font-size: 1.5rem; font-weight: 800; color: var(--mvm-navy, #0F1E3C); font-variant-numeric: tabular-nums; }
.mvm-summary__note {
  margin: 0; padding: .55rem 1.25rem .8rem;
  font-size: .82rem; color: var(--mvm-muted, #6a6a6a);
  background: #FAFAFA; border-top: 1px solid #F0EBDC;
}

.mvm-pay__heading {
  margin: 1.25rem 0 .75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mvm-muted, #6a6a6a);
}
.mvm-pay {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
.mvm-pay__btn {
  appearance: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: .9rem 1.25rem .9rem .9rem;
  border-radius: 10px;
  border: 1px solid #E4DECB;
  background: #fff;
  font: inherit; color: var(--mvm-navy, #0F1E3C);
  box-shadow: 0 1px 2px rgba(15,30,60,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
  position: relative;
}
.mvm-pay__btn::before {
  content: var(--mvm-pay-glyph, "•");
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--mvm-pay-accent, var(--mvm-gold, #D4A341));
  background-image: var(--mvm-pay-logo, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; line-height: 1;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  margin-right: .35rem;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
  /* When a logo SVG is set, hide the text glyph so only the icon shows. */
  text-indent: -9999px;
  overflow: hidden;
}
/* Restore text glyph for variants that don't have an SVG logo. */
.mvm-pay__btn--card::before,
.mvm-pay__btn--venmo::before,
.mvm-pay__btn--cash::before { text-indent: 0; overflow: visible; }
.mvm-pay__btn:hover:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15,30,60,.08);
  border-color: var(--mvm-pay-accent, var(--mvm-gold, #D4A341));
}
.mvm-pay__btn:disabled,
.mvm-pay__btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; box-shadow: none; }
.mvm-pay__brand { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1 1 auto; }
.mvm-pay__brand-name {
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  color: var(--mvm-navy, #0F1E3C);
}
.mvm-pay__brand-sub { font-size: .82rem; color: var(--mvm-muted, #6a6a6a); }
.mvm-pay__price {
  font-size: 1.15rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--mvm-navy, #0F1E3C);
  white-space: nowrap;
}

/* Brand accent + glyph for the icon tile. */
.mvm-pay__btn--card   { --mvm-pay-accent: #0F1E3C; --mvm-pay-glyph: "\1F4B3"; } /* card */
.mvm-pay__btn--venmo  { --mvm-pay-accent: #008CFF; --mvm-pay-glyph: "V"; }
.mvm-pay__btn--cash   { --mvm-pay-accent: #5B7E3F; --mvm-pay-glyph: "$"; }
/* Monero - official simple-icons mark in white on orange tile. */
.mvm-pay__btn--monero {
  --mvm-pay-accent: #F26822;
  --mvm-pay-glyph: "";
  --mvm-pay-logo: url("../img/monero.svg");
}
/* Bitcoin - official simple-icons ₿ mark in white on orange tile. */
.mvm-pay__btn--crypto {
  --mvm-pay-accent: #F7931A;
  --mvm-pay-glyph: "";
  --mvm-pay-logo: url("../img/bitcoin.svg");
}

/* Venmo manual-pay confirmation page */
.mvm-venmo-pay { max-width: 640px; margin: 2rem auto; padding: 0 1rem; }
.mvm-venmo-pay h2 { color: #008CFF; margin: 0 0 .5rem; }
.mvm-venmo-pay__lede { font-size: 1rem; color: #333; margin: 0 0 1.25rem; }
.mvm-venmo-pay__card {
  background: #fff; border: 2px solid #008CFF; border-radius: 12px;
  padding: 1.25rem 1.5rem; margin: 0 0 1.25rem;
  box-shadow: 0 6px 20px rgba(0,140,255,.15);
}
.mvm-venmo-pay__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px dotted #e0e0e0; gap: 1rem;
}
.mvm-venmo-pay__row:last-child { border-bottom: 0; }
.mvm-venmo-pay__lbl { color: #555; font-size: .9rem; }
.mvm-venmo-pay__lbl em { color: #888; font-style: italic; font-weight: 400; font-size: .8rem; display: block; }
.mvm-venmo-pay__val { font-weight: 700; color: #0F1E3C; font-size: 1.1rem; }
.mvm-venmo-pay__val--big { font-size: 1.6rem; color: #008CFF; }
.mvm-venmo-pay__code {
  background: #FFFCF2; border: 1px solid #D4A341; padding: .35rem .65rem;
  border-radius: 4px; font-family: monospace; font-size: 1.05rem; color: #0F1E3C;
  letter-spacing: .05em;
}
.mvm-venmo-pay__copy {
  background: #0F1E3C; color: #fff; border: 0; padding: .35rem .8rem;
  border-radius: 4px; font-size: .8rem; cursor: pointer; margin-left: .5rem;
}
.mvm-venmo-pay__copy:hover { background: #1B335E; }
.mvm-venmo-pay__actions {
  display: flex; gap: .75rem; flex-wrap: wrap; margin: 0 0 1.25rem;
}
.mvm-venmo-pay__actions .mvm-btn { flex: 1; min-width: 200px; text-align: center; }
.mvm-venmo-pay__open { background: #008CFF; color: #fff; }
.mvm-venmo-pay__open:hover { background: #006fcc; color: #fff; }
.mvm-venmo-pay__steps {
  margin: 0 0 1.25rem; padding-left: 1.5rem;
  color: #333; line-height: 1.7;
}
.mvm-venmo-pay__steps code { background: #FFFCF2; border: 1px solid #D4A341; padding: 1px 5px; border-radius: 3px; font-family: monospace; }
.mvm-venmo-pay__pending {
  background: #FFFCF2; border-left: 4px solid #D4A341;
  padding: 1rem 1.25rem; border-radius: 4px;
  font-size: .95rem; color: #555; line-height: 1.5;
}
.mvm-venmo-pay__pulse {
  display: inline-block; width: 10px; height: 10px;
  background: #D4A341; border-radius: 50%;
  margin-right: .5rem; vertical-align: middle;
  animation: mvm-venmo-pulse 1.5s ease-in-out infinite;
}
@keyframes mvm-venmo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.3); }
}
.mvm-venmo-pay__ok {
  background: #e8f5e0; border-left: 4px solid #3D5C2C;
  padding: 1rem 1.25rem; border-radius: 4px;
}
.mvm-venmo-pay__ok strong { color: #3D5C2C; font-size: 1.1rem; }

.mvm-pay__legal {
  margin-top: .8rem;
  font-size: .8rem; color: var(--mvm-muted, #6a6a6a);
  line-height: 1.4;
}

@media (min-width: 720px) {
  .mvm-pay { grid-template-columns: 1fr 1fr; }
  .mvm-pay__btn--card { grid-column: 1 / -1; }
}

.mvm-pill--accent {
  background: var(--mvm-green, #3D5C2C);
  color: #fff;
  border-color: var(--mvm-green, #3D5C2C);
}

/* ==========================================================================
   Monero payments
   ========================================================================== */

.mvm-form__pay {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.mvm-btn--monero {
  background: #f60;
  color: #fff;
  border-color: #f60;
}
.mvm-btn--monero:hover { background: #e55a00; border-color: #e55a00; color: #fff; }
.mvm-btn--monero:disabled { opacity: .55; }

.mvm-monero-pay {
  background: #fff;
  border: 1px solid var(--mvm-line, #e3dfd2);
  border-radius: 14px;
  padding: 2rem;
  margin: 1rem 0;
  max-width: 880px;
}
.mvm-monero-pay h2 {
  margin: 0 0 .5rem;
  font-family: var(--mvm-display, "Playfair Display", serif);
  color: var(--mvm-navy, #1B2A4E);
}
.mvm-monero-pay__lede {
  margin: 0 0 1.5rem;
  color: var(--mvm-ink, #1A1A1A);
  font-size: 1.05rem;
}
.mvm-monero-pay__lede strong { color: #f60; }
.mvm-monero-pay__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 640px) {
  .mvm-monero-pay__grid { grid-template-columns: 1fr; }
  .mvm-monero-pay__qr { text-align: center; }
}
.mvm-monero-pay__qr img {
  border: 1px solid var(--mvm-line, #e3dfd2);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  max-width: 100%;
  height: auto;
}
.mvm-monero-pay__info label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--mvm-navy, #1B2A4E);
  margin: .8rem 0 .2rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.mvm-monero-pay__info input,
.mvm-monero-pay__info textarea {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  padding: .55rem .65rem;
  border: 1px solid var(--mvm-line, #e3dfd2);
  border-radius: 6px;
  background: #fafaf6;
  word-break: break-all;
}
.mvm-monero-pay__rate {
  font-size: .85rem;
  color: var(--mvm-muted, #4a4a4a);
  margin: .8rem 0 0;
}
.mvm-monero-pay__countdown {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: var(--mvm-navy, #1B2A4E);
}
.mvm-monero-pay__status {
  margin: 1rem 0 0;
  padding: .7rem .9rem;
  background: #fff8ec;
  border-left: 3px solid #f60;
  border-radius: 4px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mvm-monero-pay__status[data-status="detected"] {
  background: #fff5d6;
  border-left-color: var(--mvm-gold, #D4A341);
}
.mvm-monero-pay__pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f60;
  animation: mvm-pulse 1.4s ease-in-out infinite;
}
@keyframes mvm-pulse {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.mvm-monero-pay__ok {
  background: #f1f7e9;
  border-left: 4px solid var(--mvm-green, #3D5C2C);
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
}
.mvm-monero-pay__err {
  background: #fff0f0;
  border-left: 4px solid #b22;
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
}

.mvm-btn--crypto {
  background: linear-gradient(135deg, #6c5ce7, #a06cd5);
  color: #fff;
  border-color: #6c5ce7;
}
.mvm-btn--crypto:hover { filter: brightness(1.08); color: #fff; }
.mvm-btn--crypto:disabled { opacity: .55; }

.mvm-anonpay-return {
  background: #fff;
  border: 1px solid var(--mvm-line, #e3dfd2);
  border-radius: 14px;
  padding: 2rem;
  margin: 1rem 0;
  max-width: 880px;
}
.mvm-anonpay-return h2 {
  margin: 0 0 1rem;
  font-family: var(--mvm-display, "Playfair Display", serif);
  color: var(--mvm-navy, #1B2A4E);
}

/* Match disabled visual state across all pay buttons */
.mvm-btn--primary:disabled { opacity: .55; cursor: not-allowed; }
.mvm-btn--monero:disabled,
.mvm-btn--crypto:disabled { cursor: not-allowed; }

/* ============================================================
   Waiver modal (race registration)
   ============================================================ */
.mvm-waiver-field { margin: 1rem 0; }
.mvm-waiver-field__label { display: inline-flex; align-items: center; gap: .35rem; }
.mvm-waiver-field .mvm-btn--secondary {
  display: inline-block;
  margin: .5rem 0 .25rem;
  background: #fff;
  color: #3D5C2C;
  border: 1px solid #3D5C2C;
  padding: .55rem 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.mvm-waiver-field .mvm-btn--secondary:hover { background: #3D5C2C; color: #fff; }
.mvm-waiver-field__status {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: #B8862B;
}
.mvm-waiver-field__status.is-signed { color: #3D5C2C; font-weight: 600; }

.mvm-waiver-modal[hidden] { display: none !important; }
.mvm-waiver-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.mvm-waiver-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .65);
}
.mvm-waiver-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.mvm-waiver-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e3e3e3;
  background: #f7f5ef;
}
.mvm-waiver-modal__head h2 { margin: 0; font-size: 1.2rem; color: #3D5C2C; }
.mvm-waiver-modal__close {
  background: none; border: none;
  font-size: 2rem; line-height: 1; cursor: pointer;
  color: #555; padding: 0 .25rem;
}
.mvm-waiver-modal__close:hover { color: #000; }
.mvm-waiver-modal__body {
  padding: 0;
  overflow-y: auto;
  flex: 1 1 0;
  min-height: 0;
  border-bottom: 1px solid #e3e3e3;
  line-height: 1.55;
  scroll-behavior: smooth;
}
.mvm-waiver-modal__doc {
  padding: 1.25rem 1.5rem;
}
.mvm-waiver-modal__body h1,
.mvm-waiver-modal__body h2,
.mvm-waiver-modal__body h3 { color: #3D5C2C; margin-top: 1.25rem; }
.mvm-waiver-modal__body p { margin: .65rem 0; }
.mvm-waiver-modal__sign {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #faf8f3;
  border-top: 2px solid #e3e3e3;
}
.mvm-waiver-modal__sign-intro { margin: 0 0 .75rem; }
.mvm-waiver-modal__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: .75rem;
}
@media (max-width: 520px) {
  .mvm-waiver-modal__row { grid-template-columns: 1fr; }
}
.mvm-waiver-modal__row label,
.mvm-waiver-modal__cert legend {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .25rem;
}
.mvm-waiver-modal__row input[type="text"] {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid #c4c0b3;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  font-family: 'Caveat', 'Brush Script MT', cursive;
}
.mvm-waiver-modal__row input[readonly] {
  background: #f0ede4; font-family: inherit; color: #555;
}
.mvm-waiver-modal__cert {
  border: 1px solid #d8d3c5;
  padding: .75rem 1rem;
  border-radius: 4px;
  margin: 0 0 .75rem;
  background: #fff;
}
.mvm-waiver-modal__cert legend { padding: 0 .35rem; }
.mvm-waiver-modal__cert label {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: .5rem 0;
  font-weight: normal;
  cursor: pointer;
}
.mvm-waiver-modal__cert input[type="radio"] { margin-top: .25rem; flex: none; }
.mvm-waiver-modal__minor[hidden] { display: none; }
.mvm-waiver-modal__minor { margin-top: .5rem; padding-left: 1.5rem; }
.mvm-waiver-modal__minor input {
  width: 100%; padding: .5rem .7rem;
  border: 1px solid #c4c0b3; border-radius: 4px;
  font-size: .95rem;
}
.mvm-waiver-modal__error {
  background: #fdecea; color: #8b0000;
  padding: .55rem .75rem; border-radius: 4px;
  margin-top: .5rem; font-size: .9rem;
}
.mvm-waiver-modal__foot {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .85rem 1.25rem;
  border-top: 1px solid #e3e3e3;
  background: #fff;
}
.mvm-waiver-modal__foot-actions {
  display: flex; justify-content: flex-end; gap: .5rem;
}
.mvm-waiver-modal__scrollhint {
  margin: 0;
  font-size: .85rem;
  color: #8a6d1f;
  background: #fff8e1;
  border: 1px solid #ecd99a;
  border-radius: 4px;
  padding: .45rem .7rem;
  text-align: center;
}
.mvm-waiver-modal__scrollhint[hidden] { display: none; }
.mvm-btn--primary[disabled],
.mvm-btn--primary[aria-disabled="true"] {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}
.mvm-cd .mvm-btn--ghost {
  background: #fff; color: #444;
  border: 1px solid #bbb;
  padding: .55rem 1.1rem; border-radius: 4px;
  font-weight: 600; cursor: pointer;
}
.mvm-cd .mvm-btn--ghost:hover { background: #f0ede4; }

/* ========== Training Discount page (.mvm-cd) ========== */
.mvm-cd { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; line-height: 1.6; }
.mvm-cd__lede { font-size: 1.125rem; color: #2d2a26; margin: 0 0 32px; padding: 18px 20px; background: #faf6ee; border-left: 4px solid #c89d3a; border-radius: 6px; }
.mvm-cd h2 { font-family: inherit; font-size: 1.4rem; margin: 36px 0 8px; color: #1f1d1a; border-bottom: 2px solid #e6dfd0; padding-bottom: 6px; }
.mvm-cd p { margin: 0 0 12px; }
.mvm-cd__note { font-size: 0.9rem; color: #6b6258; font-style: italic; }
.mvm-cd__list { margin: 8px 0 16px 24px; padding: 0; }
.mvm-cd__list li { margin: 4px 0; }
.mvm-cd__table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 0.95rem; }
.mvm-cd__table th, .mvm-cd__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e6dfd0; vertical-align: top; }
.mvm-cd__table thead th { background: #f3ecdb; font-weight: 600; }
.mvm-cd__table--dm td:last-child { white-space: nowrap; }
.mvm-cd details { margin: 8px 0; padding: 10px 14px; background: #faf6ee; border-radius: 6px; }
.mvm-cd details summary { cursor: pointer; font-weight: 600; color: #2d2a26; }
.mvm-cd details[open] summary { margin-bottom: 8px; }
.mvm-cd__cta { margin-top: 36px; text-align: center; padding: 24px; background: #f3ecdb; border-radius: 8px; }
.mvm-cd__cta .mvm-cd__note { margin-top: 10px; }

/* Distance-matched grid in verified panel */
.mvm-strava__dm-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mvm-strava__dm-chip { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 0.82rem; background: #ece6d5; color: #6b6258; }
.mvm-strava__dm-chip.is-on { background: #c89d3a; color: #fff; }
.mvm-strava__dm-chip strong { font-weight: 700; margin-left: 2px; }

/* Linked hero pill */
.mvm-pill--link { text-decoration: none; cursor: pointer; transition: opacity .15s; }
.mvm-pill--link:hover { opacity: 0.85; }
/* ========== Public live results ========== */
.mvm-results { max-width: 980px; margin: 0 auto; padding: 16px; }
.mvm-results__filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.mvm-results__filters label { font-weight: 600; }
.mvm-results__filters select { padding: 6px 10px; font-size: 1rem; }
.mvm-results__updated { color: #888; font-size: 0.85rem; }
.mvm-results__table { width: 100%; border-collapse: collapse; }
.mvm-results__table th, .mvm-results__table td { padding: 8px 12px; border-bottom: 1px solid #e6dfd0; text-align: left; }
.mvm-results__table thead th { background: #f3ecdb; font-weight: 600; }
.mvm-results__table tbody tr:hover { background: #faf6ee; }
.mvm-results__table td:first-child { font-weight: 700; color: #c89d3a; }
/* ========================================================================= *
 * 1.7.0: Dropdown submenus, countdown, community forms, sponsors, donate
 * ========================================================================= */

/* ---- Submenus shared base ---- */
.mvm-nav-list { position: relative; }
.mvm-nav-list .menu-item { position: relative; }
.mvm-nav-caret { display: inline-block; margin-left: 4px; font-size: .75em; opacity: .85; transition: transform .15s ease; }
.mvm-nav-list .menu-item-has-children > a .mvm-nav-caret { color: var(--mvm-gold, #C89D3A); opacity: 1; }
.mvm-nav-list .menu-item-has-children > a { position: relative; }

/* ---- Submenus: desktop hover flyout (min-width: 901px only) ---- */
@media (min-width: 901px) {
    .mvm-nav-list .sub-menu {
        position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
        min-width: 220px; padding: .35rem 0; margin: 0;
        background: #fff; border: 1px solid var(--mvm-line);
        border-radius: 10px; box-shadow: 0 14px 32px rgba(0,0,0,.12);
        list-style: none; z-index: 50;
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity .15s ease, transform .15s ease, visibility .15s;
    }
    .mvm-nav-list .menu-item-has-children:hover > .sub-menu,
    .mvm-nav-list .menu-item-has-children:focus-within > .sub-menu,
    .mvm-nav-list .menu-item-has-children.is-open > .sub-menu {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .mvm-nav-list .sub-menu li { display: block; }
    .mvm-nav-list .sub-menu a {
        display: block; padding: .55rem 1rem; font-size: .92rem;
        white-space: nowrap; color: var(--mvm-navy); border: 0;
    }
    .mvm-nav-list .sub-menu a:hover,
    .mvm-nav-list .sub-menu .current-menu-item > a {
        background: #FAF8F2; color: var(--mvm-green);
    }
    .mvm-nav-list .menu-item-has-children:hover > a .mvm-nav-caret,
    .mvm-nav-list .menu-item-has-children:focus-within > a .mvm-nav-caret { transform: rotate(180deg); }
}

/* ---- Submenus: mobile accordion (max-width: 900px only) ---- */
@media (max-width: 900px) {
    .mvm-mobile-nav .sub-menu {
        list-style: none;
        position: static; transform: none;
        opacity: 1; visibility: visible; pointer-events: auto;
        padding: .25rem .75rem; margin: .25rem 0 .5rem 1rem;
        border: 1px solid var(--mvm-line);
        border-left: 3px solid var(--mvm-gold, #C89D3A);
        border-radius: 8px;
        box-shadow: none; background: #FAF8F2;
        display: none;
    }
    .mvm-mobile-nav .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    .mvm-mobile-nav .sub-menu li { display: block; }
    .mvm-mobile-nav .sub-menu a {
        display: block; padding: .55rem .25rem; font-size: .95rem;
        color: var(--mvm-navy); font-weight: 500;
        border-bottom: 1px dashed var(--mvm-line);
    }
    .mvm-mobile-nav .sub-menu li:last-child a { border-bottom: 0; }
    .mvm-mobile-nav .menu-item-has-children > a .mvm-nav-caret {
        float: right; transition: transform .15s ease;
        color: var(--mvm-gold, #C89D3A); font-size: 1em; opacity: 1;
    }
    .mvm-mobile-nav .menu-item-has-children.is-open > a .mvm-nav-caret {
        transform: rotate(180deg);
    }
}

/* ---- Countdown banner ---- */
.mvm-section--tight { padding: 2rem 0; }
.mvm-countdown-section {
    background: linear-gradient(135deg, #6BB143 0%, #4B8C28 100%);
    color: #fff;
}
.mvm-countdown {
    display: grid; gap: 1rem; align-items: center;
    grid-template-columns: 1fr;
    text-align: center;
    padding: .5rem 0;
}
@media (min-width: 760px) {
    .mvm-countdown { grid-template-columns: minmax(220px, 1fr) auto; text-align: left; }
}
.mvm-countdown__title {
    margin: 0; color: #fff; font-size: 1.7rem; line-height: 1.15;
    font-family: var(--mvm-font-display, inherit);
}
.mvm-countdown__sub {
    margin: .35rem 0 0; color: rgba(255,255,255,.85); font-size: .95rem;
}
.mvm-countdown__tiles {
    display: grid; grid-template-columns: repeat(5, minmax(56px, 1fr)); gap: .5rem;
    justify-self: center;
}
.mvm-countdown__tile {
    background: rgba(0,0,0,.32); border-radius: 8px;
    padding: .65rem .3rem .4rem; text-align: center;
    min-width: 56px;
}
.mvm-countdown__num {
    font-family: var(--mvm-font-display, inherit);
    font-size: 2rem; font-weight: 800; line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums;
}
.mvm-countdown__lbl {
    margin-top: .35rem; font-size: .7rem; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.78);
}
.mvm-countdown__done {
    text-align: center; font-size: 1.2rem; margin: .5rem 0 0;
    font-weight: 700;
}
@media (max-width: 480px) {
    .mvm-countdown__num { font-size: 1.4rem; }
    .mvm-countdown__title { font-size: 1.3rem; }
    .mvm-countdown__tile { padding: .5rem .15rem .3rem; }
    .mvm-countdown__lbl { font-size: .62rem; }
}

/* ---- Community forms shared ---- */
.mvm-community-form { max-width: 640px; }
.mvm-form__check {
    display: flex; gap: .55rem; align-items: flex-start;
    font-weight: 500; color: var(--mvm-navy);
}
.mvm-form__check input[type="checkbox"] { margin-top: .25rem; flex-shrink: 0; }

/* ---- Sponsors list ---- */
.mvm-sponsors { margin: 0 0 2.5rem; }
.mvm-sponsors__tier {
    text-align: center; font-size: 1rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--mvm-muted);
    margin: 0 0 1rem; position: relative;
}
.mvm-sponsors__tier::before, .mvm-sponsors__tier::after {
    content: ""; display: inline-block; width: 40px; height: 1px;
    background: var(--mvm-line); vertical-align: middle; margin: 0 12px;
}
.mvm-sponsors--title .mvm-sponsors__tier { color: var(--mvm-gold, #C89D3A); }
.mvm-sponsors__grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.mvm-sponsors--title .mvm-sponsors__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mvm-sponsors__card {
    display: flex; align-items: center; justify-content: center;
    min-height: 110px; padding: 1rem;
    background: #fff; border: 1px solid var(--mvm-line); border-radius: 10px;
    text-align: center; transition: box-shadow .15s ease, transform .15s ease;
}
.mvm-sponsors__card:hover { box-shadow: var(--mvm-shadow, 0 4px 12px rgba(0,0,0,.08)); transform: translateY(-2px); }
.mvm-sponsors__logo { max-width: 100%; max-height: 80px; object-fit: contain; }
.mvm-sponsors__name { font-weight: 700; color: var(--mvm-navy); font-size: 1.05rem; }
.mvm-sponsors-empty {
    background: #FAF8F2; border: 1px dashed var(--mvm-line);
    padding: 2rem; text-align: center; border-radius: 10px;
}

/* ---- Donate page ---- */
.mvm-donate { max-width: 820px; margin: 0 auto; }
.mvm-donate__intro { font-size: 1.05rem; color: var(--mvm-navy); margin-bottom: 1.5rem; text-align: center; }
.mvm-donate__grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mvm-donate__card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 1.25rem 1rem;
    background: #fff; border: 1px solid var(--mvm-line); border-radius: 12px;
    color: var(--mvm-navy);
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s;
}
a.mvm-donate__card:hover {
    border-color: var(--mvm-green); box-shadow: var(--mvm-shadow, 0 6px 16px rgba(0,0,0,.1));
    transform: translateY(-2px);
}
.mvm-donate__icon {
    font-size: 2rem; line-height: 1; margin-bottom: .4rem;
    color: var(--mvm-green);
}
.mvm-donate__label { font-weight: 700; font-size: 1.05rem; }
.mvm-donate__sub   { font-size: .85rem; color: var(--mvm-muted); margin-top: .25rem; }
.mvm-donate__addr {
    display: block; margin: .75rem 0 .5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .8rem; padding: .5rem; background: #FAF8F2;
    border-radius: 6px; max-width: 100%;
    overflow-wrap: anywhere; white-space: pre-wrap; text-align: left;
}
.mvm-donate__copy { font-size: .8rem; padding: .3rem .7rem; }
.mvm-donate__foot {
    margin-top: 2rem; text-align: center; font-size: .8rem;
    color: var(--mvm-muted);
}

/* Donate page reuses .mvm-pay__btn variants from the registration form for
   a consistent payment-card look. These rules adapt the button styles for
   <a> (link channels) and <details>/<summary> (reveal channels). */
.mvm-pay--donate { max-width: 820px; margin: 0 auto; }
a.mvm-pay__btn { text-decoration: none; }
a.mvm-pay__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(15,30,60,.14); }
.mvm-pay__details { margin: 0; }
.mvm-pay__details > summary { list-style: none; cursor: pointer; }
.mvm-pay__details > summary::-webkit-details-marker { display: none; }
.mvm-pay__details[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mvm-pay__panel {
    background: #FAF8F2;
    border: 1px solid #E4DECB;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem 1.25rem 1.25rem;
    margin-top: -1px;
    display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
}
.mvm-pay__addr {
    display: block; width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .85rem; padding: .65rem .75rem;
    background: #fff; border: 1px solid var(--mvm-line);
    border-radius: 8px; color: var(--mvm-navy);
    overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.45;
}
/* 1.7.16: Home distance-card price now shows race-week strike + today's price */
.mvm-distance-card__price-strike {
    text-decoration: line-through;
    color: #9a9a9a;
    font-size: .7em;
    margin-right: .35rem;
    font-weight: 500;
}
.mvm-distance-card__price-now {
    color: inherit;
    font-weight: inherit;
}

/* -------------------------------------------------------------------------
   1.7.17: Footer mobile fix � narrow phones were wrapping every word onto
   its own line because the 2-col grid + container padding squeezed each
   column under ~140px. Collapse to a single column < 560px and let text
   breathe; also stop awkward orphan breaks on the brand block.
   ------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .mvm-footer { padding-top: 3rem; }
  .mvm-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }
  .mvm-footer__brand,
  .mvm-footer__col {
    text-align: left;
  }
  .mvm-footer__logo { width: 110px; }
  .mvm-footer__tag,
  .mvm-footer__addr,
  .mvm-footer h4,
  .mvm-footer__col li,
  .mvm-footer__col p,
  .mvm-footer__sponsors {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .mvm-footer__bottom-inner {
    flex-direction: column;
    gap: .35rem;
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   1.7.17: Sponsor tier cards � show prospective sponsors exactly what each
   level includes before they fill out the inquiry form.
   ------------------------------------------------------------------------- */
.mvm-sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
.mvm-sponsor-tier {
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--mvm-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.mvm-sponsor-tier--feature {
  border-color: var(--mvm-gold);
  box-shadow: 0 12px 32px rgba(212,163,65,.22);
}
.mvm-sponsor-tier__ribbon {
  position: absolute;
  top: -.7rem;
  right: 1.25rem;
  background: var(--mvm-gold);
  color: var(--mvm-navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 999px;
}
.mvm-sponsor-tier__name {
  font-family: var(--mvm-font-display);
  font-size: 1.5rem;
  color: var(--mvm-navy);
  margin: 0 0 .25rem;
}
.mvm-sponsor-tier__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mvm-gold-2);
  margin: 0 0 .75rem;
}
.mvm-sponsor-tier__tagline {
  font-size: .95rem;
  color: var(--mvm-muted);
  margin: 0 0 1rem;
}
.mvm-sponsor-tier__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .95rem;
}
.mvm-sponsor-tier__perks li {
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  border-top: 1px solid var(--mvm-line);
}
.mvm-sponsor-tier__perks li:first-child { border-top: 0; }
.mvm-sponsor-tier__perks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--mvm-green);
  font-weight: 700;
}
.mvm-sponsor-tiers__note {
  font-size: .9rem;
  color: var(--mvm-muted);
  text-align: center;
  margin: -1.5rem 0 2.5rem;
}

/* 1.7.20: pay-now CTA on each tier card + post-payment next-steps panel */
.mvm-sponsor-tier__cta {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  padding: .85rem 1rem;
  margin-top: 1.25rem;
}
.mvm-sponsor-tier { /* ensure cta pins to bottom on tall cards */
  min-height: 100%;
}
.mvm-sponsor-next {
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius-lg);
  padding: 1.75rem 1.75rem 1.25rem;
  margin: 1rem auto 3rem;
  max-width: 760px;
  box-shadow: var(--mvm-shadow-sm);
}
.mvm-sponsor-next__title {
  font-family: var(--mvm-font-display);
  font-size: 1.5rem;
  color: var(--mvm-navy);
  margin: 0 0 1rem;
}
.mvm-sponsor-next__steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.mvm-sponsor-next__steps li {
  margin-bottom: 1rem;
  line-height: 1.55;
}
.mvm-sponsor-next__steps li strong {
  display: block;
  color: var(--mvm-navy);
  margin-bottom: .15rem;
}
.mvm-sponsor-next__foot {
  font-size: .95rem;
  color: var(--mvm-muted);
  margin: 0;
  padding-top: .75rem;
  border-top: 1px solid var(--mvm-line);
}

/* 1.7.18: scope full-width form-control styling to text-ish inputs so it
   stops blowing up checkboxes/radios into giant horizontal bars. */
.mvm-form input[type="checkbox"],
.mvm-form input[type="radio"] {
  width: auto;
  padding: 0;
  margin: 0 .55rem 0 0;
  vertical-align: middle;
  border: 1px solid var(--mvm-line);
  border-radius: 3px;
  box-shadow: none;
  accent-color: var(--mvm-gold);
}
.mvm-form .mvm-form__check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-weight: 500;
  color: var(--mvm-ink);
  background: var(--mvm-white);
  border: 1px solid var(--mvm-line);
  border-radius: var(--mvm-radius);
  padding: .85rem 1rem;
  margin-bottom: 0;
  cursor: pointer;
  line-height: 1.45;
}
.mvm-form .mvm-form__check input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
}

/* ========================================================================= *
 * 1.7.21: Sponsor checkout flow — radio-selectable tier cards + checkout-
 * style pay block mirroring /register/. Reuses .mvm-pay__* styles.
 * ========================================================================= */
.mvm-sponsor-checkout {
  max-width: 980px;
  margin: 0 auto 3rem;
}
.mvm-sponsor-checkout__step {
  margin-bottom: 2.75rem;
}
.mvm-sponsor-checkout__step-title {
  font-family: var(--mvm-font-display);
  font-size: 1.55rem;
  color: var(--mvm-navy);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.25rem;
}
.mvm-sponsor-checkout__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mvm-gold);
  color: var(--mvm-navy);
  font-size: 1rem;
  font-weight: 700;
}
.mvm-sponsor-checkout__prompt {
  background: #f3f1ea;
  border: 1px dashed #d8d3c4;
  border-radius: 8px;
  color: #3a3a3a;
  padding: .85rem 1rem;
  margin: 0 0 1rem;
  font-size: .95rem;
}
.mvm-sponsor-checkout__prompt.is-error {
  background: #fdecea;
  border-color: #f0b3b3;
  color: #9c2a2a;
}

/* Selectable tier cards — wrap entire card in a <label> with hidden radio */
.mvm-sponsor-tier--selectable {
  cursor: pointer;
  position: relative;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.mvm-sponsor-tier--selectable:hover {
  transform: translateY(-2px);
  box-shadow: var(--mvm-shadow-md, 0 6px 20px rgba(0,0,0,.08));
}
.mvm-sponsor-tier--selectable.is-selected {
  border-color: var(--mvm-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.35), var(--mvm-shadow-md, 0 6px 20px rgba(0,0,0,.08));
}
.mvm-sponsor-tier__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.mvm-sponsor-tier__select-cta {
  display: block;
  margin-top: auto;
  padding: .65rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--mvm-navy);
  background: var(--mvm-cream, #f7f4ec);
  border-radius: 6px;
  font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.mvm-sponsor-tier--selectable.is-selected .mvm-sponsor-tier__select-cta {
  background: var(--mvm-gold);
  color: var(--mvm-navy);
}
.mvm-sponsor-tier--selectable.is-selected .mvm-sponsor-tier__select-cta::after {
  content: " \2713";
}

/* Sponsor pay block — extra spacing for details panels (monero/cash) */
.mvm-summary--sponsor {
  margin: 0 0 1rem;
  padding: .85rem 1.1rem;
  background: var(--mvm-cream, #f7f4ec);
  border: 1px solid var(--mvm-line);
  border-radius: 8px;
}
.mvm-summary--sponsor .mvm-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}
.mvm-summary--sponsor .mvm-summary__total-val {
  font-weight: 700;
  color: var(--mvm-navy);
}

.mvm-pay--sponsor .mvm-pay__details {
  display: block;
}
.mvm-pay--sponsor .mvm-pay__details > summary {
  list-style: none;
  cursor: pointer;
}
.mvm-pay--sponsor .mvm-pay__details > summary::-webkit-details-marker {
  display: none;
}
.mvm-pay--sponsor .mvm-pay__panel {
  margin-top: .5rem;
  padding: 1rem 1.1rem;
  background: #fafaf6;
  border: 1px solid var(--mvm-line);
  border-radius: 8px;
}
.mvm-pay--sponsor .mvm-pay__panel-intro {
  margin: 0 0 .65rem;
  font-size: .95rem;
  line-height: 1.5;
}
.mvm-pay--sponsor .mvm-pay__addr {
  display: block;
  background: #fff;
  border: 1px solid var(--mvm-line);
  border-radius: 6px;
  padding: .65rem .8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9rem;
  word-break: break-all;
  white-space: pre-wrap;
  margin: 0 0 .65rem;
}
.mvm-pay--sponsor .mvm-pay__panel-foot {
  font-size: .9rem;
  color: var(--mvm-muted);
  margin: .65rem 0 0;
  line-height: 1.45;
}
.mvm-pay--sponsor .mvm-pay__notice {
  background: #f3f1ea;
  border: 1px solid #d8d3c4;
  color: #3a3a3a;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95em;
  line-height: 1.4;
  margin-top: 4px;
}

/* Tighten the after-payment "next steps" panel that follows the pay block. */
.mvm-sponsor-checkout .mvm-sponsor-next {
  margin: 0;
}


/* ========================================================================= *
 * Course-tour video block ([mvm_course_video])
 * ========================================================================= */
.mvm-coursevid { background: var(--mvm-cream, #f7f4ec); }
/* Tighten the gap above the video block when it's auto-injected into a
 * standard page (page.php wraps the_content in .mvm-section + .mvm-page-head,
 * which would otherwise stack ~7.5rem of empty space above our intro). */
.mvm-section:has(.mvm-prose > .mvm-coursevid__inner:first-child) { padding-top: 1.5rem; }
.mvm-page-head:has(+ .mvm-prose > .mvm-coursevid__inner:first-child) { margin-bottom: 1rem; }
.mvm-coursevid__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mvm-coursevid__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.mvm-coursevid__intro .mvm-eyebrow { justify-content: center; }
.mvm-coursevid__intro .mvm-eyebrow:first-child { margin-top: 0; }
.mvm-coursevid__intro > :first-child { margin-top: 0; }
.mvm-coursevid__cue {
  margin: .75rem 0 0;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mvm-accent, #D4A341);
}
.mvm-coursevid__cue span { margin-right: .35rem; }
.mvm-coursevid__player {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0c1322;
  box-shadow: 0 24px 60px -28px rgba(12,19,34,.55);
}
.mvm-coursevid__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0c1322;
}
.mvm-coursevid__caption {
  margin: .85rem auto 0;
  max-width: 760px;
  text-align: center;
  font-size: .95rem;
  color: var(--mvm-muted, #5a6273);
  font-style: italic;
}
.mvm-coursevid__callout {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .65rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(12,19,34,.85));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  pointer-events: none;
}
.mvm-coursevid__outro {
  max-width: 760px;
  margin: 1rem auto 0;
}
.mvm-coursevid__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.15;
  margin: .4rem 0 .75rem;
}
.mvm-coursevid__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--mvm-ink, #1a2030);
  margin-bottom: 1rem;
}
.mvm-coursevid__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.mvm-coursevid__list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .45rem;
  line-height: 1.5;
}
.mvm-coursevid__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .9rem; height: .55rem;
  border-left: 2px solid var(--mvm-accent, #D4A341);
  border-bottom: 2px solid var(--mvm-accent, #D4A341);
  transform: rotate(-45deg);
}
.mvm-coursevid__ctas { margin: 1rem 0 .35rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.mvm-coursevid__travel {
  font-size: .95rem;
  color: var(--mvm-muted, #5a6273);
  margin: .4rem 0 0;
}
.mvm-coursevid__travel a { color: var(--mvm-accent, #D4A341); font-weight: 600; }

