/* Family-specific finishing over the authoritative production content. */
body[data-wtm-presentation] .wtm-production-rail [aria-current="location"]{background:var(--wtm-mint);color:var(--wtm-green);border-radius:9px}
body[data-wtm-presentation] :is(.dh-page,.seo-page){min-width:0;width:100%;box-sizing:border-box}
body[data-wtm-family="directory"] .dh-page{max-width:1120px;margin-inline:auto;padding:30px 26px 56px}
body[data-wtm-family="article"] .dh-page{max-width:820px;margin-inline:auto;padding:30px 26px 56px}
body[data-wtm-presentation] :is(.dh-hero,.club-header,.player-hero){background:none;border:0;border-radius:0;box-shadow:none;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--wtm-line)}
body[data-wtm-presentation] :is(.dh-h1,.club-header-h1,.player-hero-name,.seo-h1){font:800 clamp(30px,3.2vw,44px)/1.1 Syne,sans-serif;letter-spacing:-.035em;color:var(--wtm-ink);text-wrap:balance;overflow-wrap:anywhere;margin:0 0 12px;max-width:26ch}
body[data-wtm-presentation] :is(.dh-intro,.club-header-purpose,.player-hero-tagline){font:400 16px/1.6 "DM Sans",sans-serif;color:var(--wtm-muted);max-width:70ch;margin:0}
body[data-wtm-presentation] :is(.dh-section,.player-section,.seo-section){margin-block:30px}
body[data-wtm-presentation] :is(.dh-h2,.player-section h2,.seo-section-h2){font:800 23px/1.25 Syne,sans-serif;letter-spacing:-.025em;color:var(--wtm-ink);margin:0 0 16px;overflow-wrap:anywhere}
body[data-wtm-family="article"] .dh-section :is(p,li){font-size:16px;line-height:1.7;max-width:70ch}
body[data-wtm-presentation] :is(.dh-card,.pi-card,.team-player-card){border:0;border-bottom:1px solid var(--wtm-line);border-radius:0;box-shadow:none;background:#fff;color:var(--wtm-ink);min-width:0;min-height:52px;transition:background-color 140ms ease-out,color 140ms ease-out}
body[data-wtm-presentation] :is(.dh-card,.pi-card,.team-player-card):hover{background:var(--wtm-soft);box-shadow:none;transform:none}
body[data-wtm-presentation] .dh-card{padding:14px 8px;align-items:center}
body[data-wtm-presentation] :is(.dh-card-body,.club-header-meta,.player-hero-meta){min-width:0}
body[data-wtm-presentation] :is(.dh-card-name,.pi-name,.club-header-attr-value){overflow-wrap:anywhere}
body[data-wtm-presentation] :is(.dh-card-desc,.dh-card-meta,.pi-club,.pi-comp){color:var(--wtm-muted);line-height:1.5}
body[data-wtm-presentation] .dh-card--explainer{align-items:flex-start}
body[data-wtm-presentation] :is(.dh-search-input,.player-territory-picker-form select){font:400 16px/1.4 "DM Sans",sans-serif;min-height:46px;border:1px solid var(--wtm-line);border-radius:9px;background:#fff;color:var(--wtm-ink);max-width:100%}
body[data-wtm-presentation] :is(.dh-search-label,.player-territory-picker-form label){font-weight:700;color:var(--wtm-ink)}
body[data-wtm-presentation] :is(.club-breadcrumb,.dh-breadcrumb){margin-bottom:20px;font-size:13px;line-height:1.5}
body[data-wtm-presentation] :is(.club-header-identity,.player-hero-identity){align-items:center;gap:20px}
body[data-wtm-presentation] :is(.club-header-attrs,.player-territory-list,.seo-nav-list){flex-wrap:wrap;gap:8px 12px}
body[data-wtm-presentation] :is(.club-header-follow,.player-territory-list a,.seo-nav-list a){min-height:44px;display:inline-flex;align-items:center}
body[data-wtm-presentation] .player-territory-picker-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body[data-wtm-presentation] :is(.player-empty-note,.player-watch-note,.empty-state){color:var(--wtm-muted);line-height:1.6}
body[data-wtm-presentation] .pi-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:3px 12px;text-align:left;align-content:start;padding:16px 8px}
body[data-wtm-presentation] .pi-photo{grid-column:1;grid-row:1/5;width:52px;height:52px}
body[data-wtm-presentation] :is(.pi-name,.pi-club,.pi-comp,.pi-cta){grid-column:2}
body[data-wtm-presentation] .pi-name{font:750 16px/1.3 "DM Sans",sans-serif}
body[data-wtm-presentation] .pi-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 24px}
body[data-wtm-presentation] :is(.seo-broadcaster-table,.club-header,.player-hero){max-width:100%}
body[data-wtm-presentation] .seo-broadcaster-table{table-layout:fixed;width:100%}
body[data-wtm-presentation] .seo-broadcaster-table :is(th,td){overflow-wrap:anywhere;line-height:1.5}
body[data-wtm-presentation] a{text-underline-offset:3px}
@media(max-width:760px){
 body[data-wtm-family="directory"] .dh-page,body[data-wtm-family="article"] .dh-page{padding:24px 16px 40px}
 body[data-wtm-presentation] :is(.dh-h1,.club-header-h1,.player-hero-name,.seo-h1){font-size:30px}
 body[data-wtm-presentation] :is(.dh-h2,.player-section h2,.seo-section-h2){font-size:21px}
 body[data-wtm-presentation] :is(.club-header-identity,.player-hero-identity){gap:14px;flex-wrap:wrap}
 body[data-wtm-presentation] .dh-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body[data-wtm-presentation] .pi-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body[data-wtm-presentation] .player-hero-photo{width:72px;height:72px}
}
@media(prefers-reduced-motion:reduce){body[data-wtm-presentation] :is(.dh-card,.pi-card,.team-player-card){transition:none}}
/* Team headers sit outside main in the production route template. */
body[data-wtm-family="profile"] .club-header{padding:24px 26px;max-width:1120px;margin:0 auto 24px;box-sizing:border-box}
@media(max-width:760px){body[data-wtm-family="profile"] .club-header{padding:20px 16px}}
/* Standalone fixtures hub, historical guides and smaller content templates. */
body[data-wtm-family="fixtures"] #mainContent{max-width:1120px;margin-inline:auto;padding:30px 26px 56px}
body[data-wtm-family="fixtures"] h1{font:800 clamp(30px,3.2vw,44px)/1.1 Syne,sans-serif;letter-spacing:-.035em;margin:0 0 12px;overflow-wrap:anywhere}
body[data-wtm-family="fixtures"] .hub-subtitle{font-size:16px;line-height:1.6;color:var(--wtm-muted);max-width:70ch}
body[data-wtm-family="fixtures"] .hub-group{border:0;border-radius:0;overflow:visible;margin:30px 0}
body[data-wtm-family="fixtures"] .hub-group-heading{gap:12px;flex-wrap:wrap;padding:14px 0;background:#fff;border-bottom:1px solid var(--wtm-line)}
body[data-wtm-family="fixtures"] .hub-comp{font:800 20px/1.3 Syne,sans-serif;color:var(--wtm-ink)}
body[data-wtm-family="fixtures"] .hub-date{font:500 14px/1.4 "DM Sans",sans-serif;color:var(--wtm-muted)}
body[data-wtm-family="fixtures"] .hub-fixture-link{min-height:58px;gap:16px;padding:14px 8px;color:var(--wtm-ink);transition:background-color 140ms ease-out}
body[data-wtm-family="fixtures"] .hub-fixture-link:hover{background:var(--wtm-soft)}
body[data-wtm-family="fixtures"] .hub-teams{min-width:0;overflow-wrap:anywhere;font-weight:700}
body[data-wtm-family="fixtures"] .hub-time{flex-shrink:0;font-size:14px;color:var(--wtm-muted)}
body[data-wtm-family="fixtures"] .hub-footer{font-size:14px;line-height:1.6}
body[data-wtm-family="fixtures"] .wtm-hub-mobile-nav{display:none}
body[data-wtm-family="fixtures"] .breadcrumb{max-width:1120px;padding-inline:26px;font-size:13px;color:var(--wtm-muted)}
body[data-wtm-family="fixtures"] :is(.team-block,.team-name){min-width:0;overflow-wrap:anywhere}
body[data-wtm-family="fixtures"] .header-tagline{color:var(--wtm-muted)}
body[data-wtm-family="fixtures"] .back-links a{display:inline-flex;align-items:center;min-height:44px}
body[data-wtm-family="fixtures"] .broadcaster-table{table-layout:fixed;overflow-wrap:anywhere}
body[data-wtm-family="fixtures"] .region-cell{white-space:normal}
body[data-wtm-family="article"] #mainContent,body[data-wtm-family="information"] #mainContent{max-width:900px;margin-inline:auto}
body[data-wtm-family="article"] .seo-section p,body[data-wtm-family="information"] p{line-height:1.7;max-width:70ch}
body[data-wtm-presentation] .stadium-page{padding:24px 26px;max-width:1120px;margin-inline:auto}
body[data-wtm-presentation] .stadium-facts{font-size:16px;line-height:1.6;color:var(--wtm-muted);overflow-wrap:anywhere}
body[data-wtm-presentation] .stadium-fixture-list{list-style:none;padding:0}
body[data-wtm-presentation] .sfl-item{padding:14px 0;border-bottom:1px solid var(--wtm-line);min-height:58px;overflow-wrap:anywhere}
body[data-wtm-presentation] .sfl-item>a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
body[data-wtm-presentation] .sfl-meta{display:block;font-size:14px;line-height:1.5;color:var(--wtm-muted)}
@media(max-width:760px){
 body[data-wtm-family="fixtures"] #mainContent{padding:24px 16px 40px}
 body[data-wtm-family="fixtures"] .breadcrumb{padding-inline:16px}
 body[data-wtm-family="fixtures"] .wtm-site-header{height:auto;min-height:68px;flex-wrap:wrap;padding:18px 16px 0;gap:12px}
 body[data-wtm-family="fixtures"] .wtm-hub-mobile-nav{display:flex;flex-wrap:wrap;gap:0 16px;width:100%}
 body[data-wtm-family="fixtures"] .wtm-hub-mobile-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700}
 body[data-wtm-family="fixtures"] .hub-fixture-link{gap:12px;padding-inline:0}
 body[data-wtm-presentation] .stadium-page{padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){body[data-wtm-family="fixtures"] .hub-fixture-link{transition:none}}
/* The legacy answer loader holds the height of its pre-hydration territory list.
   The redesigned match card sizes to the actual selected-country answer. */
body[data-wtm-presentation="production"] .wtm-production-match #mg-answer{min-height:0!important}
/* The shared site header rule must not turn an article heading into a toolbar. */
body[data-wtm-presentation="production"] .wtm-guide-page>header{display:block;height:auto;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
@media(max-width:720px){body[data-wtm-presentation="production"] .wtm-module-grid{grid-template-columns:minmax(0,1fr)}body[data-wtm-presentation="production"] .wtm-module-grid>.wtm-content-module{min-width:0;overflow-wrap:anywhere}}
@media(max-width:720px){body[data-wtm-presentation="production"] .competition-viewing-hub .cvh-hero-main{display:block;width:100%}body[data-wtm-presentation="production"] .competition-viewing-hub .cvh-logo{margin-bottom:8px}body[data-wtm-presentation="production"] .competition-viewing-hub .cvh-identity-text{width:100%}}
