:root{--ink:#162033;--muted:#687487;--red:#d62c39;--red-hover:#b81c2a;--red-lite:#fff0ef;--canvas:#f6f7f9;--line:#e5e9ee;--white:#fff;--radius:16px;--shadow:0 12px 36px rgba(19,28,41,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--canvas);color:var(--ink);font:400 15px/1.55 'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3b82f6;outline-offset:3px}
[hidden]{display:none!important}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.skip-link{position:absolute;top:-100px;left:12px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-mark{height:39px;width:39px;border-radius:12px;background:var(--red);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #d62c3925}.brand-lines{position:relative;display:block;width:22px;height:4px;border-radius:5px;background:#fff;transform:skew(-22deg)}.brand-lines:before,.brand-lines:after{content:'';position:absolute;width:17px;height:4px;border-radius:5px;background:#fff;left:3px}.brand-lines:before{top:-8px}.brand-lines:after{top:8px}.brand-label{font-size:19px;font-weight:500;letter-spacing:-.06em}.brand-label strong{font-weight:800}.header-links{display:flex;align-items:center;gap:32px;color:#526072;font-weight:700;font-size:13px}.header-links a:hover{color:var(--red)}.header-links .header-submit{color:var(--red);border:1px solid #f4b9bd;padding:10px 14px;border-radius:10px}.header-submit span{margin-left:5px}
.hero{background:linear-gradient(105deg,#fff 0%,#fff 49%,#fff7f6 100%);border-bottom:1px solid var(--line);overflow:hidden}.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);align-items:center;gap:74px;padding-block:66px 74px}.eyebrow{color:var(--red);font-size:11px;font-weight:800;letter-spacing:.15em;display:flex;gap:10px;align-items:center}.eyebrow-dot{display:inline-block;width:8px;height:8px;background:var(--red);border-radius:50%;box-shadow:0 0 0 5px #d62c3918}.hero-copy h1{font-size:clamp(42px,4.3vw,68px);font-weight:800;margin:27px 0 19px;line-height:1.07;letter-spacing:-.063em;max-width:570px}.hero-copy h1 span{color:var(--red)}.hero-copy p{font-size:18px;line-height:1.65;color:#677387;max-width:430px;margin-bottom:31px}.hero-features{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hero-features span{border:1px solid #e4e8ed;background:#fff;color:#506073;padding:7px 12px;border-radius:100px;font-size:12px;font-weight:700}
.search-panel{background:#fff;padding:28px 30px 30px;border:1px solid #e9eaee;border-radius:21px;box-shadow:0 22px 65px rgba(24,32,43,.1);position:relative}.search-panel:before{position:absolute;content:'';height:5px;left:28px;right:28px;top:0;border-radius:0 0 8px 8px;background:var(--red)}.panel-heading h2{font-size:24px;font-weight:800;margin-bottom:6px}.panel-heading p{font-size:13px;color:var(--muted);margin:0 0 24px}.search-panel form,.submission-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{min-width:0}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800;display:block;margin-bottom:7px;color:#2b3646}.field input,.field select{appearance:none;width:100%;height:46px;border:1px solid #dce2e8;border-radius:10px;background:#fff;color:var(--ink);padding:0 12px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus{border-color:var(--red);box-shadow:0 0 0 3px #d62c3914;outline:none}.field input::placeholder{color:#96a1af}.field select{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23677487" stroke-width="2"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}.search-icon-wrap{position:relative}.search-icon{position:absolute;left:14px;top:15px;height:17px;width:17px;stroke:#8b96a4}.search-icon-wrap input{padding-left:42px}.btn{border:none;border-radius:10px;min-height:46px;padding:11px 20px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:13px;font-weight:800;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--red);color:#fff}.btn-primary:hover{background:var(--red-hover)}.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#303c50}.btn-outline{border:1px solid #dce2e8;background:#fff;color:var(--ink)}.btn-outline:hover{background:#f3f5f7}.search-submit{grid-column:1/-1;margin-top:3px;font-size:14px;justify-content:space-between;padding-inline:19px}
.results-section{padding:67px 0 76px}.results-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow-muted{color:#d43643}.results-heading h2{font-size:clamp(27px,3vw,37px);font-weight:800;margin:11px 0 8px}.results-subtitle{font-size:14px;color:var(--muted);margin:0}.result-count{white-space:nowrap;border-radius:30px;background:#fff;border:1px solid #e8ebef;color:#354254;padding:11px 16px;font-size:13px;font-weight:800;box-shadow:0 3px 10px #14233307}.results-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.quick-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.filter-prompt{font-weight:700;font-size:12px;color:#87919f;margin-right:3px}.chip{border:1px solid #e3e6ec;color:#576276;border-radius:100px;background:#fff;min-height:34px;padding:6px 13px;font-size:12px;font-weight:800}.chip[aria-pressed="true"]{border-color:var(--red);background:var(--red);color:#fff}.chip:hover:not([aria-pressed="true"]){background:#fcebed;border-color:#f5c0c6}.clear-filters{background:none;border:none;padding:9px 1px;font-weight:700;font-size:12px;color:var(--red);white-space:nowrap}.clear-filters:hover{text-decoration:underline}.listing-options{display:flex;align-items:center;justify-content:space-between;color:#8993a1;font-size:12px;gap:12px;margin-bottom:17px}.unknown-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.unknown-toggle input{accent-color:var(--red);height:15px;width:15px;margin:0}.event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.event-card{display:flex;align-items:flex-start;gap:16px;min-width:0;background:#fff;border:1px solid #e6e9ee;border-radius:15px;padding:19px;box-shadow:0 4px 16px rgba(21,28,41,.028);transition:border-color .15s,box-shadow .15s,transform .15s}.event-card:hover{border-color:#eac1c3;box-shadow:0 12px 25px rgba(21,28,41,.065);transform:translateY(-1px)}.date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:68px;min-width:68px;height:85px;border-radius:10px;background:#fff1f1;color:var(--red);line-height:1.1;border:1px solid #ffe0e0}.date-month{font-size:11px;font-weight:800;letter-spacing:.1em}.date-day{font-size:28px;font-weight:800;letter-spacing:-.045em;margin:6px 0 4px}.date-year{font-size:10px;font-weight:800}.date-unknown{background:#f3f5f7;color:#8a94a2;border-color:#edf0f2}.event-details{display:flex;flex-direction:column;align-items:start;flex:1;min-width:0;min-height:193px}.event-tag-row{display:flex;gap:6px;flex-wrap:wrap;min-height:24px;margin-bottom:8px}.event-tag{background:#eff3f7;border-radius:5px;color:#526072;font-size:10px;font-weight:800;padding:4px 7px;line-height:1.2}.terrain-tag{background:#fff0f1;color:#c83440}.muted-tag{color:#96a0ac}.event-details h3{font-size:17px;font-weight:800;letter-spacing:-.03em;line-height:1.32;margin:0 0 8px;overflow-wrap:anywhere}.event-details h3 a:hover{color:var(--red)}.event-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#626e7e;font-size:12px;font-weight:600}.event-location{display:inline-flex;align-items:center;gap:6px}.event-location svg{width:14px;height:14px;flex-shrink:0;color:var(--red)}.meta-missing{color:#87919d}.age-chip{background:#f3f5f7;border-radius:5px;padding:1px 5px;font-size:11px}.event-description{font-size:12px;line-height:1.55;color:#768293;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:11px 0 14px}.event-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;font-weight:800;margin-top:auto;padding-top:14px}.event-link{color:var(--red)}.event-link:hover{text-decoration:underline}.event-link span,.map-link span{margin-left:3px}.map-link{color:#667588}.map-link:hover{color:#263245}.unavailable-link{color:#8793a1;font-weight:700}.show-more-bar{text-align:center;margin-top:25px}.show-more-bar .btn{min-width:200px}.source-note{color:#7f8b9b;font-size:12px;line-height:1.6;max-width:880px;margin:24px 0 0}.empty-results{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #d8dee6;border-radius:15px;padding:50px 18px}.empty-symbol{font-size:45px;line-height:1;color:#d3a0a5}.empty-results h3{font-size:22px;margin:16px 0 8px}.empty-results p{color:var(--muted);max-width:410px;margin:0 auto 20px}.results-loading{grid-column:1/-1;text-align:center;padding:70px;color:var(--muted)}
/* Runnerly cross-promotion: a compact hand-off from race discovery to race preparation. */
.coach-section{padding:0 0 68px}
.coach-banner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.8fr);align-items:center;gap:36px;border:1px solid #dbe4ef;border-radius:18px;padding:34px 38px;background:#fff;color:#132238;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.coach-eyebrow{color:#177fd6}
.coach-copy h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.035em;line-height:1.15;margin:13px 0 12px;color:#132238}
.coach-copy p{font-size:14px;line-height:1.75;color:#526174;max-width:650px;margin:0}
.coach-copy p strong{color:#132238}
.coach-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.coach-benefits span{border:1px solid #d8e3ef;background:#f6f9fc;border-radius:99px;padding:6px 11px;color:#27425f;font-size:11px;font-weight:700}
.coach-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0}
.coach-logo{display:block;max-width:100%;width:220px;height:auto;background:#fff}
.coach-descriptor{font-size:10px;font-weight:800;letter-spacing:.13em;color:#5f7187}
.coach-button{background:#177fd6;color:#fff;width:100%;margin-top:12px;justify-content:space-between;max-width:250px}
.coach-button:hover{background:#0f6dbb}
@media(max-width:820px){.coach-banner{padding:30px;grid-template-columns:minmax(0,1fr) minmax(210px,.7fr);gap:20px}}
@media(max-width:570px){.coach-section{padding-bottom:45px}.coach-banner{grid-template-columns:1fr;padding:24px 20px;gap:24px}.coach-copy h2{font-size:27px}.coach-copy p{font-size:13px}.coach-action{gap:8px}.coach-logo{width:190px}.coach-button{max-width:none;width:100%;margin-top:10px}}


.submission-section{background:#fff;border-block:1px solid var(--line);padding:48px 0}.submission-intro{display:flex;align-items:center;justify-content:space-between;gap:30px}.submission-intro h2{font-size:29px;margin:11px 0}.submission-intro p{margin:0;color:var(--muted);font-size:14px}.submission-form-wrap{border:1px solid #e8ebf0;border-radius:16px;background:#fafbfc;padding:25px;margin-top:25px;max-width:800px}.submission-form-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.submission-form-heading h3{font-size:20px;margin:0}.close-form{border:none;background:none;font-size:26px;color:#68758a}.submission-form .field input,.submission-form .field select{height:45px}.form-actions{grid-column:1/-1;display:flex;gap:11px;flex-wrap:wrap}.honeypot{display:none}.status-notice{padding:11px 5%;text-align:center;color:#175a3e;background:#e5f8ee;font-weight:700;font-size:13px}.status-notice a{margin-left:10px;text-decoration:underline}.status-error{background:#ffeced;color:#8d2630}
.info-section{background:#fcfcfd;padding:45px 0}.info-inner{display:flex;align-items:center;justify-content:space-between;gap:55px}.info-inner>div:first-child{max-width:710px}.info-inner h2{font-size:23px;margin-bottom:9px}.info-inner p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}.info-highlights{display:flex;align-items:center;gap:9px;flex-wrap:wrap;white-space:nowrap}.info-highlights span{padding:7px 10px;border-radius:6px;border:1px solid #e4e8eb;color:#667487;font-size:12px;font-weight:800}.site-footer{background:#172236;color:#b2bcc8;padding:23px 0;font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:18px}
@media(max-width:1100px){.hero-layout{gap:32px}.event-list{grid-template-columns:1fr 1fr}.event-card{padding:16px;gap:12px}.date-tile{width:58px;min-width:58px;height:74px}.date-day{font-size:24px}.hero-copy h1{font-size:48px}}
@media(max-width:820px){.wrap{width:min(100% - 40px,720px)}.hero-layout{grid-template-columns:1fr;gap:30px;padding:45px 0 53px}.hero-copy h1{max-width:620px}.hero-copy p{max-width:640px}.search-panel{max-width:700px}.event-list{grid-template-columns:1fr}.event-details{min-height:150px}.info-inner{align-items:start;flex-direction:column;gap:20px}.results-section{padding:50px 0 60px}.header-links{gap:16px}}
@media(max-width:570px){html{scroll-padding-top:65px}.wrap{width:calc(100% - 30px)}.header-inner{min-height:63px}.brand-mark{height:33px;width:33px;border-radius:9px}.brand-label{font-size:15px}.header-links a:not(.header-submit){display:none}.header-links .header-submit{padding:8px 9px;font-size:11px}.hero-layout{padding-block:36px 38px;gap:27px}.eyebrow{font-size:9px}.hero-copy h1{font-size:41px;margin:18px 0 15px}.hero-copy p{font-size:15px;margin-bottom:20px}.hero-features{gap:6px}.hero-features span{font-size:10px;padding:5px 9px}.search-panel{padding:24px 17px 19px;border-radius:16px}.search-panel:before{left:20px;right:20px}.panel-heading h2{font-size:22px}.panel-heading p{font-size:12px;margin-bottom:19px}.search-panel form{gap:12px}.field label{font-size:11px}.field input,.field select{height:44px;font-size:13px}.results-section{padding:43px 0 50px}.results-heading{align-items:start;flex-direction:column;gap:14px;margin-bottom:19px}.results-heading h2{font-size:28px}.result-count{padding:8px 12px;font-size:12px}.results-tools{align-items:start;flex-direction:column;gap:7px}.filter-prompt{display:none}.listing-options{font-size:11px;align-items:start}.event-card{padding:14px;gap:11px}.date-tile{width:54px;min-width:54px;height:72px}.date-day{font-size:23px}.date-month{font-size:10px}.event-details h3{font-size:16px}.event-details{min-height:170px}.event-description{font-size:12px}.event-actions{padding-top:11px}.submission-section{padding:36px 0}.submission-intro{align-items:start;flex-direction:column;gap:19px}.submission-intro h2{font-size:25px}.submission-form-wrap{padding:17px}.submission-form{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions .btn{width:100%}.info-section{padding:38px 0}.footer-inner{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
/* Submission confirmation is kept visible after submit_event.php redirects to #submit-event. */
.status-notice{position:fixed;z-index:45;top:86px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);border:1px solid #b5e3cb;border-radius:12px;padding:12px 20px;box-shadow:0 10px 30px #12203423}
.status-error{border-color:#f6b6bd}
@media(max-width:570px){.status-notice{top:69px;font-size:12px;width:calc(100% - 24px)}}
