@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--accent:#d51f36;--ink:#11151b;--muted:#737b85;--light:#f3f4f5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,Arial,sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button{font:inherit}.container{width:min(1240px,calc(100% - 48px));margin:auto}.skip-link{position:absolute;top:-60px;left:10px;z-index:1000;background:#fff;padding:10px}.skip-link:focus{top:10px}.topline{background:#11151b;color:#aab0b8;font-size:10px;letter-spacing:2px;font-weight:700}.top-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between}.site-header{background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 3px 24px #10151c12}.header-inner{display:flex;align-items:center;gap:30px;min-height:92px}.brand{display:flex;align-items:center;gap:12px;min-width:260px}.club-logo{width:70px;height:70px;object-fit:contain}.crest-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;width:62px;height:68px;clip-path:polygon(0 0,100% 0,100% 74%,50% 100%,0 74%);background:var(--accent);color:#fff;font:900 28px/1 'Barlow Condensed',sans-serif}.crest-placeholder span{font-size:15px}.brand-text{display:flex;flex-direction:column;font:900 27px/.86 'Barlow Condensed',Impact,sans-serif;letter-spacing:.4px}.brand-text em{font-style:normal;color:var(--accent)}.site-nav{margin-left:auto}.nav-list{display:flex;align-items:center;list-style:none;gap:28px;margin:0;padding:0}.nav-list a{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.6px}.nav-list a:hover,.nav-list a:focus{color:var(--accent)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--accent);color:#fff;padding:14px 21px;font-size:12px;letter-spacing:.7px;font-weight:800;text-transform:uppercase}.header-cta:hover,.btn-accent:hover{filter:brightness(.9)}.nav-toggle{display:none;background:transparent;border:0;padding:10px}.nav-toggle span{display:block;width:26px;height:2px;background:var(--ink);margin:5px 0}.hero{background:linear-gradient(100deg,#10151d 0%,#1d2935 65%,#33414b 100%);background-position:center;background-size:cover;color:#fff;min-height:575px;position:relative;overflow:hidden}.hero-inner{padding-top:130px;padding-bottom:125px;position:relative;z-index:1}.eyebrow,.kicker{font-weight:800;font-size:11px;letter-spacing:2px;text-transform:uppercase}.eyebrow{color:#e5e7eb;display:flex;align-items:center;gap:10px}.red-line{width:28px;height:3px;background:var(--accent)}h1,h2,h3{font-family:'Barlow Condensed',Impact,sans-serif;line-height:1.02;text-transform:uppercase;margin:0}.hero h1{font-size:clamp(52px,6.8vw,100px);font-weight:900;letter-spacing:-1px;max-width:820px;margin:20px 0}.hero p{max-width:610px;color:#e0e4e8;font-size:17px;margin:0 0 28px}.hero-side{position:absolute;right:35px;bottom:30px;font-size:10px;font-weight:800;letter-spacing:2px;transform:rotate(-90deg);transform-origin:right center}.hero-side span{color:var(--accent)}.match-band{background:#171c24;color:#fff;padding:0}.match-grid{display:grid;grid-template-columns:1fr 1fr}.match-panel{padding:33px 42px;border-right:1px solid #343c48;min-height:225px}.match-panel:first-child{border-left:1px solid #343c48}.panel-label{font-size:11px;font-weight:800;letter-spacing:1.8px;color:#fff}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:7px}.match-meta{color:#a7b0bc;font-size:11px;margin-top:18px;text-transform:uppercase;letter-spacing:1px}.match-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;margin:12px 0}.match-teams strong{font:800 27px/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase}.match-teams strong:last-child{text-align:right}.match-teams>span{font:800 23px 'Barlow Condensed',sans-serif;color:#8893a0}.match-teams .score{font-size:37px;color:#fff}.match-detail,.small-muted{color:#a7b0bc;font-size:12px}.match-empty{font:800 29px 'Barlow Condensed',sans-serif;text-transform:uppercase;margin-top:32px}.section{padding:90px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:32px;gap:20px}.kicker{color:var(--accent)}.section h2,.feature-strip h2,.sponsor-band h2{font-size:clamp(42px,5vw,66px);font-weight:900;margin-top:6px}.section h2 span,.feature-strip h2 span{color:var(--accent)}.text-link,.read-link{font-size:11px;font-weight:800;letter-spacing:1px}.text-link:hover,.read-link:hover{color:var(--accent)}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.news-card{background:#fff;border:1px solid #e9eaed;overflow:hidden}.news-photo{display:block;aspect-ratio:1.65;overflow:hidden;background:#252b35}.news-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.news-photo:hover img{transform:scale(1.035)}.news-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#fff;font:900 72px 'Barlow Condensed',sans-serif;opacity:.25}.news-body{padding:24px}.news-date{font-size:11px;font-weight:800;letter-spacing:1px;color:var(--accent);text-transform:uppercase}.news-body h3,.news-body h2{font-size:30px;margin:10px 0}.news-body p{font-size:13px;color:#6b747e;margin:0 0 18px}.empty-news{grid-column:1/-1;background:#f3f4f5;padding:40px}.empty-news h3{font-size:30px}.feature-strip{background:#121821;color:#fff;padding:90px 0;overflow:hidden}.feature-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center}.feature-strip p{max-width:480px;color:#b6bec8;margin:20px 0 30px}.btn-outline{background:transparent;border:1px solid #737b85}.btn-outline:hover{background:#fff;color:#111}.feature-watermark{font:900 clamp(120px,20vw,300px)/.7 'Barlow Condensed',sans-serif;text-align:center;color:#2c3540;letter-spacing:-10px}.feature-watermark span{display:block;color:#252e38}.club-tiles{background:#f4f5f6}.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.club-tile{display:flex;flex-direction:column;justify-content:end;min-height:300px;background:linear-gradient(150deg,#252c36,#12161d);color:#fff;padding:32px;transition:transform .2s}.club-tile:hover{transform:translateY(-4px)}.club-tile:nth-child(2){background:linear-gradient(150deg,#353e48,#1b222a)}.club-tile:nth-child(3){background:linear-gradient(150deg,#6e1727,#171c24)}.club-tile>span{font-size:10px;letter-spacing:2px;color:#c4c9d0;font-weight:800}.club-tile h3{font-size:42px;margin:8px 0}.club-tile p{font-size:13px;color:#c7ccd3}.club-tile strong{font-size:11px;letter-spacing:1px;margin-top:14px}.sponsor-band{background:#fff;padding:70px 0}.sponsor-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.sponsor-band h2{font-size:50px}.sponsor-band p,.sponsor-note{color:#7c838d}.site-footer{background:#10151c;color:#c0c6cf}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding:70px 0}.footer-brand{font:900 46px/.86 'Barlow Condensed',sans-serif;color:#fff}.footer-brand span{color:var(--accent)}.footer-main p{max-width:330px;font-size:13px}.footer-main h3{color:#fff;font-size:23px;margin-bottom:20px}.footer-main a{display:block;font-size:13px;margin:10px 0}.footer-main a:hover{color:#fff}.footer-main ul{list-style:none;margin:0;padding:0}.footer-bottom{display:flex;justify-content:space-between;padding:22px 0;border-top:1px solid #2a313a;font-size:11px}.inner-page{padding-top:80px;padding-bottom:100px;min-height:55vh}.inner-page h1,.article-layout h1{font-size:clamp(45px,6vw,78px);margin:15px 0 30px}.article-layout{padding-top:75px;padding-bottom:100px;max-width:900px}.article-date,.back-link{font-size:12px;color:#7c838d;font-weight:700;letter-spacing:1px}.back-link{color:var(--accent)}.article-image{margin:30px 0}.article-image img{width:100%;height:auto}.article-content{font-size:17px;line-height:1.85}.article-content a{color:var(--accent);text-decoration:underline}.article-content img{height:auto}.pagination{margin-top:40px}
@media(max-width:1050px){.header-inner{min-height:78px}.brand{min-width:0}.site-nav{margin-left:auto}.nav-list{gap:15px}.header-cta{display:none}.match-panel{padding:30px 24px}}
@media(max-width:760px){.container{width:min(100% - 32px,1240px)}.top-right{display:none}.header-inner{min-height:72px}.brand-text{font-size:23px}.crest-placeholder{width:48px;height:53px;font-size:22px}.club-logo{width:54px;height:54px}.nav-toggle{display:block;margin-left:auto}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 12px 24px #0002;padding:10px 16px 22px}.site-nav.is-open{display:block}.nav-list{flex-direction:column;align-items:stretch;gap:0}.nav-list a{display:block;padding:13px 8px;border-bottom:1px solid #eee}.hero{min-height:480px}.hero-inner{padding-top:92px;padding-bottom:85px}.hero h1{font-size:clamp(48px,12vw,76px)}.hero p{font-size:15px}.hero-side{display:none}.match-grid{grid-template-columns:1fr}.match-panel,.match-panel:first-child{border-left:0;border-right:0;border-bottom:1px solid #343c48;min-height:205px;padding:28px 16px}.match-teams strong{font-size:25px}.section{padding:60px 0}.section-head{align-items:start}.news-grid,.tile-grid,.feature-grid,.footer-main{grid-template-columns:1fr}.news-grid{gap:18px}.feature-strip{padding:60px 0}.feature-watermark{display:none}.club-tile{min-height:230px}.sponsor-inner{align-items:start;flex-direction:column}.footer-main{gap:25px;padding:55px 0}.footer-bottom{gap:10px;flex-wrap:wrap}.inner-page,.article-layout{padding-top:55px;padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.burgh-match-item{padding:22px 0;border-bottom:1px solid #ddd}.burgh-match-item h3{font-size:30px}.burgh-match-item h3 span{color:var(--accent)}.burgh-match-meta{font-size:12px;color:#667;text-transform:uppercase}.burgh-match-item a{color:var(--accent);font-weight:800}.match-detail a{text-decoration:underline}

/* Next fixture: the Burgh is understood, so show only the opponent. */
.jb-next-opponent{display:flex;align-items:center;gap:20px;margin:15px 0 16px;min-height:76px}
.jb-next-badge{display:block;width:78px;height:78px;object-fit:contain;flex:none}
.jb-next-badge-placeholder{display:grid;place-items:center;width:78px;height:78px;flex:none;border:1px solid #394454;border-radius:12px;color:#a7b0bc;font-size:36px}
.jb-next-opponent-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.jb-next-opponent-info strong{font:800 clamp(24px,2.7vw,36px)/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;color:#fff;overflow-wrap:anywhere}
.jb-next-side{color:#b2bac7;font-size:12px;font-weight:600}
@media(max-width:760px){.jb-next-opponent{gap:14px}.jb-next-badge,.jb-next-badge-placeholder{width:64px;height:64px}}

/* v1.3.0 homepage countdown and club badges */
.jb-countdown{margin:20px 0 18px}.jb-countdown-heading{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#b7c3d2;margin-bottom:9px}.jb-countdown-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:420px}.jb-countdown-units>div{background:#26313f;border-radius:6px;text-align:center;padding:10px 3px 8px;min-width:0}.jb-countdown-units strong{display:block;font:800 clamp(22px,3vw,32px)/1.1 'Barlow Condensed',Impact,sans-serif;color:#fff;font-variant-numeric:tabular-nums}.jb-countdown-units span{display:block;color:#b7c3d2;font-size:9px;letter-spacing:.7px;margin-top:4px}.jb-countdown-finished{font-weight:800;color:#fff}.jb-countdown-finished[hidden],.jb-countdown-units[hidden]{display:none!important}.jb-result-teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px}.jb-result-club{display:flex;align-items:center;gap:9px;min-width:0}.jb-result-club img{width:44px;height:44px;object-fit:contain;flex:none}.jb-result-club strong{font-size:clamp(19px,2.2vw,27px);overflow-wrap:anywhere}.jb-result-club-away{justify-content:flex-end}.jb-result-club-away strong{text-align:right}.jb-result-crest-placeholder{display:grid;place-items:center;width:36px;height:44px;flex:none;color:#b7c3d2;font-size:25px}.jb-result-teams .score{white-space:nowrap;font-size:clamp(27px,3vw,37px)}@media(max-width:760px){.jb-result-teams{gap:7px}.jb-result-club{gap:6px}.jb-result-club img{width:32px;height:32px}.jb-result-club strong{font-size:clamp(17px,5vw,24px)}.jb-result-teams .score{font-size:clamp(25px,7vw,35px)}.jb-countdown-units{max-width:100%}}

/* Official landscape branding, no duplicate text */
.site-header .brand{flex:0 0 auto;min-width:0;max-width:min(300px,40vw);display:block;line-height:0}
.site-header .jb-landscape-logo{display:block;width:100%;height:auto;max-height:82px;object-fit:contain;object-position:left center}
.footer-brand{font-size:0;line-height:0}
.jb-footer-landscape-logo{display:block;width:min(310px,100%);height:auto;object-fit:contain;background:#fff;border-radius:3px;padding:10px}
@media(max-width:760px){.site-header .brand{max-width:min(235px,65vw)}.site-header .jb-landscape-logo{max-height:66px}}
@media(max-width:390px){.site-header .brand{max-width:205px}}

/* 1.3.2: accessible hierarchical navigation */
.site-nav .nav-list>li{position:relative}
.site-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;z-index:150;background:#fff;box-shadow:0 12px 25px #0002;list-style:none;margin:0;padding:8px 0}
.site-nav .sub-menu a{display:block;padding:10px 15px;white-space:normal}
.site-nav li:hover>.sub-menu,.site-nav li:focus-within>.sub-menu{display:block}
@media(max-width:760px){.site-nav .sub-menu{display:block;position:static;box-shadow:none;padding:0 0 0 16px;min-width:0}.site-nav .sub-menu a{font-size:12px;padding:9px 8px;color:#424954}.site-nav .nav-list>li{width:100%}}

/* v1.4: permanent club photograph hero */
.jb-club-hero{background-size:cover;background-position:center center;min-height:500px}
@media(max-width:760px){.jb-club-hero{background-position:58% center;min-height:420px}}

/* v1.5 fixtures and navigation */
.jb-fixtures-page{padding-top:70px;padding-bottom:100px;max-width:1120px}
.jb-fixtures-intro{margin-bottom:34px}.jb-fixtures-intro h1{font-size:clamp(54px,7vw,92px);margin:8px 0 10px}.jb-fixtures-intro p{color:#69717b;margin:0}
.jb-fixtures-list{display:grid;gap:20px}.jb-fixture-card{border:1px solid #e1e3e6;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 26px #10151b0a}
.jb-fixture-top{display:flex;justify-content:space-between;gap:15px;background:#171c24;color:#c5ccd6;padding:15px 24px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.3px}
.jb-fixture-status{color:#fff}.jb-fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:20px;padding:30px 28px}
.jb-fixture-team{display:flex;align-items:center;gap:18px;min-width:0}.jb-fixture-team:last-child{justify-content:flex-end;flex-direction:row-reverse;text-align:right}
.jb-fixture-team img{width:75px;height:75px;object-fit:contain;flex:none}.jb-fixture-team strong{font:900 clamp(22px,2.8vw,37px)/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase}
.jb-fixture-versus{text-align:center;color:var(--accent);font:900 25px 'Barlow Condensed',Impact,sans-serif}.jb-fixture-no-logo{font-size:50px;color:#a6adb8}
.jb-fixture-bottom{border-top:1px solid #e7e8ea;background:#f7f8f9;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.jb-fixture-bottom>div{display:flex;flex-direction:column;gap:2px}.jb-fixture-bottom strong{font-size:13px}.jb-fixture-bottom span{font-size:12px;color:#737b85}.jb-fixture-link{background:var(--accent);color:#fff;padding:12px 18px;font-size:11px;font-weight:800;white-space:nowrap}.jb-fixture-link:hover{background:#a9132b}.jb-fixture-empty{padding:32px;background:#f3f4f5}
.site-nav .nav-list>li{position:relative}.site-nav .nav-list .current-menu-item>a,.site-nav .nav-list .current-menu-ancestor>a{color:var(--accent)}
.site-nav .nav-list>li>a{display:inline-block;padding:16px 0}.site-nav .sub-menu{top:100%;padding:8px 0}.site-nav .sub-menu li a{padding:10px 15px}
@media(max-width:760px){.jb-fixtures-page{padding-top:40px;padding-bottom:65px}.jb-fixture-top{padding:13px 15px}.jb-fixture-teams{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr);gap:8px;padding:24px 12px}.jb-fixture-team,.jb-fixture-team:last-child{flex-direction:column;justify-content:center;text-align:center;gap:10px}.jb-fixture-team img{width:60px;height:60px}.jb-fixture-team strong{font-size:23px}.jb-fixture-versus{font-size:20px}.jb-fixture-bottom{align-items:stretch;flex-direction:column;padding:15px}.jb-fixture-link{text-align:center}.site-nav .nav-list>li>a{display:block;padding:13px 8px}.site-nav .sub-menu{position:static;display:block;box-shadow:none}}

/* Match centre fixes */
.jb-table-scroll{overflow-x:auto;margin:2rem 0 4rem}.jb-league-table{width:100%;border-collapse:collapse;min-width:650px}.jb-league-table th,.jb-league-table td{padding:14px 12px;text-align:center;border-bottom:1px solid #ddd}.jb-league-table th:nth-child(2),.jb-league-table td:nth-child(2){text-align:left}.jb-league-table thead{background:#151c26;color:white}.jb-league-table .jb-own-row{background:#fff0f2;color:#a90d28;font-weight:800}.jb-results-page .jb-fixture-card{margin-bottom:22px}.jb-result-score{font-size:clamp(24px,4vw,46px);white-space:nowrap}

/* League standings, 1.5.3 */
.jb-table-page{max-width:1200px}.jb-table-scroll{overflow-x:auto;margin:2rem 0 4rem}
.burgh-league-table--styled .burgh-table-inner{min-width:690px;overflow:hidden;border:1px solid #e1e4e9;border-radius:12px;box-shadow:0 8px 28px rgba(18,24,34,.06)}
.burgh-league-table--styled table{width:100%;border-collapse:collapse;table-layout:auto;font-family:inherit;font-size:14px}
.burgh-league-table--styled thead{background:#151b25;color:#fff}
.burgh-league-table--styled th,.burgh-league-table--styled td{padding:13px 11px;text-align:center;white-space:nowrap;border-bottom:1px solid #e9ebef;font-variant-numeric:tabular-nums}
.burgh-league-table--styled thead th{font-size:12px;letter-spacing:.05em;text-transform:uppercase;font-weight:800}
.burgh-league-table--styled tbody tr:nth-child(even){background:#f5f6f8}
.burgh-league-table--styled tbody tr:hover{background:#eef0f4}
.burgh-league-table--styled tbody tr:last-child td,.burgh-league-table--styled tbody tr:last-child th{border-bottom:0}
.burgh-league-table--styled th.burgh-table-club,.burgh-league-table--styled thead th:nth-child(2){text-align:left;min-width:230px}
.burgh-league-table--styled .burgh-table-club-inner{display:flex;align-items:center;gap:12px;font-weight:700}
.burgh-league-table--styled .burgh-table-club-inner img{display:block;width:34px!important;height:34px!important;object-fit:contain;flex:none}
.burgh-league-table--styled .burgh-table-badge-placeholder{display:inline-block;width:34px;height:34px;flex:none;border-radius:50%;background:#e8ebef;border:1px solid #d7dbe1}
.burgh-league-table--styled .burgh-table-position{font-weight:800;color:#525d6b}
.burgh-league-table--styled .burgh-table-points{font-weight:900;font-size:16px}
.burgh-league-table--styled tbody tr.burgh-our-club{background:#fff0f2;color:#a20c29;font-weight:800;box-shadow:inset 4px 0 #db1239}
.burgh-league-table--styled tbody tr.burgh-our-club:hover{background:#ffe4e9}
@media(max-width:700px){.jb-table-scroll{margin:1.5rem 0 3rem}}
