.race-photo{margin:0;min-width:0}.race-photo[hidden]{display:none!important}.race-photo img{display:block;width:100%;height:auto;max-width:none;border-radius:14px}.race-photo figcaption{color:var(--az-muted);font-size:13px;margin-top:6px}.race-hero .az-wrap{display:block}.race-hero .race-banner{max-width:1160px;margin:0 auto;padding:0 24px 26px}.race-hero .race-banner img{width:100%;max-width:none;aspect-ratio: 2.5/1;object-fit:cover;object-position:center 53%}.race-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.race-grid .race-photo:first-child img{aspect-ratio:4/3;object-fit:cover;object-position:center 35%}.race-grid .race-photo:last-child img{max-height:370px;object-fit:contain;background:var(--az-soft)}.race-grid h3{margin-top:18px}.race-family{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;align-items:center}.race-family .race-photo{margin-bottom:14px}.race-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.race-gallery img{aspect-ratio:4/3;object-fit:contain;background:var(--az-soft)}.race-card-photo{margin:-10px -10px 14px}.race-card-photo img{aspect-ratio:16/9;object-fit:cover}.race-card-photo:not([hidden])+.az-icon{display:none}@media(max-width:700px){.race-grid,.race-family,.race-gallery{grid-template-columns:1fr}.race-hero .race-banner img{aspect-ratio:16/9}}
/* Full-bleed photographic hero. Text animates once and stays visible. */
.cause-hero-banner{position:relative;isolation:isolate;display:grid;align-items:end;width:100%;min-height:clamp(470px,75vh,760px);overflow:hidden;background:#102535;color:#fff}
.cause-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 57%;z-index:-2}
.cause-hero-overlay{width:100%;background:linear-gradient(0deg,rgba(5,18,30,.96),rgba(5,18,30,.74) 60%,transparent);padding-top:clamp(60px,12vw,175px)}
.cause-hero-copy.az-wrap{padding:20px 24px 38px;max-width:1160px}
.cause-hero-copy .az-kicker{color:#b9e7ff;margin:0 0 12px}
.cause-hero-copy h1{color:#fff;max-width:none;font-size:clamp(2.8rem,7.5vw,6.7rem);margin:0 0 8px;line-height:.98;text-shadow:0 3px 24px #0008}
.cause-hero-tagline{font-size:clamp(1.25rem,3vw,2rem);font-weight:800;color:#b9e7ff;margin:0 0 8px}
.cause-hero-description{max-width:62ch;color:#fff;margin:0 0 14px}
.cause-hero-actions{display:flex;flex-wrap:wrap;gap:8px}
.cause-hero-actions .az-button{background:#9bdcff;color:#09283c!important;margin:0}
.cause-hero-actions .az-button.secondary{background:#102535;color:#fff!important;border-color:#b9e7ff}
@keyframes raceHeroReveal{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
.cause-hero-copy>*{animation:raceHeroReveal .75s ease-out backwards}
.cause-hero-copy h1{animation-delay:.15s}.cause-hero-tagline{animation-delay:.3s}.cause-hero-description{animation-delay:.45s}.cause-hero-actions{animation-delay:.6s}
html[data-az-motion-paused] .cause-hero-copy>*{animation:none!important;opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.cause-hero-copy>*{animation:none!important;opacity:1;transform:none}}
@media(max-width:700px){.cause-hero-banner{min-height:570px;min-height: min(650px,85svh)}.cause-hero-image{object-position:50% 48%}.cause-hero-overlay{padding-top:100px}.cause-hero-copy.az-wrap{padding:20px 18px 24px}.cause-hero-actions{gap:6px}.cause-hero-actions .az-button{font-size:14px;padding:8px 12px}}

/* Three equal-height community cards with aligned actions and consistent visuals. */
.community-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}
.community-grid .az-card{display:flex;flex-direction:column;min-width:0;padding:16px}
.community-grid .az-card>.az-kicker,.community-grid .az-card>h3,.community-grid .az-card>p:not(.az-kicker){margin-left:10px;margin-right:10px}
.community-grid .az-card>.az-kicker{margin-top:0;margin-bottom:10px}
.community-grid .az-card>h3{font-size:clamp(20px,2vw,25px);margin-bottom:10px}
.community-grid .az-card>p:not(.az-kicker){font-size:15px;line-height:1.65;margin-top:0;margin-bottom:18px}
.community-grid .az-card>.az-button{align-self:flex-start;margin: auto 10px 8px;font-size:14px;max-width:calc(100% - 20px);white-space:normal;box-sizing:border-box}
.community-visual{margin:0 0 16px;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:var(--az-soft);min-width:0}
.community-visual img{width:100%;height:100%;max-width:none;object-fit:contain;display:block;border-radius:0}
.strava-visual{display:flex;flex-direction:column;background:#fff;color:#172331;padding:10px;gap:5px;box-sizing:border-box;border:1px solid #dce1e7;font:500 12px/1.25 system-ui,sans-serif}
.strava-brand{display:flex;gap:5px;align-items:center;color:#c43b00;font-weight:900;letter-spacing:.06em}
.strava-brand small{margin-left:auto;color:#475569;font-size:10px;font-weight:500;letter-spacing:0}
.strava-ride{font-weight:750;font-size:12px}
.strava-ride span{font-weight:400;font-size:10px;color:#475569}
.strava-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.strava-stats b{display:block;font-size:clamp(12px,1.45vw,19px);white-space:nowrap}
.strava-stats small{display:block;font-size:10px;color:#475569}
.strava-route{width:100%;min-height:28px;flex:1;border-radius:5px}
.strava-visual figcaption{font-size:9px;color:#475569;line-height:1.2}
@media(max-width:850px){.community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.community-grid{grid-template-columns:1fr}.strava-stats b{font-size:20px}}

/* Mobile only: preserve the wide race photograph instead of stretching it
   behind the entire text block. Blend the animated copy into its lower edge. */
@media(max-width:700px){
  .cause-hero-banner{display:block;min-height:0}
  .cause-hero-image{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center 64%;z-index:auto}
  .cause-hero-overlay{position:relative;margin-top:-54px;padding-top:34px;background:linear-gradient(to bottom,rgba(5,18,30,0) 0,#102535 54px,#102535 100%)}
  .cause-hero-copy.az-wrap{padding:8px 18px 24px}
  .cause-hero-copy h1{font-size:clamp(30px,8.4vw,48px);line-height:1.05}
  .cause-hero-copy .az-kicker{margin-bottom:8px;font-size:12px}
  .cause-hero-tagline{font-size:clamp(18px,4.8vw,24px);margin-bottom:8px}
  .cause-hero-description{font-size:15px;line-height:1.55;margin-bottom:12px}
  .cause-hero-actions .az-button{min-height:44px}
}
