.site-header{background:var(--header-bg,var(--accent));color:var(--header-text,#fff);--text:var(--header-text,#fff);--muted:var(--header-text,#fff);--accent:var(--header-text,#fff);--surface:var(--header-bg,var(--accent));--bg:var(--header-bg,var(--accent));--border:var(--header-border,#ffffff66);--button-text:var(--header-bg,var(--accent))}
.site-header .brand,.site-header a{color:var(--header-text,#fff)}.site-header input::placeholder{color:var(--header-text,#fff);opacity:.8}
.site-header :focus-visible{outline-color:var(--header-text,#fff)}
.site-footer{background:var(--footer-bg,var(--accent));color:var(--footer-text,#fff);--text:var(--footer-text,#fff);--muted:var(--footer-text,#fff);--accent:var(--footer-text,#fff);--surface:var(--footer-bg,var(--accent));--bg:var(--footer-bg,var(--accent));--border:var(--footer-border,#ffffff66);text-align:center;align-items:center}
.site-footer>nav,.site-footer .social-links{justify-content:center}.site-footer .platform-credit{width:100%}.site-footer a,.site-footer button,.site-footer .platform-credit small{color:var(--footer-text,#fff)}
.site-footer .platform-credit .platform-logo-light{display:var(--footer-logo-light,none)}.site-footer .platform-credit .platform-logo-dark{display:var(--footer-logo-dark,block)}
.site-footer :focus-visible{outline:2px solid var(--footer-text,#fff);outline-offset:4px}
.language-switch{position:relative;text-align:left;max-width:100%;width:max-content}.language-switch summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid var(--footer-border);border-radius:8px;cursor:pointer;list-style:none}.language-switch summary::-webkit-details-marker{display:none}
.language-options{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:10;display:flex;flex-direction:column;gap:4px;width:220px;max-width:calc(100vw - 32px);padding:8px;border:1px solid var(--footer-border);border-radius:12px;background:var(--footer-bg);box-shadow:0 6px 24px #0004}
.language-switch:not([open]) .language-options{display:none}.language-options a{display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:44px;border-radius:6px;text-decoration:none}.language-options a:hover,.language-options a[aria-current]{background:transparent;box-shadow:inset 0 0 0 1px var(--footer-border);text-decoration:underline}.language-options img{width:24px;height:16px;object-fit:cover;border-radius:2px;flex-shrink:0}.language-selected{margin-left:auto}

body{overflow-x:clip}.site-header{border-top:0;background-image:var(--header-pattern,none);background-size:var(--site-viewport-width,100vw) var(--header-pattern-height,600px);background-repeat:no-repeat;background-position:center top}.site-footer{background-image:var(--footer-pattern,none);background-size:var(--footer-pattern-size,auto);background-repeat:no-repeat;background-position:center top}
.home-hero-page>main{position:relative;isolation:isolate}.home-hero-page>main:has(.featured-posts)::before{content:"";position:absolute;z-index:-1;top:0;left:50%;transform:translateX(-50%);width:var(--site-viewport-width,100vw);height:var(--header-news-overlap,clamp(72px,14vw,180px));background-color:var(--header-bg);background-image:var(--header-pattern,none);background-size:var(--site-viewport-width,100vw) var(--header-pattern-height,600px);background-repeat:no-repeat;background-position:center calc(-1 * var(--header-pattern-offset,200px));pointer-events:none}.home-header-reserve{background:transparent}

/* Public header: spacious branding and an inline expanding search. */
body>.site-header{padding-inline:32px;column-gap:24px}
.site-header .brand{font-size:1.375rem;gap:20px;max-width:440px}
body>.site-header .brand .club-logo{width:100px;height:100px;max-width:100px;max-height:100px;flex-shrink:0}
.site-header .brand-copy{min-width:0;overflow-wrap:anywhere}
.site-header .site-navigation{margin-left:auto;justify-self:end}
.site-header .header-social-links{right:32px}
body>.site-header .header-search.search-enhanced{position:relative;display:flex;width:44px;flex:0 0 auto;gap:0;border-bottom:1px solid var(--header-border);transition:width .28s ease}
body>.site-header .header-search.search-enhanced:not(.search-collapsed){width:260px}
body>.site-header .header-search.search-enhanced input{position:static;display:block;flex:1;width:0;min-width:0;max-width:none;padding:8px 4px;opacity:1;visibility:visible;background:transparent;color:var(--header-text);border:0;border-radius:0;box-shadow:none;transition:opacity .2s ease}
body>.site-header .header-search.search-collapsed{border-bottom-color:transparent}
body>.site-header .header-search.search-collapsed input{padding-inline:0;opacity:0;visibility:hidden;pointer-events:none}
body>.site-header .header-search button{flex:0 0 44px;transition:transform .28s ease}
body>.site-header .header-search.search-collapsed button{transform:translateX(-12px)}
@media(min-width:901px){body>.site-header{grid-template-columns:minmax(260px,440px) minmax(0,1fr) auto}.site-header .site-navigation>div>ul{justify-content:flex-end}}
@media(max-width:1100px) and (min-width:901px){body>.site-header{grid-template-columns:minmax(240px,340px) minmax(0,1fr) auto;column-gap:12px}.site-header .brand{font-size:1.2rem}body>.site-header .brand .club-logo{width:100px;height:100px;max-height:100px}}
@media(max-width:900px){body>.site-header{padding-inline:20px}.site-header .brand{max-width:100%;font-size:1.2rem}body>.site-header .brand .club-logo{width:100px;height:100px;max-height:100px}.site-header .header-social-links{right:20px}.site-header .site-navigation{margin-left:0;margin-right:auto}body>.site-header .header-search.search-enhanced:not(.search-collapsed){width:min(260px,calc(100vw - 140px))}}
body.header-compact>.site-header .brand .club-logo{width:64px;height:64px;max-height:64px}
@media(prefers-reduced-motion:reduce){body>.site-header .header-search.search-enhanced,body>.site-header .header-search.search-enhanced input,body>.site-header .header-search button{transition:none}}

/* Align the branding with the top social row. */
body>.site-header:has(.header-social-links) .brand{align-self:start;margin-top:calc(-1 * (var(--social-header-height,44px) + 20px))}
body.social-header-compact>.site-header .brand,body.header-compact>.site-header .brand{margin-top:0}
@media(max-width:900px){body>.site-header:has(.header-social-links) .brand{margin-top:0}}
@media(min-width:1101px){body:not(.header-compact)>.site-header{grid-template-columns:max-content minmax(0,1fr) auto}body:not(.header-compact)>.site-header .brand{max-width:none}body:not(.header-compact)>.site-header .brand-copy strong{white-space:nowrap}}

.accent-lined-heading{display:flex;align-items:center;justify-content:center;gap:24px;text-align:center;margin:16px 0 32px}
.accent-lined-heading::before,.accent-lined-heading::after{content:"";height:2px;background:var(--accent);flex:1;min-width:12px}
.news-reveal-pending{opacity:0;transform:translateY(48px)}
.news-reveal-visible{animation:news-reveal .65s cubic-bezier(.2,.7,.2,1) both}
@keyframes news-reveal{from{opacity:0;transform:translateY(48px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.news-reveal-pending{opacity:1;transform:none}.news-reveal-visible{animation:none}}

/* Keep the content/footer boundary free of the inherited accent stripe. */
body>.site-footer{border-top:0}

/* Customizer layout controls, scoped to public theme areas. */
body>.site-header .brand .club-logo{width:var(--header-logo-size,100px);height:var(--header-logo-size,100px);max-width:var(--header-logo-size,100px);max-height:var(--header-logo-size,100px)}
body.header-compact>.site-header .brand .club-logo{width:var(--sticky-logo-size,64px);height:var(--sticky-logo-size,64px);max-width:var(--sticky-logo-size,64px);max-height:var(--sticky-logo-size,64px)}
body[data-header-sticky=false]>.site-header{position:relative;top:auto}
@media(max-width:650px){.social-links a[data-show-mobile=false]{display:none}}
.card.hero-card[data-card-hover] .card-copy{height:33.333%}
.card.hero-card[data-card-hover=card]:hover .card-copy,.card.hero-card[data-card-hover] .card-copy:focus-within,.card.hero-card[data-card-hover=caption] .card-copy:hover{height:var(--card-overlay-height,50%)}
.card.hero-card[data-card-hover=caption]:hover:not(:has(.card-copy:hover)):not(:has(.card-copy:focus-within)) .card-teaser,.card.hero-card[data-card-hover=caption]:hover:not(:has(.card-copy:hover)):not(:has(.card-copy:focus-within)) .card-read-more{opacity:0;visibility:hidden;pointer-events:none}
.card.hero-card[data-card-hover=caption] .card-copy:hover .card-teaser,.card.hero-card[data-card-hover=caption] .card-copy:hover .card-read-more{opacity:1;visibility:visible;pointer-events:auto}
.card.hero-card[data-card-link=card],.card.hero-card[data-card-link=caption] .card-copy{cursor:pointer}
.card.hero-card .card-read-more{position:relative;z-index:4}
.post-adjacent{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-block:32px}.post-related{margin-block:40px}.post-categories{margin-block:24px}
.sponsor-banner-track{grid-template-columns:repeat(var(--sponsor-count,4),minmax(0,1fr))}
@media(max-width:850px){.sponsor-banner-track{grid-template-columns:repeat(min(var(--sponsor-count,4),2),minmax(0,1fr))}}
@media(max-width:560px){.sponsor-banner-track{grid-template-columns:1fr}}
@media(hover:none){.card.hero-card[data-card-hover] .card-copy{height:var(--card-overlay-height,50%)}.card.hero-card[data-card-hover] .card-copy .card-teaser,.card.hero-card[data-card-hover] .card-copy .card-read-more{opacity:1;visibility:visible;pointer-events:auto}}
html[data-font-size]:not([data-font-size="100"]) .card.hero-card[data-card-hover] .card-copy{height:auto}
@media(max-width:650px){.social-links:not(:has(a[data-show-mobile=true])){display:none}}

.post-document[data-post-credit=false] .post-gallery .image-credit{display:none}

/* Featured news: progressive enhancement keeps every post available without scripts. */
.home-hero-page .featured-posts[data-news-slider]{display:block}
.news-slider-track{display:grid;grid-template-columns:repeat(var(--news-columns,2),minmax(0,1fr));gap:24px}
.news-slider-enhanced .news-slider-viewport{overflow:visible}
.news-slider-enhanced .news-slider-track{display:flex;gap:24px;will-change:transform}
.news-slider-enhanced .news-slider-track>.card.hero-card{flex:0 0 var(--news-card-width);width:var(--news-card-width);min-width:0;transform:none}
.news-slider-enhanced .news-slide-inactive{pointer-events:none}
.news-slider-enhanced .news-slide-inactive .card-copy{height:100%!important;background:color-mix(in srgb,var(--news-caption-bg) 78%,transparent)}
.news-slider-enhanced .card-copy>*{transition:opacity .3s ease}
.news-slider-enhanced .news-slide-inactive .card-copy>*{opacity:0;visibility:hidden;pointer-events:none}
.news-slider-enhanced .news-slide-inactive .gallery-controls,.news-slider-enhanced .news-slide-inactive .image-credit{visibility:hidden}
.news-slider-controls{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:16px}
.news-slider-controls[hidden]{display:none!important}
.news-slider-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px}
.news-slider-dot{display:grid;place-items:center;min-width:32px;width:32px;min-height:32px;height:32px;padding:0;border:0;background:transparent;color:var(--accent);border-radius:50%}
.news-slider-dot::before{content:'';width:9px;height:9px;border:1px solid currentColor;border-radius:50%;background:transparent;transition:background-color .2s,transform .2s}
.news-slider-dot[data-visible=true]::before{background:currentColor}.news-slider-dot[aria-current=true]::before{transform:scale(1.3)}
.news-slider-pause{display:grid;place-items:center;width:32px;min-width:32px;min-height:32px;height:32px;padding:0}
@media(prefers-reduced-motion:reduce){.news-slider-enhanced .card-copy>*,.news-slider-dot::before{transition:none}}

/* Single featured post follows the landscape layout; neighbours can reach the viewport edge. */
html:has(.home-hero-page){overflow-x:clip}
.news-slider-pause{display:flex;align-items:center;justify-content:center;line-height:1}
.news-slider-pause>span{display:flex;align-items:center;justify-content:center;line-height:1}
.news-slider-pause>span[hidden]{display:none!important}
.news-slider-pause svg{display:block;width:16px;height:16px;fill:currentColor}
@media(min-width:851px){
 .home-hero-page .featured-posts.news-slider-single{max-width:1400px;width:min(1400px,calc(100vw - 160px));position:relative;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}
 .news-slider-single .news-slider-track>.card.hero-card{display:grid;grid-template-columns:62% minmax(0,1fr);aspect-ratio:auto;height:var(--news-single-height,460px);min-height:0;background:var(--header-bg);color:var(--header-text);border-radius:12px;box-shadow:0 12px 28px #0002}
 .news-slider-single .card.hero-card>.card-image,.news-slider-single .card.hero-card>.post-gallery{position:relative;inset:auto;grid-column:1;height:100%;min-height:0;width:100%;z-index:0;aspect-ratio:auto}
 .news-slider-single .card.hero-card>.card-image img{aspect-ratio:auto;height:100%;object-fit:cover}
 .news-slider-single .card.hero-card[data-card-hover]>.card-copy{position:relative;inset:auto;grid-column:2;grid-row:1;display:flex;justify-content:center;gap:12px;height:100%;width:100%;padding:clamp(20px,3vw,40px);background:var(--header-bg);color:var(--header-text);overflow:hidden;transition:opacity .3s ease}
 .news-slider-single .card.hero-card .card-copy h2{order:1;margin:0;font-size:clamp(1.3rem,2.2vw,2.2rem);line-height:1.2;-webkit-line-clamp:3;color:inherit}
 .news-slider-single .card.hero-card .card-meta{order:2;white-space:normal;flex-wrap:wrap;gap:4px;color:inherit}
 .news-slider-single .card.hero-card .card-copy .card-teaser{order:3;flex:0 1 auto;opacity:1;visibility:visible;pointer-events:auto;line-height:1.5;-webkit-line-clamp:4;margin:0;color:inherit}
 .news-slider-single .card.hero-card .card-copy .card-read-more{order:4;align-self:flex-start;flex-shrink:0;opacity:1;visibility:visible;pointer-events:auto;min-height:40px;padding:6px 16px;border-radius:6px;background:var(--news-caption-bg);color:#fff;text-decoration:none;margin-top:4px}
 .news-slider-single .card.hero-card .card-copy h2 a,.news-slider-single .card.hero-card .card-copy p,.news-slider-single .card.hero-card .card-meta .post-byline{color:inherit}
 .news-slider-single .card.hero-card.news-slide-inactive>.card-image,.news-slider-single .card.hero-card.news-slide-inactive>.post-gallery{position:absolute;inset:0;width:100%;height:100%}
 .news-slider-single .card.hero-card.news-slide-inactive .card-copy>*{opacity:0;visibility:hidden;pointer-events:none}
 .news-slider-single .card.hero-card.news-slide-inactive>.card-copy{position:absolute;inset:0;grid-column:auto;width:100%;background:color-mix(in srgb,var(--news-caption-bg) 78%,transparent)}
 html[data-font-size]:not([data-font-size="100"]) .news-slider-single .news-slider-track>.card.hero-card{height:auto;min-height:var(--news-single-height,460px)}
 html[data-font-size]:not([data-font-size="100"]) .news-slider-single .card.hero-card .card-copy{overflow:visible}
}
.language-options{max-height:min(440px,60dvh);overflow-y:auto;overscroll-behavior:contain}
