/* ============================================================
   Bor City FC — shared stylesheet
   Light / clean / modern redesign (2026-07), major visual +
   platform-readiness pass (2026-09).
   Brand blue #103da8 structural, gold #eab308 as accent fills.
   Class names are stable — page markup is generated by
   scripts/build_site.py and unchanged by the reskin.
   Bold blue "bands" (hero, page-hero, matchbar card, cta,
   sponsor feature, footer) punctuate an airy light body.
   ============================================================ */

/* ---------- tokens + base ---------- */
.bcfc{
  --club-navy:#103da8;--club-navy-deep:#0a2560;--club-navy-hi:#1f57d6;
  --club-gold:#eab308;--club-gold-soft:#f5d377;--club-gold-ink:#1c1400;
  --ink:#0b1f4d;               /* dark footer / deep blue */
  --paper:#ffffff;             /* page background */
  --soft:#f2f5fb;              /* alternating bands, inputs, fills */
  --panel:#ffffff;             /* cards */
  --panel-2:#e9eef8;           /* subtle placeholder fills */
  --line:#e4e9f3;              /* hairline borders */
  --text:#131a2e;              /* body text */
  --muted:#59617a;             /* secondary text */
  --maxw:1200px;
  --card-sh:0 1px 2px rgba(16,30,60,.05),0 10px 30px -16px rgba(16,30,60,.18);
  --card-sh-hi:0 6px 16px rgba(16,30,60,.08),0 26px 50px -28px rgba(16,30,60,.30);
}
.bcfc,.bcfc *{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;margin:0;padding:0}
html,body.bcfc{overflow-x:hidden}
body.bcfc{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--paper);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;width:100%}
.bcfc h1,.bcfc h2,.bcfc h3,.bcfc h4{font-weight:800;letter-spacing:-0.02em;line-height:1.08;color:var(--text)}
.bcfc a{color:var(--club-navy)}
.bcfc .wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.bcfc .eyebrow{font-size:11px;font-weight:800;letter-spacing:0.18em;text-transform:uppercase;color:var(--club-navy)}
.bcfc .crest-img{width:58px;height:58px;border-radius:50%;object-fit:cover;box-shadow:0 2px 8px rgba(16,61,168,.28)}

/* icon + placeholder helpers */
.bcfc .i{width:1.15em;height:1.15em;vertical-align:-.15em;flex:none}
.bcfc .swap{display:grid;place-items:center;text-align:center;background:var(--soft);border:1px dashed #c9d4ea;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:12px}
.bcfc .page-status{font-size:13px;color:var(--muted);margin-top:18px;max-width:64ch}
.bcfc .page-status b{color:var(--text)}

/* ---------- shared image-framing renderer (conventions §L) ----------
   One reusable contract for every photo on the site: gallery, store,
   news, page headers. Fields (as CSS custom properties, set inline per
   image from data/club.json → an item's `framing` block):
     --fa   aspect-ratio            --ffit  object-fit (cover/contain)
     --fx   object-position X (%)   --fy    object-position Y (%)
     --fzoom transform:scale()      --fmx/--fmy mobile focal override
   Sensible defaults below mean an image with no framing metadata still
   renders correctly (cover, centred, ratio 4/5). */
.bcfc .framed{position:relative;overflow:hidden;display:block;aspect-ratio:var(--fa,4/5);background:var(--panel-2)}
.bcfc .framed-img{width:100%;height:100%;object-fit:var(--ffit,cover);object-position:var(--fx,50%) var(--fy,50%);transform:scale(var(--fzoom,1));transform-origin:center;display:block;transition:transform .3s}
a:hover .bcfc .framed-img,.bcfc a:hover .framed-img{transform:scale(calc(var(--fzoom,1) * 1.04))}
@media(max-width:560px){.bcfc .framed-img{object-position:var(--fmx,var(--fx,50%)) var(--fmy,var(--fy,50%))}}
.bcfc .ph-bg{position:absolute;inset:0;z-index:0;aspect-ratio:auto}
/* collage strip: portrait photos side by side so no head is blown up to fill the band */
.bcfc .framed.strip-multi{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));grid-template-rows:100%;gap:0;aspect-ratio:auto}
.bcfc .strip-multi .framed-img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:50% var(--fy,0%)}
.bcfc .strip-multi .framed-img + .framed-img{box-shadow:-2px 0 0 rgba(8,14,34,.55)}
@media(max-width:560px){.bcfc .framed.strip-multi{grid-template-columns:repeat(2,minmax(0,1fr))}.bcfc .strip-multi .framed-img:nth-child(n+3){display:none}.bcfc .strip-multi .framed-img{object-position:50% var(--fmy,var(--fy,0%))}}

/* ---------- nav ---------- */
.bcfc .nav{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.bcfc .nav .wrap{display:flex;align-items:center;justify-content:space-between;height:82px}
.bcfc .brand{display:flex;align-items:center;gap:13px}
.bcfc .brand b{font-size:16px;letter-spacing:-0.01em;color:var(--text)}
.bcfc .brand span{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--club-navy);font-weight:700}
.bcfc .brand a{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--text)}
.bcfc .menu{display:flex;gap:22px;list-style:none}
.bcfc .menu a{color:var(--text);text-decoration:none;font-size:13.5px;font-weight:600;opacity:.82;transition:.15s}
.bcfc .menu a:hover,.bcfc .menu a[aria-current="page"]{opacity:1;color:var(--club-navy)}
.bcfc .nav-cta{background:var(--club-gold);color:var(--club-gold-ink);font-weight:800;font-size:13px;padding:11px 20px;border-radius:8px;text-decoration:none;box-shadow:0 6px 16px -8px rgba(234,179,8,.7)}
.bcfc .nav-cta:hover{filter:brightness(1.04)}

