/* Scoped additions to the existing WordPress Beach Games template. */
.bge-preview .bg-page{overflow:visible;position:relative;--bge-line:#d7e0e4;--bge-paper:#f3f7f7}
.bge-preview .bg-language{position:absolute;top:45px}
.bge-preview .bg-hero{min-height:650px;background-position:center 65%}
.bge-preview .bg-hero__inner{min-height:650px;padding:42px 0 56px;display:flex;flex-direction:column;justify-content:flex-end}
.bge-preview .bg-hero__logo{width:290px;position:absolute;right:0;top:40px;margin:0}
.bge-preview .bg-hero__details{max-width:790px;margin:0}
.bge-preview .bg-hero h1{font-size:clamp(40px,5.2vw,68px);max-width:620px;line-height:1.2;margin-bottom:24px}
.bge-preview .bg-hero__date{font-size:20px;max-width:650px}
.bge-preview .bg-hero__shade{background:linear-gradient(90deg,rgba(8,30,47,.65),rgba(8,30,47,.04) 90%),linear-gradient(0deg,rgba(8,30,47,.45),transparent 65%)}
.bge-preview .bg-btn{border-radius:0;box-shadow:none;gap:28px;min-height:54px}
.bge-preview .bg-quick{margin:0;border-bottom:1px solid var(--bge-line)}
.bge-preview .bg-quick__grid{border-radius:0;box-shadow:none}
.bge-preview .bg-quick__grid>div{align-items:flex-start;padding:26px 32px}
.bge-preview .bg-quick__grid>div:first-child{padding-left:0}
.bge-preview .bg-quick strong{font-size:40px;line-height:1.1;color:var(--navy);font-weight:900}
.bge-preview .bg-quick small{font-size:12px;letter-spacing:.12em;margin-left:8px}
.bge-preview .bg-quick span{font-size:12px}
.bge-preview .bg-local-nav{margin:0;top:75px;background:white;backdrop-filter:none;display:block}
.bge-preview .bg-local-nav .bg-container{gap:30px;justify-content:flex-start;scrollbar-width:thin}
.bge-preview .bg-local-nav a{font-size:13px;padding:21px 0}
.bge-preview .bg-section{scroll-margin-top:160px;padding:80px 0}
.bge-preview .bg-heading{text-align:left;margin-left:0}
.bge-preview .bg-story__image,.bge-preview .bg-map,.bge-preview .bg-programs article,.bge-preview .bg-detail-grid>div,.bge-preview .bg-fees>div,.bge-preview .bg-notice,.bge-preview .bg-deadlines>div,.bge-preview .bg-two-columns>div,.bge-preview .bg-entry-cta,.bge-preview .bg-faq details{border-radius:0;box-shadow:none}
.bge-preview .bg-detail-grid{gap:0 32px}
.bge-preview .bg-detail-grid>div{border:0;border-top:1px solid var(--bge-line);padding:22px 0;background:transparent;grid-template-columns:100px 1fr}
.bge-preview .bg-programs article,.bge-preview .bg-programs article:nth-child(n){background:transparent;color:var(--ink);border-top:2px solid var(--blue);padding:24px 0;min-height:0}
.bge-preview .bg-programs p{color:var(--muted)}
.bge-section h2{font-size:clamp(30px,3vw,43px);line-height:1.35;margin:0;letter-spacing:-.035em;font-weight:900}
.bge-section h3,.bge-section h4{font-weight:800;line-height:1.5}
.bge-section button,.bge-section input{font:inherit}
.bge-section [hidden]{display:none!important}
.bge-heading{margin-bottom:20px}
.bge-lead{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 24px}
.bge-note{font-size:12px;line-height:1.9;color:var(--muted)}
.bge-match-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;margin-top:38px;align-items:start}
.bge-tabs{display:flex;border-bottom:1px solid var(--bge-line);gap:32px}
.bge-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:0 0 18px;color:var(--muted);cursor:pointer;text-align:left;flex:1}
.bge-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}
.bge-tabs small{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}
.bge-tabs strong{font-size:38px;line-height:1;font-weight:900}
.bge-tabs strong span{font-size:13px;margin-left:5px}
.bge-timeline{list-style:none;margin:0!important;padding:0!important}
.bge-timeline li{display:grid;grid-template-columns:150px 1fr;gap:18px;border-bottom:1px solid var(--bge-line);padding:17px 0;font-size:13px;line-height:1.6;align-items:baseline}
.bge-timeline time{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.bge-timeline .key{font-weight:800;color:var(--navy)}
.bge-timeline .final{color:var(--red);font-weight:900;font-size:16px}
.bge-results{padding:30px 32px;background:var(--bge-paper);border-top:4px solid var(--blue)}
.bge-results h3{font-size:25px;margin:0 0 24px}
.bge-result-tabs{display:flex;gap:24px;border-bottom:1px solid var(--bge-line)}
.bge-result-tabs button{font-size:13px;padding:12px 0;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent;cursor:pointer;font-weight:700;min-height:44px}
.bge-result-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}
.bge-empty-number{display:block;font-size:70px;font-weight:900;letter-spacing:-.06em;color:#a9c0ca;margin:24px 0 14px;line-height:1.2}
.bge-results h4{margin:0 0 10px;font-size:18px}
.bge-results p:not(.bg-kicker){font-size:13px;line-height:1.9;color:var(--muted)}
.bge-results .bge-status{font-size:11px!important;border-top:1px solid var(--bge-line);padding-top:16px;margin:26px 0 0}
.bge-programme{display:flex;gap:70px;justify-content:space-between;align-items:center;border-top:3px solid var(--blue);padding-top:38px}
.bge-programme>div{max-width:650px}
.bge-programme p:not(.bg-kicker){color:var(--muted);font-size:14px;line-height:1.9;margin:20px 0 0}
.bge-text-link{color:var(--blue);font-size:14px;font-weight:800;display:flex;gap:30px;align-items:center;min-height:50px;white-space:nowrap;border-bottom:1px solid var(--blue)}
.bge-entry-fold{padding:0 0 60px}
.bge-entry-fold>summary{display:flex;justify-content:space-between;font-size:15px;font-weight:800;padding:24px 0;border-top:1px solid var(--bge-line);border-bottom:1px solid var(--bge-line);cursor:pointer;list-style:none}
.bge-entry-fold>summary::-webkit-details-marker{display:none}
.bge-try-times{margin:-15px 0 40px;padding:24px 0;border-top:1px solid var(--bge-line);border-bottom:1px solid var(--bge-line);font-size:14px;line-height:1.8}
.bge-try-times p{margin:0 0 10px}.bge-try-times b{display:inline-block;width:120px;color:var(--blue)}
.bge-try-times>span{font-size:12px;color:var(--muted)}
.bge-preview :focus-visible{outline:3px solid #0787b8;outline-offset:5px}
@media(max-width:900px){.bge-match-layout{gap:30px}.bge-results{padding:25px}.bge-timeline li{grid-template-columns:130px 1fr;gap:12px}.bge-programme{gap:30px}.bge-preview .bg-hero__logo{width:240px}.bge-preview .bg-hero h1{max-width:540px}}
@media(max-width:650px){
 .bge-preview .bg-container{width:calc(100% - 40px)}
 .bge-preview .bg-hero{min-height:690px;background-position:59% 60%}
 .bge-preview .bg-hero__inner{min-height:690px;padding:230px 0 30px}
 .bge-preview .bg-hero__logo{width:190px;right:auto;left:0;top:25px}
 .bge-preview .bg-hero__shade{background:linear-gradient(180deg,rgba(8,30,47,.03),rgba(8,30,47,.1) 26%,rgba(8,30,47,.8) 100%)}
 .bge-preview .bg-hero h1{font-size:39px;max-width:350px;margin-bottom:18px}
 .bge-preview .bg-eyebrow{font-size:9px;line-height:1.8;letter-spacing:.08em;max-width:240px}
 .bge-preview .bg-hero__date{font-size:16px;line-height:1.7;padding-top:16px;display:block}
 .bge-preview .bg-hero__date span{font-size:12px}
 .bge-preview .bg-hero__venue{font-size:12px;line-height:1.7}
 .bge-preview .bg-actions{gap:10px}
 .bge-preview .bg-btn{font-size:12px;padding:0 16px;gap:12px;flex:1;min-height:50px}
 .bge-preview .bg-quick .bg-container{width:calc(100% - 40px)}
 .bge-preview .bg-quick__grid>div{padding:23px 10px;align-items:flex-start;text-align:left}
 .bge-preview .bg-quick__grid>div:first-child{padding-left:0}
 .bge-preview .bg-quick strong{font-size:32px;white-space:nowrap}
 .bge-preview .bg-quick small{font-size:8px;letter-spacing:0;margin-left:2px}
 .bge-preview .bg-quick span{font-size:9px;line-height:1.7}
 .bge-preview .bg-local-nav{top:60px}
 .bge-preview .bg-local-nav .bg-container{gap:25px;width:100%;padding:0 20px}
 .bge-preview .bg-local-nav a{font-size:12px;padding:18px 0}
 .bge-preview .bg-section{padding:50px 0;scroll-margin-top:135px}
 .bge-section h2{font-size:29px;letter-spacing:-.06em}
 .bge-lead{font-size:13px;margin-bottom:15px}
 .bge-note{font-size:11px}
 .bge-match-layout{grid-template-columns:1fr;gap:32px;margin-top:28px}
 .bge-tabs{gap:25px}.bge-tabs strong{font-size:36px}.bge-tabs small{font-size:9px}
 .bge-timeline li{font-size:12px;padding:16px 0;grid-template-columns:125px 1fr;gap:12px}
 .bge-timeline .final{font-size:15px}
 .bge-results{padding:25px}.bge-results h3{font-size:23px}.bge-empty-number{font-size:64px}
 .bge-result-tabs{gap:24px}.bge-result-tabs button{font-size:12px}
 .bge-programme{display:block;padding-top:28px}.bge-programme p:not(.bg-kicker){font-size:13px}.bge-text-link{font-size:13px;justify-content:space-between;margin-top:20px}
 .bge-entry-fold{padding:0 0 45px}.bge-entry-fold>summary{font-size:12px;gap:15px;line-height:1.8}
 .bge-try-times{font-size:12px;margin-top:0}.bge-try-times b{display:block;width:auto;font-size:15px;margin-bottom:5px}
 .bge-preview #bg-outline .bg-detail-grid{grid-template-columns:1fr}.bge-preview #bg-outline .bg-detail-grid>div{grid-template-columns:70px 1fr;gap:12px;padding:17px 0}
 .bge-preview .bg-language{top:30px;right:10px}
}
@media(prefers-reduced-motion:reduce){.bge-preview *{scroll-behavior:auto!important;transition:none!important}}
/* The shared theme locks these properties with !important; match its scope. */
html body.bge-preview .bg-page .bg-programs article:nth-child(n){background:#fff!important;color:#263b4c!important;border:0!important;border-top:3px solid #087caf!important;padding:24px!important;box-shadow:none!important}
html body.bge-preview .bg-page .bg-programs article:nth-child(n) h3{color:#16334b!important;font-size:18px;line-height:1.5}
html body.bge-preview .bg-page .bg-programs article:nth-child(n) p{color:#334d60!important;line-height:1.9}
.bge-private-guide{border-top:1px solid #cedbe3;padding-top:26px;padding-bottom:46px;color:#334d60}
.bge-private-guide h3{font-size:18px;color:#16334b}.bge-private-guide p{font-size:13px;line-height:1.9;max-width:850px}
.bge-results{min-width:0}.bge-score-row{padding:16px 0;border-bottom:1px solid #d0dde3}.bge-score-row small{font-size:10px;color:#426176;display:block;margin-bottom:8px}
.bge-score-line{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:12px;line-height:1.6}.bge-score-line span:last-child{text-align:right}.bge-score-line b{font-size:23px;white-space:nowrap;color:#16334b}
.bge-score-row details{font-size:12px;margin-top:10px}.bge-score-row summary{cursor:pointer}.bge-score-row li{margin:6px 0;line-height:1.7}.bge-score-list{max-height:650px;overflow:auto;padding-right:4px}
.bge-results .bge-table-wrap{overflow:auto}.bge-results table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6;margin:16px 0;border:0}
.bge-results th,.bge-results td{border:0;border-bottom:1px solid #d0dde3;padding:10px 5px;text-align:center;background:transparent;color:#263b4c}.bge-results th{font-size:10px}.bge-results td:nth-child(2){text-align:left}.bge-results td small{display:block;font-size:9px;color:#426176}.bge-results .bge-points{font-size:17px;font-weight:800;color:#087caf}
.bge-refresh{font:inherit;font-size:12px;min-height:40px;background:white;border:1px solid #9bafb9;color:#16334b;padding:8px 15px;cursor:pointer;margin-top:16px}.bge-feed-error{color:#9b2c20!important}
html body.bge-preview .bg-page .bg-hero{min-height:650px!important;background-position:center 65%!important}
html body.bge-preview .bg-page .bg-hero__shade{background:linear-gradient(90deg,rgba(8,30,47,.65),rgba(8,30,47,.04) 90%),linear-gradient(0deg,rgba(8,30,47,.45),transparent 65%)!important}
html body.bge-preview .bg-page .bg-btn{border-radius:0!important;box-shadow:none!important}
@media(max-width:650px){
 html body.bge-preview .bg-page .bg-hero{min-height:690px!important;background-position:59% 60%!important}
 html body.bge-preview .bg-page .bg-hero__shade{background:linear-gradient(180deg,rgba(8,30,47,.03),rgba(8,30,47,.1) 26%,rgba(8,30,47,.8) 100%)!important}
}

/* 2026-10-24 team and court schedule */
.bge-match-layout.bge-schedule-layout{display:flex!important;flex-direction:column;gap:24px}.bge-schedule-layout>div,.bge-schedule-layout>.bge-results{width:100%;min-width:0;box-sizing:border-box}.bge-event-outline{margin-top:16px}.bge-event-outline>summary{cursor:pointer;font-weight:700;padding:12px 0}.bge-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:20px 0}.bge-filters label{display:flex;flex-direction:column;gap:6px;font-weight:700}.bge-filters select{width:100%;min-width:0;background:#fff;color:#063b5b;border:1px solid #aebdc6;border-radius:6px;padding:12px;font:inherit}.bge-next{background:#eef4fb;border-left:5px solid #e3232e;padding:20px;margin-bottom:20px;color:#063b5b}.bge-next-item{padding:12px 0;border-bottom:1px solid #cddde5}.bge-next-item p{font-size:20px;font-weight:700;line-height:1.5;margin:6px 0!important}.bge-next small{display:block;line-height:1.6;margin-top:8px}.bge-next-item span{font-size:14px;font-weight:400}.bge-score-row{padding:18px 0!important;border-bottom:1px solid #cddde5}.bge-match-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin-bottom:10px}.bge-match-meta>strong{font-size:26px}.bge-match-meta>span{background:#063b5b;color:#fff;padding:3px 10px;border-radius:4px}.bge-match-meta>small{font-size:12px}.bge-score-line{display:grid!important;grid-template-columns:1fr 80px 1fr;align-items:center;gap:8px}.bge-score-line>span{overflow-wrap:anywhere}.bge-score-line>span:last-child{text-align:right}.bge-score-line>b{text-align:center;font-size:26px!important}.bge-my-team{color:#c8212b;font-weight:800}.bge-my-row{background:#fff3d8}.bge-try-schedule{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px;background:#f4f8f8;margin:16px 0}.bge-try-schedule span{padding:5px;border:1px solid #cddde5}.bge-try-schedule small{flex-basis:100%;line-height:1.6}.bge-list-count{font-size:13px}.bge-schedule-layout .bge-results{padding:24px!important}.bge-results [hidden]{display:none!important}@media(max-width:600px){.bge-filters{grid-template-columns:1fr}.bge-schedule-layout .bge-results{padding:16px!important}.bge-score-line{grid-template-columns:1fr 58px 1fr}.bge-score-line>span{font-size:14px}.bge-match-meta>strong{font-size:23px}.bge-next-item p{font-size:18px}.bge-match-meta>small{flex-basis:100%}}

.bge-results .bge-next-item p{font-size:20px!important;font-weight:700!important}.bge-results .bge-next-item>strong{font-size:18px!important}.bge-next-item p span{font-size:14px!important}@media(max-width:600px){.bge-results .bge-next-item p{font-size:18px!important}}
