/*
Theme Name: Celbridge Bobcats
Author: Celbridge Bobcats
Description: Custom youth baseball club theme. Requires Celbridge Bobcats Manager for sports data.
Version: 0.5.7
Text Domain: celbridge-bobcats
*/
:root{--navy:#07172b;--navy2:#102b43;--mint:#d1e7e5;--pale:#edf6f5;--ink:#0b2337;--muted:#58707e}*{box-sizing:border-box}body{margin:0;background:#f5f8fa;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.55}a{color:inherit}img{max-width:100%;height:auto}.cb-container{max-width:1200px;margin:auto;padding:0 24px}.site-header{background:var(--navy);color:#fff}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:.09em;font-size:20px}.brand img{width:68px;height:68px;object-fit:contain}.site-header nav ul{display:flex;flex-wrap:wrap;gap:22px;list-style:none;padding:0;margin:0}.site-header nav a{text-decoration:none;font-size:13px;font-weight:800;text-transform:uppercase}.site-header nav a:hover,.site-footer a:hover{color:var(--mint)}.cb-hero{background:linear-gradient(100deg,rgba(7,23,43,.95),rgba(7,23,43,.66)),url('assets/hero.jpg') center/cover;min-height:390px;display:flex;align-items:center;color:white}.cb-hero h1{font-size:clamp(48px,7vw,96px);letter-spacing:.04em;line-height:.95;margin:12px 0}.cb-hero p{font-size:20px}.cb-eyebrow{text-transform:uppercase;letter-spacing:.25em;color:var(--mint);font-weight:900}.cb-btn{display:inline-block;background:var(--mint);color:var(--navy);padding:13px 24px;border-radius:3px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:900;margin:10px 10px 0 0}.cb-btn-outline{border:1px solid var(--mint);background:transparent;color:#fff}.cb-section{padding:34px 0}.cb-section h2{font-size:clamp(26px,3.5vw,42px);line-height:1.1;margin:0 0 22px;text-transform:uppercase;letter-spacing:-.03em}.cb-dark{background:var(--navy2);color:white}.cb-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cb-team-card{background:var(--navy2);color:#fff;overflow:hidden;border-radius:5px;text-decoration:none}.cb-team-card img,.cb-image-placeholder{width:100%;height:210px;object-fit:cover}.cb-image-placeholder{display:grid;place-items:center;font-size:60px;background:#254157}.cb-card-text{padding:16px 20px}.cb-card-text h3{margin:0;text-transform:uppercase;font-size:24px}.cb-card-text p{margin:0;color:var(--mint)}.cb-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cb-match{background:var(--navy);color:white;padding:22px;border-radius:5px}.cb-kicker{color:var(--mint);font-size:12px;text-transform:uppercase;font-weight:800}.cb-match-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0;font-size:16px}.cb-match-line b{font-size:30px;color:var(--mint);white-space:nowrap}.cb-match small{color:#c4d6db}.cb-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cb-news-card{background:white;border:1px solid #e2eaed;border-radius:5px;overflow:hidden}.cb-news-card img{width:100%;height:170px;object-fit:cover}.cb-news-card-body{padding:18px}.cb-news-card h3{margin:0 0 8px}.cb-news-card a{text-decoration:none}.cb-sponsors{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.cb-sponsor{min-height:100px;background:white;display:grid;place-items:center;padding:18px;border:1px solid #e2eaed;text-align:center;font-weight:800}.cb-sponsor img{max-height:75px;width:auto;object-fit:contain}.cb-table-wrap{overflow-x:auto}.cb-table{width:100%;border-collapse:collapse;background:white}.cb-table th,.cb-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e4eaed}.cb-table th{background:var(--navy2);color:white}.cb-highlight{background:var(--pale);font-weight:800}.cb-main{min-height:55vh;padding:50px 0}.cb-content{max-width:850px}.cb-content h1{font-size:clamp(36px,5vw,64px);line-height:1.05}.site-footer{background:var(--navy);color:white;padding:35px 0}.site-footer a{color:var(--mint)}.cb-meta{color:var(--muted)}@media(max-width:850px){.header-inner{flex-direction:column;padding:14px 0}.site-header nav ul{justify-content:center;gap:12px}.cb-card-grid,.cb-news-grid{grid-template-columns:1fr 1fr}.cb-match-grid{grid-template-columns:1fr}}@media(max-width:560px){.cb-card-grid,.cb-news-grid{grid-template-columns:1fr}.cb-hero{min-height:320px}.cb-match-line{font-size:13px}.cb-container{padding:0 16px}}

/* Bobcats v0.2 visual system */
:root{--navy:#06172b;--navy2:#0c2942;--mint:#cfe7e5;--pale:#eff6f5}
body{background:#f5f7f8}.site-header{position:relative;z-index:5;background:#05182d}.header-inner{min-height:82px}.brand img{width:74px;height:74px;object-fit:contain}.brand{font-size:18px}.site-header nav ul{gap:19px}.site-header nav a{font-size:12px}.site-header nav a:focus-visible,.cb-btn:focus-visible,a:focus-visible{outline:3px solid #7de0d7;outline-offset:3px}.cb-skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#07172b;padding:10px;z-index:20}.cb-skip-link:focus{left:8px}
.cb-hero{min-height:460px;background:radial-gradient(circle at 70% 45%,#254b60 0%,#09253b 42%,#06172b 78%);position:relative;overflow:hidden}.cb-hero:before{content:"";position:absolute;inset:0;opacity:.13;background:repeating-linear-gradient(125deg,transparent 0 35px,#bfe2df 36px 37px,transparent 38px 90px)}.cb-hero-inner{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:460px;gap:20px}.cb-hero-copy{padding:50px 0}.cb-hero h1{font-size:clamp(54px,6vw,94px);letter-spacing:.02em;line-height:.98;margin:16px 0;color:var(--mint);font-weight:950}.cb-hero h1 span{display:block;font-size:.56em;letter-spacing:.12em;color:#fff}.cb-hero p{margin:12px 0 20px;font-size:20px}.cb-hero-values{display:flex;gap:26px;flex-wrap:wrap;color:var(--mint);font-weight:800;font-size:14px}.cb-hero-art{display:grid;place-items:center;position:relative;min-height:370px}.cb-hero-mascot{width:min(70%,320px);opacity:.87;filter:drop-shadow(0 16px 20px #00101d)}.cb-hero-mascot img{width:100%;height:auto}.cb-hero-slogan{position:absolute;bottom:20px;right:5px;font-size:25px;transform:rotate(-9deg);font-style:italic;font-weight:900;line-height:1.05;color:var(--mint);text-align:center}.cb-btn{border-radius:2px}.cb-section{padding:36px 0}.cb-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:17px}.cb-section-head h2,.cb-section-head h3{margin:0;text-transform:uppercase;font-size:clamp(26px,3vw,39px);line-height:1.15;font-weight:950;letter-spacing:-.035em}.cb-section-head h3{font-size:22px}.cb-section-head a{font-size:12px;font-weight:900;text-decoration:none;text-transform:uppercase;white-space:nowrap}.cb-section-head a:hover{text-decoration:underline}.cb-scores{background:#061c30;color:#fff;padding:22px 0}.cb-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cb-score-section{min-width:0}.cb-scores .cb-section-head h2{font-size:27px}.cb-scores .cb-section-head a{color:var(--mint)}.cb-scores .cb-match-grid{display:block}.cb-match{background:#0d2a42;border:1px solid #37556a;border-radius:3px;min-height:190px;padding:17px}.cb-match-top,.cb-match-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.cb-match-bottom{font-size:12px;color:#c4d8de}.cb-match-status{font-size:11px;color:var(--mint);text-transform:uppercase;font-weight:800}.cb-match-line{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin:15px 0}.cb-match-club{display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;font-size:13px;line-height:1.2;text-transform:uppercase}.cb-match-club strong{max-width:150px}.cb-club-logo{width:58px;height:58px;object-fit:contain}.cb-logo-fallback{display:grid;place-items:center;width:58px;height:58px;border:1px solid #7797a5;border-radius:50%;font-weight:900;color:var(--mint)}.cb-match-line b{font-size:30px}.cb-vs{font-size:20px}.cb-card-grid{gap:18px}.cb-team-card{position:relative;min-height:235px;display:flex;align-items:flex-end;background:linear-gradient(145deg,#24465b,#071a2e);border-radius:4px}.cb-team-card img,.cb-team-card .cb-image-placeholder{position:absolute;inset:0;height:100%;object-fit:cover}.cb-team-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(0,14,30,.95))}.cb-team-card .cb-card-text{position:relative;z-index:1;width:100%;padding:20px}.cb-team-card .cb-card-text h3{font-size:25px}.cb-team-card:hover{transform:translateY(-3px)}.cb-standings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.cb-standings-card{min-width:0;background:#fff;border:1px solid #e1e9eb;padding:14px;border-radius:4px}.cb-standings-card .cb-table th,.cb-standings-card .cb-table td{font-size:11px;padding:7px 5px}.cb-standings-card .cb-table th{background:#eaf1f3;color:#183047}.cb-standings-card .cb-section-head{margin-bottom:10px}.cb-tables{padding-top:0}.cb-news-card{box-shadow:0 4px 12px rgba(0,20,40,.04)}.cb-news-placeholder{height:170px;display:grid;place-items:center;background:#d5e6e7;font-size:52px}.cb-sponsor-section{background:#edf2f4}.cb-get-involved{background:#06182c;color:#fff;padding:28px 0}.cb-involved-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.cb-involved-inner h2{font-size:30px;text-transform:uppercase;font-style:italic}.cb-involved-inner div{display:flex;flex-direction:column;gap:4px}.cb-involved-inner strong{text-transform:uppercase}.cb-involved-inner small{color:#bcd1d7}
@media(max-width:950px){.cb-standings-grid{grid-template-columns:1fr 1fr}.cb-hero-inner{grid-template-columns:1fr .65fr}.cb-hero h1{font-size:60px}}@media(max-width:700px){.cb-score-grid,.cb-hero-inner{grid-template-columns:1fr}.cb-hero-art{display:none}.cb-hero-inner,.cb-hero{min-height:350px}.cb-hero-copy{padding:36px 0}.cb-standings-grid{grid-template-columns:1fr}.cb-section-head{align-items:flex-start}.cb-section-head a{white-space:normal;text-align:right}.cb-hero h1{font-size:clamp(48px,12vw,70px)}}

/* Version 0.3: responsive, logo-safe scoreboards and team photography */
.cb-score-grid{align-items:start}.cb-match{min-width:0;overflow:hidden}.cb-match-line{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px}
.cb-match-club{min-width:0;gap:6px}.cb-match-club strong{max-width:100%;overflow-wrap:anywhere;font-size:13px}.cb-match-club small{font-size:11px;color:var(--mint);font-weight:700}
.cb-logo-box{width:100%;height:90px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:6px}
.cb-logo-box img.cb-club-logo{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:center}
.cb-logo-box .cb-logo-fallback{flex-shrink:0}.cb-match-bottom{border-top:1px solid #31516a;padding-top:12px;flex-wrap:wrap;gap:10px}
.cb-home-tag{background:#d1e7e5;color:#07172b;padding:4px 9px;border-radius:2px;font-size:10px;font-weight:900;letter-spacing:.04em}
.cb-venue-link{color:var(--mint);text-decoration:underline;text-underline-offset:3px}.cb-venue-link:hover{color:white}
.cb-team-card{min-height:270px}.cb-team-card img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.cb-team-card:focus-visible,.cb-venue-link:focus-visible{outline:3px solid var(--mint);outline-offset:3px}
@media(max-width:900px){.cb-score-grid{grid-template-columns:1fr}.cb-logo-box{height:80px}}
@media(max-width:560px){.cb-match{padding:14px}.cb-match-line{gap:7px}.cb-logo-box{height:70px}.cb-match-club strong{font-size:11px}.cb-match-line b{font-size:22px}.cb-hero-inner{grid-template-columns:1fr}.cb-hero-art{display:none}.cb-standings-grid{grid-template-columns:1fr}}

/* v0.4: team progression, accessible linked cards, team detail and photo-led hero */
.cb-team-card{transition:transform .18s ease,box-shadow .18s ease;min-height:290px}
.cb-team-card:hover{box-shadow:0 14px 30px rgba(0,24,43,.18)}
.cb-team-card .cb-card-text{padding:22px}.cb-team-card .cb-card-text p{margin-top:4px}
.cb-team-detail{padding:36px 0 60px}.cb-team-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;margin-bottom:30px}
.cb-team-intro h1{margin:8px 0 14px;text-transform:uppercase;font-size:clamp(40px,5vw,70px);line-height:1}
.cb-team-photo{width:100%;height:310px;object-fit:cover;border-radius:5px}.cb-team-description{line-height:1.7}
.cb-team-section{margin-top:34px}.cb-team-section h2{font-size:clamp(25px,3vw,36px);text-transform:uppercase;margin:0 0 16px}
.cb-season-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.cb-season-form select{padding:10px;border:1px solid #9fb2bd;border-radius:3px;background:#fff}
.cb-hero-photo{width:min(100%,480px);height:320px;object-fit:cover;border-radius:5px;box-shadow:0 20px 35px rgba(0,0,0,.3)}
.cb-team-card:focus-visible{outline:3px solid #78e2d6;outline-offset:4px}
@media(max-width:700px){.cb-team-intro{grid-template-columns:1fr}.cb-team-photo{height:230px}}

/* v0.4.1: provide a light neutral plate for dark/green opposition branding. */
.cb-opponent-logo-box{background:#f6faf9;border-radius:8px;padding:10px 12px;box-sizing:border-box}
.cb-opponent-logo-box img.cb-club-logo{max-width:100%;max-height:100%;object-fit:contain}

/* v0.4.2: full-size photo-led hero, without affecting team card photographs */
.cb-hero{min-height:560px;background:radial-gradient(circle at 82% 28%,#23495c 0%,#102b43 42%,#06172b 85%)}
.cb-hero-inner{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);min-height:560px;gap:clamp(20px,4vw,60px)}
.cb-hero-copy{padding:65px 0;position:relative;z-index:2}
.cb-hero h1{font-size:clamp(52px,6.4vw,94px)}
.cb-hero-art{min-height:450px;height:100%;display:flex;align-items:center;justify-content:center;overflow:visible}
.cb-hero-art .cb-hero-photo{width:100%;max-width:none;height:440px;object-fit:cover;object-position:center;border-radius:14px;box-shadow:0 24px 55px rgba(0,0,0,.42);border:1px solid rgba(209,231,229,.24)}
.cb-hero-placeholder{padding:45px;background:#18384b;color:#d1e7e5;border-radius:14px}
@media(max-width:900px){.cb-hero-inner{grid-template-columns:1fr 1fr}.cb-hero-art .cb-hero-photo{height:390px}}
@media(max-width:700px){.cb-hero-inner{grid-template-columns:1fr;gap:0;padding-bottom:28px}.cb-hero-copy{padding:40px 0 24px}.cb-hero-art{display:flex;min-height:0}.cb-hero-art .cb-hero-photo{height:auto;max-height:370px;aspect-ratio:16/10;object-fit:cover}.cb-hero{min-height:0}}

/* v0.4.3 footer and partner presentation */
.site-footer{padding:52px 0 20px;background:#06182c;color:#fff}
.cb-footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1.1fr;gap:42px}
.cb-footer-grid h2{font-size:22px;line-height:1.2;letter-spacing:.06em;margin:0 0 16px}
.cb-footer-grid h3{font-size:15px;text-transform:uppercase;letter-spacing:.08em;color:var(--mint);margin:0 0 15px}
.cb-footer-grid p{margin:0 0 12px;color:#d3e2e7}
.cb-footer-grid address{font-style:normal;line-height:1.7;margin-bottom:14px;color:#d3e2e7}
.cb-footer-links{list-style:none;margin:0;padding:0;display:grid;gap:13px;overflow-wrap:anywhere}
.cb-footer-links a,.cb-footer-grid a{color:#d5f0ec;text-decoration:none}
.cb-footer-links a:hover,.cb-footer-grid a:hover{text-decoration:underline}
.cb-footer-bottom{margin-top:34px;padding-top:18px;border-top:1px solid #365166;color:#bfd1d8}
.cb-sponsor img{max-width:100%;max-height:105px;width:auto;height:auto;object-fit:contain}
.cb-sponsor{min-height:140px}
@media(max-width:850px){.cb-footer-grid{grid-template-columns:1fr 1fr;gap:30px}.cb-footer-about{grid-column:1/-1}}
@media(max-width:560px){.cb-footer-grid{grid-template-columns:1fr;gap:28px}.cb-footer-about{grid-column:auto}.site-footer{padding-top:38px}}

/* v0.4.4 — streamlined responsive club header */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(5,24,45,.97);border-bottom:1px solid rgba(209,231,229,.13);box-shadow:0 8px 28px rgba(1,12,24,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.admin-bar .site-header{top:32px}
.site-header .header-inner{min-height:80px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:30px;padding-top:0;padding-bottom:0}
.site-header .brand{display:inline-flex;align-items:center;justify-content:flex-start;flex:0 0 auto;gap:0;line-height:1;text-decoration:none}
.site-header .brand img,.site-header .brand .cb-header-logo{display:block;width:72px;height:72px;object-fit:contain}
.cb-brand-fallback{font-size:17px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.site-header .cb-primary-nav{margin-left:auto}
.site-header .cb-primary-nav ul{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(12px,1.6vw,25px);list-style:none;margin:0;padding:0}
.site-header .cb-primary-nav li{margin:0;position:relative}
.site-header .cb-primary-nav a{position:relative;display:inline-flex;align-items:center;min-height:48px;white-space:nowrap;color:#f2f8fa;font-size:11px;font-weight:800;letter-spacing:.035em;text-decoration:none;text-transform:uppercase;transition:color .2s ease}
.site-header .cb-primary-nav a:after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:#a9e3d9;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.site-header .cb-primary-nav a:hover,.site-header .cb-primary-nav a:focus-visible,.site-header .cb-primary-nav .current-menu-item>a,.site-header .cb-primary-nav .current_page_item>a,.site-header .cb-primary-nav .current-menu-ancestor>a{color:#c8f0e9}
.site-header .cb-primary-nav a:hover:after,.site-header .cb-primary-nav a:focus-visible:after,.site-header .cb-primary-nav .current-menu-item>a:after,.site-header .cb-primary-nav .current_page_item>a:after,.site-header .cb-primary-nav .current-menu-ancestor>a:after{transform:scaleX(1)}
.cb-menu-toggle{display:none;border:1px solid rgba(209,231,229,.25);border-radius:8px;background:rgba(255,255,255,.05);color:white;align-items:center;gap:10px;padding:12px;cursor:pointer;font:800 12px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em}
.cb-menu-toggle-lines{width:22px;display:grid;gap:4px}.cb-menu-toggle-lines span{height:2px;width:100%;display:block;background:currentColor;border-radius:2px}
.cb-menu-toggle:focus-visible{outline:3px solid #7de0d7;outline-offset:3px}
@media(max-width:1100px){.site-header .header-inner{min-height:76px}.site-header .brand img,.site-header .brand .cb-header-logo{width:66px;height:66px}.site-header .cb-primary-nav ul{gap:12px}.site-header .cb-primary-nav a{font-size:10px}}
@media(max-width:980px){.site-header .header-inner{position:relative;min-height:76px}.cb-menu-toggle{display:inline-flex;margin-left:auto}.site-header .cb-primary-nav{display:none;position:absolute;top:100%;left:16px;right:16px;margin:0;background:#071d32;border:1px solid rgba(209,231,229,.2);border-radius:0 0 12px 12px;box-shadow:0 20px 32px rgba(0,0,0,.25);max-height:calc(100vh - 95px);overflow-y:auto}.site-header .cb-primary-nav.is-open{display:block}.site-header .cb-primary-nav ul{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 14px}.site-header .cb-primary-nav li+li{border-top:1px solid rgba(209,231,229,.1)}.site-header .cb-primary-nav a{width:100%;min-height:48px;font-size:12px;padding:10px 8px}.site-header .cb-primary-nav a:after{bottom:5px;right:auto;width:36px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:600px){.admin-bar .site-header{top:0}.site-header .header-inner{min-height:70px}.site-header .brand img,.site-header .brand .cb-header-logo{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.site-header .cb-primary-nav a,.site-header .cb-primary-nav a:after{transition:none}}

/* v0.4.5: official league standings and historic match results */
.cb-standings-table{min-width:790px;font-variant-numeric:tabular-nums}
.cb-standings-table th,.cb-standings-table td{white-space:nowrap;text-align:center}
.cb-standings-table th:nth-child(2),.cb-standings-table td:nth-child(2){text-align:left;min-width:175px}
.cb-standings-table .cb-highlight{background:#d1e7e5;color:#09253b}
.cb-league-results{display:grid;gap:10px}
.cb-league-result{background:#fff;border:1px solid #dce6e9;border-left:4px solid #b7dcd9;border-radius:4px;padding:13px 16px}
.cb-league-result time{display:block;color:#58707e;font-size:12px;font-weight:800;text-transform:uppercase;margin-bottom:7px}
.cb-league-result-match{display:grid;grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);gap:10px;align-items:center}
.cb-league-result-match span:first-child{text-align:right}
.cb-league-result-match strong{text-align:center;background:#09253b;color:#d1e7e5;padding:7px;border-radius:3px;white-space:nowrap}
.cb-league-result small{display:block;margin-top:7px;color:#58707e;text-align:center}
@media(max-width:560px){.cb-league-result-match{font-size:12px;grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);gap:6px}}

/* v0.4.6 — larger club mark and responsive official league tables */
.site-header .header-inner{min-height:100px}
.site-header .brand img,.site-header .brand .cb-header-logo{width:90px;height:90px}
.cb-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.cb-table-wrap:focus-visible{outline:3px solid #7de0d7;outline-offset:3px}
.cb-standings-table{min-width:880px}
.cb-standings-table th:nth-child(2),.cb-standings-table td:nth-child(2){min-width:230px}
.cb-standing-team{display:flex;align-items:center;gap:12px;text-align:left}
.cb-standing-team .cb-standings-logo{width:38px;height:38px;flex:0 0 38px;object-fit:contain;border-radius:3px}
.cb-league-filters{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}
.cb-league-tabs{display:flex;flex-wrap:wrap;gap:8px}
.cb-league-tabs a{display:inline-block;padding:10px 16px;background:#e4ecef;border-radius:5px;color:#09253b;text-decoration:none;font-weight:800}
.cb-league-tabs a[aria-current="page"]{background:#09253b;color:#d1e7e5}
.cb-season-select{display:flex;gap:10px;align-items:center;font-weight:800}
.cb-season-select select{padding:10px;border:1px solid #a5bac4;border-radius:5px;font:inherit}
.cb-league-hint{font-size:13px;color:#58707e}
@media(max-width:1100px){.site-header .header-inner{min-height:88px}.site-header .brand img,.site-header .brand .cb-header-logo{width:78px;height:78px}}
@media(max-width:600px){.site-header .header-inner{min-height:78px}.site-header .brand img,.site-header .brand .cb-header-logo{width:70px;height:70px}}

/* v0.4.9 fixtures and historical league results */
.cb-results-division{scroll-margin-top:120px;margin-top:26px}
.cb-results-division h3{margin:0 0 18px}
.cb-results-division + .cb-results-division{margin-top:45px;padding-top:28px;border-top:1px solid #d6e1e6}

/* v0.5.0 contact and news pages */
.cb-inner-hero{background:linear-gradient(115deg,#07172b,#153b50);color:#fff;padding:65px 0 70px}
.cb-inner-hero h1{font-size:clamp(38px,5vw,65px);line-height:1.05;letter-spacing:-.04em;margin:8px 0 16px}
.cb-inner-hero p:last-child{font-size:18px;max-width:670px;margin:0;color:#d9e9ed}
.cb-kicker{color:#b8e4df;text-transform:uppercase;letter-spacing:.2em;font-weight:900;font-size:12px;margin:0}
.cb-contact-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);gap:28px;padding-top:46px;padding-bottom:70px;align-items:start}
.cb-contact-primary{display:grid;gap:24px}
.cb-contact-panel,.cb-contact-map-panel{background:#fff;border:1px solid #e0e9ec;border-radius:10px;box-shadow:0 8px 28px rgba(7,23,43,.05);padding:30px}
.cb-contact-panel h2,.cb-contact-map-panel h2{font-size:clamp(23px,2.6vw,30px);line-height:1.15;margin:0 0 14px}
.cb-contact-panel>p{color:#536a78}
.cb-contact-method{display:flex;align-items:center;gap:16px;padding:17px 0;border-top:1px solid #e4ecef}
.cb-contact-method strong,.cb-contact-method a{display:block}
.cb-contact-method strong{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#58707e}
.cb-contact-method a{font-weight:750;text-decoration:none;overflow-wrap:anywhere}
.cb-contact-method a:hover,.cb-directions-link:hover,.cb-news-card a:hover{color:#237a77;text-decoration:underline}
.cb-contact-icon{background:#e0f1ef;color:#0b3547;display:grid;place-items:center;border-radius:10px;width:46px;height:46px;flex:none;font-weight:900;font-size:23px}
.cb-training-panel{background:#0d2c42;color:#fff}
.cb-training-panel p,.cb-training-panel>p{color:#e3eff2}
.cb-training-panel .cb-contact-note{font-size:13px;color:#bed4dc}
.cb-map-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.cb-map-heading .cb-kicker{color:#267b76}
.cb-directions-link{font-weight:850;text-decoration:none;white-space:nowrap}
.cb-contact-map{display:block;width:100%;height:485px;border:0;border-radius:8px;background:#e4ecef}
.cb-map-note{color:#58707e;font-size:13px;margin:16px 0 0}
.cb-news-content{padding-top:46px;padding-bottom:70px}
.cb-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.cb-news-card{overflow:hidden;border:1px solid #e0e9ec;border-radius:9px;background:#fff;box-shadow:0 8px 28px rgba(7,23,43,.04)}
.cb-news-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#0d2c42}
.cb-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.cb-news-card:hover .cb-news-image img{transform:scale(1.035)}
.cb-news-image-placeholder{height:100%;display:grid;place-content:center;text-align:center;font-weight:900;letter-spacing:.14em;color:#d1e7e5}
.cb-news-card-body{padding:24px}
.cb-news-card-body time{font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#58707e}
.cb-news-card-body h2{font-size:23px;line-height:1.2;margin:10px 0 13px}
.cb-news-card-body h2 a{text-decoration:none}
.cb-news-card-body p{color:#58707e;margin:0 0 22px}
.cb-news-read{font-weight:850;text-decoration:none}
.cb-news-pagination ul{display:flex;justify-content:center;gap:8px;list-style:none;padding:0;margin:35px 0 0}
.cb-news-pagination a,.cb-news-pagination span{display:inline-block;padding:9px 14px;background:#fff;border:1px solid #d9e5e8;border-radius:5px;text-decoration:none}
.cb-news-pagination .current{background:#0d2c42;color:#fff}
.cb-news-empty{background:#fff;border-radius:10px;padding:45px;text-align:center}
@media(max-width:950px){.cb-contact-layout{grid-template-columns:1fr}.cb-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cb-contact-map{height:380px}}
@media(max-width:620px){.cb-inner-hero{padding:44px 0 50px}.cb-contact-layout{padding-top:25px}.cb-contact-panel,.cb-contact-map-panel{padding:22px}.cb-news-grid{grid-template-columns:1fr}.cb-news-content{padding-top:25px}}

/* v0.5.1 — Club and Teams editorial pages */
.cb-story-page .cb-inner-hero{padding:70px 0;background:radial-gradient(circle at 75% 35%,#1c465a,#07172b 75%);overflow:hidden}
.cb-story-page .cb-inner-hero h1{font-size:clamp(50px,6vw,88px);letter-spacing:-.055em;line-height:1.01;margin:18px 0 22px;color:#fff}
.cb-story-page .cb-inner-hero h1 em{font-style:normal;color:#d1e7e5}
.cb-story-page .cb-inner-hero p:not(.cb-kicker){font-size:19px;color:#d9e9ed;max-width:580px}
.cb-story-hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}
.cb-story-hero-photo{height:370px;border-radius:12px;overflow:hidden;box-shadow:0 20px 55px #0005;background:#16344a}
.cb-story-hero-photo img{width:100%;height:100%;object-fit:cover}
.cb-story-photo-fallback{display:grid;place-items:center;height:100%;color:#d1e7e5;font-size:22px;font-weight:900;letter-spacing:.1em}
.cb-story-stats{background:#dceceb}
.cb-story-stats-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-top:26px;padding-bottom:26px}
.cb-story-stats-inner>div{display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid #b4cfce}
.cb-story-stats-inner>div:last-child{border-right:0}
.cb-story-stats strong{font-size:clamp(26px,3vw,42px);line-height:1.15;color:#0d2c42}
.cb-story-stats span{font-size:13px;font-weight:750;color:#42606c}
.cb-story-about{padding:75px 0}
.cb-story-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:70px}
.cb-section-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:900;color:#347a78;text-transform:uppercase}
.cb-story-columns h2,.cb-story-steps h2,.cb-story-cta h2{font-size:clamp(32px,4vw,54px);line-height:1.1;letter-spacing:-.045em;text-transform:none;margin:10px 0 22px}
.cb-story-columns p{font-size:16px;line-height:1.75;color:#3c5667}
.cb-story-columns .cb-story-lead{font-size:19px;color:#0d2c42;font-weight:600}
.cb-story-values{background:#fff;padding:30px;border:1px solid #dce8ea;border-radius:12px}
.cb-story-values h3{font-size:24px;margin:0 0 16px}
.cb-story-values>div{display:flex;gap:18px;padding:18px 0;border-top:1px solid #e4ecef}
.cb-story-values>div>span{font-size:24px;font-weight:900;color:#35847f}
.cb-story-values strong{font-size:18px}
.cb-story-values p{margin:5px 0 0;font-size:14px}
.cb-story-teams{padding:65px 0;background:#e9f1f3}
.cb-story-cta{background:#0c2a40;color:#fff;padding:50px 0}
.cb-story-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}
.cb-story-cta h2{color:#fff;margin:8px 0 12px}
.cb-story-cta p:not(.cb-section-eyebrow){color:#d3e6e8;max-width:660px;margin:0}
.cb-story-cta .cb-btn{flex-shrink:0}
.cb-original-content{padding:35px 0}
.cb-original-content details{background:#fff;border:1px solid #dce8ea;border-radius:9px;padding:18px 24px}
.cb-original-content summary{font-weight:850;cursor:pointer}
.cb-original-content-inner{max-width:880px;margin-top:18px;line-height:1.8}
.cb-teams-hero{position:relative}
.cb-team-explore{padding:70px 0}
.cb-team-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.cb-team-info-grid article{background:#fff;border:1px solid #dce8ea;border-radius:9px;padding:26px;display:flex;flex-direction:column}
.cb-team-info-grid h3{font-size:25px;margin:8px 0 10px}
.cb-team-info-grid p{line-height:1.7;color:#486273;flex:1;margin:0 0 20px}
.cb-team-info-grid a{font-size:13px;font-weight:900;text-decoration:none}
.cb-age-tag{color:#297d77;font-size:12px;font-weight:900;letter-spacing:.12em}
.cb-story-steps{padding:70px 0;background:#e6f0f0}
.cb-story-steps>.cb-container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.cb-story-steps p:not(.cb-section-eyebrow){color:#486273;line-height:1.75}
.cb-steps-list{background:#fff;padding:16px 28px;border-radius:10px}
.cb-steps-list>div{display:flex;align-items:center;gap:20px;border-bottom:1px solid #e1eaec;padding:20px 0;font-weight:800}
.cb-steps-list>div:last-child{border-bottom:0}
.cb-steps-list strong{color:#297d77;font-size:26px}
@media(max-width:850px){.cb-story-hero-inner,.cb-story-columns,.cb-story-steps>.cb-container{grid-template-columns:1fr;gap:25px}.cb-story-hero-photo{height:290px}.cb-story-stats-inner{grid-template-columns:repeat(2,1fr)}.cb-story-stats-inner>div:nth-child(2){border-right:0}.cb-story-stats-inner>div{padding:10px 0}.cb-team-info-grid{grid-template-columns:1fr}.cb-story-cta-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.cb-story-page .cb-inner-hero{padding:44px 0}.cb-story-hero-photo{height:220px}.cb-story-about,.cb-story-teams,.cb-team-explore,.cb-story-steps{padding:42px 0}}

/* v0.5.2 transparent header logo, slightly taller to preserve the full wordmark */
.site-header .brand .cb-header-logo{width:90px;height:99px;object-fit:contain}
@media(max-width:1100px){.site-header .brand .cb-header-logo{width:78px;height:86px}}
@media(max-width:600px){.site-header .brand .cb-header-logo{width:70px;height:77px}}

/* v0.5.4 consistent inside-page hero design */
.cb-unified-hero.cb-inner-hero{padding:65px 0}
.cb-unified-hero .cb-story-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px}
.cb-unified-hero .cb-unified-hero-copy h1{font-size:clamp(46px,5.8vw,78px);line-height:1.05;letter-spacing:-.055em;max-width:660px;margin:18px 0 24px;color:#fff}
.cb-unified-hero .cb-unified-hero-copy>p:not(.cb-kicker){font-size:19px;line-height:1.5;max-width:560px;color:#d8e9ed}
.cb-unified-hero .cb-story-hero-photo{height:370px;min-width:0}
.cb-unified-hero .cb-story-hero-photo img{width:100%;height:100%;object-fit:cover}
.cb-unified-hero .cb-btn{display:inline-block;margin-top:14px}
.cb-standings-content,.cb-fixtures-content{padding-top:46px;padding-bottom:70px}
@media(max-width:850px){.cb-unified-hero .cb-story-hero-inner{grid-template-columns:1fr;gap:30px}.cb-unified-hero .cb-story-hero-photo{height:300px}}
@media(max-width:560px){.cb-unified-hero.cb-inner-hero{padding:42px 0}.cb-unified-hero .cb-story-hero-photo{height:225px}.cb-standings-content,.cb-fixtures-content{padding-top:28px;padding-bottom:45px}}

/* v0.5.5: flush internal heroes, avoid clipped header crest */
.cb-main.cb-contact-page,.cb-main.cb-news-page,.cb-main.cb-standings-page,.cb-main.cb-fixtures-page{padding-top:0;padding-bottom:0}
.site-header .header-inner{min-height:112px}
.site-header .brand{align-self:center;min-height:112px;display:flex;align-items:center}
.site-header .brand .cb-header-logo{width:90px;height:96px;object-fit:contain;display:block}
@media(max-width:1100px){.site-header .header-inner,.site-header .brand{min-height:98px}.site-header .brand .cb-header-logo{width:78px;height:86px}}
@media(max-width:600px){.site-header .header-inner,.site-header .brand{min-height:88px}.site-header .brand .cb-header-logo{width:70px;height:77px}}

.cb-demo-notice{background:#fff7df;border-left:4px solid #cf8b20;padding:13px 17px;margin:18px 0 22px;border-radius:4px;font-size:15px;color:#513b13}

/* v0.5.7: compact four-row homepage standings */
.cb-standings-card{display:flex;flex-direction:column}
.cb-home-table-wrap{width:100%;flex:1}
.cb-home-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.cb-home-table thead{background:#e6eef1}
.cb-home-table th,.cb-home-table td{padding:12px 7px;border-bottom:1px solid #dce5e9;vertical-align:middle}
.cb-home-table thead th{text-align:left;font-size:11px}
.cb-home-table th:first-child,.cb-home-table td:first-child{width:36px;text-align:center}
.cb-home-table th:nth-child(2){width:auto}
.cb-home-table th:nth-child(3),.cb-home-table th:nth-child(4),.cb-home-table td:nth-child(3),.cb-home-table td:nth-child(4){width:40px;text-align:center;font-variant-numeric:tabular-nums}
.cb-home-table tbody th{font-weight:750;line-height:1.3;overflow-wrap:break-word}
.cb-home-table tbody tr.cb-highlight{background:#d3e9e7}
.cb-home-table-link{display:block;margin-top:auto;padding:17px 8px 5px;text-decoration:none;font-size:13px;font-weight:900;color:#0b3144}
.cb-home-table-link:hover{text-decoration:underline}
