/*
Theme Name: Matlock Town FC
Theme URI: https://matlocktownfc.co.uk/
Author: Matlock Town FC / OpenAI build
Description: Custom first-team WordPress theme for Matlock Town FC.
Version: 1.4.23
Text Domain: mtfc
*/
:root{--mtfc-blue:#000777;--mtfc-white:#fff;--mtfc-ink:#111827;--mtfc-muted:#6b7280;--mtfc-light:#f5f7fb;--mtfc-border:#e5e7eb;--mtfc-max:1240px;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--mtfc-ink);background:var(--mtfc-site-bg,#fff);font-family:var(--mtfc-body-font,Inter,Arial,sans-serif);line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(calc(100% - 40px),var(--mtfc-max));margin:auto}
.site-header{background:var(--mtfc-header-bg,var(--mtfc-blue));color:var(--mtfc-header-text,#fff);position:relative;z-index:50}.header-inner{min-height:92px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}.brand img{width:72px;height:72px;object-fit:contain}.brand-copy strong{display:block;font-family:Oswald,Arial,sans-serif;font-size:24px;line-height:1}.brand-copy span{font-size:13px;opacity:.9}.main-nav{margin-left:auto}.main-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;align-items:center}.main-nav a{font-family:var(--mtfc-nav-font,Inter,Arial,sans-serif);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.02em}.league-logo{width:116px;flex:0 0 auto}.menu-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.35);color:#fff;padding:8px 12px;border-radius:8px}
.quick-links{background:var(--mtfc-topbar-bg,#06148a);color:var(--mtfc-topbar-text,#fff)}.quick-links .wrap{display:grid;grid-template-columns:repeat(6,1fr)}.quick-links a{padding:13px 8px;text-align:center;font-weight:700;font-size:13px;border-right:1px solid rgba(255,255,255,.13)}
.hero{min-height:520px;background:linear-gradient(90deg,rgba(0,7,119,.85),rgba(0,7,119,.18)),url('assets/images/aerial play.jpg') center/cover;display:flex;align-items:flex-end;color:#fff}.hero-content{padding:72px 0}.eyebrow{text-transform:uppercase;font-size:13px;font-weight:800;letter-spacing:.12em}.hero h1,.page-banner h1,.section-title{font-family:var(--mtfc-title-font,Tungsten,Oswald,Arial,sans-serif);text-transform:uppercase}.hero h1{font-size:clamp(44px,7vw,82px);line-height:.98;margin:8px 0 20px;max-width:780px}.btn{display:inline-block;background:var(--mtfc-button-bg,var(--mtfc-blue));color:var(--mtfc-button-text,#fff);padding:12px 20px;border-radius:7px;font-weight:800}.btn.white{background:#fff;color:var(--mtfc-blue)}.btn.outline{border:2px solid currentColor;background:transparent}
.page-banner{height:200px;display:flex;align-items:flex-end;color:#fff;background-position:center;background-size:cover;position:relative}.page-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,7,119,.82),rgba(0,7,119,.28))}.page-banner .wrap{position:relative;padding-bottom:24px}.page-banner h1{font-size:clamp(32px,4.4vw,54px);margin:0}
.section{padding:64px 0}.section.alt{background:var(--mtfc-light)}.section-title{font-size:42px;margin:0 0 24px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:var(--mtfc-card-bg,#fff);color:var(--mtfc-card-text,var(--mtfc-ink));border:1px solid var(--mtfc-border);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 25px rgba(15,23,42,.06)}.card-media{aspect-ratio:16/9;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card:hover .card-media img{transform:scale(1.04)}.card-body{padding:20px}.card-meta{font-size:12px;text-transform:uppercase;font-weight:800;color:var(--mtfc-blue);letter-spacing:.06em}.card h3{font-family:Oswald,Arial,sans-serif;font-size:25px;margin:7px 0}.muted{color:var(--mtfc-muted)}
.match-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.match-card{padding:28px;background:#fff;border-radius:var(--radius);border:1px solid var(--mtfc-border)}.match-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin:24px 0}.club-side{text-align:center;font-weight:800}.club-side img{height:88px;width:88px;object-fit:contain;margin:0 auto 10px}.score{font:700 42px Oswald,Arial,sans-serif}
.tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.tabs a,.tab{padding:10px 16px;border-radius:999px;background:#eef1ff;color:var(--mtfc-blue);font-weight:800}.tabs .active{background:var(--mtfc-blue);color:#fff}.month{font:600 31px Oswald,Arial,sans-serif;text-transform:uppercase;margin:38px 0 14px}.fixture-row{display:grid;grid-template-columns:180px 1fr 150px;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--mtfc-border)}
.team-group{margin-bottom:54px}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.player-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--mtfc-border)}.player-card .photo{aspect-ratio:4/5;background:#edf0f7}.player-card .photo img{width:100%;height:100%;object-fit:cover}.player-card .info{padding:18px}.player-card h3{font:600 25px Oswald,Arial,sans-serif;margin:0}.sponsor-note{font-size:13px;margin-top:10px;color:var(--mtfc-muted)}
.club-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.club-tile{position:relative;min-height:330px;border-radius:var(--radius);overflow:hidden;color:#fff;background:#111}.club-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.35s}.club-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,7,119,.92),rgba(0,7,119,.05) 70%)}.club-tile:hover img{transform:scale(1.04)}.club-tile-content{position:absolute;left:26px;right:26px;bottom:24px;z-index:2}.club-tile h3{font:600 34px Oswald,Arial,sans-serif;margin:0 0 5px}.club-tile p{margin:0;font-weight:600}
.timeline{position:relative;max-width:980px;margin:auto}.timeline:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:4px;background:var(--mtfc-blue);transform:translateX(-50%)}.timeline-item{width:50%;padding:0 42px 40px;position:relative}.timeline-item:nth-child(even){margin-left:50%}.timeline-item:after{content:"";position:absolute;top:8px;width:18px;height:18px;border-radius:50%;background:var(--mtfc-blue);border:4px solid #fff;box-shadow:0 0 0 2px var(--mtfc-blue)}.timeline-item:nth-child(odd):after{right:-9px}.timeline-item:nth-child(even):after{left:-9px}.timeline-year{font:700 30px Oswald,Arial,sans-serif;color:var(--mtfc-blue)}
.sponsors{background:#fff;padding:44px 0}.sponsor-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;align-items:center}.sponsor-grid img{max-height:76px;max-width:150px;margin:auto;object-fit:contain}.footer-main{background:#07104d;color:#fff;padding:46px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-main h4{font:600 20px Oswald,Arial,sans-serif;text-transform:uppercase;margin:0 0 14px}.footer-main ul{list-style:none;margin:0;padding:0}.footer-main li{margin:8px 0}.footer-bottom{background:#03072e;color:#b8c0d9;font-size:13px;padding:14px 0}
.content{max-width:900px;margin-left:0;margin-right:auto;text-align:left}.content h2,.content h3{font-family:Oswald,Arial,sans-serif}.policy-list{display:grid;gap:12px}.policy-link{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid var(--mtfc-border);border-radius:10px}.search-box{display:flex;gap:8px;margin:0 0 26px}.search-box input{flex:1;padding:12px 14px;border:1px solid var(--mtfc-border);border-radius:8px}
@media(max-width:980px){.main-nav{display:none}.menu-toggle{display:block;margin-left:auto}.league-logo{width:90px}.quick-links .wrap{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.team-grid{grid-template-columns:repeat(3,1fr)}.sponsor-grid{grid-template-columns:repeat(4,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:460px}}
@media(max-width:680px){.wrap{width:min(calc(100% - 28px),var(--mtfc-max))}.brand-copy{display:none}.brand img{width:60px;height:60px}.header-inner{min-height:76px}.league-logo{width:76px}.quick-links .wrap{grid-template-columns:repeat(2,1fr)}.hero{min-height:430px}.page-banner{height:150px}.cards,.club-grid,.match-panels{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(2,1fr)}.fixture-row{grid-template-columns:1fr}.sponsor-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.timeline:before{left:8px}.timeline-item,.timeline-item:nth-child(even){width:100%;margin-left:0;padding:0 0 34px 38px}.timeline-item:nth-child(odd):after,.timeline-item:nth-child(even):after{left:-1px;right:auto}}

/* Sprint B continuation: Match Centre + Club mega menu */
.main-nav .has-mega{position:static}.mega-menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;color:var(--mtfc-ink);box-shadow:0 18px 40px rgba(3,7,46,.18);border-top:4px solid #101fa3}.has-mega:hover .mega-menu,.has-mega:focus-within .mega-menu{display:block}.mega-inner{width:min(calc(100% - 40px),var(--mtfc-max));margin:auto;padding:30px 0 34px;display:grid;grid-template-columns:repeat(4,1fr);gap:30px 32px}.mega-group h3{font:600 20px Oswald,Arial,sans-serif;text-transform:uppercase;color:var(--mtfc-blue);margin:0 0 10px}.mega-group ul{display:block!important}.mega-group li{margin:0 0 7px}.mega-group a{font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;color:#273043}.mega-group a:hover{text-decoration:underline;color:var(--mtfc-blue)}
.club-page-intro{max-width:820px;margin:0 0 32px;text-align:left}.club-tile{min-height:300px}.club-tile-content p{max-width:92%}
.match-centre-home{background:var(--mtfc-blue);color:#fff;border-radius:18px;padding:30px;box-shadow:0 12px 30px rgba(0,7,119,.16)}.match-centre-home .eyebrow{color:#cdd4ff}.match-live-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.status-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 12px;font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.08em;background:#fff;color:var(--mtfc-blue)}.status-pill.live{background:#e11d48;color:#fff}.status-pill.live:before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.55);animation:pulse 1.5s infinite}@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.live-minute{font:700 24px Oswald,Arial,sans-serif}.live-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;margin:28px 0}.live-team{text-align:center;font:600 22px Oswald,Arial,sans-serif}.live-team img{height:92px;width:92px;object-fit:contain;margin:0 auto 10px;background:#fff;border-radius:50%;padding:7px}.live-score{font:700 54px Oswald,Arial,sans-serif;white-space:nowrap}.match-centre-home .btn{background:#fff;color:var(--mtfc-blue)}
.match-centre-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:28px}.match-score-card{background:var(--mtfc-blue);color:#fff;border-radius:18px;padding:32px}.event-timeline{display:grid;gap:12px;margin-top:24px}.event-row{display:grid;grid-template-columns:64px 34px 1fr;gap:10px;align-items:start;padding:14px 0;border-bottom:1px solid var(--mtfc-border)}.event-time{font:700 18px Oswald,Arial,sans-serif;color:var(--mtfc-blue)}.event-icon{font-size:18px}.event-detail strong{display:block}.lineup-card{border:1px solid var(--mtfc-border);border-radius:14px;padding:20px;margin-bottom:18px}.lineup-card h3{font:600 24px Oswald,Arial,sans-serif;margin:0 0 12px}.lineup-list{list-style:none;margin:0;padding:0}.lineup-list li{padding:7px 0;border-bottom:1px solid #eef0f4}.shirt-no{display:inline-grid;place-items:center;min-width:27px;height:27px;border-radius:50%;background:#eef1ff;color:var(--mtfc-blue);font-weight:800;margin-right:9px}
.section>.wrap>p,.section>.wrap>.content,.section .content p,.section .content li{text-align:left}
@media(max-width:980px){.mega-menu{position:static;box-shadow:none;border-top:1px solid rgba(255,255,255,.15);background:#081168;color:#fff}.main-nav .has-mega:hover .mega-menu{display:none}.main-nav .has-mega.mega-open .mega-menu{display:block}.mega-inner{width:100%;grid-template-columns:repeat(2,1fr);padding:20px;gap:22px}.mega-group h3{color:#fff}.mega-group a{color:#fff!important}.match-centre-shell{grid-template-columns:1fr}}
@media(max-width:680px){.mega-inner{grid-template-columns:1fr}.club-tile{min-height:260px}.live-scoreboard{gap:10px}.live-team{font-size:17px}.live-team img{height:68px;width:68px}.live-score{font-size:40px}.match-live-head{align-items:flex-start}.page-banner .wrap{padding-bottom:16px}}


/* 0.10.1 homepage restoration: hero next-match overlay + three-panel dashboard */
.home-hero{min-height:590px;align-items:stretch;position:relative}.home-hero-inner{min-height:590px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(390px,.65fr);gap:48px;align-items:end;padding:72px 0 46px}.hero-copy{align-self:end}.hero-copy p{font-size:18px;max-width:590px}.next-match-overlay{align-self:end;background:rgba(255,255,255,.97);color:var(--mtfc-ink);border-radius:18px;padding:24px;box-shadow:0 20px 55px rgba(0,0,0,.26);backdrop-filter:blur(5px);border-top:5px solid var(--mtfc-blue)}.next-match-overlay .eyebrow{color:var(--mtfc-blue)}.next-match-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.next-match-competition{font-size:12px;font-weight:700;color:var(--mtfc-muted);margin-top:2px;max-width:270px}.next-match-minute{font:700 26px Oswald,Arial,sans-serif;color:var(--mtfc-blue)}.next-match-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin:22px 0 16px}.next-match-team{text-align:center;font:600 18px Oswald,Arial,sans-serif}.next-match-team img{height:78px;width:78px;object-fit:contain;margin:0 auto 8px}.next-match-score{font:700 42px Oswald,Arial,sans-serif;color:var(--mtfc-blue)}.next-match-details{text-align:center;color:#4b5563;font-size:14px;margin:0 0 18px}.next-match-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.next-match-overlay .btn{padding:10px 16px}.next-match-overlay .btn.outline{color:var(--mtfc-blue)}
.home-dashboard-section{background:#fff;padding:0 0 64px}.home-dashboard{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.18fr) minmax(0,.92fr);gap:22px;margin-top:-1px;position:relative;z-index:3}.home-panel{background:#fff;border:1px solid var(--mtfc-border);box-shadow:0 10px 30px rgba(15,23,42,.08);min-height:395px}.home-panel-heading{height:58px;background:var(--mtfc-blue);color:#fff;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 22px Oswald,Arial,sans-serif;text-transform:uppercase}.home-panel-heading a{font:700 11px Inter,Arial,sans-serif;letter-spacing:.03em}.last-match-panel{padding-bottom:20px}.last-match-panel .home-panel-heading{margin-bottom:20px}.last-match-meta{text-align:center;text-transform:uppercase;color:var(--mtfc-blue);font-size:11px;font-weight:800;letter-spacing:.06em;padding:0 18px}.last-match-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:22px 18px 12px}.last-match-team{text-align:center;font:600 17px Oswald,Arial,sans-serif}.last-match-team img{width:76px;height:76px;object-fit:contain;margin:0 auto 8px}.last-match-score{font:700 42px Oswald,Arial,sans-serif;color:var(--mtfc-blue)}.last-match-date{text-align:center;color:var(--mtfc-muted);font-size:13px;padding:4px 16px 15px}.panel-link{display:block;text-align:center;color:var(--mtfc-blue);font-weight:800;font-size:13px}.news-panel{padding-bottom:0}.home-news-list{display:flex;flex-direction:column}.home-news-item{display:grid;grid-template-columns:116px 1fr;gap:14px;padding:14px 16px;border-bottom:1px solid var(--mtfc-border);min-height:84px}.home-news-item:last-child{border-bottom:0}.home-news-thumb{height:76px;overflow:hidden;border-radius:7px;background:#eef0f6}.home-news-thumb img{width:100%;height:100%;object-fit:cover}.home-news-copy{min-width:0}.home-news-copy .card-meta{font-size:10px}.home-news-copy h3{font:600 19px/1.15 Oswald,Arial,sans-serif;margin:4px 0 5px}.home-news-copy .muted{font-size:11px}.tv-panel{padding-bottom:20px}.tv-feature{display:block}.tv-thumb{height:205px;position:relative;overflow:hidden;background:#111}.tv-thumb img{width:100%;height:100%;object-fit:cover}.play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(0,7,119,.93);color:#fff;font-size:23px;padding-left:4px;box-shadow:0 8px 24px rgba(0,0,0,.28)}.tv-copy{padding:18px}.tv-copy h3{font:600 25px Oswald,Arial,sans-serif;margin:5px 0 8px}.tv-copy p{margin:0}.tv-button{margin:0 18px;width:calc(100% - 36px);text-align:center}.shop-cards{grid-template-columns:repeat(4,1fr)}
@media(max-width:1050px){.home-hero-inner{grid-template-columns:1fr minmax(340px,.72fr);gap:26px}.home-dashboard{grid-template-columns:1fr 1fr}.news-panel{grid-column:1/-1;order:3}.home-news-list{display:grid;grid-template-columns:1fr 1fr}.home-news-item:nth-last-child(-n+2){border-bottom:0}.shop-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.home-hero{min-height:auto}.home-hero-inner{min-height:auto;grid-template-columns:1fr;gap:28px;padding:56px 0 28px}.hero-copy{padding-top:120px}.next-match-overlay{width:100%;padding:20px}.home-dashboard-section{padding-top:18px}.home-dashboard{grid-template-columns:1fr;gap:18px}.news-panel{grid-column:auto;order:initial}.home-news-list{display:flex}.home-news-item{grid-template-columns:96px 1fr}.home-news-item:nth-last-child(-n+2){border-bottom:1px solid var(--mtfc-border)}.home-news-item:last-child{border-bottom:0}.shop-cards{grid-template-columns:1fr 1fr}.next-match-team img{height:64px;width:64px}.next-match-score{font-size:36px}}
@media(max-width:480px){.shop-cards{grid-template-columns:1fr}.next-match-teams{gap:6px}.next-match-team{font-size:15px}.next-match-team img{height:56px;width:56px}.home-news-item{grid-template-columns:82px 1fr}.home-news-thumb{height:68px}.home-panel-heading{font-size:19px}}

/* 0.10.2 testing refinements */
/* Keep every page-content edge aligned with the banner/title content edge. */
.page-banner > .wrap,
.section > .wrap,
.section > .wrap.content,
.home-dashboard-section > .wrap,
.sponsors > .wrap,
.footer-main > .wrap,
.footer-bottom > .wrap{
  width:min(calc(100% - 40px),var(--mtfc-max));
  margin-left:auto;
  margin-right:auto;
}
.section > .wrap.content{max-width:var(--mtfc-max);text-align:left;}
.section > .wrap.content > *{max-width:900px;}
.section > .wrap.content > .wide,.section > .wrap.content > .alignwide,.section > .wrap.content > .alignfull{max-width:none;}

/* Header hierarchy: brand on the left, navigation optically centred, league mark on the right. */
.header-inner{display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(150px,1fr);gap:22px;}
.brand{justify-self:start}.main-nav{margin-left:0;justify-self:center}.league-logo{justify-self:end}.menu-toggle{justify-self:center;margin-left:0}
.main-nav ul{justify-content:center;}

/* Homepage hero proportions brought back towards the approved mock-up. */
.home-hero{min-height:410px;}
.home-hero-inner{min-height:410px;grid-template-columns:minmax(0,1fr) 306px;gap:34px;padding:38px 0 22px;}
.hero-copy h1{font-size:clamp(42px,5.6vw,68px);margin-bottom:14px}.hero-copy p{font-size:16px;margin-bottom:16px}
.next-match-overlay{width:306px;justify-self:end;background:var(--mtfc-blue);color:#fff;border:1px solid rgba(255,255,255,.25);border-top:0;border-radius:3px;padding:16px 16px 14px;box-shadow:0 14px 32px rgba(0,0,0,.25);backdrop-filter:none;}
.next-match-overlay .eyebrow{color:#fff;font-size:12px}.next-match-competition{color:#dfe4ff;font-size:10px;line-height:1.25}.next-match-minute{color:#fff;font-size:22px}
.next-match-teams{gap:8px;margin:13px 0 10px}.next-match-team{font-size:15px;line-height:1.15}.next-match-team img{height:58px;width:58px;margin-bottom:6px}.next-match-score{font-size:31px;color:#fff}.next-match-details{color:#fff;font-size:12px;line-height:1.45;margin-bottom:11px}.next-match-actions{gap:7px}.next-match-overlay .btn{padding:8px 10px;font-size:11px;background:#fff;color:var(--mtfc-blue);border-radius:3px;flex:1;text-align:center}.next-match-overlay .btn.outline{background:transparent;color:#fff;border-color:#fff}.next-match-topline{gap:8px}.status-pill{font-size:10px;padding:6px 8px}

/* Team archive and staff archive share the same visual treatment. */
.team-tabs{margin-bottom:30px}
.staff-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.staff-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--mtfc-border)}
.staff-card .photo{aspect-ratio:4/5;background:#edf0f7}.staff-card .photo img{width:100%;height:100%;object-fit:cover}.staff-card .info{padding:18px}.staff-card h3{font:600 25px Oswald,Arial,sans-serif;margin:0}.staff-card .role{color:var(--mtfc-muted);margin-top:4px}

@media(max-width:1100px){.header-inner{grid-template-columns:auto 1fr auto}.main-nav{justify-self:end}.home-hero-inner{grid-template-columns:minmax(0,1fr) 290px}.next-match-overlay{width:290px}}
@media(max-width:980px){.header-inner{display:flex}.menu-toggle{margin-left:auto}.home-hero{min-height:400px}.home-hero-inner{min-height:400px;grid-template-columns:1fr 280px}.next-match-overlay{width:280px}.staff-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.home-hero-inner{grid-template-columns:1fr;min-height:auto;padding:42px 0 24px}.hero-copy{padding-top:70px}.next-match-overlay{width:100%;max-width:380px;justify-self:start}.staff-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.page-banner > .wrap,.section > .wrap,.section > .wrap.content,.home-dashboard-section > .wrap,.sponsors > .wrap,.footer-main > .wrap,.footer-bottom > .wrap{width:min(calc(100% - 28px),var(--mtfc-max));}}
@media(max-width:480px){.staff-grid{grid-template-columns:1fr}}


/* 0.11.0 refinement pass */
:root{--title-font:"Tungsten","Arial Narrow",Oswald,Arial,sans-serif;--platform-blue:#303aa9}
.hero h1,.page-banner h1,.section-title,.card h3,.month,.score,.timeline-year,.home-panel-heading,.home-news-copy h3,.tv-copy h3,.player-card h3,.staff-card h3,.club-tile h3,.fixture-ko,.directory-card h3,.player-details dt{font-family:var(--title-font)}
.platform-bar{background:var(--platform-blue);color:#fff}.platform-inner{height:50px;display:flex;justify-content:flex-end;align-items:center}.platform-label{font-weight:800;padding:0 18px}.platform-inner a{height:50px;padding:0 18px;display:flex;align-items:center;gap:9px;border-left:1px solid rgba(255,255,255,.08);font-weight:800;text-transform:uppercase;font-size:13px;white-space:nowrap}.platform-inner svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.platform-inner svg .fill{fill:#fff;stroke:none}
.site-header{z-index:100}.header-inner{min-height:130px;grid-template-columns:120px minmax(0,1fr) 170px}.brand img{width:102px;height:102px}.brand-copy{display:none}.main-nav{justify-self:center;width:100%}.main-nav ul{justify-content:center;gap:30px}.main-nav a{font-size:17px}.league-logo{width:166px}
.mega-menu{top:calc(100% - 2px);z-index:110;visibility:hidden;opacity:0;display:block;pointer-events:none;transform:translateY(5px);transition:opacity .16s,transform .16s,visibility .16s}.has-mega:hover .mega-menu,.has-mega:focus-within .mega-menu,.has-mega.mega-open .mega-menu{visibility:visible;opacity:1;pointer-events:auto;transform:none}.mega-menu:before{content:"";position:absolute;left:0;right:0;top:-8px;height:10px}.mega-group h3{font-family:var(--title-font)}
.home-hero,.home-hero-inner{min-height:500px}.home-hero-inner{align-items:center;padding:38px 0;gap:46px}.hero-copy,.next-match-overlay{align-self:center}.home-dashboard-section{padding:20px 0 64px}.home-dashboard{margin-top:0}.next-match-overlay{width:320px}.panel-padding{padding:20px}.home-panel{min-height:380px}
.news-search{display:flex;gap:10px;justify-content:flex-end;margin-bottom:18px}.news-search input{min-width:300px;padding:11px 13px;border:1px solid var(--mtfc-border);border-radius:7px}.news-grid{grid-template-columns:repeat(3,1fr)}.pagination{margin-top:30px}.pagination .page-numbers{display:inline-block;padding:8px 12px;border:1px solid var(--mtfc-border);margin-right:5px;border-radius:5px}.pagination .current{background:var(--mtfc-blue);color:#fff}
.fixture-card{display:grid;grid-template-columns:170px minmax(120px,1fr) 72px 92px 72px minmax(120px,1fr) 120px;align-items:center;gap:12px;border:1px solid var(--mtfc-border);background:#fff;padding:14px 16px;margin-bottom:10px}.fixture-competition{font-size:11px;color:var(--mtfc-muted)}.fixture-competition img{width:74px;height:34px;object-fit:contain;margin-bottom:5px}.fixture-competition small{display:block;margin-top:3px}.fixture-team.home{text-align:right}.fixture-team.away{text-align:left}.fixture-crest img{width:58px;height:58px;object-fit:contain;margin:auto}.fixture-ko{text-align:center;font-size:26px;font-weight:700;color:var(--mtfc-blue)}.match-centre-small{display:inline-block;background:#fff;color:var(--mtfc-blue);border:1px solid var(--mtfc-blue);padding:7px 9px;border-radius:3px;font-size:11px;font-weight:800;text-align:center}.fixture-action{text-align:right}
.player-name-row,.player-profile-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.player-flag{width:40px;height:25px!important;object-fit:cover;border:1px solid #eee}.player-profile{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:48px;align-items:start}.player-profile-photo{display:flex;justify-content:center}.player-profile-photo img{width:75%;max-width:520px;border-radius:16px}.profile-flag{width:64px;height:40px;object-fit:cover}.player-details{margin:0 0 28px;border-top:1px solid var(--mtfc-border)}.player-details>div{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:10px 0;border-bottom:1px solid var(--mtfc-border)}.player-details dt{font-weight:700}.player-details dd{margin:0}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.mtfc-gallery{margin-top:54px}
.directory-links{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.directory-card{border:1px solid var(--mtfc-border);border-radius:14px;padding:28px;background:#fff}.directory-card h3{font-size:30px;margin:0 0 8px;color:var(--mtfc-blue)}.official-list{max-width:850px}.official-list>div{display:grid;grid-template-columns:280px 1fr;padding:13px 0;border-bottom:1px solid var(--mtfc-border)}
.landing-caption{font-size:18px;color:var(--mtfc-muted);max-width:850px;margin:-12px 0 30px}.text-link{color:var(--mtfc-blue);text-decoration:underline}.hospitality-heading{display:flex;align-items:center;gap:24px;margin-bottom:20px}.hospitality-heading .section-title{margin:0}.hospitality-heading img{max-height:82px;max-width:250px;object-fit:contain}.content-wide{max-width:var(--mtfc-max)}
.contact-layout{display:grid;gap:50px}.contact-form{max-width:760px;display:grid;gap:16px}.contact-form label{font-weight:700;display:grid;gap:6px}.contact-form input,.contact-form textarea{width:100%;padding:12px;border:1px solid var(--mtfc-border);border-radius:6px;font:inherit}.map-frame{height:420px}.map-frame iframe{width:100%;height:100%;border:0}.form-success{padding:12px 16px;background:#e8f7ec;border:1px solid #9bd2a6;border-radius:6px}
.history-banner{background-blend-mode:luminosity;background-color:#777}.history-banner:before{background:linear-gradient(90deg,rgba(18,23,45,.75),rgba(18,23,45,.15))}
.footer-main .wrap,.footer-bottom .wrap,.sponsors .wrap{width:min(calc(100% - 40px),var(--mtfc-max));margin-inline:auto}
@media(max-width:1200px){.main-nav ul{gap:18px}.main-nav a{font-size:14px}.platform-inner a{padding:0 12px;font-size:11px}}
@media(max-width:980px){.platform-inner{overflow-x:auto;justify-content:flex-start}.platform-label{display:none}.header-inner{min-height:90px}.brand img{width:72px;height:72px}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--mtfc-blue);padding:20px}.main-nav.mobile-open{display:block}.main-nav ul{display:block}.main-nav li{margin:8px 0}.main-nav a{font-size:16px}.league-logo{width:112px}.mega-menu{position:static;visibility:visible;opacity:1;display:none;transform:none;pointer-events:auto;background:#081168;color:#fff}.has-mega.mega-open .mega-menu{display:block}.mega-group h3,.mega-group a{color:#fff!important}.fixture-card{grid-template-columns:1fr 58px 72px 58px 1fr 100px}.fixture-competition{grid-column:1/-1;display:flex;align-items:center;gap:10px}.fixture-competition img{margin:0}.player-profile{grid-template-columns:1fr}.player-profile-photo img{width:55%;}.directory-links{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.platform-inner a span{display:none}.platform-inner a{min-width:50px;justify-content:center}.home-hero,.home-hero-inner{min-height:auto}.home-hero-inner{align-items:start}.hero-copy,.next-match-overlay{align-self:auto}.news-grid{grid-template-columns:1fr}.news-search{justify-content:stretch}.news-search input{min-width:0;flex:1}.fixture-card{grid-template-columns:1fr 48px 60px 48px 1fr}.fixture-action{grid-column:1/-1;text-align:center}.fixture-team{font-size:13px}.fixture-crest img{width:44px;height:44px}.fixture-ko{font-size:22px}.player-profile-photo img{width:75%}.gallery-grid{grid-template-columns:1fr 1fr}.hospitality-heading{align-items:flex-start;flex-direction:column}.official-list>div{grid-template-columns:1fr;gap:3px}.platform-bar{height:44px}.platform-inner,.platform-inner a{height:44px}}


/* 0.12.0 release snag pass */
.platform-inner{height:38px}.platform-inner a{height:38px;padding:0 13px;font-size:11px}.platform-inner svg{width:18px;height:18px}.platform-label{font-size:12px;padding:0 13px}
.site-header{position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.header-inner{min-height:96px;grid-template-columns:90px minmax(0,1fr) 130px;gap:18px}
.brand img{width:76px;height:76px}.main-nav ul{gap:24px}.main-nav a{font-size:14px}.league-logo{width:124px}
.mega-menu{top:calc(100% - 1px)}.has-mega.mega-open .mega-menu{visibility:visible;opacity:1;pointer-events:auto;transform:none}

.home-slider{height:440px;position:relative;overflow:hidden;background:#06105a;color:#fff}.home-slide{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;visibility:hidden;transition:opacity .5s}.home-slide.is-active{opacity:1;visibility:visible}.slide-inner{height:440px;display:flex;align-items:center}.slide-copy{max-width:720px}.slide-copy h1{font-family:var(--title-font);font-size:clamp(50px,7vw,88px);line-height:.9;text-transform:uppercase;margin:7px 0 14px}.slide-copy p{font-size:18px;max-width:600px;margin:0 0 22px}.slide-btn{background:var(--platform-blue);color:#fff}.slider-dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:4}.slider-dots button{width:10px;height:10px;border-radius:50%;padding:0;border:1px solid #fff;background:transparent;cursor:pointer}.slider-dots button.active{background:#fff}

.section-heading-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading-row .section-title{margin:0}.section-heading-row>a{font-weight:800;color:var(--mtfc-blue);font-size:13px;text-transform:uppercase}
.home-news-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.news-home-card{background:#fff;border:1px solid var(--mtfc-border);border-radius:12px;overflow:hidden}.news-home-image{aspect-ratio:16/10;overflow:hidden}.news-home-image img{width:100%;height:100%;object-fit:cover;transition:.3s}.news-home-card:hover img{transform:scale(1.04)}.news-home-copy{padding:16px}.news-home-copy h3{font:600 25px/1.05 var(--title-font);margin:6px 0 8px}
.matches-standing-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px}.match-home-box{background:#fff;border:1px solid var(--mtfc-border);padding:22px;border-radius:14px;min-height:310px}.match-home-box>h3{font:600 31px var(--title-font);text-transform:uppercase;margin:0 0 14px;color:var(--mtfc-blue)}.match-home-comp{min-height:46px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:700}.match-home-comp img{width:72px;height:38px;object-fit:contain}.match-home-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin:18px 0;text-align:center}.match-home-teams>div img{width:68px;height:68px;object-fit:contain;margin:0 auto 7px}.match-home-teams>div strong{display:block;font:600 18px var(--title-font)}.match-home-teams>b{font:700 34px var(--title-font);color:var(--mtfc-blue)}.match-home-date{text-align:center;color:var(--mtfc-muted);font-size:12px}.match-home-box .match-centre-small{display:block;width:max-content;margin:14px auto 0}.league-embed{height:235px;overflow:auto;border-top:1px solid var(--mtfc-border);padding-top:12px}
.tv-home-section{background:#090909;color:#fff;padding:64px 0}.section-heading-row.light>a{color:#fff}.tv-home-section .section-title{color:#fff}.tv-home-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.tv-home-card{background:#151515;border:1px solid #2b2b2b}.tv-home-thumb{aspect-ratio:16/9;position:relative;overflow:hidden}.tv-home-thumb img{width:100%;height:100%;object-fit:cover}.tv-home-thumb span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.45)}.tv-home-copy{padding:14px}.tv-home-copy small{color:#aab2d8;text-transform:uppercase;font-weight:800}.tv-home-copy h3{font:600 24px/1.05 var(--title-font);margin:5px 0}

.footer-v2{grid-template-columns:1.15fr .8fr 1.05fr;gap:0}.footer-col{padding:0 38px;min-height:260px}.footer-col:first-child{padding-left:0}.footer-col:last-child{padding-right:0}.footer-col+.footer-col{border-left:1px solid rgba(255,255,255,.24)}.footer-crest{width:76px;height:76px;object-fit:contain;margin-bottom:12px}.footer-club h4{margin-bottom:7px}.footer-social{display:flex;gap:9px;margin:16px 0}.footer-social a{width:34px;height:34px;border:1px solid rgba(255,255,255,.45);border-radius:50%;display:grid;place-items:center;font-weight:800}.footer-ownership{font-size:12px;opacity:.78}.footer-legal-links{border-top:1px solid rgba(255,255,255,.22);margin-top:35px;padding-top:18px;display:flex;gap:25px;flex-wrap:wrap;font-size:12px}.footer-main{padding-bottom:24px}

.directory-tabs{margin-bottom:30px}
.history-banner{filter:none}.history-banner:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.10);pointer-events:none}.history-banner{background-blend-mode:luminosity}
.page-banner h1{position:relative;z-index:2}

@media(max-width:1050px){.home-news-cards,.tv-home-grid{grid-template-columns:repeat(2,1fr)}.matches-standing-grid{grid-template-columns:1fr 1fr}.league-home-box{grid-column:1/-1}.main-nav ul{gap:15px}.main-nav a{font-size:12px}}
@media(max-width:980px){.site-header{top:0}.header-inner{min-height:76px}.brand img{width:60px;height:60px}.league-logo{width:94px}.platform-inner{height:34px}.platform-inner a{height:34px}.footer-v2{grid-template-columns:1fr}.footer-col,.footer-col:first-child,.footer-col:last-child{padding:24px 0;min-height:0}.footer-col+.footer-col{border-left:0;border-top:1px solid rgba(255,255,255,.24)}}
@media(max-width:680px){.home-slider,.slide-inner{height:390px}.slide-copy h1{font-size:50px}.home-news-cards,.tv-home-grid,.matches-standing-grid{grid-template-columns:1fr}.league-home-box{grid-column:auto}.section-heading-row{align-items:flex-start;flex-direction:column}.platform-bar{height:34px}.platform-inner,.platform-inner a{height:34px}}


/* MTFC 1.0.0 — approved homepage/header/footer refinements */
body.home{background:#07104d}
.home-news-section{background:#fff}
.matches-standing-section{background:#f5f7fb}
.home-store-section{background:linear-gradient(135deg,#07156f 0%,#12279a 58%,#000777 100%);color:#fff;position:relative;overflow:hidden}
.home-store-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 30%,rgba(255,255,255,.10),transparent 36%);pointer-events:none}
.home-store-section>.wrap{position:relative;z-index:1}
.home-store-section .section-title{color:#fff}
.home-store-section .card{background:rgba(255,255,255,.96);color:var(--mtfc-ink);border-color:rgba(255,255,255,.25)}
.home-store-section .btn{background:#fff;color:var(--mtfc-blue)}
.footer-club-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:14px}
.footer-club-heading .footer-crest{flex:0 0 auto;margin:0}
.footer-club-copy{display:inline-block;max-width:260px}
.footer-club-copy h4{white-space:nowrap;margin:4px 0 8px}
.footer-address{text-align:right;margin:0;line-height:1.55;font-size:14px}
.footer-info p{margin:0 0 18px;max-width:330px}
.footer-info-logos{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:18px}
.footer-info-logos img{max-width:150px;max-height:62px;object-fit:contain}
.footer-legal-links{justify-content:center}
.footer-bottom>.wrap{text-align:center}
@media(max-width:680px){.footer-club-heading{align-items:center}.footer-club-copy h4{white-space:normal}.footer-address{text-align:left}}

/* 1.1.0 final CMS + Football Web Pages refinements */
.compact-league-wrap{height:auto;overflow:visible;padding-top:6px}
.compact-league{width:100%;border-collapse:collapse;font-size:13px}
.compact-league th,.compact-league td{padding:7px 6px;border-bottom:1px solid var(--mtfc-border);text-align:center}
.compact-league th:nth-child(2),.compact-league td:nth-child(2){text-align:left}
.compact-league th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--mtfc-muted)}
.compact-league tr.is-matlock{background:var(--mtfc-blue);color:#fff;font-weight:700}
.compact-league tr.is-matlock td{border-bottom-color:rgba(255,255,255,.18)}
.league-full-link{text-align:right;margin:10px 0 0;font-size:12px;font-weight:800}
.fwp-full-table{padding:20px;background:#fff;overflow:hidden}.fwp-full-table .fwp-embed{width:100%;min-height:400px}


/* 1.1.6 editable design + flexible homepage */
h1,h2,h3,h4,h5,h6,.section-title,.page-banner h1,.club-tile h3,.player-card h3,.timeline-year{font-family:var(--mtfc-title-font,Tungsten,Oswald,Arial,sans-serif)}
body{background:var(--mtfc-site-bg,#fff);color:var(--mtfc-ink,#111827)}
.content a:not(.btn),.section a:not(.btn):not(.card):not(.club-tile){color:var(--mtfc-link,#000777)}
.section-title,.content h2,.content h3{color:var(--mtfc-heading,var(--mtfc-ink))}
.tv-home-section{background:var(--mtfc-tv-bg,#050505)!important;color:var(--mtfc-tv-text,#fff)!important}
.tv-home-section .section-title,.tv-home-section a{color:var(--mtfc-tv-text,#fff)!important}
.home-store-section{background:var(--mtfc-store-bg,#000777);color:var(--mtfc-store-text,#fff)}
.home-store-section .section-title{color:var(--mtfc-store-text,#fff)}
.footer-main{background:var(--mtfc-footer-bg,#07104d);color:var(--mtfc-footer-text,#fff)}
.mtfc-custom-home{padding:56px 0;background-position:center;background-size:cover;position:relative}
.mtfc-custom-home.mtfc-home-layout-banner,.mtfc-custom-home.mtfc-home-layout-feature{min-height:280px;display:flex;align-items:center;color:#fff}
.mtfc-custom-home.mtfc-home-layout-dark{background:#080b18;color:#fff}
.mtfc-custom-home .section-title{color:inherit;margin-bottom:14px}.mtfc-custom-home-copy{max-width:820px}.mtfc-custom-home-copy>:first-child{margin-top:0}.mtfc-custom-home-copy>:last-child{margin-bottom:0}
.mtfc-home-layout-banner .mtfc-custom-home-inner,.mtfc-home-layout-feature .mtfc-custom-home-inner{max-width:760px}
.mega-group h3,.footer-main h4,.month,.score{font-family:var(--mtfc-title-font,Tungsten,Oswald,Arial,sans-serif)}

/* 1.1.7 – comprehensive style controls and admin-requested refinements */
body{font-size:var(--mtfc-body-size,16px)}
.platform-bar{background:var(--mtfc-topbar-bg,#06148a)!important;color:var(--mtfc-topbar-text,#fff)!important}
.platform-label,.platform-inner a{font-family:var(--mtfc-topbar-font,Inter,Arial,sans-serif);font-size:var(--mtfc-topbar-size,11px);font-weight:var(--mtfc-topbar-weight,700);color:var(--mtfc-topbar-text,#fff)!important}
.platform-inner svg{stroke:var(--mtfc-topbar-text,#fff)!important}.platform-inner svg .fill{fill:var(--mtfc-topbar-text,#fff)!important}
.main-nav a{font-size:var(--mtfc-nav-size,14px)!important;font-weight:var(--mtfc-nav-weight,700)!important;color:var(--mtfc-header-text,#fff)}
.header-logos{display:flex;align-items:center;gap:14px;flex:0 0 auto}.league-logo-link,.header-logos>a{display:flex;align-items:center}.header-extra-logo{max-width:82px;max-height:54px;object-fit:contain}
.section-title{font-size:var(--mtfc-title-size,42px);font-weight:var(--mtfc-title-weight,600)}
.page-banner h1{font-family:var(--mtfc-page-title-font,var(--mtfc-title-font));font-size:var(--mtfc-page-title-size,48px);font-weight:var(--mtfc-page-title-weight,600);color:var(--mtfc-page-title-colour,#fff)}
.btn,.match-centre-small{font-family:var(--mtfc-button-font,Inter,Arial,sans-serif);font-size:var(--mtfc-button-size,14px);font-weight:var(--mtfc-button-weight,800)}
.slide-copy h1{font-family:var(--mtfc-slider-title-font,var(--mtfc-title-font));font-size:clamp(44px,var(--mtfc-slider-title-size,78px),96px);font-weight:var(--mtfc-slider-title-weight,600);color:var(--mtfc-slider-title-colour,#fff)}
.slide-copy .eyebrow{font-family:var(--mtfc-slider-eyebrow-font,Inter,Arial,sans-serif);font-size:var(--mtfc-slider-eyebrow-size,13px);font-weight:var(--mtfc-slider-eyebrow-weight,800);color:var(--mtfc-slider-eyebrow-colour,#fff)}
.slide-copy>p{font-family:var(--mtfc-slider-subtitle-font,Inter,Arial,sans-serif);font-size:var(--mtfc-slider-subtitle-size,18px);font-weight:var(--mtfc-slider-subtitle-weight,400);color:var(--mtfc-slider-subtitle-colour,#fff)}
.home-news-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.home-news-tab{border:0;border-radius:999px;padding:9px 15px;background:#eef1ff;color:var(--mtfc-blue);font:700 12px var(--mtfc-nav-font);text-transform:uppercase;cursor:pointer}.home-news-tab.active{background:var(--mtfc-blue);color:#fff}.home-news-panel{display:none}.home-news-panel.active{display:block}.home-news-cards{grid-template-columns:repeat(4,1fr)}
.news-home-copy h3{font-family:var(--mtfc-news-title-font,var(--mtfc-title-font));font-size:var(--mtfc-news-title-size,25px);font-weight:var(--mtfc-news-title-weight,600);color:var(--mtfc-news-title-colour,#111827)}.news-home-copy .card-meta{color:var(--mtfc-news-meta-colour,#000777)}
.match-home-box{background:var(--mtfc-match-box-bg,#fff);color:var(--mtfc-match-box-text,#111827)}.match-home-box>h3{font-family:var(--mtfc-match-title-font,var(--mtfc-title-font));font-size:var(--mtfc-match-title-size,31px);font-weight:var(--mtfc-match-title-weight,600);color:var(--mtfc-match-title-colour,#000777)}
.club-tile h3{font-family:var(--mtfc-card-title-font,var(--mtfc-title-font));font-size:var(--mtfc-card-title-size,34px);font-weight:var(--mtfc-card-title-weight,600);color:var(--mtfc-card-title-colour,#fff)}.club-tile p{font-size:var(--mtfc-card-desc-size,16px);font-weight:var(--mtfc-card-desc-weight,600);color:var(--mtfc-card-desc-colour,#fff)}
.footer-main,.footer-bottom{font-family:var(--mtfc-footer-font,Inter,Arial,sans-serif);font-size:var(--mtfc-footer-size,14px);font-weight:var(--mtfc-footer-weight,400)}.footer-address{text-align:left!important;font-size:inherit!important;font-weight:inherit!important}.footer-address strong{font:inherit}.footer-nav-col ul{columns:2;column-gap:28px}.footer-nav-col li{break-inside:avoid}
.match-score-card{background:#fff!important;color:var(--mtfc-ink)!important;border:1px solid var(--mtfc-border);box-shadow:0 8px 24px rgba(15,23,42,.06)}.match-score-card .eyebrow,.match-score-card .live-score,.match-score-card .live-team,.match-score-card .live-minute{color:var(--mtfc-ink)}.match-score-card .live-team img{background:transparent!important;border-radius:0!important;padding:0!important}.lineup-subtitle{font:700 13px var(--mtfc-nav-font);text-transform:uppercase;letter-spacing:.06em;color:var(--mtfc-blue);margin:8px 0}.substitutes-title{margin-top:22px}
.player-card-main{display:block}.player-card .sponsor-note{padding:0 18px 18px;margin-top:0}.sponsor-this-player{display:inline-block;margin-top:4px;color:var(--mtfc-blue);text-decoration:underline}
.hospitality-heading{align-items:center}.hospitality-heading img{order:0}.hospitality-heading .section-title{order:1;line-height:1}.hospitality-heading img{transform:translateY(1px)}
@media(max-width:1050px){.header-extra-logo{max-width:62px;max-height:44px}.home-news-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.header-extra-logo{display:none}.footer-nav-col ul{columns:1}.home-news-cards{grid-template-columns:1fr}.hospitality-heading{flex-direction:row!important;align-items:center!important}.hospitality-heading img{max-width:150px;max-height:60px}}
.footer-col>.widget .widget-title,.footer-col>.widget>h2:first-child,.footer-col>.widget>h3:first-child{display:none}


/* 1.1.7.1 — permanent desktop Club mega-menu colour fix */
@media (min-width:981px){
  .site-header .main-nav .mega-menu{background:#fff!important;color:#273043!important;}
  .site-header .main-nav .mega-menu .mega-group h3{color:var(--mtfc-blue,#000777)!important;-webkit-text-fill-color:var(--mtfc-blue,#000777)!important;}
  .site-header .main-nav .mega-menu .mega-group a,
  .site-header .main-nav .mega-menu .mega-group a:link,
  .site-header .main-nav .mega-menu .mega-group a:visited,
  .site-header .main-nav .mega-menu .mega-group a:active{color:#273043!important;-webkit-text-fill-color:#273043!important;}
  .site-header .main-nav .mega-menu .mega-group a:hover,
  .site-header .main-nav .mega-menu .mega-group a:focus{color:var(--mtfc-blue,#000777)!important;-webkit-text-fill-color:var(--mtfc-blue,#000777)!important;}
}


/* 1.1.8 – September refinement pass */
/* Active tabs/buttons always use the configured primary blue with white text. */
.tabs a.active,.tabs a.active:link,.tabs a.active:visited,.tabs .active,
.home-news-tab.active,.home-news-tab.active:hover,.home-news-tab.active:focus{
  background:var(--mtfc-blue,#000777)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Homepage spacing refinements. */
.home-news-section{padding-top:38px;padding-bottom:45px}
.matches-standing-section{padding-top:45px}

/* Homepage match team names use Inter and both fixture panels reserve equal date space. */
.match-home-teams>div strong{font-family:Inter,Arial,sans-serif!important;font-weight:700}
.match-home-date{min-height:38px}

/* Demo shop imagery. */
.shop-cards .card-media{aspect-ratio:4/3;background:rgba(255,255,255,.92)}
.shop-cards .card-media img{width:100%;height:100%;object-fit:cover}

/* Footer: tighter three-column area and proper social SVG treatment. */
.footer-main{padding-top:32px}
.footer-col{min-height:180px}
.footer-legal-links{margin-top:24px}
.footer-social a svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Hospitality: title first, Darwin Lake logo after it, aligned along the bottom edge. */
.hospitality-heading{display:flex;align-items:flex-end;gap:20px}
.hospitality-heading .section-title{order:0;margin:0;line-height:1}
.hospitality-heading img{order:1;max-height:68px;max-width:225px;object-fit:contain;object-position:left bottom;transform:translateY(1px)}

@media(max-width:760px){
  .hospitality-heading{flex-direction:row!important;align-items:flex-end!important;gap:12px}
  .hospitality-heading img{max-width:135px;max-height:52px}
}


/* 1.1.8.2 — top platform bar scrolls away; complete main header then sticks at viewport top. */
@media (min-width:981px){
  .site-header{top:0}
  .header-inner,.brand img{transition:min-height .22s ease,width .22s ease,height .22s ease}
  .site-header.is-stuck .header-inner{min-height:76px}
  .site-header.is-stuck .brand img{width:57px;height:57px}
}

/* Match Centre team names use the same display/title font as site headings. */
.single-mtfc_match .live-team{
  font-family:var(--mtfc-title-font,Tungsten,Oswald,Arial,sans-serif)!important;
}


/* 1.1.8.3 — desktop primary navigation starts 75px after the club crest. */
@media (min-width:981px){
  .site-header .header-inner{
    display:flex;
    align-items:center;
    gap:0;
  }
  .site-header .brand{
    flex:0 0 auto;
  }
  .site-header .main-nav{
    width:auto;
    justify-self:auto;
    margin-left:75px;
    margin-right:0;
  }
  .site-header .main-nav ul{
    justify-content:flex-start;
  }
  .site-header .header-logos{
    margin-left:auto;
  }
}


/* 1.1.9 Full Width Banner / Advert homepage section */
.mtfc-full-banner-ad{width:100%;margin:0;background:transparent;line-height:0;overflow:hidden}
.mtfc-full-banner-link,.mtfc-full-banner-ad picture{display:block;width:100%}
.mtfc-full-banner-ad img{display:block;width:100%;height:auto;max-width:none;margin:0;border:0;object-fit:contain}
@media(min-width:981px){.mtfc-full-banner-ad.mtfc-ad-hide-desktop{display:none!important}}
@media(min-width:681px) and (max-width:980px){.mtfc-full-banner-ad.mtfc-ad-hide-tablet{display:none!important}}
@media(max-width:680px){.mtfc-full-banner-ad.mtfc-ad-hide-phone{display:none!important}}

/* 1.2.0 — Homepage news mosaic and Club mega-menu watermark */
.home-news-section{
  position:relative;
  overflow:hidden;
  background:#000777;
  color:#fff;
  padding-top:54px;
  padding-bottom:58px;
}
.home-news-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(122deg,rgba(0,7,119,0) 0 46%,rgba(20,61,190,.20) 46% 55%,rgba(0,7,119,0) 55% 100%),
    linear-gradient(122deg,rgba(0,7,119,0) 0 70%,rgba(31,72,203,.17) 70% 80%,rgba(0,7,119,0) 80% 100%),
    linear-gradient(135deg,#000777 0%,#00105f 52%,#000777 100%);
}
.home-news-section>.wrap{position:relative;z-index:1}
.home-news-section .section-heading-row{align-items:flex-end;margin-bottom:18px}
.home-news-section .section-title{color:#fff!important}
.home-news-section .section-heading-row>a{color:#fff;font-weight:700}
.home-news-tabs{display:flex;gap:28px;flex-wrap:wrap;margin:0 0 24px;border-bottom:1px solid rgba(255,255,255,.16)}
.home-news-tab{
  position:relative;
  border:0!important;
  border-radius:0!important;
  padding:10px 0 13px!important;
  background:transparent!important;
  color:rgba(255,255,255,.78)!important;
  -webkit-text-fill-color:rgba(255,255,255,.78)!important;
  font:700 13px var(--mtfc-nav-font)!important;
  text-transform:none!important;
  cursor:pointer;
}
.home-news-tab:hover,.home-news-tab:focus{color:#fff!important;-webkit-text-fill-color:#fff!important}
.home-news-tab.active,.home-news-tab.active:hover,.home-news-tab.active:focus{
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.home-news-tab.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#fff}
.home-news-panel{display:none}.home-news-panel.active{display:block}
.home-news-mosaic{
  display:grid;
  grid-template-columns:minmax(0,1.9fr) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:repeat(2,minmax(240px,1fr));
  gap:14px;
}
.news-mosaic-card{position:relative;overflow:hidden;min-height:240px;border:1px solid rgba(92,160,255,.55);border-radius:6px;background:#02085c}
.news-mosaic-card.news-mosaic-feature{grid-row:1 / span 2;min-height:494px}
.news-mosaic-card>a{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.news-mosaic-image,.news-mosaic-image img{position:absolute;inset:0;width:100%;height:100%}
.news-mosaic-image img{object-fit:cover;transition:transform .4s ease}
.news-mosaic-card:hover .news-mosaic-image img{transform:scale(1.035)}
.news-mosaic-shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,7,119,0) 30%,rgba(0,7,119,.18) 48%,rgba(0,7,119,.94) 100%)}
.news-mosaic-feature .news-mosaic-shade{background:linear-gradient(to bottom,rgba(0,7,119,0) 38%,rgba(0,7,119,.16) 55%,rgba(0,7,119,.96) 100%)}
.news-mosaic-copy{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;color:#fff}
.news-mosaic-feature .news-mosaic-copy{left:24px;right:24px;bottom:23px}
.news-mosaic-category{margin-bottom:5px;color:#65c7ff;font:800 12px var(--mtfc-nav-font);text-transform:uppercase;letter-spacing:.035em}
.news-mosaic-copy h3{margin:0 0 8px;color:#fff!important;font-family:var(--mtfc-news-title-font,var(--mtfc-title-font));font-size:clamp(22px,var(--mtfc-news-title-size,25px),31px);font-weight:var(--mtfc-news-title-weight,600);line-height:1.06;text-transform:uppercase;text-shadow:0 1px 7px rgba(0,0,0,.22)}
.news-mosaic-feature .news-mosaic-copy h3{font-size:clamp(29px,2.45vw,42px)}
.news-mosaic-date{font:500 12px var(--mtfc-body-font);color:rgba(255,255,255,.92)}
.news-mosaic-feature .news-mosaic-copy p{margin:9px 0 0;max-width:92%;color:rgba(255,255,255,.92);font-size:14px;line-height:1.45}
.home-news-empty{color:#fff}

@media (min-width:981px){
  .site-header .main-nav .mega-menu{
    background-color:#fff!important;
    background-image:url('assets/images/mtfc crest lge watermark.png')!important;
    background-repeat:no-repeat!important;
    background-position:right 46px center!important;
    background-size:min(38vw,430px) auto!important;
  }
  .site-header .main-nav .mega-menu .mega-inner{position:relative;z-index:1}
}
@media(max-width:1050px){
  .home-news-mosaic{grid-template-columns:1.45fr 1fr;grid-template-rows:repeat(4,220px)}
  .news-mosaic-card.news-mosaic-feature{grid-row:1 / span 2;min-height:454px}
  .news-mosaic-card:nth-child(4){grid-column:1}.news-mosaic-card:nth-child(5){grid-column:2}
}
@media(max-width:760px){
  .home-news-section{padding-top:40px;padding-bottom:42px}
  .home-news-tabs{gap:20px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:1px}
  .home-news-tab{white-space:nowrap}
  .home-news-mosaic{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:12px}
  .news-mosaic-card,.news-mosaic-card.news-mosaic-feature{grid-column:auto!important;grid-row:auto!important;min-height:260px}
  .news-mosaic-card.news-mosaic-feature{min-height:390px}
  .news-mosaic-feature .news-mosaic-copy p{display:none}
}


/* 1.3.0 final navigation and finishing pass */
.hero h1,.page-banner h1,.section-title,.news-mosaic-copy h3,.match-home-box>h3,.club-tile h3,.directory-card h3{text-transform:none!important}
.matches-standing-section{background:#e9edff!important}
.news-mosaic-category,.mtfc-custom-home .eyebrow{color:#9497ff!important}
.mtfc-home-layout-feature .section-title{font-size:var(--mtfc-slider-title-size,78px)!important}
.match-home-box>h3,.match-home-teams>div strong,.match-home-teams>b,.fixture-ko,.score,.directory-card h3,.official-list strong,.official-list span{font-family:Inter,Arial,sans-serif!important;font-weight:700!important}
.main-nav{margin-left:75px;margin-right:auto}.main-nav>ul{gap:22px}.main-nav li{position:relative}.main-nav .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:245px;background:#fff;padding:8px 0;box-shadow:0 12px 30px rgba(0,0,0,.18);z-index:100;border-radius:0 0 6px 6px}.main-nav .sub-menu li{display:block}.main-nav .sub-menu a{display:block;color:#273043!important;text-transform:none!important;padding:10px 16px;white-space:nowrap}.main-nav .sub-menu .sub-menu{left:100%;top:0}.main-nav li:hover>ul.sub-menu,.main-nav li:focus-within>ul.sub-menu{display:block}.main-nav .menu-parent>a::after{content:' ▾';font-size:.75em}.main-nav .sub-menu .menu-parent>a::after{content:' ›';float:right}
.sitemap-link{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.35);border-radius:6px;color:#fff}.sitemap-link svg{width:22px;height:22px;stroke:currentColor}.footer-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.footer-tool{border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;padding:8px 11px;border-radius:5px;font:700 12px Inter,Arial,sans-serif;cursor:pointer}.accessibility-panel{display:none;margin-top:10px;padding:12px;background:#fff;color:#111;border-radius:6px}.accessibility-panel.is-open{display:block}.accessibility-panel button{margin:3px;padding:6px 9px}.mtfc-large-text{font-size:112.5%}.mtfc-high-contrast{filter:contrast(1.2)}.mtfc-links-underlined a{text-decoration:underline!important}
@media(max-width:980px){.main-nav{margin:0}.main-nav.mobile-open{display:block;position:absolute;left:0;right:0;top:100%;background:#000777;padding:12px 20px}.main-nav.mobile-open>ul{display:block}.main-nav .sub-menu,.main-nav .sub-menu .sub-menu{display:none;position:static;background:#07104d;box-shadow:none;padding-left:12px}.main-nav li.submenu-open>ul.sub-menu{display:block}.main-nav .sub-menu a{color:#fff!important}.sitemap-link{margin-left:auto}.menu-toggle{margin-left:0}}

/* MTFC 1.3.1 finishing corrections */
@media(min-width:981px){
 .main-nav .sub-menu{background:#000666!important;border:0!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important;border-radius:0!important}
 .main-nav .sub-menu a,.main-nav .sub-menu a:link,.main-nav .sub-menu a:visited{font-family:Inter,Arial,sans-serif!important;font-weight:700!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
 .main-nav .sub-menu a:hover,.main-nav .sub-menu a:focus{background:rgba(255,255,255,.10)!important;color:#fff!important}
}
.sitemap-link{border:0!important;border-radius:0!important;margin-left:auto!important;margin-right:0!important;padding:0;width:38px;height:38px}
.header-logos{margin-left:0!important}
.sponsors{background:#000999!important}
.page-banner h1{text-transform:uppercase!important}
.footer-tools{gap:14px}.footer-tool{width:42px;height:42px;padding:7px;border:0!important;background:transparent!important;display:grid;place-items:center}.footer-tool svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8}.footer-tool .access-fill{fill:currentColor;stroke:none}

/* 1.3.3 footer league/tools alignment */
.footer-league-tools{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;margin-top:18px}
.footer-league-link{display:flex;align-items:center;flex:0 1 auto}
.footer-league-link>img{display:block;max-width:150px;max-height:62px;object-fit:contain}
.footer-league-tools .footer-tool{flex:0 0 42px;width:42px;height:42px;padding:0;border:0!important;background:transparent!important;border-radius:50%;overflow:hidden;display:grid;place-items:center;cursor:pointer}
.footer-league-tools .footer-tool img{display:block;width:38px;height:38px;object-fit:contain}
@media(max-width:640px){.footer-league-tools{gap:9px}.footer-league-link>img{max-width:125px}.footer-league-tools .footer-tool{flex-basis:38px;width:38px;height:38px}.footer-league-tools .footer-tool img{width:34px;height:34px}}

/* MTFC 1.3.4 banner typography correction */
.page-banner h1{line-height:1!important}

/* 1.3.7 full-screen site map */
.mtfc-sitemap-page{margin:0;background:#000777;color:#fff;min-height:100vh}
.mtfc-sitemap-page .sitemap-screen{min-height:100vh;background:#000777;color:#fff;padding:34px 0 64px}
.sitemap-shell{width:min(calc(100% - 64px),1240px);margin:0 auto}
.sitemap-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.22)}
.sitemap-brand{display:block;width:86px}.sitemap-brand img{width:86px;height:86px;object-fit:contain}
.sitemap-close{position:relative;display:block;width:52px;height:52px;border:1px solid rgba(255,255,255,.42);border-radius:50%;transition:background .2s,border-color .2s}
.sitemap-close:hover,.sitemap-close:focus{background:#fff;border-color:#fff}
.sitemap-close span{position:absolute;left:14px;top:24px;width:23px;height:2px;background:#fff;transform:rotate(45deg)}
.sitemap-close span+span{transform:rotate(-45deg)}.sitemap-close:hover span,.sitemap-close:focus span{background:#000777}
.sitemap-heading{padding:42px 0 34px}.sitemap-eyebrow{margin:0 0 5px;font:700 12px var(--mtfc-body-font,Inter,Arial,sans-serif);letter-spacing:.16em;text-transform:uppercase;opacity:.7}
.sitemap-heading h1{margin:0;color:#fff;font-family:var(--mtfc-title-font,Arial,sans-serif);font-size:clamp(46px,6vw,76px);font-weight:600;line-height:.98;text-transform:uppercase}
.sitemap-editor-content{font-family:var(--mtfc-body-font,Inter,Arial,sans-serif);font-size:16px}
.sitemap-editor-content>.wp-block-columns{gap:36px 56px;margin:0}
.sitemap-editor-content h2,.sitemap-editor-content h3,.sitemap-editor-content h4{color:#fff;font-family:var(--mtfc-title-font,Arial,sans-serif);font-weight:600;text-transform:uppercase;margin:0 0 16px}
.sitemap-editor-content h2{font-size:30px}.sitemap-editor-content h3{font-size:24px}
.sitemap-editor-content ul{list-style:none;margin:0 0 34px;padding:0}.sitemap-editor-content li{margin:0;border-bottom:1px solid rgba(255,255,255,.16)}
.sitemap-editor-content li a{display:flex;align-items:center;justify-content:space-between;padding:10px 0;color:#fff;font-weight:600;transition:opacity .2s,transform .2s}
.sitemap-editor-content li a:after{content:'›';font-size:21px;font-weight:400;opacity:.65}.sitemap-editor-content li a:hover,.sitemap-editor-content li a:focus{opacity:.72;transform:translateX(4px)}
.sitemap-editor-content p,.sitemap-editor-content a{color:#fff}.sitemap-editor-content .wp-block-button__link{background:#fff;color:#000777}
@media(max-width:780px){.mtfc-sitemap-page .sitemap-screen{padding-top:22px}.sitemap-shell{width:min(calc(100% - 36px),1240px)}.sitemap-brand,.sitemap-brand img{width:68px;height:68px}.sitemap-close{width:46px;height:46px}.sitemap-close span{left:12px;top:21px;width:21px}.sitemap-heading{padding:32px 0 28px}.sitemap-editor-content>.wp-block-columns{display:block}.sitemap-editor-content>.wp-block-columns>.wp-block-column{margin-bottom:30px}}

/* 1.3.8 Match Centre */
.mc-hero{min-height:660px;background-size:cover;background-position:center;position:relative;color:#fff;display:flex;align-items:center}.mc-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,7,119,.52),rgba(0,7,119,.78) 55%,rgba(0,7,119,.94))}.mc-hero-inner{position:relative;z-index:1;text-align:center;padding:70px 24px 54px}.mc-competition{text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:15px;margin-bottom:22px}.mc-countdown{display:flex;justify-content:center;align-items:center;gap:14px;margin:0 auto 28px}.mc-countdown span{min-width:58px}.mc-countdown b{font-family:var(--mtfc-page-title-font,Sequel Sans,Oswald,sans-serif);font-size:34px;display:block;line-height:1}.mc-countdown small{text-transform:uppercase;font-size:9px;letter-spacing:.12em;opacity:.8}.mc-countdown i{font-style:normal;font-size:25px;opacity:.7}.mc-status-box{display:inline-block;background:#fff;color:#000777;font-weight:900;padding:8px 18px;border-radius:3px;margin-bottom:22px;letter-spacing:.08em}.mc-status-box.mc-live{background:#e31b23;color:#fff}.mc-scoreline{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:34px;max-width:1120px;margin:auto}.mc-side{display:flex;align-items:center;gap:24px}.mc-home{justify-content:flex-end}.mc-away{justify-content:flex-start}.mc-side img{width:132px;height:132px;object-fit:contain}.mc-team-name{font-family:var(--mtfc-page-title-font,Sequel Sans,Oswald,sans-serif);font-size:clamp(32px,4vw,58px);font-weight:700;text-transform:uppercase;line-height:.95}.mc-centre-score{font-family:var(--mtfc-page-title-font,Sequel Sans,Oswald,sans-serif);font-size:clamp(58px,7vw,96px);font-weight:800;white-space:nowrap}.mc-centre-score span{font-size:58px}.mc-scorers{max-width:850px;margin:22px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:70px;font-size:14px}.mc-scorers div:first-child{text-align:right}.mc-scorers div:last-child{text-align:left}.mc-scorers span{display:block;margin:5px 0}.mc-ht{margin:18px auto 0;font-weight:800}.mc-meta{border-top:1px solid rgba(255,255,255,.3);margin:24px auto 0;padding-top:18px;display:flex;justify-content:center;gap:36px;font-weight:600}.mc-tabs{background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.08);position:sticky;top:0;z-index:10}.mc-tabs .wrap{display:flex;justify-content:center;gap:45px}.mc-tabs button{appearance:none;border:0;background:none;padding:22px 4px 18px;text-transform:uppercase;font-weight:800;color:#333;cursor:pointer;border-bottom:4px solid transparent}.mc-tabs button.active{color:#000777;border-bottom-color:#000777}.mc-panel{display:none}.mc-panel.active{display:block}.mc-programme{display:grid;grid-template-columns:260px 1fr;gap:42px;align-items:center;max-width:900px;margin:auto}.mc-programme-cover img{width:100%;height:330px;object-fit:cover}.mc-cover-placeholder{height:330px;background:#000777;color:#fff;display:grid;place-items:center;text-align:center;font-weight:900;font-size:30px}.mc-related-title{margin-top:54px}.mc-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.mc-article-card{color:inherit;text-decoration:none;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08)}.mc-article-card img{width:100%;height:190px;object-fit:cover}.mc-article-card>div{padding:20px}.mc-article-card span{font-size:11px;text-transform:uppercase;font-weight:800;color:#000777}.mc-article-card h3{margin:8px 0;font-family:var(--mtfc-news-title-font,Sequel Sans,Oswald,sans-serif);font-size:24px}.mc-empty{text-align:center;padding:55px 20px}.mc-events-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:54px;align-items:start}.mc-event-timeline .event-row{padding:18px 0}.mc-teams{background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.09)}.mc-team-switch{display:grid;grid-template-columns:1fr 1fr}.mc-team-switch button{border:0;background:#eef0f8;padding:16px 10px;font-weight:800;cursor:pointer}.mc-team-switch button.active{background:#000777;color:#fff}.mc-lineup{display:none;padding:26px}.mc-lineup.active{display:block}.mc-lineup h3{font-family:var(--mtfc-page-title-font,Sequel Sans,Oswald,sans-serif);font-size:30px;margin:0 0 20px;color:#000777}.mc-lineup h4{text-transform:uppercase;font-size:12px;letter-spacing:.12em;margin:22px 0 8px}.mc-lineup ul{list-style:none;padding:0;margin:0}.mc-lineup li{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;border-top:1px solid #ececf2;padding:10px 0}.mc-player-marks{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mc-player-marks em{font-style:normal;font-size:11px;font-weight:800}.mc-player-marks .yellow{color:#d5a900}.mc-player-marks .red{color:#d51d28}.mc-player-marks .sub-on{color:#16873a}.mc-player-marks .sub-off{color:#a33}.mc-report{max-width:900px;margin:auto}.mc-main{min-height:400px}
@media(max-width:900px){.mc-hero{min-height:600px}.mc-scoreline{gap:14px}.mc-side{flex-direction:column;gap:10px}.mc-home{flex-direction:column-reverse}.mc-side img{width:90px;height:90px}.mc-team-name{font-size:28px}.mc-centre-score{font-size:55px}.mc-meta{flex-direction:column;gap:8px}.mc-events-layout{grid-template-columns:1fr}.mc-article-grid{grid-template-columns:1fr}.mc-programme{grid-template-columns:180px 1fr}.mc-tabs .wrap{gap:15px;overflow:auto;justify-content:flex-start}.mc-tabs button{white-space:nowrap;font-size:12px}}
@media(max-width:600px){.mc-hero{min-height:560px}.mc-hero-inner{padding-left:12px;padding-right:12px}.mc-scoreline{grid-template-columns:1fr auto 1fr}.mc-side img{width:68px;height:68px}.mc-team-name{font-size:20px}.mc-centre-score{font-size:40px}.mc-scorers{gap:20px}.mc-programme{grid-template-columns:1fr}.mc-programme-cover{max-width:220px}.mc-countdown{gap:5px}.mc-countdown span{min-width:45px}.mc-countdown b{font-size:27px}}


/* 1.3.9 — Match Centre: Brentford-inspired, edge-vignette layout. */
.mc-hero{min-height:500px;align-items:flex-start;background-position:center center}
.mc-hero .mc-hero-shade{background:radial-gradient(ellipse 64% 75% at 50% 46%,rgba(0,0,0,.06) 0%,rgba(0,0,0,.17) 38%,rgba(0,0,0,.58) 76%,rgba(0,0,0,.86) 100%) !important}
.mc-hero-inner{padding:35px 22px 32px}
.mc-competition{margin-bottom:15px}
.mc-status-box{margin-bottom:17px;background:rgba(0,0,0,.50);color:#fff;border:1px solid rgba(255,255,255,.65)}
.mc-scoreline{max-width:1250px;gap:18px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.mc-side{gap:15px;min-width:0}
.mc-side img{width:66px;height:66px;flex-shrink:0}
.mc-team-name{font-family:var(--mtfc-page-title-font,'Sequel Sans',Oswald,sans-serif);font-size:clamp(34px,3.6vw,64px);font-weight:900;line-height:1.05}
.mc-centre-score{display:flex;align-items:center;justify-content:center;gap:9px;font-size:clamp(34px,3.6vw,64px);font-weight:900;line-height:1}
.mc-centre-score .mc-score-box{display:inline-flex;align-items:center;justify-content:center;min-width:1.35em;padding:.14em .12em;background:rgba(22,22,22,.42);border:1px solid rgba(255,255,255,.15);border-radius:5px;font-size:inherit}
.mc-centre-score .mc-score-separator{font-size:.7em}
.mc-centre-score .mc-versus{font-size:.8em}
.mc-scorers{margin-top:15px}
.mc-meta{margin-top:20px;padding-top:12px}
.mc-countdown{margin-bottom:15px}
@media(max-width:900px){.mc-hero{min-height:450px}.mc-hero-inner{padding:30px 14px}.mc-side img{width:52px;height:52px}.mc-team-name,.mc-centre-score{font-size:clamp(23px,3.7vw,36px)}.mc-scoreline{gap:9px}}
@media(max-width:600px){.mc-hero{min-height:420px}.mc-hero-inner{padding:24px 10px}.mc-scoreline{gap:6px}.mc-side{gap:6px}.mc-side img{width:38px;height:38px}.mc-team-name,.mc-centre-score{font-size:clamp(15px,4vw,23px)}.mc-centre-score{gap:3px}.mc-centre-score .mc-score-box{min-width:1.15em}.mc-scorers{gap:12px;font-size:11px}.mc-meta{font-size:12px}}

/* 1.3.9.1 Match Centre visual correction and side-by-side team sheets */
.mc-hero{isolation:isolate;min-height:500px;align-items:flex-start}
.mc-hero>.mc-hero-shade{display:block!important;opacity:1!important;visibility:visible!important;z-index:0!important;background:radial-gradient(ellipse 65% 67% at 50% 48%,rgba(0,0,0,0) 0%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.68) 78%,rgba(0,0,0,.93) 100%)!important;pointer-events:none}
.mc-hero>.mc-hero-inner{z-index:2!important;position:relative;padding-top:13px!important}
.mc-hero .mc-competition{margin-top:0!important;margin-bottom:10px!important;line-height:1.25}
.mc-hero .mc-team-name,.mc-hero .mc-centre-score{font-family:var(--mtfc-page-title-font,'Sequel Sans',Oswald,sans-serif)!important;font-size:clamp(30px,3.8vw,62px)!important;font-weight:900!important;line-height:1!important}
.mc-hero .mc-centre-score .mc-score-box{font-size:1em!important;line-height:1!important}
.mc-events-layout{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:28px}
.mc-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:0}
.mc-team-switch{display:none!important}
.mc-teams .mc-lineup,.mc-teams .mc-lineup:not(.active){display:block!important;min-width:0;padding:20px 16px}
.mc-teams .mc-lineup+.mc-lineup{border-left:1px solid #e1e4ef}
.mc-lineup .mc-lineup-heading{display:flex;align-items:center;gap:9px;font-size:clamp(16px,1.5vw,23px);line-height:1.15;overflow-wrap:anywhere}
.mc-lineup-heading img{width:25px;height:25px;object-fit:contain;flex:none}
.mc-teams .mc-lineup li{grid-template-columns:26px minmax(0,1fr);gap:6px;font-size:12px}
.mc-teams .mc-player-marks{grid-column:2;justify-content:flex-start}
@media(max-width:1100px){.mc-events-layout{grid-template-columns:1fr}.mc-teams .mc-lineup li{font-size:14px}}
@media(max-width:650px){.mc-teams{grid-template-columns:1fr}.mc-teams .mc-lineup+.mc-lineup{border-left:0;border-top:1px solid #e1e4ef}.mc-hero>.mc-hero-inner{padding-top:12px!important}.mc-hero .mc-team-name,.mc-hero .mc-centre-score{font-size:clamp(15px,4vw,23px)!important}}


/* 1.3.9.2: visible black vignette, top-anchored competition, aligned names */
.mc-hero {position:relative!important;isolation:isolate!important;overflow:hidden!important}
.mc-hero::after {
  content:""!important;
  position:absolute!important;
  inset:0!important;
  display:block!important;
  pointer-events:none!important;
  z-index:1!important;
  background:radial-gradient(ellipse 90% 105% at 50% 45%,
    rgba(0,0,0,.02) 0%,
    rgba(0,0,0,.10) 35%,
    rgba(0,0,0,.45) 68%,
    rgba(0,0,0,.85) 100%)!important;
  box-shadow:inset 0 0 105px 35px rgba(0,0,0,.72)!important;
}
.mc-hero>.mc-hero-shade {z-index:0!important}
.mc-hero>.mc-hero-inner {
  z-index:2!important;
  padding-top:0!important;
  padding-bottom:30px!important;
}
.mc-hero .mc-competition {
  position:relative!important;
  margin-top:0!important;
  padding-top:2px!important;
  margin-bottom:12px!important;
}
.mc-hero .mc-side {align-items:flex-start!important}
.mc-hero .mc-side img {align-self:flex-start!important}
.mc-hero .mc-team-name {align-self:flex-start!important;line-height:1!important}
.mc-events-layout {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px}
@media(max-width:1100px){.mc-events-layout{grid-template-columns:1fr!important}}


/* 1.3.9.3: competition independently pinned high; crests stay centred beside names */
.mc-hero>.mc-hero-shade{
 background:linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.34))!important;
 z-index:0!important;
}
.mc-hero::after{
 background:radial-gradient(ellipse 88% 105% at 50% 44%,
 rgba(0,0,0,.08) 0%,rgba(0,0,0,.23) 34%,
 rgba(0,0,0,.61) 72%,rgba(0,0,0,.92) 100%)!important;
 box-shadow:inset 0 0 110px 42px rgba(0,0,0,.8)!important;
}
.mc-hero>.mc-hero-inner{position:relative!important;padding-top:78px!important}
.mc-hero .mc-competition{
 position:absolute!important;top:8px!important;left:0!important;
 right:0!important;margin:0!important;padding:0 12px!important;
 text-align:center!important;line-height:1.25!important;
}
.mc-hero .mc-side{align-items:center!important}
.mc-hero .mc-side img{align-self:center!important}
.mc-hero .mc-team-name{align-self:center!important;line-height:1.03!important}
@media(max-width:650px){.mc-hero>.mc-hero-inner{padding-top:64px!important}.mc-hero .mc-competition{top:7px!important}}


/* 1.3.9.4 — retain approved competition placement and vignette.
   Shift the away-side lettering down, not the crest; left-align wrapped words. */
.mc-hero .mc-away {align-items:center!important}
.mc-hero .mc-away img {align-self:center!important;transform:none!important}
.mc-hero .mc-away .mc-team-name {
  text-align:left!important;
  align-self:center!important;
  transform:translateY(.36em)!important;
  line-height:1.03!important;
}
@media(max-width:900px) {
  .mc-hero .mc-away .mc-team-name {transform:translateY(.18em)!important}
}

/* 1.3.9.5 — lower wrapped away team name without moving crest */
@media(min-width:901px){.mc-hero .mc-away .mc-team-name{transform:translateY(.78em)!important;text-align:left!important}}
@media(min-width:651px) and (max-width:900px){.mc-hero .mc-away .mc-team-name{transform:translateY(.45em)!important;text-align:left!important}}

/* 1.3.9.6: place centre of first away-name line alongside crest centre */
@media(min-width:901px){.mc-hero .mc-away .mc-team-name{transform:translateY(1.28em)!important;text-align:left!important}}
@media(min-width:651px) and (max-width:900px){.mc-hero .mc-away .mc-team-name{transform:translateY(.95em)!important;text-align:left!important}}

/* 1.3.9.7 — raise away team lettering slightly; keep left alignment */
@media (min-width:901px) {
 .mc-hero .mc-away .mc-team-name { transform:translateY(1.03em)!important; text-align:left!important; }
}
@media (min-width:651px) and (max-width:900px) {
 .mc-hero .mc-away .mc-team-name { transform:translateY(.70em)!important; text-align:left!important; }
}

/* 1.3.9.8: position first line midline, not its top, at score dash */
@media(min-width:901px){.mc-hero .mc-away .mc-team-name{transform:translateY(1.53em)!important;text-align:left!important}}
@media(min-width:651px) and (max-width:900px){.mc-hero .mc-away .mc-team-name{transform:translateY(1.20em)!important;text-align:left!important}}

/* 1.3.9.9: screenshot-based correction: raise white HEATON to red example. */
@media(min-width:901px){.mc-hero .mc-away .mc-team-name{transform:translateY(.48em)!important;text-align:left!important}}
@media(min-width:651px) and (max-width:900px){.mc-hero .mc-away .mc-team-name{transform:translateY(.32em)!important;text-align:left!important}}

/* 1.4.0: final snaglist additions; preserve approved 1.3.9.9 hero */
.mc-lineups-title{margin:0 0 18px!important}
.mc-lineups-area{min-width:0}
.mc-videos{margin-top:48px}
.mc-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.mc-video-card{background:#fff;padding:16px;box-shadow:0 6px 24px rgba(0,0,0,.09)}
.mc-video-card h3{font-family:var(--mtfc-page-title-font,'Sequel Sans',Oswald,sans-serif);margin:14px 0 0;font-size:19px}
.mc-video-frame{position:relative;aspect-ratio:16/9;background:#111;display:grid;place-items:center}
.mc-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mc-video-frame a{color:#fff}
.staff-card{display:block;text-decoration:none;color:inherit}
.staff-card:hover h3{text-decoration:underline}
.mtfc-silhouette{min-height:250px;display:grid;place-items:center;background:#e5e7eb;color:#9299a6;font-size:110px}
.mtfc-official-profile{display:grid;grid-template-columns:minmax(200px,330px) minmax(0,1fr);gap:42px}
.mtfc-official-profile img{width:100%;height:auto}
.club-tile{border-radius:6px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.club-tile:hover{transform:translateY(-3px)}
@media(max-width:700px){.mc-video-grid,.mtfc-official-profile{grid-template-columns:1fr}}

/* 1.4.1 — bring first Match Centre section headings nearer the tabs */
.mc-main.section{padding-top:26px!important}
.mc-main .mc-panel.active > :first-child{margin-top:0}
.mc-main .mc-events-layout .section-title{margin-top:0}
@media(max-width:600px){.mc-main.section{padding-top:20px!important}}

/* 1.4.2: site-wide finishing refinements; Match Centre hero intentionally unchanged */
@media(max-width:980px){.menu-toggle{font-size:1.5em;line-height:1.2}}
/* Ensure Match and Table heading settings win over older hardcoded Inter rules. */
.match-home-box>h3{font-family:var(--mtfc-match-title-font,var(--mtfc-page-title-font,'Sequel Sans',Oswald,sans-serif))!important;font-weight:var(--mtfc-match-title-weight,900)!important}
/* Match other pages' compact first-heading spacing without changing tabbed layouts. */
main.section:not(.mc-main){padding-top:32px}
main.section:not(.mc-main)>.wrap>.section-title:first-child{margin-top:0}
/* Club landing tiles remain editable through Landing Page Cards featured images. */
.club-tile{transition:transform .2s ease,box-shadow .2s ease}
/* Official sponsor buttons use club colours. */
.sponsors .btn,.sponsor-page .btn,.sponsor-card .btn{background:#000777;color:#fff}

/* 1.4.4 — final snaglist refinements. Preserve approved Match Centre hero. */
/* Force consistent title family, including legacy WordPress page content and directory headings. */
:root{--title-font:'Sequel Sans',Oswald,Arial,sans-serif!important;--mtfc-title-font:'Sequel Sans',Oswald,Arial,sans-serif!important;--mtfc-page-title-font:'Sequel Sans',Oswald,Arial,sans-serif!important;--mtfc-card-title-font:'Sequel Sans',Oswald,Arial,sans-serif!important;--mtfc-match-title-font:'Sequel Sans',Oswald,Arial,sans-serif!important;--mtfc-news-title-font:'Sequel Sans',Oswald,Arial,sans-serif!important}
.page-banner h1,.section-title,.directory-card h3,.official-list h2,.official-list h3,.official-list strong,.official-list span,.club-tile h3,.match-home-box>h3,.mtfc-league-title h3,.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.wp-block-heading,.sponsor-category h2,.sponsor-category h3,.sponsor-page h1,.sponsor-page h2,.sponsor-page h3{font-family:'Sequel Sans',Oswald,Arial,sans-serif!important}
/* Keep the two opposing team crests on the same vertical baseline even when names wrap. */
.match-home-teams{align-items:start}
.match-home-teams>div{display:grid;grid-template-rows:72px auto;align-items:start;justify-items:center;min-width:0}
.match-home-teams>div img{width:68px;height:68px;object-fit:contain;margin:0 auto}
.match-home-teams>div strong{line-height:1.2;overflow-wrap:break-word}
.match-home-teams>b{align-self:start;padding-top:15px}
.mtfc-league-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.mtfc-league-title h3{margin:0;font-size:var(--mtfc-match-title-size,31px);font-weight:900;color:#000777;text-transform:uppercase;line-height:1.1}
.mtfc-league-title img{height:44px;width:auto;max-width:105px;object-fit:contain;flex:0 0 auto}
/* Dual flags: top aligned with first line of name; Flag 2 occupies far right. */
.player-name-row{align-items:flex-start}
.player-name-row h3{flex:1;min-width:0;line-height:1.12}
.mtfc-player-flags{display:inline-flex;align-items:flex-start;justify-content:flex-end;gap:5px;flex:0 0 auto;margin-top:1px}
.mtfc-player-flags .player-flag{width:34px;height:23px!important;object-fit:cover}
.player-profile-title{align-items:flex-start}
.mtfc-player-flags.is-profile .profile-flag{width:54px;height:35px;object-fit:cover}
@media(max-width:680px){.mtfc-player-flags .player-flag{width:27px;height:19px!important}.mtfc-league-title img{height:39px}}
/* Sponsor calls-to-action must not inherit black background from block/editor button styles. */
body .entry-content .wp-block-button__link,body .entry-content a.wp-element-button,body .sponsor-page .btn,body .sponsor-card .btn,body .sponsors .btn,body.page .wp-block-buttons .wp-block-button__link{background-color:#000777!important;color:#fff!important;border-color:#000777!important}

/* 1.4.5 — final two refinements, preserving approved Match Centre. */
/* Match the title case of Last Match and Next Match. */
.mtfc-league-title h3{ text-transform:none!important; }
/* Individual Board of Directors and Club Officials profile role titles. */
.mtfc-official-profile article.content > h2,
.mtfc-official-profile .content > h2,
body.single-mtfc_official .mtfc-official-profile h2,
body.single-mtfc_official .mtfc-official-profile h3{font-family:'Sequel Sans',Oswald,Arial,sans-serif!important;font-weight:800!important;text-transform:none!important;}

/* 1.4.6 — Fixture Match Centre: align the first line of each team name
   with its corresponding crest and the central versus marker.
   Result scorelines retain the approved 1.3.9.9 alignment. */
.mc-hero .mc-scoreline.fixture{align-items:start!important}
.mc-hero .mc-scoreline.fixture .mc-side{align-items:flex-start!important}
.mc-hero .mc-scoreline.fixture .mc-side img{align-self:flex-start!important;transform:none!important}
.mc-hero .mc-scoreline.fixture .mc-team-name{
  align-self:flex-start!important;
  transform:none!important;
  line-height:1.03!important;
}
.mc-hero .mc-scoreline.fixture .mc-away .mc-team-name{text-align:left!important}
.mc-hero .mc-scoreline.fixture .mc-centre-score{align-self:start!important}

/* 1.4.7 — Result Match Centres: only single-line names need their own
   vertical alignment. Preserve the approved two-line Heaton Stannington layout. */
.mc-hero .mc-scoreline.has-score .mc-team-name.mc-single-line{
  transform:none!important;
  align-self:center!important;
}
.mc-hero .mc-scoreline.has-score .mc-team-name.mc-multi-line{
  /* Existing approved multi-line alignment remains in effect. */
}

/* 1.4.9: Optional media captions with a soft grey fade. */
.mtfc-slide-caption{position:absolute;right:20px;bottom:17px;z-index:3;max-width:min(45%,480px);padding:6px 10px;border-radius:4px;background:linear-gradient(90deg,rgba(38,42,48,.12) 0%,rgba(38,42,48,.65) 32%,rgba(38,42,48,.84) 100%);color:#fff;font-size:12px;line-height:1.4;text-align:right;pointer-events:none}
@media(max-width:680px){.mtfc-slide-caption{right:12px;bottom:42px;max-width:80%;font-size:11px}}

.mtfc-featured-caption{font-size:12px;color:#566074;text-align:right;padding-top:8px}

/* 1.4.10 — dropdown navigation typography only.
   Main navigation labels retain their existing size and font. */
.main-nav .sub-menu a,
.main-nav .sub-menu a:link,
.main-nav .sub-menu a:visited {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45;
}

/* 1.4.11 — dropdown labels use Inter Regular (400), not bold/black. */
.main-nav .sub-menu a,
.main-nav .sub-menu a:link,
.main-nav .sub-menu a:visited {
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

/* Official Sponsors & Partners page only — footer remains unchanged. */
.mtfc-partners-section{margin:0 0 62px}.mtfc-partners-section h2{font-family:'Sequel Sans',Oswald,Arial,sans-serif;text-transform:uppercase;margin:0 0 30px;color:#000777}.mtfc-partners-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 34px;align-items:stretch}.mtfc-partner-item{background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-width:0}.mtfc-partner-logo{height:132px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.mtfc-partner-logo img{width:auto;max-width:min(100%,260px);max-height:122px;object-fit:contain}.mtfc-partner-item h3{font-size:16px;margin:0 0 15px;font-weight:500}.mtfc-partner-button{display:inline-block;margin-top:auto;background:#000777;color:#fff!important;border-radius:4px;padding:10px 20px;font:500 13px Inter,Arial,sans-serif;text-decoration:none}.mtfc-partner-button:hover,.mtfc-partner-button:focus{background:#000999;color:#fff}.mtfc-partner-item .mtfc-partner-button{margin-top:10px}@media(max-width:760px){.mtfc-partners-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}}@media(max-width:480px){.mtfc-partners-grid{grid-template-columns:1fr}}

/* 1.4.14 — First Team top bar: independent title and link typography. */
.platform-inner .mtfc-first-team-topbar-title{
  margin-right:auto;
  padding-left:0;
  font-family:'Sequel Sans',Oswald,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.2;
  text-transform:uppercase;
  white-space:nowrap;
}
@media(max-width:980px){
  .platform-inner .mtfc-first-team-topbar-title{display:inline-block;flex:0 0 auto;padding-right:16px}
}
@media(max-width:680px){
  .platform-inner .mtfc-first-team-topbar-title{font-size:16px!important}
}
/* Submenu links: Inter Regular at 14px; main navigation unchanged. */
.main-nav .sub-menu a,
.main-nav .sub-menu a:link,
.main-nav .sub-menu a:visited{
  font-family:Inter,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:400!important;
}
/* Wider sponsor section side gutters, maintaining five columns on desktop. */
.sponsors > .wrap{
  width:min(calc(100% - 112px),1120px)!important;
  max-width:1120px!important;
  margin-inline:auto;
}
.sponsors .sponsor-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  column-gap:34px;
  row-gap:38px;
  justify-items:center;
}
.sponsors .sponsor-grid > a,.sponsors .sponsor-grid > span{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;
}
.sponsors .sponsor-grid img{
  display:block;width:auto;height:auto;
  max-width:min(100%,132px);max-height:64px;
  object-fit:contain;
}
@media(max-width:980px){
  .sponsors > .wrap{width:calc(100% - 64px)!important}
  .sponsors .sponsor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}
}
@media(max-width:680px){
  .sponsors > .wrap{width:calc(100% - 40px)!important}
  .sponsors .sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
  .sponsors .sponsor-grid img{max-width:min(100%,128px);max-height:60px}
}
/* 1.4.15 — First Team editorial homepage refresh */
.matches-standing-section{background:#fff!important;padding:44px 0 48px}
.matches-standing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.match-home-box{background:#000888!important;color:#fff!important;border:0!important;border-radius:0!important;min-height:520px;padding:25px 23px;display:flex;flex-direction:column}
.match-home-box>h3,.mtfc-league-title h3{color:#fff!important;font-size:27px!important}
.match-home-comp{border-top:1px solid rgba(255,255,255,.28);padding-top:17px;min-height:75px;color:#fff}
.match-home-comp img{width:55px;height:53px}
.match-home-teams{margin:35px 0 24px;flex:1;align-items:center}
.match-home-teams>div{grid-template-rows:95px auto}
.match-home-teams>div img{width:88px;height:88px}
.match-home-teams>div strong{font-size:34px;color:#fff;letter-spacing:.02em}
.match-home-teams>b{color:#fff!important;font-size:37px;align-self:center;padding:0}
.match-home-date{color:#fff!important;font-size:13px;line-height:1.8;margin:18px 0}
.match-venue-label{font-weight:800;margin-right:8px}
.match-home-box .match-centre-small,.match-report-home{display:block;width:100%;margin:12px 0 0;text-align:center;padding:15px 10px;border:1px solid #fff;border-radius:0;background:transparent;color:#fff!important;text-decoration:none;font-weight:800;text-transform:uppercase}
.match-report-home{background:#fff;color:#000888!important}
.mtfc-shootout-summary{text-align:center;color:#fff;font-weight:800;margin:0 0 10px}
.league-home-box{padding:25px 18px}
.league-home-box .compact-league{color:#fff}
.league-home-box .compact-league th{color:#fff}
.league-home-box .compact-league td,.league-home-box .compact-league th{border-bottom:1px solid rgba(255,255,255,.22);padding:12px 6px}
.league-home-box .compact-league tr.is-matlock{background:#fff!important;color:#000888!important}
.league-home-box .compact-league tr.is-matlock td{border-color:#fff}
.home-news-section{background:#fff!important;color:#101b37!important;padding:55px 0 65px}
.home-news-section .section-title{color:#000888!important}
.home-news-section .section-heading-row a{color:#000888!important}
.home-news-tabs{border-bottom:1px solid #d5dbe7;gap:24px;background:transparent!important}
.home-news-tab{background:transparent!important;border:0!important;border-radius:0!important;color:#26365a!important;padding:13px 3px!important;box-shadow:none!important}
.home-news-tab.active{color:#000888!important}
.home-news-tab.active::after{background:#000888!important;height:3px}
.home-news-editorial{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:24px}
.news-editorial-card{min-width:0;background:#fff;border:0;border-radius:0;overflow:hidden}
.news-editorial-card>a{display:block;color:#101b37;text-decoration:none}
.news-editorial-image{height:205px;overflow:hidden;background:#e9edf5}
.news-editorial-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.news-editorial-card:hover img{transform:scale(1.035)}
.news-editorial-copy{padding:16px 0 12px}
.news-editorial-category{color:#000888;font-size:12px;font-weight:800;text-transform:uppercase;margin-bottom:8px}
.news-editorial-copy h3{color:#111c38;font-size:clamp(21px,2vw,27px);line-height:1.2;margin:0 0 12px;text-transform:none!important}
.news-editorial-date{color:#647087;font-size:13px}
.mtfc-story-banner .mtfc-story-heading{max-width:1100px;width:100%;padding-top:65px;padding-bottom:65px}
.mtfc-story-banner h1{text-transform:none!important;max-width:100%!important;line-height:1.13}
.mtfc-story-category{text-transform:uppercase;font-weight:800;letter-spacing:.08em;margin-bottom:15px;color:#fff}
.mtfc-story-published{margin-top:18px;font-size:15px;color:#fff}
.mtfc-story-content{max-width:1100px}
.mc-shootout{font-size:19px;font-weight:800;text-align:center;margin:20px auto;color:#fff}
/* Text-only tabs on other templates, without altering their JS or links. */
.tabs a,.tabs button,.news-tabs a,.mc-tabs button{border-radius:0!important;background:transparent!important;box-shadow:none!important}
.tabs a.active,.tabs button.active,.news-tabs a.active{border-bottom:3px solid #000888!important}
@media(max-width:1000px){.matches-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.league-home-box{grid-column:1/-1}.home-news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.matches-standing-grid,.home-news-editorial{grid-template-columns:1fr}.league-home-box{grid-column:auto}.match-home-box{min-height:450px}.home-news-tabs{overflow-x:auto;flex-wrap:nowrap}.home-news-tab{white-space:nowrap}}


/* 1.4.16 — match centre and editorial alignment */
.matches-standing-section{background:#fff!important;padding:32px 0 40px!important}
.matches-standing-grid{gap:22px!important;align-items:stretch}
.match-home-box{background:#07539a!important;border-radius:0!important;min-height:615px!important;padding:0 24px 25px!important;display:flex!important;flex-direction:column!important;color:white!important;overflow:hidden}
.match-home-box .match-card-heading{font-size:12px!important;letter-spacing:.1em;opacity:.75;text-align:right;margin:12px 0 0!important;color:#fff!important}
.match-home-comp{order:0;display:flex!important;align-items:center!important;gap:18px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.28)!important;margin:0 -24px!important;padding:13px 24px!important;min-height:88px!important;background:rgba(255,255,255,.065)}
.match-home-comp img{width:47px!important;height:59px!important;object-fit:contain!important;flex:none}
.match-home-comp>span:not(.match-card-kickoff){display:none!important}
.match-card-kickoff{order:2;color:#fff;font-size:17px!important;font-weight:800!important;white-space:normal}
.match-card-venue{order:1;text-align:center;font-size:13px;font-weight:600;padding:22px 0 10px;min-height:57px;color:#fff}
.match-card-venue b{font-weight:800;margin-right:8px}
.match-home-teams{order:2;flex:1!important;display:grid!important;grid-template-columns:1fr .8fr 1fr!important;align-items:center!important;gap:8px!important;margin:10px 0 16px!important}
.match-home-teams>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important}
.match-home-teams>div img{height:94px!important;width:94px!important;object-fit:contain!important;margin:0!important}
.match-home-teams>div strong{font-size:38px!important;font-weight:900!important;letter-spacing:.01em}
.match-home-teams>b{font-size:35px!important;align-self:center!important;padding:0!important}
.mtfc-shootout-summary{order:3;text-align:center;font-size:13px;font-weight:700;margin:0 0 16px}
.match-home-box .match-report-home{order:4;background:#fff!important;color:#07539a!important;border:1px solid #fff!important;border-radius:10px!important;padding:18px 8px!important;font-size:17px!important;margin:8px 0!important}
.match-home-box .match-centre-small{order:5;background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;padding:18px 8px!important;font-size:17px!important;margin:4px 0!important}
.match-action-icon{display:inline-block;margin-right:10px;font-size:22px;vertical-align:middle}
.league-home-box{padding:0 0 20px!important}
.league-home-box .mtfc-league-title{padding:22px 20px!important;border-bottom:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.065)}
.league-home-box .compact-league{border-collapse:collapse!important;width:100%!important}
.league-home-box .compact-league tr.is-matlock{background:#fff!important;color:#07539a!important}
.league-home-box .compact-league tr.is-matlock td{background:#fff!important;color:#07539a!important}
.home-news-section{background:#fff!important;margin:0!important;padding:46px 0 70px!important}
.home-news-editorial{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;margin-top:25px!important}
.news-editorial-card{background:#fff!important;border-radius:0!important;box-shadow:none!important}
.news-editorial-image{height:auto!important;aspect-ratio:16/10!important;overflow:hidden}
.news-editorial-copy{padding:18px 0!important}
.news-editorial-copy h3{text-transform:none!important;font-size:25px!important;line-height:1.24!important}
.home-news-tabs,.tabs,.news-tabs,.directory-tabs,.team-tabs,.matches-tabs{display:flex!important;gap:22px!important;border-bottom:1px solid #cbd1da!important;flex-wrap:wrap!important;background:transparent!important;padding:0!important;margin-bottom:24px!important}
.home-news-tab,.tabs a,.news-tabs a,.directory-tabs a,.team-tabs a,.matches-tabs a{background:transparent!important;color:#777f8d!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;padding:12px 2px!important;margin:0!important;text-transform:none!important;font-weight:700!important}
.home-news-tab.active,.tabs a.active,.news-tabs a.active,.directory-tabs a.active,.team-tabs a.active,.matches-tabs a.active{background:transparent!important;color:#000888!important;border-bottom-color:#000888!important}
.mtfc-story-banner .mtfc-story-heading-stack{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;max-width:1100px!important;padding-top:55px!important;padding-bottom:55px!important}
.mtfc-story-heading-stack .mtfc-story-category{position:static!important;order:1!important;margin:0 0 10px!important;font-size:14px!important;color:#fff!important;line-height:1.4!important}
.mtfc-story-heading-stack h1{position:static!important;order:2!important;margin:0!important;text-transform:none!important;max-width:100%!important;width:100%!important;line-height:1.15!important}
.mtfc-story-heading-stack .mtfc-story-published{position:static!important;order:3!important;margin:12px 0 0!important;font-size:15px!important;color:#fff!important}
@media(max-width:1050px){.matches-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.league-home-box{grid-column:1/-1!important}.home-news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.matches-standing-grid,.home-news-editorial{grid-template-columns:1fr!important}.league-home-box{grid-column:auto!important}.match-home-box{min-height:570px!important}.home-news-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}}

/* v1.4.17: deliberate component reset, QPR-reference proportions without copying assets */
body.home .matches-standing-section{background:#fff!important;padding:25px 0 22px!important}
body.home .matches-standing-section>.wrap{width:min(1488px,calc(100% - 48px))!important;max-width:1488px!important;margin-inline:auto!important}
body.home .matches-standing-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
body.home .matches-standing-grid>.match-home-box{height:596px!important;min-height:596px!important;max-height:none!important;box-sizing:border-box!important;background:#000888!important;border:0!important;border-radius:0!important;padding:0 24px 24px!important;display:flex!important;flex-direction:column!important;box-shadow:none!important}
body.home .match-home-comp{order:0!important;min-height:86px!important;height:86px!important;flex:0 0 86px!important;display:flex!important;flex-direction:row-reverse!important;justify-content:flex-end!important;gap:22px!important;margin:0 -24px!important;padding:12px 24px!important;background:rgba(255,255,255,.045)!important;border-bottom:1px solid rgba(255,255,255,.24)!important}
body.home .match-home-comp img{width:48px!important;height:60px!important;object-fit:contain!important;filter:grayscale(1) brightness(0) invert(1)}
body.home .match-card-kickoff{font-size:19px!important;font-weight:750!important;color:#fff!important;white-space:nowrap!important}
body.home .match-card-venue{order:1!important;flex:0 0 48px!important;min-height:48px!important;padding:18px 0 0!important;font-size:13px!important;color:#fff!important;text-align:center!important}
body.home .match-home-teams{order:2!important;flex:1 1 auto!important;min-height:190px!important;margin:0 0 8px!important;display:grid!important;grid-template-columns:1fr .8fr 1fr!important;align-items:center!important}
body.home .match-home-teams>div img{width:94px!important;height:94px!important;object-fit:contain!important}
body.home .match-home-teams>div strong{font-size:42px!important;line-height:1.1!important;color:#fff!important}
body.home .match-home-teams>b{font-size:40px!important;color:#fff!important}
body.home .match-home-box .match-report-home,body.home .match-home-box .match-tickets-home{order:4!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:74px!important;margin:8px 0!important;padding:10px!important;border:0!important;border-radius:10px!important;background:#fff!important;color:#000888!important;text-decoration:none!important;font-size:19px!important;font-weight:800!important}
body.home .match-home-box .match-centre-small{order:5!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:66px!important;margin:4px 0!important;padding:10px!important;background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;font-size:19px!important}
body.home .league-home-box{padding:0!important}
body.home .league-home-box .mtfc-league-title{height:86px!important;min-height:86px!important;box-sizing:border-box!important;display:flex!important;flex-direction:row-reverse!important;justify-content:flex-end!important;align-items:center!important;gap:22px!important;padding:12px 24px!important;margin:0!important;background:rgba(255,255,255,.045)!important;border-bottom:1px solid rgba(255,255,255,.24)!important}
body.home .league-home-box .mtfc-league-title img{width:48px!important;height:60px!important;object-fit:contain!important;filter:grayscale(1) brightness(0) invert(1)}
body.home .league-column-label{font-size:19px!important;color:#fff!important;font-weight:800!important}
body.home .league-home-box .compact-league{width:100%!important;color:#fff!important;font-size:15px!important}
body.home .league-home-box .compact-league thead{display:table-header-group!important}
body.home .league-home-box .compact-league td,body.home .league-home-box .compact-league th{padding:13px 4px!important;border-bottom:1px solid rgba(255,255,255,.24)!important;color:#fff!important;background:transparent!important}
body.home .league-home-box .compact-league tr.is-matlock,body.home .league-home-box .compact-league tr.is-matlock td{background:#fff!important;color:#000888!important}
body.home .league-home-box .compact-league th:first-child{font-size:0!important}
body.home .home-news-section{background:#fff!important;background-image:none!important;color:#101b37!important;padding:45px 0 65px!important;margin:0!important}
body.home .home-news-section::before,body.home .home-news-section::after{content:none!important;display:none!important}
body.home .home-news-section>.wrap{position:relative!important;z-index:2!important;background:#fff!important}
body.home .home-news-section .section-title{color:#000888!important}
body.home .home-news-section .section-heading-row a{color:#000888!important}
body.home .home-news-editorial{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important}
body.home .news-editorial-card{background:#fff!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.home .news-editorial-card>a{display:grid!important;grid-template-columns:44% 1fr!important;align-items:start!important;gap:16px!important;text-decoration:none!important}
body.home .news-editorial-image{aspect-ratio:4/5!important;height:auto!important;min-height:0!important}
body.home .news-editorial-copy{padding:6px 0!important}
body.home .news-editorial-copy h3{font-size:22px!important;line-height:1.25!important;text-transform:none!important;color:#101b37!important}
body .home-news-tab,body .tabs a,body .tabs button,body .news-tabs a,body .directory-tabs a,body .team-tabs a,body .matches-tabs a,body .mc-tabs button{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;color:#80858e!important;padding:12px 3px!important}
body .home-news-tab.active,body .tabs a.active,body .tabs button.active,body .news-tabs a.active,body .directory-tabs a.active,body .team-tabs a.active,body .matches-tabs a.active,body .mc-tabs button.active,body .tabs [aria-selected="true"]{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;border-bottom:3px solid #000888!important;border-radius:0!important;color:#000888!important}
body.single-post .page-banner.mtfc-story-banner{height:auto!important;min-height:265px!important;display:flex!important;align-items:center!important}
body.single-post .page-banner.mtfc-story-banner>.wrap.mtfc-story-heading{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;box-sizing:border-box!important;width:min(1100px,calc(100% - 48px))!important;max-width:1100px!important;padding:50px 0!important;margin-inline:auto!important}
body.single-post .mtfc-story-heading>.mtfc-story-category{position:static!important;order:0!important;margin:0 0 10px!important;font-size:14px!important;text-transform:uppercase!important;color:#fff!important}
body.single-post .mtfc-story-heading>h1{position:static!important;order:1!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;font-size:clamp(32px,4vw,54px)!important;line-height:1.15!important;text-transform:none!important;color:#fff!important}
body.single-post .mtfc-story-heading>.mtfc-story-published{position:static!important;order:2!important;margin:12px 0 0!important;font-size:15px!important;color:#fff!important}
@media(max-width:1100px){body.home .matches-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.home .league-home-box{grid-column:1/-1!important}body.home .home-news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){body.home .matches-standing-grid,body.home .home-news-editorial{grid-template-columns:1fr!important}body.home .league-home-box{grid-column:auto!important}body.home .matches-standing-section>.wrap{width:calc(100% - 28px)!important}body.home .matches-standing-grid>.match-home-box{height:auto!important;min-height:570px!important}body.home .news-editorial-card>a{grid-template-columns:42% 1fr!important}}

/* v1.4.18 — faithful proportions to approved 1200px homepage mock-up.
   3 cards span ~944px, not the full site content width. */
body.home .matches-standing-section{background:#fff!important;padding:14px 0 54px!important}
body.home .matches-standing-section>.wrap{width:min(944px,calc(100% - 36px))!important;max-width:944px!important;margin-inline:auto!important;padding:0!important}
body.home .matches-standing-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;align-items:stretch!important}
body.home .matches-standing-grid>.match-home-box{height:378px!important;min-height:378px!important;max-height:none!important;padding:0 15px 10px!important;border-radius:0!important;background:#000888!important;color:#fff!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
body.home .match-home-comp{order:0!important;flex:0 0 47px!important;height:47px!important;min-height:47px!important;margin:0 -15px!important;padding:6px 15px!important;gap:12px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;border-bottom:1px solid rgba(255,255,255,.4)!important;background:transparent!important}
body.home .match-home-comp img{order:0!important;width:44px!important;height:34px!important;object-fit:contain!important;filter:grayscale(1) brightness(0) invert(1)!important}
body.home .match-card-kickoff{order:1!important;font-size:12px!important;white-space:nowrap!important;font-weight:750!important}
body.home .match-card-venue{order:1!important;flex:0 0 36px!important;min-height:36px!important;padding:9px 0 0!important;font-size:11px!important;white-space:normal!important;text-align:center!important}
body.home .match-card-venue b{margin-right:8px!important}
body.home .match-home-teams{order:2!important;flex:1 1 auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr .75fr 1fr!important;gap:4px!important;align-items:center!important;margin:0 0 8px!important}
body.home .match-home-teams>div{gap:6px!important}
body.home .match-home-teams>div img{width:65px!important;height:65px!important;object-fit:contain!important}
body.home .match-home-teams>div strong{font-size:29px!important;line-height:1!important;color:#fff!important}
body.home .match-home-teams>b{font-size:26px!important;white-space:nowrap!important;color:#fff!important}
body.home .mtfc-shootout-summary{order:3!important;font-size:10px!important;line-height:1.3!important;margin:-10px 0 6px!important;text-align:center!important}
body.home .match-home-box .match-highlights-home,body.home .match-home-box .match-report-home,body.home .match-home-box .match-tickets-home{order:4!important;flex:0 0 47px!important;min-height:47px!important;margin:4px 0!important;padding:4px 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:6px!important;border:1px solid #fff!important;background:#fff!important;color:#000888!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
body.home .match-home-box .match-highlights-home{background:transparent!important;color:#fff!important}
body.home .match-home-box .match-centre-small{order:5!important;flex:0 0 42px!important;min-height:42px!important;margin:3px 0!important;padding:3px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;color:#fff!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
body.home .match-action-icon{font-size:19px!important;margin-right:9px!important}
body.home .league-home-box .mtfc-league-title{height:47px!important;min-height:47px!important;padding:6px 15px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:13px!important;justify-content:flex-start!important;background:transparent!important}
body.home .league-home-box .mtfc-league-title img{order:0!important;width:44px!important;height:34px!important;object-fit:contain!important}
body.home .league-home-box .league-column-label{order:1!important;font-size:12px!important}
body.home .league-home-box .compact-league-wrap{flex:1!important;overflow:hidden!important}
body.home .league-home-box .compact-league{font-size:12px!important}
body.home .league-home-box .compact-league td,body.home .league-home-box .compact-league th{padding:7px 3px!important;font-size:11px!important}
body.home .league-home-box .compact-league tr.is-matlock,body.home .league-home-box .compact-league tr.is-matlock td{background:#fff!important;color:#000888!important}
body.home .league-home-box .mtfc-full-table{align-self:center!important;background:#fff!important;color:#000888!important;border-radius:3px!important;font-size:12px!important;font-weight:800!important;padding:8px 13px!important;margin:5px auto!important;text-decoration:none!important}
/* The news grid uses landscape photos on the LEFT of each article, not portrait crops. */
body.home .home-news-section{background:#fff!important;background-image:none!important;margin:0!important;padding:35px 0 60px!important;color:#000888!important}
body.home .home-news-section>.wrap{width:min(1120px,calc(100% - 40px))!important;max-width:1120px!important;background:#fff!important}
body.home .home-news-editorial{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px 25px!important;margin-top:18px!important}
body.home .news-editorial-card>a{display:grid!important;grid-template-columns:47% minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
body.home .news-editorial-image{width:100%!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;overflow:hidden!important}
body.home .news-editorial-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body.home .news-editorial-copy{padding:4px 0!important}
body.home .news-editorial-category{font-size:10px!important;color:#000888!important;font-weight:800!important;text-transform:uppercase!important}
body.home .news-editorial-copy h3{font-size:17px!important;line-height:1.18!important;color:#000888!important;margin:5px 0 15px!important;text-transform:none!important}
body.home .news-editorial-date{font-size:11px!important;color:#1a2338!important}
/* One consistent tab rule; neutral background even for active tabs. */
body .tabs,body .news-tabs,body .team-tabs,body .directory-tabs,body .matches-tabs,body .home-news-tabs{background:transparent!important;border-bottom:1px solid #cbd1da!important}
body .tabs .active,body .tabs a.active,body .tabs button.active,body .tab.active,body .news-tabs .active,body .team-tabs .active,body .directory-tabs .active,body .matches-tabs .active,body .home-news-tab.active,body .mc-tabs button.active{background:transparent!important;background-color:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important;color:#000888!important;border:0!important;border-bottom:3px solid #000888!important}
body .tabs a,body .tabs button,body .tab,body .news-tabs a,body .team-tabs a,body .directory-tabs a,body .matches-tabs a,body .home-news-tab{background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important}
/* News banner category / title / date as a single left-aligned stack. */
body.single-post .mtfc-story-banner .mtfc-story-heading,body.single .mtfc-story-banner .mtfc-story-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;max-width:1100px!important;width:calc(100% - 40px)!important;margin:0 auto!important;padding:55px 0!important}
body.single-post .mtfc-story-heading .mtfc-story-category{position:static!important;order:1!important;margin:0 0 8px!important;font-size:13px!important;line-height:1.3!important;text-transform:uppercase!important}
body.single-post .mtfc-story-heading h1{position:static!important;order:2!important;margin:0!important;padding:0!important;font-size:clamp(32px,4vw,52px)!important;line-height:1.1!important;text-transform:none!important;max-width:100%!important}
body.single-post .mtfc-story-heading .mtfc-story-published{position:static!important;order:3!important;margin:7px 0 0!important;font-size:14px!important;line-height:1.4!important;text-transform:none!important}
@media(max-width:900px){body.home .matches-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.home .matches-standing-grid>.league-home-box{grid-column:1/-1!important}body.home .home-news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){body.home .matches-standing-grid{grid-template-columns:1fr!important}body.home .matches-standing-grid>.league-home-box{grid-column:auto!important}body.home .home-news-editorial{grid-template-columns:1fr!important}}

/* v1.4.20 — focused final layout overrides; preserve 1.4.19 news cards. */
body.home .matches-standing-section{padding-top:34px!important;padding-bottom:54px!important}
body.home .matches-standing-section>.wrap{width:min(944px,calc(100% - 36px))!important}
body.home .match-home-comp{position:relative!important;flex:0 0 52px!important;height:52px!important;min-height:52px!important;gap:12px!important}
body.home .match-home-comp img{display:block!important;visibility:visible!important;opacity:1!important;max-width:90px!important;width:auto!important;height:35px!important;filter:none!important;object-fit:contain!important}
body.home .match-home-comp .mtfc-competition-text{font-size:10px!important;line-height:1.15!important;font-weight:800!important;max-width:115px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
body.home .match-home-comp .match-card-kickoff{font-size:12px!important;margin-left:auto!important;order:2!important}
body.home .match-home-teams>div img{object-fit:contain!important}
body.home .match-home-box .match-centre-small{margin-top:auto!important}
/* Uniform underlined tab controls, including tab systems on internal pages. */
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs){display:flex!important;align-items:end!important;gap:20px!important;background:transparent!important;border-bottom:1px solid #cbd1da!important;box-shadow:none!important}
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs) :is(a,button){background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important;color:#101a35!important;padding:10px 2px!important;border:0!important;border-bottom:3px solid transparent!important;font-size:14px!important;line-height:1.3!important;text-transform:none!important}
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs) :is(a,button):is(.active,.is-active,[aria-selected="true"]){background:transparent!important;color:#000888!important;border-bottom:3px solid #000888!important;font-weight:750!important}
/* Article title banner: restrained type, clear category/date hierarchy. */
body.single-post .page-banner.mtfc-story-banner{min-height:250px!important;height:auto!important;display:flex!important;align-items:center!important;background-position:center!important;background-size:cover!important;position:relative!important;isolation:isolate!important}
body.single-post .page-banner.mtfc-story-banner:before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(0,8,136,.88),rgba(0,8,136,.57))!important;z-index:-1!important}
body.single-post .mtfc-story-banner .mtfc-story-heading{min-height:250px!important;max-width:1100px!important;justify-content:center!important;padding:38px 0!important;box-sizing:border-box!important}
body.single-post .mtfc-story-heading h1{font-size:clamp(28px,3.1vw,42px)!important;line-height:1.13!important;max-width:950px!important;font-weight:850!important;letter-spacing:-.02em!important}
body.single-post .mtfc-story-heading .mtfc-story-category{font-size:12px!important;font-weight:800!important;margin-bottom:10px!important}
body.single-post .mtfc-story-heading .mtfc-story-published{font-size:13px!important;margin-top:10px!important}
@media(max-width:680px){body.home .matches-standing-section{padding-top:24px!important}body.single-post .page-banner.mtfc-story-banner,body.single-post .mtfc-story-banner .mtfc-story-heading{min-height:220px!important}}

/* 1.4.21 — requested corrections, retaining the 1.4.20 match-card proportions. */
@media(min-width:681px){body.home .matches-standing-section{padding-top:70px!important;padding-bottom:35px!important}}
body.home .home-news-section{padding-top:35px!important}
body.home .league-home-box .mtfc-league-title img{display:block!important;visibility:visible!important;opacity:1!important;filter:none!important;width:65px!important;max-width:65px!important;height:36px!important;object-fit:contain!important;flex-shrink:0!important}
body.home .mtfc-shootout-summary{display:block!important;visibility:visible!important;opacity:1!important;order:3!important;flex:0 0 auto!important;margin:0 0 5px!important;color:#fff!important;font-size:11px!important;line-height:1.25!important;text-align:center!important}
/* Neutral grey for ALL inactive tabs; prevent inherited white text. */
body .home-news-tabs button.home-news-tab:not(.active),body .home-news-tabs button.home-news-tab:not([aria-selected="true"]):not(.active),body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.mc-tabs) :is(a,button):not(.active):not(.is-active):not([aria-selected="true"]){color:#737983!important;-webkit-text-fill-color:#737983!important}
body .home-news-tabs button.home-news-tab.active,body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.mc-tabs) :is(a,button):is(.active,.is-active,[aria-selected="true"]){color:#000888!important;-webkit-text-fill-color:#000888!important;background:transparent!important;border-bottom:3px solid #000888!important}
/* Internal tab navigation variants. */
body :is(.tab-nav,.tab-links,.category-tabs,.filter-tabs) :is(a,button):not(.active):not([aria-selected="true"]){color:#737983!important;-webkit-text-fill-color:#737983!important}
/* Article banners: keep title/category/date together and avoid inherited huge headings. */
body.single-post section.page-banner.mtfc-story-banner{height:auto!important;min-height:250px!important}
body.single-post section.page-banner.mtfc-story-banner .wrap.mtfc-story-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:250px!important;padding:38px 0!important}
body.single-post section.page-banner.mtfc-story-banner .wrap.mtfc-story-heading h1{font-size:clamp(28px,3.1vw,42px)!important;line-height:1.13!important;max-width:950px!important;margin:0!important;position:static!important;text-align:left!important}
@media(max-width:680px){body.home .matches-standing-section{padding-top:34px!important;padding-bottom:17px!important}body.home .home-news-section{padding-top:17px!important}}

/* 1.4.22: precise match-header and tab corrections */
body.home .match-home-comp{gap:7px!important}
body.home .match-home-comp .match-card-kickoff{margin-left:2px!important;order:1!important}
body.home .match-home-comp img{order:0!important}
body.home .league-home-box .mtfc-league-title{position:relative!important;gap:8px!important;margin:0 -15px!important;padding:6px 15px!important;border-bottom:1px solid rgba(255,255,255,.4)!important}
body.home .league-home-box .mtfc-league-title img{order:0!important;flex:0 0 44px!important}
body.home .league-home-box .league-column-label{order:1!important;margin-right:auto!important}
body.home .league-home-box .league-header-stats{order:2!important;display:flex!important;gap:10px!important;font-size:12px!important;font-weight:700!important;align-items:center!important;white-space:nowrap!important}
body.home .league-home-box .compact-league thead{display:none!important}
body.home .league-home-box .compact-league .league-full-link{display:none!important}
body.home .league-home-box a.mtfc-full-table,body.home .league-home-box a.mtfc-full-table:is(:hover,:focus,:visited){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:8px 0!important;border-radius:0!important;text-decoration:none!important;font-weight:800!important}
/* No coloured pills or white active text in any of the theme's tab navigations. */
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs,.tab-nav,.tab-links,.category-tabs,.filter-tabs) :is(a,button,.tab),
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs,.tab-nav,.tab-links,.category-tabs,.filter-tabs) :is(a,button,.tab):is(:hover,:focus,:visited){background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important;color:#737983!important;-webkit-text-fill-color:#737983!important}
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs,.tab-nav,.tab-links,.category-tabs,.filter-tabs) :is(a,button,.tab):is(.active,.is-active,.current,[aria-selected="true"],[aria-current="page"]),
body :is(.tabs,.news-tabs,.team-tabs,.directory-tabs,.matches-tabs,.home-news-tabs,.mc-tabs,.tab-nav,.tab-links,.category-tabs,.filter-tabs) :is(a,button,.tab):is(.active,.is-active,.current,[aria-selected="true"],[aria-current="page"]):is(:hover,:focus,:visited){background:transparent!important;background-color:transparent!important;background-image:none!important;color:#000888!important;-webkit-text-fill-color:#000888!important;border-radius:0!important;border-bottom:3px solid #000888!important;font-weight:800!important;box-shadow:none!important}

/* 1.4.23 — sharp, accessible YouTube preview; original player dimensions retained. */
.mc-youtube-preview{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;display:block;overflow:hidden;background:#111;cursor:pointer}
.mc-youtube-preview img{display:block;width:100%;height:100%;object-fit:cover;filter:none;transform:none}
.mc-youtube-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:48px;border-radius:13px;background:#e62117;display:grid;place-items:center;box-shadow:0 2px 12px #0006;transition:background .15s}
.mc-youtube-play span{width:0;height:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:19px solid white;margin-left:4px}
.mc-youtube-preview:hover .mc-youtube-play,.mc-youtube-preview:focus-visible .mc-youtube-play{background:#c71910}
.mc-youtube-preview:focus-visible{outline:3px solid #fff;outline-offset:-3px}
