/* Isolated club discovery and profiles, using the existing BibWise design tokens. */
.club-card .body{gap:8px}.club-card .body h3 a{text-decoration:none}.club-card .body h3 a:hover{text-decoration:underline}.club-card .club-summary,.club-card .club-pace{font-size:13px;line-height:1.6;margin:0;color:var(--muted)}.club-card .card-fact{margin:3px 0}.club-card .card-fact small{display:block;font-size:11px;font-weight:400;line-height:1.5;margin-top:3px;color:var(--muted)}.club-schedule-preview{font-size:12px;line-height:1.65;margin:4px 0}.club-checked,.club-match-note{font-size:11px;line-height:1.65;color:var(--muted);margin:3px 0}.club-match-note{padding:8px 10px;background:var(--soft);border-radius:6px}.club-neutral-art{height:100%;min-height:220px;display:flex;flex-direction:column;justify-content:center;padding:28px;background:#e5ece7;color:var(--ink);position:relative;overflow:hidden}.club-neutral-art>span:first-child{font:700 clamp(30px,4vw,52px)/1.02 var(--sans);letter-spacing:-.065em}.club-neutral-art>small{font-size:11px;text-transform:uppercase;letter-spacing:.11em;margin-top:18px;max-width:80%}.club-art-line{height:1px;width:70%;background:currentColor;margin-top:22px;opacity:.55}.club-visual{aspect-ratio:1.2;position:relative}.club-visual .card-image-open{height:100%;display:block}.club-visual .race-photo{height:100%;width:100%;object-fit:cover}.club-card:nth-child(3n+2) .club-neutral-art{background:#e6e4dd}.club-card:nth-child(3n+3) .club-neutral-art{background:#e1e8ec}.club-breadcrumb{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:22px 0;font-size:13px;border-bottom:1px solid var(--line)}.club-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}.club-breadcrumb>span{color:var(--muted);font-size:12px}.club-profile-header{padding:35px 0 30px;border-bottom:1px solid var(--line);max-width:950px}.club-profile-header h1{font:normal clamp(38px,5vw,66px)/1.1 var(--serif);letter-spacing:-.04em;margin:12px 0 16px}.club-profile-location{font-size:15px;color:var(--muted)}.club-profile-lede{font-size:18px;max-width:760px}.club-profile-header .club-checked{font-size:12px}.club-ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.club-ctas a{display:inline-flex;align-items:center;text-decoration:none}.club-ctas a:first-child{background:var(--navy);color:white;border-color:var(--navy)}.club-profile-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:48px}.club-profile-main>section,.club-profile-aside>section{padding:27px 0;border-bottom:1px solid var(--line)}.club-profile-layout h2{font:normal 29px/1.25 var(--serif);letter-spacing:-.025em;margin:5px 0 18px}.club-profile-layout h3{font-size:16px;line-height:1.4}.club-profile-layout p{font-size:14px;line-height:1.7}.club-profile-aside p{font-size:13px}.club-profile-facts{display:grid;gap:19px;margin:0}.club-profile-facts dt,.club-session-facts dt{font-size:12px;font-weight:750}.club-profile-facts dd{font-size:14px;margin:4px 0 0}.club-source{display:block;color:var(--muted);font-size:11px;line-height:1.65;margin-top:5px}.club-session{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:22px;margin:18px 0}.club-session-heading h3{font-size:19px;margin:0 0 7px}.club-session-status{display:inline-block;font-size:10px;line-height:1.5;border:1px solid var(--line);padding:4px 8px;border-radius:4px;color:var(--muted)}.club-session-held .club-session-status{border-style:dashed;color:var(--ink);font-weight:700}.club-session p.club-session-time{font-size:14px;font-weight:650;margin:14px 0}.club-session p.club-season-note{font-size:12px}.club-session-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:20px 0}.club-session-facts dd{font-size:12px;line-height:1.6;margin:3px 0 0}.club-session p.club-checked{font-size:11px;margin-top:14px}.club-unknowns,.club-sources{padding-left:19px;margin:14px 0}.club-unknowns li,.club-sources li{font-size:12px;line-height:1.7;margin-bottom:10px}.club-sources small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.club-profile-page .nav a:not(.brand-logo-link){min-height:44px;display:inline-flex;align-items:center}.club-profile-page a,.club-profile-page dd,.club-card p{overflow-wrap:anywhere}.club-profile-page [hidden]{display:none!important}
@media(max-width:800px){.club-profile-layout{grid-template-columns:1fr;gap:0}.club-profile-aside{display:grid;grid-template-columns:1fr 1fr;gap:28px}.club-profile-header{padding-top:24px}.club-ctas{gap:8px}.club-ctas .btn{font-size:12px}}
@media(max-width:520px){.club-profile-aside{grid-template-columns:1fr;gap:0}.club-session{padding:18px}.club-session-facts{grid-template-columns:1fr}.club-profile-header h1{font-size:41px}.club-profile-lede{font-size:16px}.club-profile-layout h2{font-size:27px}.club-neutral-art>span:first-child{font-size:48px}.club-breadcrumb{gap:6px}.club-ctas a{flex:1 1 auto;justify-content:center}.club-profile-page .nav{flex-wrap:wrap}}

/* Clubs use the same search segments, card sizing and detail hierarchy as races. */
.club-discovery[hidden]{display:none}
.club-discovery{padding-top:0;padding-bottom:30px}
.discovery-home .club-discovery-heading{margin:0;padding:24px 0 16px}
.club-discovery-heading h2{font:500 30px/1.15 var(--serif);letter-spacing:-.03em;margin:0 0 7px}
.club-search-panel{margin-inline:auto}
.club-search-panel .searchbox #clubSearch:focus,.club-search-panel .searchbox #clubSearch:focus-visible{outline:none;box-shadow:none}
.club-search-panel .where-control:has(#clubSearch:focus-visible){outline:2px solid var(--navy);outline-offset:2px;border-radius:44px}
.club-refinements .filters{grid-template-columns:repeat(3,minmax(0,1fr))}
#clubSearchPicker.inline-search-panel{box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(420px,calc(100dvh - 24px));min-width:0;min-height:0;padding:0;border-radius:22px;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;right:auto}
#clubSearchPicker.inline-search-panel[data-panel=day]{width:min(320px,calc(100vw - 24px))}
#clubSearchPicker .picker-heading{position:relative;flex:0 0 auto;z-index:1;gap:12px;margin:0;padding:18px 18px 12px;border-bottom:1px solid var(--line);background:white}
#clubSearchPicker .picker-heading h2{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
#clubSearchPickerBody{flex:1 1 auto;min-height:0;min-width:0;max-width:100%;padding:14px 18px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:12px;scrollbar-gutter:stable;overflow-wrap:anywhere}
#clubSearchPicker .picker-intro{font-size:12px;line-height:1.5;margin:0 0 12px}
.club-picker-options{display:grid;gap:6px}
.club-picker-options button{min-width:0;min-height:44px;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:white;color:var(--ink);text-align:left;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.club-picker-options button:hover{background:var(--soft)}
.club-picker-options button[aria-pressed=true]{border:2px solid var(--navy);padding:10px 12px;background:var(--soft);font-weight:750;text-decoration:underline;text-underline-offset:4px}
.club-results-heading{margin-top:30px}
.club-trust-notes p{max-width:850px}
.club-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;align-items:start}
.club-card-grid>.empty{grid-column:1/-1}
.club-card{min-width:0}
.club-card .body h3 a{text-decoration:none}
.club-card .body h3 a:hover{text-decoration:underline}
.club-card .card-fact{margin:0}
.club-card .club-card-audience,.club-card .club-card-more{font-size:11px;line-height:1.5;margin:0;color:var(--muted)}
.club-card .club-card-audience{color:var(--ink)}
.club-card .club-card-context{font-size:11px;color:var(--muted)}
.club-card-context summary{font-size:10px;min-height:30px;padding:5px 0;cursor:pointer}
.club-card-context p{margin:0 0 8px;font-size:11px;line-height:1.6}
.club-scope-note{font-size:11px;line-height:1.6;color:var(--muted);margin:20px 0 0}
.club-profile-page #clubProfile{max-width:1220px;margin-inline:auto}
.club-profile-page .club-profile-header{max-width:none;padding:25px 0 0;border:0}
.club-profile-header h1{font:750 32px/1.2 var(--sans);letter-spacing:-.03em;margin:0 0 9px}
.club-profile-header .club-profile-location{font-size:13px;margin:0 0 14px}
.club-profile-header .club-profile-lede{font-size:14px;line-height:1.8;max-width:820px}
.club-profile-header .eyebrow{font-size:11px;margin:0 0 10px}
.club-profile-header .club-checked{font-size:11px}
.club-profile-header .club-ctas{margin:18px 0 24px}
.club-profile-hero .race-photo{display:block;width:100%;height:100%;object-fit:cover}
.club-profile-layout{grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:38px;align-items:start}
.club-profile-layout h2{font:750 23px/1.3 var(--sans);letter-spacing:-.025em;margin:5px 0 16px;scroll-margin-top:24px}
.club-profile-aside>section{background:white;border:1px solid var(--line);border-radius:17px;padding:22px;margin:0 0 22px;box-shadow:0 6px 22px #182b3a09}
.club-profile-main>section{padding-top:0;margin-bottom:26px}
.club-section-nav a{display:inline-flex;align-items:center;flex:none;min-height:44px;padding:12px 0;font-size:12px;font-weight:750;text-decoration:none}
.club-section-nav a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){.club-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.club-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 20px}.club-profile-layout{grid-template-columns:1fr;gap:0}.club-profile-aside{display:block}}
@media(max-width:700px){.club-discovery-heading h2{font-size:29px}.club-refinements .filters{grid-template-columns:1fr}.club-profile-header h1{font-size:26px}.club-profile-header .club-profile-lede{font-size:14px}}
@media(max-width:520px){.club-card-grid{grid-template-columns:1fr;gap:28px}#clubSearchPicker.inline-search-panel{padding:0;border-radius:18px}#clubSearchPicker .picker-heading{padding:14px 14px 10px}#clubSearchPickerBody{padding:12px 14px 14px}#clubSearchPicker .picker-heading h2{font-size:17px}.club-results-heading{margin-top:25px}.club-profile-aside>section{padding:18px}}
#clubSearchPicker.inline-search-panel[hidden]{display:none}

/* A single browseable row in All; full search stays in Run Clubs. */
.club-discovery[data-club-layout=preview]{padding-top:22px;padding-bottom:8px}
.club-preview-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.club-preview-heading>div{min-width:0;overflow-wrap:anywhere}
.club-preview-heading h2{margin:0}
.club-preview-heading p{font-size:12px;margin:5px 0 0;color:var(--muted)}
.club-browse-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;font-size:13px;font-weight:650;overflow-wrap:anywhere;text-underline-offset:4px}
.club-preview-filters{min-width:0;margin-bottom:8px}
.club-preview-filters>p{font-size:11px;margin:0 0 5px;color:var(--muted)}
.club-preview-filters .active-filter{max-width:100%;overflow-wrap:anywhere}
.club-preview-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0 0 8px}
.club-preview-toolbar>p{min-width:0;font-size:11px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.club-preview-track{position:relative;min-width:0;max-width:100%}
.club-preview-track>.club-card{position:relative;max-width:100%;overflow-wrap:anywhere}
.club-preview-status{font-size:13px;color:var(--muted);padding:16px 0}
.club-discovery[data-club-layout=preview] .club-scope-note{margin-top:10px}
@media(max-width:700px){.club-discovery[data-club-layout=preview]{padding-top:18px}.club-preview-heading{align-items:flex-start}.club-preview-heading .club-browse-link{font-size:12px}.club-preview-toolbar{gap:8px}.club-preview-filters .active-filters{min-width:0;max-width:100%}}

/* Keep attribution beside its image without a second text row below View club. */
.club-visual .club-image-credit{position:absolute;z-index:2;top:8px;right:8px;margin:0;color:var(--navy);font-size:11px;line-height:1.5}
.club-card .club-image-credit>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-width:44px;min-height:44px;padding:0;border-radius:50%;background:#fffffff2;color:var(--navy);font-size:22px}
.club-image-credit summary::-webkit-details-marker{display:none}
.club-image-credit summary:focus-visible{outline:3px solid var(--navy);outline-offset:-4px}
.club-visual .club-image-credit[open]{width:calc(100% - 16px);max-height:calc(100% - 16px);overflow:auto;background:white;border:1px solid var(--line);border-radius:14px;padding:0 12px 12px;box-sizing:border-box;box-shadow:0 4px 15px #182b3a20}
.club-image-credit[open] summary{margin-left:auto;width:44px}
.club-image-credit p{margin:0;overflow-wrap:anywhere}
.club-image-credit a{color:var(--navy);text-decoration:underline}