/* burger + mobile menu */
.bcfc .nav-right{display:flex;align-items:center;gap:12px}
.bcfc .burger{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;place-items:center;color:var(--text);cursor:pointer}
.bcfc .burger svg{width:22px;height:22px}
.bcfc .m-menu{display:none;border-top:1px solid var(--line);background:#fff}
.bcfc .m-menu a{display:block;padding:15px 28px;color:var(--text);text-decoration:none;font-size:14px;font-weight:600;border-bottom:1px solid var(--line)}
.bcfc .m-menu a:hover{color:var(--club-navy);background:var(--soft)}
.bcfc .m-menu.open{display:block}
/* Switch to the burger earlier than the general 900px content breakpoint:
   with 10 nav items (dropdowns) + brand lockup + CTA, the full desktop menu needs
   ~1100px to keep comfortable (24px+) gaps — below that it crushes
   together against the brand block and the Get Tickets button. */
@media(max-width:1100px){
  .bcfc .menu{display:none}
  .bcfc .burger{display:grid}
}

/* ---------- hero ---------- */
.bcfc .hero{position:relative;min-height:82vh;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(180deg,rgba(11,31,77,.28) 0%,rgba(10,37,96,.55) 55%,rgba(10,37,96,.94) 100%),url("assets/hero-matchday.webp");background-size:cover;background-position:center 28%}
.bcfc .hero .watermark{position:absolute;top:46%;right:-40px;transform:translateY(-50%);width:520px;height:520px;opacity:.10}
.bcfc .hero .wrap{position:relative;z-index:3;padding-bottom:76px;width:100%}
.bcfc .kicker{display:inline-flex;align-items:center;gap:10px;background:rgba(234,179,8,.18);border:1px solid rgba(234,179,8,.55);color:var(--club-gold-soft);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:8px 15px;border-radius:999px;margin-bottom:18px}
.bcfc .live-dot{width:7px;height:7px;border-radius:50%;background:#ff4d4d;animation:bcfc-pulse 1.3s infinite}
@keyframes bcfc-pulse{0%,100%{opacity:1}50%{opacity:.25}}
.bcfc .hero h1{font-size:clamp(42px,7.4vw,92px);text-transform:uppercase;font-style:italic;letter-spacing:-0.03em;color:#fff}
.bcfc .hero h1 .gold{color:var(--club-gold)}
.bcfc .hero p{max-width:46ch;color:rgba(255,255,255,.9);font-size:17px;margin:18px 0 28px}

/* ---------- buttons ---------- */
.bcfc .btns{display:flex;gap:12px;flex-wrap:wrap}
.bcfc .btn{text-decoration:none;font-weight:800;font-size:14px;padding:14px 28px;border-radius:9px;transition:transform .15s,box-shadow .15s,filter .15s;display:inline-block}
.bcfc .btn-gold{background:var(--club-gold);color:var(--club-gold-ink);box-shadow:0 10px 24px -12px rgba(234,179,8,.85)}
.bcfc .btn-gold:hover{transform:translateY(-2px);filter:brightness(1.04)}
.bcfc .btn-line{border:1.5px solid var(--club-navy);color:var(--club-navy)}
.bcfc .btn-line:hover{transform:translateY(-2px);background:var(--club-navy);color:#fff}
/* outline buttons on dark bands go white */
.bcfc .hero .btn-line,.bcfc .page-hero .btn-line,.bcfc .cta .btn-line,.bcfc .sp-feature .btn-line{border-color:rgba(255,255,255,.55);color:#fff}
.bcfc .hero .btn-line:hover,.bcfc .page-hero .btn-line:hover,.bcfc .cta .btn-line:hover,.bcfc .sp-feature .btn-line:hover{background:#fff;color:var(--club-navy)}

/* ---------- inner page hero — photographic (conventions §D) ---------- */
.bcfc .page-hero{position:relative;background:linear-gradient(115deg,var(--club-navy),var(--club-navy-deep));overflow:hidden;color:#fff}
.bcfc .page-hero:not(.photo)::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 60px,rgba(255,255,255,.04) 60px 120px)}
.bcfc .page-hero .wrap{position:relative;z-index:2;padding-top:76px;padding-bottom:92px}
.bcfc .page-hero .eyebrow{color:var(--club-gold-soft)}
.bcfc .page-hero h1{font-size:clamp(32px,5.5vw,60px);text-transform:uppercase;font-style:italic;margin-top:10px;color:#fff}
.bcfc .page-hero p{color:rgba(255,255,255,.85);max-width:56ch;margin-top:12px;font-size:16px}
.bcfc .page-hero .watermark{position:absolute;top:50%;right:-60px;transform:translateY(-50%);width:340px;height:340px;opacity:.12;z-index:1}
.bcfc .page-hero.photo{background:var(--club-navy-deep)}
.bcfc .page-hero.photo .ph-bg .framed-img{opacity:.62}
.bcfc .page-hero.photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(9,16,40,.35) 0%,rgba(8,14,34,.86) 88%)}
.bcfc .page-hero .ph-crest{position:relative;z-index:2;width:96px;height:96px;border-radius:50%;background:#fff;padding:6px;box-shadow:0 14px 40px -10px rgba(0,0,0,.55),0 0 0 3px rgba(234,179,8,.65);margin-bottom:20px}
.bcfc .page-hero .ph-crest img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.bcfc .page-hero:not(.photo) .ph-crest{display:none}

/* ---------- match bar (floating white card) ---------- */
.bcfc .matchbar{background:transparent;position:relative;z-index:5}
.bcfc .matchbar .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:24px 30px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--card-sh-hi);margin-top:-52px;scroll-margin-top:90px}
.bcfc .mb-side{display:flex;align-items:center;gap:14px}
.bcfc .mb-side.away{justify-content:flex-end}
.bcfc .mb-crest{width:52px;height:52px;border-radius:50%;object-fit:cover}
.bcfc .mb-crest.opp{background:var(--club-navy);border:none;display:grid;place-items:center;font-weight:900;font-size:14px;color:#fff}
.bcfc .mb-team b{font-size:16px;display:block;color:var(--text)}
.bcfc .mb-team small{font-size:11px;color:var(--muted)}
.bcfc .mb-centre{text-align:center;min-width:120px}
.bcfc .mb-centre .status{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--club-navy);display:flex;align-items:center;justify-content:center;gap:6px}
.bcfc .mb-centre .vs{font-size:32px;font-weight:900;font-style:italic;margin:2px 0;color:var(--club-navy)}
.bcfc .mb-centre .meta{font-size:11px;color:var(--muted)}

/* ---------- sections + alt bands ---------- */
.bcfc section{padding:78px 0}
.bcfc section.alt{background:var(--soft)}
.bcfc .sec-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:34px;gap:20px;flex-wrap:wrap}
.bcfc .sec-head h2{font-size:clamp(26px,4vw,40px);text-transform:uppercase}
.bcfc .sec-head a{color:var(--club-navy);text-decoration:none;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.bcfc .sec-head a:hover{color:var(--club-gold)}

/* ---------- highlights ---------- */
.bcfc .hl-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:auto auto;gap:16px}
/* three equal "coming soon" tiles (used standalone, not with a .big lead
   tile) — needs its own responsive columns, not the 2fr/1fr/1fr split above */
.bcfc .hl-grid-3{margin-top:20px;grid-template-columns:repeat(3,1fr)}
.bcfc .hl{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);min-height:190px;background:linear-gradient(150deg,#eaf0fb,#dbe6f8);display:flex;align-items:flex-end;padding:20px;text-decoration:none;color:var(--text);transition:transform .18s,box-shadow .18s;box-shadow:var(--card-sh)}
.bcfc .hl:hover{transform:translateY(-3px);box-shadow:var(--card-sh-hi)}
.bcfc .hl.big{grid-row:span 2;min-height:396px}
.bcfc .hl .play{position:absolute;top:18px;left:18px;width:44px;height:44px;border-radius:50%;background:var(--club-gold);color:var(--club-gold-ink);display:grid;place-items:center;font-size:16px;box-shadow:0 8px 18px -8px rgba(234,179,8,.9)}
.bcfc .hl .play svg{width:16px;height:16px}
.bcfc .hl b{font-size:15px;position:relative;z-index:2;color:var(--text)}
.bcfc .hl small{display:block;font-size:11px;color:var(--club-navy);font-weight:800;letter-spacing:.08em;margin-bottom:4px}
.bcfc .hl[style*="background-image"] b{color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.bcfc .hl[style*="background-image"] small{color:var(--club-gold-soft);text-shadow:0 1px 4px rgba(0,0,0,.5)}

/* ---------- commercial "coming soon" video tile ---------- */
.bcfc .hl-vid{background-size:cover;background-position:center 28%}
.bcfc .hl-soon{background:linear-gradient(150deg,var(--club-navy),var(--club-navy-deep));border:none;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:0}
.bcfc .hl-soon-crest{position:absolute;right:-18%;top:50%;transform:translateY(-50%);width:75%;max-width:220px;opacity:.10;filter:grayscale(1) brightness(6);pointer-events:none;z-index:0}
.bcfc .hl-soon .play{position:relative;z-index:2;background:var(--club-gold)}
.bcfc .hl-soon-body{position:relative;z-index:2}
.bcfc .hl-soon-body small{color:var(--club-gold-soft) !important;text-shadow:none !important}
.bcfc .hl-soon-body b{color:#fff !important;text-shadow:none !important;display:block;margin-bottom:10px}
.bcfc .hl-soon .soon-tag{display:inline-block;font-size:9px;letter-spacing:.1em;font-weight:800;color:rgba(255,255,255,.55);text-transform:uppercase;border-top:1px solid rgba(255,255,255,.18);padding-top:8px;width:100%}

/* ---------- fixtures/results panels ---------- */
.bcfc .split{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.bcfc .panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--card-sh)}
.bcfc .panel-h{padding:16px 20px;border-bottom:none;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(100deg,var(--club-navy),var(--club-navy-deep));color:#fff}
.bcfc .panel-h b{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.bcfc .panel-h small{font-size:11px;color:rgba(255,255,255,.75)}
.bcfc .panel-h a{color:var(--club-gold-soft)!important}
.bcfc .row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:15px 20px;border-bottom:1px solid var(--line);font-size:13px}
.bcfc .row:last-child{border:none}
.bcfc .row .t{display:flex;align-items:center;gap:9px;font-weight:600}
.bcfc .row .t.a{justify-content:flex-end;text-align:right}
.bcfc .row .mini{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none}
.bcfc .row .mini.opp{background:var(--club-navy);display:grid;place-items:center;font-size:10px;font-weight:800;color:#fff}
.bcfc .row .sc{font-weight:900;font-size:16px;font-style:italic;min-width:52px;text-align:center;color:var(--club-navy)}
.bcfc .row .sc.time{font-size:12px;font-weight:700;color:var(--muted);font-style:normal}
.bcfc .res{font-size:10px;font-weight:800;padding:2px 7px;border-radius:4px}
.bcfc .res.w{background:rgba(22,163,74,.14);color:#15803d}
.bcfc .res.d{background:rgba(90,97,122,.14);color:var(--muted)}
.bcfc .res.l{background:rgba(220,38,38,.12);color:#b91c1c}

/* ---------- temporary line-up (conventions §E) ---------- */
.bcfc .lineup .inner{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:start}
.bcfc .pitch{container-type:inline-size;position:relative;aspect-ratio:3/4;background:linear-gradient(180deg,#1a8f4a,#0f7a3b);border-radius:14px;border:1px solid rgba(255,255,255,.4);overflow:hidden;box-shadow:var(--card-sh)}
.bcfc .pitch::before{content:"";position:absolute;inset:14px;border:2px solid rgba(255,255,255,.5);border-radius:8px}
.bcfc .pitch .half{position:absolute;left:14px;right:14px;top:50%;height:2px;background:rgba(255,255,255,.5)}
.bcfc .pitch .circ{position:absolute;left:50%;top:50%;width:80px;height:80px;border:2px solid rgba(255,255,255,.5);border-radius:50%;transform:translate(-50%,-50%)}
.bcfc .pl{position:absolute;transform:translate(-50%,-50%);text-align:center;z-index:2}
.bcfc .pl .face{width:clamp(58px,16cqw,100px);aspect-ratio:1;border-radius:50%;border:2.5px solid #fff;background:var(--club-navy);display:grid;place-items:center;margin:0 auto 5px;overflow:hidden;position:relative;box-shadow:0 6px 16px rgba(0,0,0,.35);color:#fff}
.bcfc .pl .face svg{width:40%;height:40%;opacity:.7}
.bcfc .pl .face .num{position:absolute;bottom:-2px;right:-2px;width:clamp(22px,26%,30px);aspect-ratio:1;border-radius:50%;background:var(--club-gold);color:var(--club-gold-ink);font-size:11px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}
.bcfc .pl .pl-name{display:block;font-size:clamp(11px,2.4cqw,14px);color:#fff;font-weight:800;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.bcfc .pl .face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;transform:scale(1.45);transform-origin:50% 20%}
.bcfc a.pl{text-decoration:none}
/* visible keyboard focus for the player links added for SitePulse 1138/1139 */
.bcfc a.pl:focus-visible,.bcfc a.sq:focus-visible,.bcfc a.news-card:focus-visible{outline:3px solid var(--club-gold);outline-offset:4px;border-radius:12px}
.bcfc a.pl:hover .face,.bcfc a.pl:focus-visible .face{border-color:var(--club-gold);transform:scale(1.06)}
.bcfc .pl .face{transition:transform .18s,border-color .18s}
.bcfc .lu-copy .formation{font-size:54px;font-weight:900;font-style:italic;color:var(--club-navy);line-height:1}
.bcfc .lu-copy .sub{font-size:13px;color:var(--muted);margin:8px 0 20px;max-width:46ch}
.bcfc .squad{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:8px}
.bcfc .sq{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 10px 14px;text-align:center;box-shadow:var(--card-sh);display:block;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s,border-color .18s}
.bcfc a.sq:hover,.bcfc a.sq:focus-visible{transform:translateY(-3px);box-shadow:var(--card-sh-hi);border-color:var(--club-gold)}
/* position:relative is load-bearing — the photo below is absolutely positioned,
   and without a positioned ancestor it escapes to the initial containing block
   and paints full-viewport over the homepage hero (SitePulse 1136/1138). */
.bcfc .sq .face{position:relative;width:clamp(64px,72%,96px);aspect-ratio:1;border-radius:50%;margin:0 auto 10px;border:2px solid var(--club-gold);background:var(--club-navy);display:grid;place-items:center;overflow:hidden;color:#fff}
.bcfc .sq .face svg{width:38%;height:38%;opacity:.8}
.bcfc .sq .face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;transform:scale(1.45);transform-origin:50% 20%}
.bcfc .sq b{font-size:13px;display:block;color:var(--text);line-height:1.25}
.bcfc .sq small{font-size:10px;color:var(--muted)}
.bcfc .sq .pn{color:var(--club-navy);font-weight:900;font-style:italic;font-size:11px}

/* ---------- store (conventions §K) ---------- */
.bcfc .store{background:var(--soft)}
.bcfc .pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bcfc .pr{background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;text-align:center;transition:.18s;box-shadow:var(--card-sh);display:flex;flex-direction:column}
.bcfc .pr:hover{transform:translateY(-5px);box-shadow:var(--card-sh-hi)}
.bcfc .pr .img{position:relative;background:linear-gradient(150deg,#eaf0fb,#d7e3f7)}
.bcfc .pr .img .framed{width:100%}
.bcfc .pr .img .framed-img{padding:16px;box-sizing:border-box}
.bcfc .pr-empty{position:relative;aspect-ratio:4/5;display:grid;place-items:center}
.bcfc .pr .pcrest{width:46%;opacity:.22}
.bcfc .pr .pr-empty .ph{position:absolute;bottom:12px;font-size:8px;letter-spacing:.2em;color:rgba(16,61,168,.4);font-weight:800}
.bcfc .pr .img .tag{position:absolute;top:12px;left:12px;background:var(--club-navy);color:#fff;font-size:9px;font-weight:800;padding:5px 10px;border-radius:6px;letter-spacing:.05em;z-index:3}
.bcfc .pr .b{padding:16px 12px;display:flex;flex-direction:column;flex:1}
.bcfc .pr .b b{font-size:14px;display:block;margin-bottom:7px;color:var(--text)}
.bcfc .pr .price{font-size:18px;font-weight:900;font-style:italic}
.bcfc .pr .price .now{color:var(--club-navy)}
.bcfc .pr .price s{color:var(--muted);font-weight:500;font-size:12px;margin-left:5px;font-style:normal}
.bcfc .pr .buy{display:inline-block;margin-top:14px;background:var(--club-gold);color:var(--club-gold-ink);font-size:12px;font-weight:800;padding:10px 22px;border-radius:8px;text-decoration:none}
.bcfc .pr .buy:hover{filter:brightness(1.04)}
.bcfc .status-badge{position:absolute;top:12px;right:12px;left:auto;background:var(--club-navy);color:#fff;font-size:8px;font-weight:800;letter-spacing:.08em;padding:5px 9px;border-radius:6px;z-index:3;white-space:nowrap;width:auto;height:auto}
.bcfc .pr .tag ~ .status-badge{top:44px}
.bcfc .pr-note{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.4}
.bcfc .pr-extra{border-style:dashed;border-color:#c9d4ea}
.bcfc .price-tbc{font-size:13px;font-weight:700;color:var(--muted);font-style:italic}
.bcfc .pr .buy-outline{background:transparent;border:1.5px solid var(--club-navy);color:var(--club-navy);margin-top:auto}
.bcfc .pr .buy-outline:hover{background:var(--club-navy);color:#fff;filter:none}
.bcfc .pr .buy{margin-top:auto}

/* ---------- cta band ---------- */
.bcfc .cta{background:linear-gradient(115deg,var(--club-navy),var(--club-navy-deep));text-align:center;position:relative;overflow:hidden;color:#fff}
.bcfc .cta:not(.photo)::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 60px,rgba(234,179,8,.06) 60px 120px)}
.bcfc .cta.photo{background:var(--club-navy-deep)}
.bcfc .cta.photo .cta-bg{position:absolute;inset:0;z-index:0}
.bcfc .cta.photo .cta-bg .framed-img{opacity:.62}
.bcfc .cta.photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,37,96,.86) 0%,rgba(16,61,168,.68) 45%,rgba(10,37,96,.92) 100%)}
.bcfc a:hover .cta-bg .framed-img{transform:none}
.bcfc .cta .wrap{position:relative;z-index:2}
.bcfc .cta .eyebrow{color:var(--club-gold-soft)}
.bcfc .cta h2{font-size:clamp(28px,5vw,52px);text-transform:uppercase;font-style:italic;margin-bottom:14px;color:#fff}
.bcfc .cta p{color:rgba(255,255,255,.85);max-width:44ch;margin:0 auto 26px;font-size:17px}

/* ---------- footer (dark blue) ---------- */
.bcfc footer{background:var(--ink);border-top:none;padding:52px 0 40px;font-size:13px;color:rgba(255,255,255,.66)}
.bcfc footer p{color:rgba(255,255,255,.66)}
.bcfc footer .brand span{color:var(--club-gold-soft)}
.bcfc .foot-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px;margin-bottom:28px}
.bcfc .foot-col h5{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:12px}
.bcfc .foot-col a{display:block;color:rgba(255,255,255,.66);text-decoration:none;font-size:13px;padding:3px 0}
.bcfc .foot-col a:hover{color:var(--club-gold-soft)}
.bcfc .foot-bot{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.bcfc .socials{display:flex;gap:12px;margin-top:14px}
.bcfc .socials a{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:rgba(255,255,255,.75)}
.bcfc .socials a:hover{color:var(--club-gold-ink);background:var(--club-gold);border-color:var(--club-gold)}
.bcfc .socials svg{width:17px;height:17px}

/* ---------- generic content blocks ---------- */
.bcfc .tcard:target .tcard-inner{box-shadow:0 0 0 3px var(--club-gold),0 0 0 8px rgba(234,179,8,.28);border-radius:14px}
.bcfc .tcard{scroll-margin-top:110px}
.bcfc .grid-2{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.bcfc .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bcfc .grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bcfc .card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;color:var(--text);text-decoration:none;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s;box-shadow:var(--card-sh)}
.bcfc a.card:hover{transform:translateY(-4px);box-shadow:var(--card-sh-hi)}
.bcfc .card .media{aspect-ratio:16/9;position:relative;background:linear-gradient(135deg,#eaf0fb,#dbe6f8)}
.bcfc .card .media .framed{width:100%;height:100%}
.bcfc .card .media.swap{aspect-ratio:16/9}
.bcfc .card .body{padding:18px 20px 22px}
.bcfc .card .body small{display:block;font-size:11px;color:var(--club-navy);font-weight:800;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}
.bcfc .card .body b{font-size:16px;display:block;margin-bottom:6px;color:var(--text)}
.bcfc .card .body p{font-size:13px;color:var(--muted)}
.bcfc .tier{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--card-sh)}
.bcfc .tier.feature{border-color:var(--club-gold);box-shadow:0 0 0 1px var(--club-gold),var(--card-sh-hi)}
.bcfc .tier h3{font-size:18px;text-transform:uppercase}
.bcfc .tier .fee{font-size:26px;font-weight:900;font-style:italic;color:var(--club-navy)}
.bcfc .tier ul{list-style:none;font-size:13px;color:var(--muted);display:grid;gap:8px}
.bcfc .tier ul li{display:flex;gap:8px;align-items:flex-start}
.bcfc .tier ul li svg{margin-top:3px;color:var(--club-gold);flex:none}
.bcfc .tier .btn{margin-top:auto;text-align:center}
.bcfc .prose{max-width:70ch;color:var(--muted);font-size:15px;display:grid;gap:16px}
.bcfc .prose h3{color:var(--text);font-size:20px;text-transform:uppercase;margin-top:10px}
.bcfc .prose strong{color:var(--text)}
.bcfc .article-head small{display:block;font-size:12px;color:var(--club-gold-soft);font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.bcfc .stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bcfc .stat{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px;text-align:center;box-shadow:var(--card-sh)}
.bcfc .stat b{font-size:36px;font-weight:900;font-style:italic;color:var(--club-navy);display:block;line-height:1}
.bcfc .stat span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;display:block;margin-top:8px}
.bcfc .form{display:grid;gap:14px;max-width:520px}
.bcfc .form label{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--club-navy)}
.bcfc .form input,.bcfc .form textarea,.bcfc .form select{width:100%;background:#fff;border:1px solid var(--line);border-radius:9px;padding:12px 14px;color:var(--text);font:inherit;font-size:14px}
.bcfc .form input:focus,.bcfc .form textarea:focus{outline:2px solid var(--club-navy);outline-offset:0;border-color:var(--club-navy)}
.bcfc .form button{cursor:pointer;border:none;font:inherit}
.bcfc .ticket-cat{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px 24px;box-shadow:var(--card-sh)}
.bcfc .ticket-cat .ico{width:46px;height:46px;border-radius:50%;background:rgba(234,179,8,.16);border:1px solid rgba(234,179,8,.5);display:grid;place-items:center;color:#8a6d00}
.bcfc .ticket-cat b{display:block;font-size:15px;color:var(--text)}
.bcfc .ticket-cat small{font-size:12px;color:var(--muted)}
.bcfc .ticket-cat .fee{font-size:16px;font-weight:800;font-style:italic;color:var(--club-navy);white-space:nowrap}

/* ---------- featured video (conventions §I) ---------- */
.bcfc .video-feature{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:44px;align-items:center;justify-content:center;background:linear-gradient(160deg,var(--club-navy-deep),#081029);border:1px solid rgba(234,179,8,.25);border-radius:18px;padding:36px;box-shadow:var(--card-sh-hi)}
.bcfc .video-feature .vf-crest{position:absolute;right:-70px;top:50%;transform:translateY(-50%);width:340px;opacity:.07;filter:grayscale(1) brightness(6);pointer-events:none;z-index:0}
.bcfc .video-feature .vf-media,.bcfc .video-feature .body{position:relative;z-index:1}
.bcfc .video-feature .body{max-width:46ch}
.bcfc .vf-media{position:relative}
.bcfc .vf-badge{position:absolute;top:14px;left:14px;z-index:2;background:rgba(234,179,8,.92);color:var(--club-gold-ink);font-size:9px;font-weight:800;letter-spacing:.1em;padding:6px 11px;border-radius:6px}
/* Source clip is 480x854 (9:16). Capped at 380px so it is materially bigger
   than before without upscaling past its native width (SitePulse 1152). */
.bcfc .video-feature video{width:100%;height:auto;border-radius:14px;display:block;background:#000;aspect-ratio:9/16;object-fit:cover;border:2px solid rgba(234,179,8,.55);box-shadow:0 26px 60px -26px rgba(0,0,0,.85);max-width:380px;margin:0 auto}
.bcfc .video-feature .body small{display:block;font-size:11px;color:var(--club-gold-soft);font-weight:800;letter-spacing:.08em;margin-bottom:8px;text-transform:uppercase}
.bcfc .video-feature .body h3{font-size:22px;text-transform:uppercase;margin-bottom:10px;color:#fff}
.bcfc .video-feature .body p{color:rgba(255,255,255,.75);font-size:14px;line-height:1.6}

/* ---------- gallery grid + lightbox (conventions §J) ---------- */
.bcfc .gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;grid-auto-flow:dense}
.bcfc .gallery-grid a{display:block;border-radius:12px;overflow:hidden;box-shadow:var(--card-sh);position:relative}
.bcfc .gallery-grid .framed{width:100%;height:100%}
.bcfc .gallery-grid a.g-wide{grid-column:span 2}
.bcfc .lightbox{display:none;position:fixed;inset:0;z-index:200;background:rgba(6,12,28,.92);align-items:center;justify-content:center;padding:40px 20px}
.bcfc .lightbox:target{display:flex}
.bcfc .lightbox .lb-inner{max-width:900px;max-height:88vh;position:relative;display:flex;flex-direction:column;align-items:center}
.bcfc .lightbox img{max-width:100%;max-height:78vh;border-radius:10px;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.bcfc .lightbox .lb-cap{color:#fff;font-size:13px;margin-top:14px;text-align:center;opacity:.85}
.bcfc .lightbox .lb-close{position:absolute;top:-44px;right:0;color:#fff;font-size:14px;font-weight:800;text-decoration:none;letter-spacing:.06em;background:rgba(255,255,255,.12);padding:8px 16px;border-radius:8px}
.bcfc .lightbox .lb-close:hover{background:rgba(255,255,255,.22)}

/* ---------- news (conventions §G) ---------- */
.bcfc .news-card .meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.bcfc .news-card .meta-row .cat{font-size:11px;color:var(--club-navy);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.bcfc .news-card .meta-row .date{font-size:11px;color:var(--muted);font-weight:600;text-transform:none;letter-spacing:0}
.bcfc .news-card .news-wm{position:absolute;right:-8%;bottom:-18%;width:60%;opacity:.06;filter:grayscale(1) brightness(0.2);pointer-events:none}
.bcfc .news-card.featured{display:grid;grid-template-columns:1.2fr 1fr}
.bcfc .news-card.featured .media{aspect-ratio:auto;height:100%}
.bcfc .news-card.featured .body{display:flex;flex-direction:column;justify-content:center;padding:28px 30px}
.bcfc .news-card.featured .body b{font-size:clamp(24px,2.4vw,32px);text-transform:uppercase;font-style:italic;margin-bottom:12px;line-height:1.12}
.bcfc .news-card .body b{line-height:1.3}
.bcfc .news-card .body{display:flex;flex-direction:column;gap:2px}
.bcfc .news-card .meta-row .cat{background:rgba(16,61,168,.09);border-radius:999px;padding:4px 10px}
.bcfc .news-soon .meta-row .cat{background:rgba(234,179,8,.14)}
.bcfc .read-on{margin-top:14px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--club-navy);display:inline-flex;align-items:center;gap:7px}
.bcfc .read-on svg{width:14px;height:14px;transition:transform .18s}
.bcfc a.card:hover .read-on svg{transform:translateX(4px)}
.bcfc .news-card.featured .read-on{margin-top:20px}
.bcfc .news-soon .read-on{color:var(--club-gold-soft)}
.bcfc .news-card.featured .body p{font-size:14px}
.bcfc .news-soon{background:linear-gradient(150deg,var(--club-navy),var(--club-navy-deep));color:#fff;border-color:rgba(234,179,8,.28)}
.bcfc .news-soon .news-soon-media{position:relative;overflow:hidden;background:linear-gradient(150deg,#12327d,var(--club-navy-deep));display:grid;place-items:center}
.bcfc .news-soon .news-soon-media .hl-soon-crest{position:static;width:88px;max-width:none;transform:none;opacity:.9;filter:none}
.bcfc .news-soon .news-soon-media::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 26px,rgba(234,179,8,.05) 26px 52px)}
.bcfc .news-soon .soon-tag{display:inline-block;margin-top:12px;font-size:9px;letter-spacing:.1em;font-weight:800;color:rgba(255,255,255,.55);text-transform:uppercase;border-top:1px solid rgba(255,255,255,.18);padding-top:8px;width:100%}
.bcfc .news-soon .body b{color:#fff}
.bcfc .news-soon .body p{color:rgba(255,255,255,.75)}
.bcfc .news-soon .cat{color:var(--club-gold-soft)!important}

/* ---------- player trading cards (conventions §F) ---------- */
.bcfc .player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(186px,1fr));gap:18px}
.bcfc .tcard{position:relative;aspect-ratio:5/7;perspective:1400px}
.bcfc .tcard-btn{all:unset;display:block;width:100%;height:100%;cursor:pointer;border-radius:14px;box-sizing:border-box}
.bcfc .tcard-btn:focus-visible{outline:3px solid var(--club-gold);outline-offset:4px}
.bcfc .tcard-inner{position:relative;width:100%;height:100%;transition:transform .55s cubic-bezier(.4,.2,.2,1);transform-style:preserve-3d;display:block;border-radius:14px}
.bcfc .tcard.flipped .tcard-inner{transform:rotateY(180deg)}
.bcfc .tcard-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:14px;overflow:hidden;box-shadow:var(--card-sh-hi)}
.bcfc .tcard-front{background:var(--club-navy-deep)}
.bcfc .tcard-front img{width:100%;height:100%;object-fit:cover;object-position:center 12%;display:block}
.bcfc .tcard-grad{position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(8,14,34,.94) 100%)}
.bcfc .tcard-frame{position:absolute;inset:6px;border:1.5px solid rgba(234,179,8,.55);border-radius:10px;pointer-events:none}
.bcfc .tcard-num{position:absolute;top:14px;left:14px;background:var(--club-gold);color:var(--club-gold-ink);font-weight:900;font-style:italic;font-size:14px;min-width:30px;height:30px;padding:0 6px;border-radius:8px;display:grid;place-items:center;box-shadow:0 4px 10px rgba(0,0,0,.35)}
.bcfc .tcard-foot{position:absolute;left:14px;right:14px;bottom:12px;color:#fff;text-align:left}
.bcfc .tcard-foot b{display:block;font-size:13.5px;line-height:1.2;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.bcfc .tcard-foot small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--club-gold-soft);font-weight:800}
/* Card back = the player profile panel (SitePulse 1143). Three zones:
   a fixed identity head, a flexible body that carries whatever verified
   detail exists (and scrolls if the editor later adds a long bio), and a
   pinned tagline. A player with no detail block simply shows a shorter
   body — no empty rows, no placeholder text. */
.bcfc .tcard-back{background:linear-gradient(160deg,var(--club-navy),var(--club-navy-deep));transform:rotateY(180deg);display:flex;flex-direction:column;align-items:stretch;text-align:center;padding:16px 14px 14px;color:#fff}
.bcfc .tcard-back-head{display:block;flex:none}
.bcfc .tcard-back .tcard-crest{width:38px;height:38px;opacity:.9;display:block;margin:0 auto 6px}
.bcfc .tcard-back b{font-size:14.5px;display:block;line-height:1.2}
.bcfc .tcard-back .num-line{font-size:20px;font-weight:900;font-style:italic;color:var(--club-gold);display:block;line-height:1.2;margin-top:2px}
/* Centres a short back (a player with only a position row) without
   clipping a long one: "safe center" falls back to flex-start when the
   content overflows, and older engines drop the declaration entirely. */
.bcfc .tcard-back-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;justify-content:flex-start;justify-content:safe center;margin:10px 0 0;text-align:left;scrollbar-width:thin;scrollbar-color:rgba(234,179,8,.5) transparent}
.bcfc .tcard-back-body::-webkit-scrollbar{width:4px}
.bcfc .tcard-back-body::-webkit-scrollbar-thumb{background:rgba(234,179,8,.5);border-radius:4px}
.bcfc .tcard-meta{display:block}
.bcfc .pd-row{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.bcfc .pd-row:last-child{border-bottom:none}
.bcfc .pd-k{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.55);font-weight:800;flex:none}
.bcfc .pd-v{font-size:11.5px;font-weight:700;color:#fff;text-align:right}
.bcfc .tcard-stats{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.18)}
.bcfc .pd-stat{display:block;text-align:center}
.bcfc .pd-stat b{font-size:17px;font-style:italic;color:var(--club-gold);line-height:1.1}
.bcfc .pd-stat small{display:block;font-size:8.5px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55);font-weight:800}
.bcfc .tcard-bio{display:block;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.18);font-size:11px;line-height:1.5;color:rgba(255,255,255,.8)}
.bcfc .pd-p{display:block;margin-bottom:7px}
.bcfc .pd-p:last-child{margin-bottom:0}
.bcfc .tcard-back .tagline{flex:none;margin-top:10px;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);border-top:1px solid rgba(255,255,255,.18);padding-top:9px;width:100%;text-align:center}
.bcfc .position-group{margin-bottom:40px}
.bcfc .position-group:last-child{margin-bottom:0}
.bcfc .position-group h3{font-size:15px;text-transform:uppercase;letter-spacing:.08em;color:var(--club-navy);margin-bottom:16px;display:flex;align-items:center;gap:10px}
.bcfc .position-group h3::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---------- honours (history page) ---------- */
.bcfc .honours-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bcfc .honour{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px 20px;box-shadow:var(--card-sh);position:relative;overflow:hidden}
.bcfc .honour::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--club-gold)}
.bcfc .honour .ico{width:34px;height:34px;color:var(--club-gold);margin-bottom:12px}
.bcfc .honour .ico svg{width:34px;height:34px}
.bcfc .honour .yr{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--club-navy)}
.bcfc .honour b{display:block;font-size:15px;margin-top:4px;color:var(--text);line-height:1.25}

/* ---------- club management (conventions: shared image-framing renderer) ---------- */
.bcfc .mgmt-feature{display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--card-sh-hi)}
.bcfc .mgmt-feature-img{border-radius:12px;overflow:hidden;box-shadow:var(--card-sh)}
.bcfc .mgmt-feature-img .framed{width:100%}
.bcfc .mgmt-feature-body b{font-size:26px;text-transform:uppercase;font-style:italic;display:block;margin-bottom:6px}
.bcfc .mgmt-feature-body small{display:block;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--club-navy);margin-bottom:16px}
.bcfc .staff-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bcfc .staff-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--card-sh);transition:transform .18s,box-shadow .18s}
.bcfc .staff-card:hover{transform:translateY(-4px);box-shadow:var(--card-sh-hi)}
.bcfc .staff-photo-wrap .framed{width:100%}
.bcfc .staff-photo-wrap .framed-img{background:var(--panel-2)}
.bcfc .staff-body{padding:14px 14px 16px;text-align:center}
.bcfc .staff-body b{display:block;font-size:14px;margin-bottom:4px;color:var(--text)}
.bcfc .staff-body small{font-size:11px;color:var(--muted);line-height:1.3;display:block}

/* ---------- major partner feature (blue band) ---------- */
.bcfc .sp-feature{background:linear-gradient(115deg,var(--club-navy),var(--club-navy-deep));position:relative;overflow:hidden;color:#fff}
.bcfc .sp-feature::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 60px,rgba(234,179,8,.06) 60px 120px)}
.bcfc .sp-feature .wrap{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.bcfc .sp-feature .eyebrow{color:var(--club-gold-soft)}
.bcfc .sp-feature .logo-card{background:#fff;border-radius:18px;padding:34px;display:grid;place-items:center;box-shadow:0 30px 60px -30px rgba(0,0,0,.55)}
.bcfc .sp-feature .logo-card img{width:100%;max-width:420px;height:auto}
.bcfc .sp-feature h2{font-size:clamp(26px,4vw,42px);text-transform:uppercase;font-style:italic;margin:10px 0 14px;color:#fff}
.bcfc .sp-feature p{color:rgba(255,255,255,.85);font-size:15px;max-width:52ch;margin-bottom:24px}

/* footer partner bar */
.bcfc .foot-partner{border-top:1px solid rgba(255,255,255,.12);margin-top:4px;padding:20px 0;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.bcfc .foot-partner img{height:72px;width:auto;background:#fff;border-radius:10px;padding:8px 16px}
.bcfc .foot-partner .eyebrow{font-size:10px;color:var(--club-gold-soft)}

/* matchbar sponsor credit + cta */
.bcfc .matchbar .presented{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:6px}
.bcfc .matchbar .presented a{color:var(--club-navy);text-decoration:none;font-weight:800}
.bcfc .matchbar .mb-cta{margin-top:14px;font-size:11px;padding:10px 22px}
.bcfc .matchbar .mb-next{margin:8px auto 0;font-weight:700;color:var(--text);line-height:1.7}
.bcfc .matchbar .mb-next span{font-weight:500;color:var(--muted)}

/* ticket inline links */
.bcfc .tik{color:var(--club-navy);text-decoration:none;font-weight:800;font-size:12px;letter-spacing:.04em;white-space:nowrap}
.bcfc .tik:hover{color:var(--club-gold);text-decoration:underline}

/* sponsor grid + 404 */
.bcfc .sp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bcfc .sp{background:var(--panel);border:1px solid var(--line);border-radius:14px;display:grid;place-items:center;min-height:130px;padding:20px;box-shadow:var(--card-sh)}
.bcfc .err{min-height:60vh;display:grid;place-items:center;text-align:center;padding:80px 28px}
.bcfc .err .kicker{background:rgba(16,61,168,.08);border:1px solid rgba(16,61,168,.25);color:var(--club-navy)}
.bcfc .err b.code{font-size:clamp(70px,16vw,150px);font-weight:900;font-style:italic;color:var(--club-navy);line-height:1;display:block}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .bcfc .hero .watermark{width:320px;height:320px;right:-80px}
  .bcfc .hl-grid{grid-template-columns:1fr 1fr}
  .bcfc .hl.big{grid-row:auto;min-height:200px}
  .bcfc .split,.bcfc .lineup .inner{grid-template-columns:1fr}
  .bcfc .squad{grid-template-columns:repeat(3,1fr)}
  .bcfc .foot-top{grid-template-columns:1fr 1fr}
  .bcfc .pgrid{grid-template-columns:1fr 1fr}
  .bcfc .grid-2,.bcfc .grid-3,.bcfc .grid-4{grid-template-columns:1fr 1fr}
  .bcfc .sp-feature .wrap{grid-template-columns:1fr}
  .bcfc .stat-strip{grid-template-columns:1fr 1fr}
  .bcfc .sp-grid{grid-template-columns:1fr 1fr}
  .bcfc .honours-grid{grid-template-columns:1fr 1fr}
  .bcfc .video-feature{grid-template-columns:minmax(220px,300px) 1fr;gap:32px;padding:28px}
  .bcfc .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .bcfc .player-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .bcfc .news-card.featured{grid-template-columns:1fr}
  .bcfc .news-card.featured .media{aspect-ratio:16/9}
  .bcfc .news-soon{flex-direction:column}
  .bcfc .mgmt-feature{grid-template-columns:1fr;text-align:center}
  .bcfc .mgmt-feature-img{max-width:320px;margin:0 auto}
  .bcfc .staff-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:560px){
  .bcfc .video-feature{grid-template-columns:1fr;text-align:center}
  .bcfc .video-feature video{max-width:280px;margin:0 auto}
  .bcfc .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .bcfc .gallery-grid a.g-wide{grid-column:span 2}
  .bcfc .player-grid{grid-template-columns:repeat(2,1fr)}
  .bcfc .nav-cta{display:none}
  .bcfc .matchbar .wrap{grid-template-columns:1fr;gap:12px;text-align:center;margin-top:-36px}
  .bcfc .mb-side,.bcfc .mb-side.away{justify-content:center}
  /* result banner on phones: the two teams side by side (crest above name), the score and details underneath */
  .bcfc .matchbar .wrap:has(.mb-result){grid-template-columns:1fr 1fr;align-items:start}
  .bcfc .matchbar .wrap:has(.mb-result) .mb-side{flex-direction:column;gap:6px}
  .bcfc .matchbar .wrap:has(.mb-result) .mb-side.away{flex-direction:column-reverse}
  .bcfc .matchbar .mb-result{grid-column:1/-1;order:3;min-width:0}
  .bcfc .row{gap:8px;padding:15px 14px;font-size:12px}
  .bcfc .row .t{min-width:0}
  .bcfc .row .t,.bcfc .row .t.a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bcfc .row .wk{display:none}
  .bcfc .row .sc.time{font-size:11px}
  .bcfc .row-event{grid-template-columns:1fr;text-align:center;gap:8px;padding:16px 14px}
  .bcfc .row-event .t,.bcfc .row-event .t.a{white-space:normal;overflow:visible;text-overflow:clip;justify-content:center}
  .bcfc .row-event .sc.time{text-align:center}
  .bcfc .grid-2,.bcfc .grid-3,.bcfc .grid-4{grid-template-columns:1fr}
  .bcfc .ticket-cat{grid-template-columns:1fr;text-align:center;justify-items:center}
  .bcfc .hl-grid{grid-template-columns:1fr}
  .bcfc .crest-img{width:48px;height:48px}
  .bcfc .page-hero .ph-crest{width:76px;height:76px}
  .bcfc .staff-grid{grid-template-columns:repeat(2,1fr)}
}

/* ---------- social hub (SitePulse 1141) ----------
   Channel cards are registry-driven: one verified channel reads as a feature
   band, and the same markup tiles into a grid once the club adds more, so a
   new account is a URL in club.json and no layout work. */
.bcfc .soc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:20px}
.bcfc .soc-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:26px;padding:34px 36px;border-radius:18px;text-decoration:none;color:#fff;background:linear-gradient(120deg,var(--club-navy),var(--club-navy-deep));border:1px solid rgba(234,179,8,.28);box-shadow:var(--card-sh);transition:transform .18s,box-shadow .18s,border-color .18s}
.bcfc .soc-card::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 44px,rgba(234,179,8,.05) 44px 88px);pointer-events:none}
.bcfc .soc-card:hover,.bcfc .soc-card:focus-visible{transform:translateY(-4px);box-shadow:var(--card-sh-hi);border-color:var(--club-gold)}
.bcfc .soc-card:focus-visible{outline:3px solid var(--club-gold);outline-offset:4px}
.bcfc .soc-wm{position:absolute;right:-40px;top:50%;transform:translateY(-50%);width:230px;opacity:.08;filter:grayscale(1) brightness(6);pointer-events:none;z-index:0}
.bcfc .soc-mark{position:relative;z-index:1;flex:none;width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);color:var(--club-gold-soft)}
.bcfc .soc-mark svg{width:30px;height:30px}
.bcfc .soc-body{position:relative;z-index:1;display:block;flex:1;min-width:0}
.bcfc .soc-body b{display:block;font-size:21px;text-transform:uppercase;font-style:italic;letter-spacing:-.01em;color:#fff}
.bcfc .soc-body p{font-size:14px;color:rgba(255,255,255,.78);margin-top:7px;max-width:48ch}
.bcfc .soc-go{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;gap:9px;background:var(--club-gold);color:var(--club-gold-ink);font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:14px 22px;border-radius:9px;box-shadow:0 10px 24px -12px rgba(234,179,8,.85);white-space:nowrap}
.bcfc .soc-go svg{width:15px;height:15px;transition:transform .18s}
.bcfc .soc-card:hover .soc-go svg{transform:translateX(4px)}
.bcfc .soc-note{margin-top:24px;font-size:13.5px;color:var(--muted);max-width:66ch}
.bcfc .soc-empty{grid-column:1/-1;text-align:center;padding:44px 28px;border:1px dashed #c9d4ea;border-radius:16px;background:var(--soft)}
.bcfc .soc-empty img{width:64px;height:64px;opacity:.7;margin-bottom:14px}
.bcfc .soc-empty b{display:block;font-size:17px;margin-bottom:8px;color:var(--text)}
.bcfc .soc-empty p{font-size:13.5px;color:var(--muted);max-width:52ch;margin:0 auto}
@media(max-width:760px){
  .bcfc .soc-card{flex-wrap:wrap;gap:18px;padding:26px 24px}
  .bcfc .soc-body{flex:1 1 100%;order:2}
  .bcfc .soc-mark{order:1}
  .bcfc .soc-go{order:3;width:100%;justify-content:center}
  .bcfc .soc-wm{right:-70px;width:180px}
}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.bcfc .tcard-inner{transition:none!important}}

/* --- audit pass 7 Oct 2026: unconfirmed dates, bye row, league table --- */
.bcfc .tbc{color:var(--club-gold);font-weight:800;letter-spacing:.02em}
.bcfc .row-bye .sc{font-style:italic;color:var(--muted)}
.bcfc .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bcfc table.league{width:100%;border-collapse:collapse;font-size:14px}
.bcfc table.league th,.bcfc table.league td{padding:11px 10px;text-align:center;border-bottom:1px solid var(--line,rgba(255,255,255,.1))}
.bcfc table.league th.l,.bcfc table.league td.l{text-align:left}
.bcfc table.league tr.us td{background:rgba(234,179,8,.12)}
@media (max-width:1180px){.bcfc .menu{gap:14px}.bcfc .menu a{font-size:13px}}
.bcfc .process ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 26px;padding:0;counter-reset:st}
.bcfc .process li{counter-increment:st;background:var(--panel,rgba(255,255,255,.04));border:1px solid var(--line,rgba(255,255,255,.12));border-radius:12px;padding:16px 16px 16px 54px;position:relative;display:flex;flex-direction:column;gap:4px}
.bcfc .process li::before{content:counter(st);position:absolute;left:14px;top:14px;width:28px;height:28px;border-radius:50%;background:var(--club-gold);color:var(--club-gold-ink);font-weight:900;display:flex;align-items:center;justify-content:center}
.bcfc .process li span{font-size:13.5px;opacity:.85}
@media (max-width:700px){.bcfc .process ol{grid-template-columns:1fr}}

.bcfc [hidden]{display:none !important}

/* --- phones: fixture rows stack (names on one line, date/time centred below) so team names are never reduced to
   a crest-only sliver (measured at 375px: name column was 23px, 0px at 320px). Text-only rows may wrap. --- */
@media (max-width:560px){
  .bcfc .row.fx{grid-template-columns:1fr 1fr;grid-template-areas:"h a" "c c";row-gap:8px}
  .bcfc .row.fx>.t:first-child{grid-area:h}
  .bcfc .row.fx>.t.a{grid-area:a}
  .bcfc .row.fx>.sc{grid-area:c;text-align:center;min-width:0}
  .bcfc .row.fx .t,.bcfc .row.fx .t.a{white-space:normal;overflow:visible;text-overflow:clip}
  .bcfc .row:not(.fx):not(.row-event) .t{white-space:normal;overflow:visible;text-overflow:clip}
  .bcfc .mb-cta,.bcfc .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}

/* ---------- install strip (home): replicates the BUFC "web app" band in the club blue ---------- */
.bcfc .install{background:linear-gradient(115deg,var(--club-navy-hi) 0%,var(--club-navy) 45%,var(--club-navy-deep) 100%);color:#fff;padding:56px 0}
.bcfc .install-grid{display:grid;grid-template-columns:260px 1fr;gap:56px;align-items:center}
.bcfc .install-phone{text-align:center}
.bcfc .install-phone small{display:block;margin-top:18px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.bcfc .phone{width:220px;height:440px;margin:0 auto;background:#0d0d0f;border-radius:38px;padding:11px;box-shadow:0 30px 60px -20px rgba(0,0,0,.55),inset 0 0 0 2px #2a2a2e;position:relative}
.bcfc .phone-notch{position:absolute;top:18px;left:50%;transform:translateX(-50%);width:62px;height:9px;border-radius:9px;background:#0d0d0f;z-index:2}
.bcfc .phone-screen{background:#fff;border-radius:28px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:24px 14px 18px;text-align:center}
.bcfc .phone-screen img{width:104px;height:104px;margin-bottom:12px}
.bcfc .phone-screen b{font-size:19px;line-height:1.1;font-weight:800;color:var(--club-navy)}
.bcfc .phone-screen span{font-size:13px;font-weight:700;color:#111;margin-top:6px}
.bcfc .phone-screen em{font-size:11px;color:#777;margin-top:16px}
.bcfc .install-eyebrow{font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.9)}
.bcfc .install h2{font-size:clamp(28px,4.4vw,46px);line-height:1.05;text-transform:uppercase;font-weight:900;margin:10px 0 14px;color:#fff}
.bcfc .install-body>p{font-size:17px;line-height:1.55;max-width:56ch;color:rgba(255,255,255,.95)}
.bcfc .install-btn{display:inline-flex;align-items:center;gap:10px;margin-top:22px;min-height:44px;padding:0 22px;background:#fff;color:var(--club-navy);border:0;border-radius:8px;font:inherit;font-size:14px;font-weight:800;letter-spacing:.04em;cursor:pointer;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.bcfc .install-btn svg{width:18px;height:18px}
.bcfc .install-btn:hover{filter:brightness(.96)}
.bcfc .install-btn:focus-visible{outline:3px solid var(--club-gold);outline-offset:3px}
.bcfc .install-hint{margin-top:12px;padding:10px 14px;background:rgba(255,255,255,.14);border-radius:8px;font-size:14px;max-width:56ch}
.bcfc .install-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px}
.bcfc .install-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);border-radius:16px;padding:20px 22px;transition:background .2s,border-color .2s}
.bcfc .install-card.is-yours{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.55)}
.bcfc .install-card h3{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;text-transform:uppercase;margin:0 0 12px;color:#fff}
.bcfc .install-card h3 svg{width:20px;height:20px;flex:none}
.bcfc .install-card ol{margin:0;padding-left:20px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.95)}
.bcfc .install-card li{margin:6px 0}
.bcfc .install-card b{color:#fff}
.bcfc .install-note{margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.22);font-size:13px;font-style:italic;color:rgba(255,255,255,.9)}
@media (max-width:900px){.bcfc .install-grid{grid-template-columns:1fr;gap:32px}.bcfc .phone{width:190px;height:380px}.bcfc .phone-screen img{width:88px;height:88px}}
@media (max-width:700px){.bcfc .install{padding:44px 0}.bcfc .install-cards{grid-template-columns:1fr}.bcfc .install-btn{width:100%;justify-content:center}}

/* ---------- sign-up forms (membership + player) ---------- */
.bcfc .signup{padding:56px 0}
.bcfc .signup-wrap{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:48px;align-items:start}
.bcfc .signup-intro h2{font-size:clamp(26px,4vw,38px);text-transform:uppercase;font-style:italic;margin:10px 0 14px}
.bcfc .signup-intro p{line-height:1.6;margin:0 0 12px}
.bcfc .sform{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 18px 40px -26px rgba(16,61,168,.35)}
.bcfc .sform fieldset{border:0;margin:0 0 22px;padding:0;min-width:0}
.bcfc .sform legend{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--club-navy);padding:0;margin-bottom:12px}
.bcfc .sform legend small{text-transform:none;letter-spacing:0;font-weight:600;color:var(--muted)}
.bcfc .sform .row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bcfc .sform .fld{margin-bottom:14px;min-width:0}
.bcfc .sform label,.bcfc .sform .lbl{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.bcfc .sform .req{color:#b42318}
.bcfc .sform .opt{font-weight:500;color:var(--muted)}
.bcfc .sform input[type=text],.bcfc .sform input[type=date],.bcfc .sform input[type=tel],.bcfc .sform input[type=email]{width:100%;min-height:46px;padding:10px 12px;font:inherit;font-size:16px;border:1.5px solid #c8d0e0;border-radius:10px;background:#fff;color:inherit}
.bcfc .sform input:focus-visible{outline:3px solid rgba(31,87,214,.35);border-color:var(--club-navy)}
.bcfc .sform input[aria-invalid=true]{border-color:#b42318;background:#fff7f6}
.bcfc .sform .hint{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.bcfc .sform .ferr{display:block;margin-top:5px;font-size:13px;font-weight:600;color:#b42318;min-height:0}
.bcfc .sform .chips{display:flex;flex-wrap:wrap;gap:10px}
.bcfc .sform .chip{margin:0;cursor:pointer}
.bcfc .sform .chip input{position:absolute;opacity:0;pointer-events:none}
.bcfc .sform .chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid #c8d0e0;border-radius:999px;font-weight:700;font-size:14px;background:#fff;transition:.15s}
.bcfc .sform .chip input:checked+span{background:var(--club-navy);border-color:var(--club-navy);color:#fff}
.bcfc .sform .chip input:focus-visible+span{outline:3px solid rgba(31,87,214,.45);outline-offset:2px}
.bcfc .sform .chk{display:flex;gap:12px;align-items:flex-start;font-weight:500;margin:0}
.bcfc .sform .chk input{width:22px;height:22px;margin-top:2px;flex:none;accent-color:var(--club-navy)}
.bcfc .sform-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 28px;border:0;border-radius:10px;background:var(--club-gold);color:var(--club-gold-ink);font:inherit;font-size:14px;font-weight:900;letter-spacing:.06em;cursor:pointer}
.bcfc .sform-btn:hover{filter:brightness(1.04)}
.bcfc .sform-btn:focus-visible{outline:3px solid var(--club-navy);outline-offset:3px}
.bcfc .sform-status{margin-top:16px;padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.5}
.bcfc .sform-status.info{background:#eef3ff;border:1px solid #c8d6ff}
.bcfc .sform-status.ok{background:#ecfdf3;border:1px solid #abefc6}
.bcfc .sform-copybtn{margin-top:10px;min-height:44px;padding:0 16px;border:1.5px solid var(--club-navy);border-radius:8px;background:#fff;color:var(--club-navy);font:inherit;font-weight:800;cursor:pointer}
.bcfc .sform-note{margin:16px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}
.bcfc .sform-copy{display:block;width:100%;max-width:760px;margin:16px auto 0;padding:12px;font:13px/1.5 ui-monospace,Menlo,monospace;border:1px solid var(--line);border-radius:10px}
.bcfc .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:900px){.bcfc .signup-wrap{grid-template-columns:1fr;gap:28px}}
@media (max-width:560px){.bcfc .sform{padding:20px 16px}.bcfc .sform .row2{grid-template-columns:1fr}.bcfc .sform-btn{width:100%}}

/* ---------- results ---------- */
.bcfc .row .score{display:block;font-size:20px;font-weight:900;font-style:italic;color:var(--club-navy);letter-spacing:.02em;line-height:1.1}
.bcfc .row .rdate{display:block;margin-top:3px;font-size:11px;font-weight:700;color:var(--muted);font-style:normal;letter-spacing:.02em}

/* ---------- top menu dropdowns (footer links now live in the menu) ---------- */
.bcfc .menu{align-items:center;gap:6px}
.bcfc .menu>li{position:relative;display:flex;align-items:center;height:82px}
.bcfc .menu a.top{padding:0 8px;line-height:82px}
.bcfc .menu .has-sub>a.top{padding-right:2px}
.bcfc .menu .is-active>a.top{opacity:1;color:var(--club-navy)}
.bcfc .sub-toggle{display:inline-grid;place-items:center;width:22px;height:44px;margin:0 2px 0 0;padding:0;background:none;border:0;color:var(--text);opacity:.7;cursor:pointer}
.bcfc .sub-toggle svg{width:14px;height:14px;transition:transform .15s}
.bcfc .sub-toggle:hover,.bcfc .sub-toggle:focus-visible{opacity:1;color:var(--club-navy)}
.bcfc .sub-toggle:focus-visible{outline:2px solid var(--club-navy);outline-offset:-2px;border-radius:6px}
.bcfc .menu .sub{display:none;position:absolute;top:100%;left:-6px;min-width:210px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 22px 40px -18px rgba(10,37,96,.35);z-index:70}
.bcfc .menu .has-sub:hover>.sub,.bcfc .menu .has-sub.open>.sub{display:block}   /* keyboard: toggle button (Enter/Space), Escape closes - not :focus-within, which could never be closed */
.bcfc .menu .has-sub:hover .sub-toggle svg,.bcfc .menu .has-sub.open .sub-toggle svg{transform:rotate(180deg)}
.bcfc .menu .sub a{display:block;padding:11px 14px;border-radius:8px;font-size:13.5px;line-height:1.3;white-space:nowrap;opacity:1}
.bcfc .menu .sub a:hover,.bcfc .menu .sub a:focus-visible{background:var(--soft);color:var(--club-navy)}
.bcfc .menu .sub a[aria-current="page"]{color:var(--club-navy);font-weight:800}
.bcfc .m-menu a.m-sub{padding:15px 28px;font-size:14px;font-weight:500;color:var(--muted)}   /* sub-links share the main items' left edge; secondary look = lighter weight + muted colour */
@media (max-width:1180px){.bcfc .menu a.top{padding:0 6px;font-size:12.5px}.bcfc .menu{gap:2px}}

/* ---------- installed-app mode (html.is-app is set from display-mode: standalone) ----------
   Website furniture goes (hamburger, install banner, footer link columns); a compact top bar and a bottom tab bar come in.
   Applies to phones and tablets (<=1100px, where the site already uses the drawer menu). Untouched in a normal browser tab. */
.bcfc .tabbar{display:none}
@media (max-width:1100px){
  html.is-app{-webkit-tap-highlight-color:transparent;overscroll-behavior-x:none}
  html.is-app body.bcfc{padding-bottom:calc(64px + env(safe-area-inset-bottom));scroll-padding-bottom:80px}
  html.is-app .bcfc a,html.is-app .bcfc button{touch-action:manipulation}
  html.is-app .bcfc .nav .wrap{height:calc(54px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
  html.is-app .bcfc .nav .crest-img{width:34px;height:34px}
  html.is-app .bcfc .brand span{display:none}
  html.is-app .bcfc .brand b{font-size:15px;letter-spacing:.04em}
  html.is-app .bcfc .nav-cta{display:none}
  /* the top-right menu button STAYS in app mode. The bar must not use backdrop-filter here: a filtered ancestor becomes the containing block of
     position:fixed children, which collapsed the menu sheet to 1px (the "More does nothing" bug). */
  html.is-app .bcfc .nav{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}
  html.is-app .bcfc .burger{display:grid;width:44px;height:44px}
  html.is-app .bcfc .install{display:none}
  html.is-app .bcfc footer .foot-top{display:none}
  html.is-app .bcfc footer{padding-top:24px}
  html.is-app .bcfc .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:80;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:0 4px env(safe-area-inset-bottom);box-shadow:0 -10px 30px -18px rgba(10,37,96,.35)}
  html.is-app .bcfc .tabbar .tab{flex:1;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 2px;background:none;border:0;font:inherit;font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--muted);text-decoration:none;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}
  html.is-app .bcfc .tabbar .tab svg{width:24px;height:24px}
  html.is-app .bcfc .tabbar .tab[aria-current],html.is-app .bcfc .tabbar .tab[aria-expanded="true"]{color:var(--club-navy)}
  html.is-app .bcfc .tabbar .tab[aria-current]::before,html.is-app .bcfc .tabbar .tab[aria-expanded="true"]::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--club-gold)}
  html.is-app .bcfc .tabbar .tab:active{background:var(--soft)}
  /* "More" opens the full menu as a sheet between the top bar and the tab bar */
  html.is-app .bcfc .m-menu{display:none}
  html.is-app .bcfc .m-menu.open{display:block;position:fixed;top:calc(54px + env(safe-area-inset-top));left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:70;border-top:1px solid var(--line)}
  html.is-app .bcfc .m-menu a{padding:16px 24px}
  html.is-app .bcfc .m-menu a.m-sub{padding:16px 24px}
  html.is-app .bcfc .page-hero{min-height:0}
}

/* ---------- install banner (phones/tablets only; JS also refuses on non-touch and >1100px) ---------- */
.bcfc .install-bar{display:none}
@media (max-width:1100px){
  .bcfc .install-bar{position:fixed;z-index:75;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 12px;background:#0f1a36;color:#fff;border-radius:20px;box-shadow:0 18px 44px -10px rgba(0,0,0,.55);transform:translateY(24px);opacity:0;transition:transform .25s ease,opacity .25s ease}
  .bcfc .install-bar[hidden]{display:none}
  .bcfc .install-bar.show{transform:none;opacity:1}
  .bcfc .ib-icon{flex:none;width:52px;height:52px;display:grid;place-items:center;background:#fff;border-radius:14px}
  .bcfc .ib-icon img{width:42px;height:42px}
  .bcfc .ib-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  .bcfc .ib-text b{font-size:15px;line-height:1.25}
  .bcfc .ib-text span{font-size:12.5px;line-height:1.35;color:rgba(255,255,255,.78)}
  .bcfc .ib-btn{flex:none;min-height:44px;padding:0 18px;border:0;border-radius:12px;background:var(--club-gold);color:var(--club-gold-ink);font:inherit;font-size:14px;font-weight:900;letter-spacing:.04em;cursor:pointer}
  .bcfc .ib-btn:active{filter:brightness(.95)}
  .bcfc .ib-close{flex:none;width:36px;height:44px;display:grid;place-items:center;padding:0;background:none;border:0;color:rgba(255,255,255,.7);cursor:pointer}
  .bcfc .ib-close svg{width:20px;height:20px}
  .bcfc .ib-btn:focus-visible,.bcfc .ib-close:focus-visible{outline:3px solid #fff;outline-offset:2px}
  html.has-install-bar body.bcfc{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  html.is-app .bcfc .install-bar{display:none!important}
}
@media (max-width:360px){.bcfc .ib-text span{font-size:12px}.bcfc .ib-btn{padding:0 12px}.bcfc .ib-icon{width:44px;height:44px}.bcfc .ib-icon img{width:36px;height:36px}}
@media (min-width:1101px){.bcfc .install-bar{display:none!important}}

/* ---------- Facebook videos (Highlights): a facade until tapped ---------- */
.bcfc .fbv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.bcfc .fbv{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--card-sh);display:flex;flex-direction:column;min-width:0}
.bcfc .fbv-media{position:relative;aspect-ratio:16/9;background:linear-gradient(150deg,var(--club-navy),var(--club-navy-deep))}
.bcfc .fbv-media.is-portrait{aspect-ratio:9/16;max-height:560px;margin:0 auto}
.bcfc .fbv-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bcfc .fbv-play{position:absolute;inset:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:none;border:0;padding:0;color:#fff;cursor:pointer;overflow:hidden;font:inherit}
.bcfc .fbv-crest{position:absolute;right:-12%;top:50%;transform:translateY(-50%);width:70%;max-width:240px;opacity:.12;filter:grayscale(1) brightness(6);pointer-events:none}
.bcfc .fbv-play .play{position:relative;z-index:1;width:64px;height:64px;border-radius:50%;background:var(--club-gold);color:var(--club-gold-ink);display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(0,0,0,.5)}
.bcfc .fbv-play .play svg{width:26px;height:26px}
.bcfc .fbv-tap{position:relative;z-index:1;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.9)}
.bcfc .fbv-play:focus-visible{outline:3px solid var(--club-gold);outline-offset:-6px}
.bcfc .fbv-ns{position:absolute;left:0;right:0;bottom:0;padding:14px;background:rgba(0,0,0,.6);color:#fff;text-align:center}
.bcfc .fbv-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:4px;flex:1 1 auto}
.bcfc .fbv-body b{font-size:16px;line-height:1.3}
/* titles reserve three lines, so every card is the same height whether it sits beside others or alone in a row */
.bcfc .fbv-grid .fbv-body b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:calc(1.3em * 3)}
@media (max-width:360px){.bcfc .fbv-grid .fbv-body b{-webkit-line-clamp:4;line-clamp:4;min-height:calc(1.3em * 4)}}
.bcfc .fbv-body small{font-size:12px;color:var(--muted)}
.bcfc .fbv-link{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:800;color:var(--club-navy);text-decoration:none}
@media (max-width:900px){.bcfc .fbv-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.bcfc .fbv-grid{grid-template-columns:1fr}}

/* ---------- contact map: a facade until tapped ---------- */
.bcfc .mapbox{position:relative;width:100%;height:clamp(260px,56vw,420px);border-radius:12px;overflow:hidden;margin-bottom:16px;background:
  linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) 0 0/46px 46px,linear-gradient(0deg,rgba(255,255,255,.07) 1px,transparent 1px) 0 0/46px 46px,
  linear-gradient(150deg,var(--club-navy),var(--club-navy-deep))}
.bcfc .mapbox iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bcfc .map-play{position:absolute;inset:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:none;border:0;padding:16px;color:#fff;cursor:pointer;font:inherit;text-align:center}
.bcfc .map-pin{width:62px;height:62px;border-radius:50%;background:var(--club-gold);color:var(--club-gold-ink);display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(0,0,0,.5)}
.bcfc .map-pin svg{width:30px;height:30px}
.bcfc .map-play b{font-size:18px}
.bcfc .map-tap{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.bcfc .map-play:focus-visible{outline:3px solid var(--club-gold);outline-offset:-6px}
.bcfc .map-ns{position:absolute;left:0;right:0;bottom:0;padding:14px;background:rgba(0,0,0,.6);color:#fff;text-align:center}
.bcfc .map-links{margin:0 0 6px}
@media (max-width:560px){.bcfc .map-links .btn{width:100%;justify-content:center}}

/* ---- League table card: reproduces the Bor Football Association table graphic (navy card, gold banner and header, gold rules).
   The card scales like the poster: every size is a share of the card's own width (container query units), with a floor for legibility on phones. ---- */
.bcfc .lt-wrap{container-type:inline-size;max-width:1080px;margin:0 auto}
.bcfc .lt{--lt-gold:#e6c05f;--lt-rule:rgba(205,163,72,.9);--lt-navy:#0b1635;position:relative;overflow:hidden;border-radius:10px;color:#fff;
  font-family:'Barlow Semi Condensed','Arial Narrow','Roboto Condensed',Inter,system-ui,sans-serif;
  padding:clamp(10px,1.2cqw,24px) clamp(10px,7.5cqw,96px) clamp(14px,1.9cqw,30px);
  background:radial-gradient(110% 55% at 50% 0%,rgba(48,76,150,.30),transparent 62%),linear-gradient(180deg,#0a1432 0%,#0c1a3f 55%,#0a1330 100%);
  box-shadow:0 18px 50px rgba(0,0,0,.35)}
.bcfc .lt-crest{display:block;margin:0 auto;width:clamp(92px,14.2cqw,200px);height:auto}
.bcfc .lt-title{margin:clamp(8px,1.2cqw,18px) auto 0;width:77.6%;padding:clamp(6px,.85cqw,14px) 6px clamp(6px,.75cqw,12px);text-align:center;color:var(--lt-navy);
  background:linear-gradient(90deg,#b0802f 0%,#e9cd7e 22%,#f7e6a8 50%,#e9cd7e 78%,#b0802f 100%)}
.bcfc .lt-title h2{margin:0;padding:0;font:inherit;font-size:clamp(15px,3.55cqw,70px);font-weight:800;line-height:1.05;letter-spacing:.01em;text-transform:uppercase;color:inherit}
.bcfc .lt-title p{margin:.12em 0 0;font-size:clamp(12px,2.95cqw,58px);font-weight:800;line-height:1.05;text-transform:uppercase;color:inherit}
.bcfc .lt-cap,.bcfc .lt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bcfc .lt-table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:clamp(8px,1cqw,20px);font-size:clamp(12.5px,2.4cqw,46px);font-weight:800;line-height:1}
.bcfc .lt-table .c-rk{width:7.4%}.bcfc .lt-table .c-tm{width:31%}.bcfc .lt-table .c-st,.bcfc .lt-table .c-gd{width:7.7%}
.bcfc .lt-table th,.bcfc .lt-table td{padding:.2em 0;text-align:center;font-variant-numeric:tabular-nums;vertical-align:middle}
.bcfc .lt-table thead th{height:1.42em;color:var(--lt-navy);background:linear-gradient(90deg,#c29b46 0%,#f4dd93 30%,#fae9ad 50%,#f4dd93 70%,#c29b46 100%)}
.bcfc .lt-table tbody tr{background:#0e1b40;border-bottom:1px solid var(--lt-rule)}
.bcfc .lt-table tbody tr:first-child{border-top:1px solid var(--lt-rule)}
.bcfc .lt-table tbody td{height:1.42em;color:#fff}
.bcfc .lt-table tbody td.rk{color:var(--lt-gold)}
.bcfc .lt-table th.tm{text-align:left}
.bcfc .lt-table .tmw{display:flex;align-items:center;gap:.4em;min-width:0}
.bcfc .lt-table .lt-name{overflow:hidden;white-space:nowrap}
.bcfc .lt-table .lt-ico{flex:0 0 auto;width:1.5em;height:1.5em;object-fit:contain;display:block}
.bcfc .lt-table .lt-ico.opp{display:grid;place-items:center;border-radius:50%;border:1px solid var(--lt-rule);color:var(--lt-gold);font-size:.55em;font-weight:800;line-height:1;width:2.7em;height:2.7em}
/* Bor City's row stands out: solid gold band (the poster's header gold) with navy text and a bar on the left edge. Set by the build from the team name. */
.bcfc .lt-table tbody tr.us{background:#f0d27c;border-top:1px solid #fff3c4;border-bottom:1px solid #fff3c4}
.bcfc .lt-table tbody tr.us td,.bcfc .lt-table tbody tr.us th.tm,.bcfc .lt-table tbody tr.us .lt-name{color:var(--lt-navy)}
.bcfc .lt-table tbody tr.us td.rk{background:linear-gradient(90deg,var(--lt-navy) 0 .2em,transparent .2em)}
.bcfc .lt-table thead th.tm{text-align:center}
.bcfc .lt-table tbody th.tm{padding-left:.5em;color:#fff;font-weight:800;white-space:nowrap;overflow:hidden}
.bcfc .lt-legend{margin:clamp(8px,1.1cqw,20px) 0 0;border:1px solid var(--lt-rule);padding:.55em .9em;text-align:center;font-size:clamp(11px,1.52cqw,30px);font-weight:700;line-height:1.4;color:#fff}
.bcfc .lt-legend b{color:var(--lt-gold);font-weight:800;text-transform:uppercase}
.bcfc .lt .lg{white-space:nowrap}
.bcfc .lt .dot{color:var(--lt-gold);margin:0 .12em}
.bcfc .lt-foot{margin:clamp(6px,1cqw,16px) 0 0;text-align:center;color:var(--lt-gold);font-size:clamp(11px,1.72cqw,34px);font-weight:700;line-height:1.35}
@container (max-width:560px){
  .bcfc .lt{padding-inline:10px}
  .bcfc .lt-title{width:100%}
  .bcfc .lt-title h2{font-size:clamp(15px,5.6cqw,28px)}
  .bcfc .lt-title p{font-size:clamp(12px,3.9cqw,20px)}
  .bcfc .lt-table .c-rk{width:6%}.bcfc .lt-table .c-tm{width:40.4%}.bcfc .lt-table .c-st{width:6.7%}
}
@container (max-width:340px){
  .bcfc .lt-table{font-size:12px}
  .bcfc .lt-table .c-rk{width:5.3%}.bcfc .lt-table .c-tm{width:43%}.bcfc .lt-table .c-st{width:6.1%}.bcfc .lt-table .c-gd{width:9%}
  .bcfc .lt-table .lt-ico{width:1.3em;height:1.3em}.bcfc .lt-table .tmw{gap:.3em}.bcfc .lt-table tbody th.tm{padding-left:.3em}
}

/* image-less news card: crest on the brand gradient (same look as the "soon" tiles, no placeholder text) */
.bcfc .news-card .news-crest-media{position:relative;overflow:hidden;background:linear-gradient(150deg,#12327d,var(--club-navy-deep));display:grid;place-items:center;aspect-ratio:4/3}
.bcfc .news-card.featured .news-crest-media{aspect-ratio:16/9}
.bcfc .news-card .news-crest-media .hl-soon-crest{position:static;width:88px;max-width:none;transform:none;opacity:.9;filter:none}
.bcfc .news-card .news-crest-media::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 26px,rgba(234,179,8,.05) 26px 52px)}

/* video thumbnails (local still frame; nothing loads from Facebook until the play button is tapped) */
.bcfc .fbv-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bcfc .fbv-media.has-poster::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,16,40,0) 45%,rgba(7,16,40,.62) 100%);pointer-events:none}
.bcfc .fbv-media.has-poster .fbv-play{z-index:2}
/* Reels are 9:16: the playing box must be the same shape or the player crops heads; thumbnail and player share one box so the card never changes size on tap */
.bcfc .fbv-grid .fbv-media,.bcfc .fbv-grid .fbv-media.is-portrait,.bcfc .fbv-grid .fbv-media.is-loaded{aspect-ratio:9/16;max-height:none;width:100%;margin:0;flex:0 0 auto}
.bcfc .fbv-poster{background:var(--club-navy-deep)}
.bcfc .fbv-media.is-loaded::after{display:none}
/* story photo gallery: whole photos, never cropped */
.bcfc .story-gallery{column-count:2;column-gap:14px;margin:30px 0 8px}
.bcfc .story-gallery figure{margin:0 0 14px;break-inside:avoid;border-radius:12px;overflow:hidden;background:var(--soft)}
.bcfc .story-gallery img{display:block;width:100%;height:auto}
@media(min-width:900px){.bcfc .story-gallery{column-count:3}}
/* with a thumbnail the play button sits in the bottom-left corner, so it never covers faces */
.bcfc .fbv-media.has-poster:not(.is-loaded) .fbv-play{flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:12px;padding:18px}
.bcfc .fbv-media.has-poster:not(.is-loaded) .fbv-play .play{width:54px;height:54px;flex:0 0 auto}
.bcfc .fbv-media.has-poster:not(.is-loaded) .fbv-play .fbv-tap{margin-bottom:18px;text-shadow:0 1px 6px rgba(0,0,0,.55)}
/* self-hosted video: one tap plays the real file right in the card (browser's own controls) */
.bcfc .fbv-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;display:block}
