/* Club identities reuse the Bee OS layout; only brand colours change. */
.subsite-theme .nav button.active{box-shadow:inset 3px 0 var(--accent);border-color:color-mix(in srgb,var(--brand) 65%,white)}
.subsite-theme .home-community{--home-navy:var(--brand);--home-line:color-mix(in srgb,var(--brand) 16%,white)}
.subsite-theme .home-title-dot,.subsite-theme .home-post-button{background:var(--accent);color:var(--accent-on)}
.subsite-theme .home-celebration{background:radial-gradient(circle at 90% 20%,color-mix(in srgb,var(--brand) 65%,white) 0,transparent 50%),var(--brand);color:var(--brand-on)}
.subsite-theme .home-celebration>span,.subsite-theme .home-celebration>i{color:color-mix(in srgb,var(--accent) 20%,white)}
.subsite-theme .home-group-icon,.subsite-theme .home-action-group button strong,.subsite-theme .home-heart,.subsite-theme .home-heart.liked,.subsite-theme .home-article-link{color:var(--brand)}
.subsite-theme .home-post{border-left-color:color-mix(in srgb,var(--brand) 30%,white)}
.subsite-theme .home-work-row{color:var(--brand)}
.subsite-theme .home-action-group button[aria-expanded=true]{background:color-mix(in srgb,var(--brand) 7%,white)}
.subsite-theme .home-community button:focus-visible{outline-color:var(--brand)}
.subsite-theme .pw-workspace{--pw-navy:var(--brand);--pw-gold:var(--accent)}
.subsite-theme .schedule-21,.subsite-theme .sc-dialog{--sc-ink:var(--brand)}
.subsite-theme .home-actions,.subsite-theme .home-feed,.subsite-theme .home-leaderboards{border-top-color:var(--brand)}
.subsite-theme .pw-tab.active,.subsite-theme .sc-tabs button.active{color:var(--brand);border-color:var(--brand)}
/* Branded headers retain session/status colours elsewhere. */
.subsite-theme .pw-hero{background:linear-gradient(115deg,var(--brand),color-mix(in srgb,var(--brand) 78%,white));color:var(--brand-on)}
.subsite-theme .pw-hero small,.subsite-theme .pw-contact{color:color-mix(in srgb,var(--brand-on) 88%,var(--brand))}
.subsite-theme .pw-workspace button:focus-visible{outline-color:var(--brand)}
.subsite-theme .pw-view-buttons [aria-pressed=true],.subsite-theme .pw-day.today>b{background:var(--brand);color:var(--brand-on)}
.subsite-theme .bee-topic-boxes button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:var(--brand-on)}
.subsite-theme .bee-post-read,.subsite-theme .pw-workspace a{color:var(--brand)}
.subsite-theme .bee-post-grid>article:first-child{border-top-color:var(--accent)!important}
.subsite-theme .sidebar .wordmark{background:transparent!important}
.subsite-theme[data-club-brand="episcopal-squash-club"] .sidebar .academy-logo,.subsite-theme[data-club-brand="episcopal-squash-club"] .sidebar .wordmark img{content:url('/clubs/episcopal-squash-club/logo-navigation.svg')}
.subsite-theme .topbar{background:var(--brand);color:var(--brand-on)}
.subsite-theme[data-club-brand="episcopal-squash-club"] .topbar .logo-header,.subsite-theme[data-club-brand="episcopal-squash-club"] .topbar-brand img{content:url('/clubs/episcopal-squash-club/logo-navigation.svg')}

.subsite-theme .sidebar .academy-logo{content:var(--club-logo-on-brand);width:100%;max-width:220px;max-height:82px;height:auto;image-rendering:auto}.subsite-theme .sidebar .wordmark{padding-left:0;padding-right:0}.subsite-theme[data-club-brand="wakefield-squash-club"] .sidebar .academy-logo{content:url('/clubs/wakefield-squash-club/logo-sidebar.svg')}

.subsite-theme[data-club-brand="episcopal-squash-club"] .sidebar .academy-logo{width:100%;height:auto;max-height:none;object-fit:contain;padding:8px 0;box-sizing:border-box}
