*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:#071b3a;background:#f3f7fc;padding-bottom:78px}a{color:#075bd8;text-decoration:none}.wrap{max-width:1180px;margin:auto;padding:0 22px}header{background:#fff;border-bottom:1px solid #dce6f2;position:sticky;top:0;z-index:20}.nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:10px;color:#071b3a;line-height:1.05}.brand img{width:46px;height:46px}.brand b{font-size:19px}.nav nav{display:flex;align-items:center;gap:24px}.navbuy,.buy{background:#ffd42a;color:#071b3a!important;font-weight:800;border-radius:13px;padding:14px 22px;display:inline-block;text-align:center}.small{padding:11px 15px}.hero{padding:50px 0 28px;background:linear-gradient(135deg,#eaf5ff,#fff)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}.hero h1{font-size:44px;margin:0 0 14px}.hero p{font-size:19px;line-height:1.55}.hero-box{background:#fff;border:1px solid #dce6f2;border-radius:22px;padding:25px;box-shadow:0 15px 45px #17365b12}.layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:24px;padding-top:24px}.card,section,.side{background:#fff;border:1px solid #dce6f2;border-radius:20px;padding:24px;margin-bottom:22px}.card h1{font-size:28px}.widget{margin-top:18px;overflow:hidden;border-radius:15px}.crumb{font-size:14px;margin:4px 0 16px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.actual{white-space:nowrap;background:#eafff0;border:1px solid #69d78d;color:#087a32;padding:8px 12px;border-radius:999px;font-weight:700;font-size:13px}.muted{color:#66758b}table{width:100%;border-collapse:collapse;border:1px solid #dce6f2;border-radius:14px;overflow:hidden}th{background:#eaf6ff;font-size:12px;text-align:left}th,td{padding:14px 12px;border-bottom:1px solid #dce6f2}.mobile-cards{display:none}.side{position:relative}.side .buy{width:100%}.info-grid,.cities{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.info{border:1px solid #dce6f2;border-radius:15px;padding:17px}.cities{grid-template-columns:repeat(3,1fr)}.city{min-height:170px;border-radius:18px;padding:18px;display:flex;align-items:flex-end;color:#fff!important;font-size:21px;font-weight:800;background:linear-gradient(180deg,#24578a55,#061d3fd9),linear-gradient(135deg,#2384c6,#0a315d);background-size:cover;background-position:center;box-shadow:inset 0 -80px 80px #001a3a88}.allroutes{columns:3;column-gap:25px}.allroutes a{display:block;padding:8px 0;border-bottom:1px solid #edf1f6}.sticky{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:50;background:#ffd42a;color:#071b3a!important;font-weight:900;padding:17px 42px;border-radius:15px;box-shadow:0 8px 28px #0003}footer{background:#071b3a;color:#fff;margin-top:35px;padding:38px 0}.foot{display:flex;justify-content:space-between;gap:25px}.foot a{color:#fff}.mobile-cards{gap:15px}.trip{background:#fff;border:1px solid #dce6f2;border-radius:18px;padding:16px}.trip small{display:block;color:#75839a;font-weight:800;font-size:11px;letter-spacing:.7px}.trip b{display:block;font-size:23px;margin-top:5px}.trip strong{display:block;margin-top:4px}.trip .buy{display:block;margin-top:14px}.twocol{display:grid;grid-template-columns:1fr 1fr}.twocol>div+div{border-left:1px solid #e2e8f0;padding-left:15px}.trip hr{border:0;border-top:1px solid #e4eaf2;margin:13px 0}@media(max-width:820px){.nav nav a:not(.navbuy){display:none}.navbuy{padding:11px}.hero-grid,.layout{grid-template-columns:1fr}.hero h1{font-size:34px}.cities{grid-template-columns:1fr 1fr}.layout aside{display:none}.section-head{display:block}.actual{display:inline-block;margin-top:6px}.desktop-table{display:none}.mobile-cards{display:grid}.allroutes{columns:2}.wrap{padding:0 15px}.card,section{padding:16px}.sticky{width:calc(100% - 60px);text-align:center}.info-grid{grid-template-columns:1fr}}@media(max-width:500px){.cities{grid-template-columns:1fr}.allroutes{columns:1}.brand span{font-size:13px}.navbuy{font-size:13px}.hero h1{font-size:30px}}/* Homepage hero — style aligned with the latest marathon reference sites */
.home-hero{display:grid;grid-template-columns:1fr 1.08fr;background:#fff;border:1px solid #dce6f2;border-radius:28px;overflow:hidden;box-shadow:0 18px 55px rgba(16,48,83,.08)}
.home-hero-info{padding:34px 34px 30px;display:flex;flex-direction:column;justify-content:center}
.region-pill{display:inline-block;align-self:flex-start;background:#e7f5ff;color:#0874b9;font-size:13px;font-weight:900;letter-spacing:1.2px;border-radius:999px;padding:9px 14px;margin-bottom:18px}
.home-hero h1{font-size:46px;line-height:1.06;margin:0 0 14px;color:#0a1d38}
.hero-lead{color:#5f748d;font-size:18px!important;line-height:1.55!important;margin:0 0 22px!important}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.schedule-btn{display:inline-block;background:#e5f3fc;color:#0876b9!important;font-weight:800;border-radius:14px;padding:14px 22px;text-align:center}
.contact-cards{display:grid;grid-template-columns:1.12fr .9fr 1.08fr;gap:11px}
.contact-card{background:#f5f9fd;border:1px solid #e1eaf3;border-radius:16px;padding:16px;min-height:94px}
.contact-card span{display:block;color:#7a8899;font-size:13px;font-weight:800;margin-bottom:8px}
.contact-card b{font-size:15px;line-height:1.45;color:#071b3a}
.home-hero-photo{min-height:430px;position:relative;background:#dcecff}
.home-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
@media(max-width:900px){.home-hero{grid-template-columns:1fr}.home-hero-photo{min-height:340px;order:-1}.home-hero-info{padding:26px}.home-hero h1{font-size:38px}.contact-cards{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:620px){.hero{padding-top:20px}.home-hero{border-radius:20px}.home-hero-photo{min-height:250px}.home-hero-info{padding:20px}.home-hero h1{font-size:32px}.hero-lead{font-size:16px!important}.hero-actions>a{width:100%}.contact-cards{grid-template-columns:1fr}.contact-card{min-height:auto}.region-pill{margin-bottom:13px}}
/* Compact homepage hero */
@media(min-width:901px){
  .hero{padding:34px 0 20px}
  .home-hero{grid-template-columns:1fr 1.18fr;align-items:stretch}
  .home-hero-info{padding:24px 28px 22px}
  .region-pill{padding:7px 12px;margin-bottom:12px;font-size:12px}
  .home-hero h1{font-size:40px;line-height:1.02;margin-bottom:10px}
  .hero-lead{font-size:16px!important;line-height:1.42!important;margin-bottom:15px!important}
  .hero-actions{margin-bottom:15px}
  .hero-actions .buy,.schedule-btn{padding:12px 18px}
  .contact-cards{gap:9px}
  .contact-card{padding:12px 13px;min-height:76px}
  .contact-card span{font-size:12px;margin-bottom:5px}
  .contact-card b{font-size:14px;line-height:1.3}
  .home-hero-photo{min-height:0;height:350px}
  .home-hero-photo img{object-position:center center}
}

/* Mobile route pages: hard stop horizontal overflow */
html,body{max-width:100%;overflow-x:hidden}
img,iframe,video,embed,object{max-width:100%}
.widget{max-width:100%;min-width:0;overflow:hidden}
@media(max-width:820px){
  .wrap{width:100%;max-width:100%;padding-left:12px;padding-right:12px}
  main.wrap,.layout,.layout>*,.card,section,.mobile-cards,.trip{min-width:0;max-width:100%}
  .card,section{width:100%;overflow:hidden}
  .card h1,.section-head h2{font-size:22px;line-height:1.2;overflow-wrap:anywhere}
  .card p,.muted{overflow-wrap:anywhere}
  .widget{width:100%;max-width:100%;overflow:hidden}
  .mobile-cards{width:100%;grid-template-columns:minmax(0,1fr);gap:14px}
  .trip{width:100%;padding:14px;overflow:hidden}
  .trip .twocol{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .trip .twocol>div{min-width:0}
  .trip strong,.trip b{overflow-wrap:anywhere;word-break:normal}
  .trip .buy{display:flex;width:100%;max-width:100%;min-height:48px;padding:13px 12px;align-items:center;justify-content:center;white-space:normal;line-height:1.2;overflow-wrap:anywhere}
  .sticky{width:calc(100% - 24px);max-width:430px;padding:15px 14px;white-space:normal}
}
@media(max-width:480px){
  .nav{gap:8px}.brand{min-width:0}.brand img{width:38px;height:38px}.brand b{font-size:16px}.navbuy{padding:10px 12px;white-space:nowrap}
  .twocol{grid-template-columns:1fr}.twocol>div+div{border-left:0;padding-left:0;border-top:1px solid #e2e8f0;margin-top:10px;padding-top:10px}
}

/* Schedule freshness badge spacing/alignment */
#schedule .section-head{align-items:flex-start}
#schedule .actual{margin-left:auto;margin-bottom:16px}
@media(max-width:820px){
  #schedule .section-head{display:flex;flex-direction:column;align-items:stretch;gap:0}
  #schedule .section-head>div{width:100%}
  #schedule .actual{display:block;align-self:flex-end;width:max-content;max-width:100%;margin:8px 0 18px auto}
}
/* Desktop homepage hero: CTA buttons in one row and photo fills full hero height */
@media(min-width:901px){
  .home-hero{align-items:stretch}
  .hero-actions{display:flex;flex-wrap:nowrap;gap:10px;align-items:stretch}
  .hero-actions .buy,.hero-actions .schedule-btn{flex:0 1 auto;white-space:nowrap;padding:12px 16px;font-size:16px}
  .home-hero-photo{height:auto;min-height:0;align-self:stretch;overflow:hidden}
  .home-hero-photo img{height:100%;min-height:100%;object-fit:cover;object-position:center center}
}
