/* MWBA design system for the TRL Elementor theme: tokens and component classes.
   Mirrors Elementor Site Settings (global colours and fonts) and the classes on the
   Components board. Shortcode output from the MWBA League plugin uses these classes. Breakpoints: desktop >=1200,
   tablet 768–1199, mobile <768. Every spacing value comes from --sp-*. */

:root {
  /* Brand + data roles (from the MWBA crest) */
  --navy: #1E2A5A;          /* brand primary: nav, buttons, links (13.7:1 on white) */
  --navy-deep: #141C3F;     /* hero overlays, footer, score strip */
  --navy-hover: #2B3A7A;
  --orange: #F57F20;        /* data accent fill: live, next game, leaders. Navy text on it 5.2:1 */
  --orange-ink: #B94A12;    /* orange text on white / surface-1 (5.2:1 / 4.8:1) */
  --orange-tint: #FDEBDD;   /* leader / playoff row wash; navy text only */
  --sky: #76C3ED;           /* accent on dark surfaces only (7.0:1 on navy). Never text on white */
  --on-dark-2: #B8C0E0;     /* secondary text on navy (7.6:1) */

  /* Neutral surface system */
  --s0: #FFFFFF;
  --s1: #F7F7F8;
  --s2: #EFEFF1;
  --text: #111111;
  --text-2: #555555;
  --border: #DDDDDD;

  /* Type */
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* 8px spacing scale */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  --radius: 8px;
  --radius-sm: 4px;
  --container: 1280px;
  --margin: 48px;
  --gutter: 24px;
  --section-y: var(--sp-7);
}

@media (max-width: 1199px) { :root { --margin: 32px; --gutter: 20px; --section-y: var(--sp-6); } }
@media (max-width: 767px)  { :root { --margin: 20px; --gutter: 16px; --section-y: var(--sp-5); } }

/* ---------- Base ---------- */
.mwba { font-family: var(--font-body); color: var(--text); background: var(--s0); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.mwba *, .mwba *::before, .mwba *::after { box-sizing: border-box; }
.mwba img { display: block; max-width: 100%; }
.mwba a { color: var(--navy); }
.mwba a:hover { color: var(--navy-hover); }
.mwba :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--margin)); margin: 0 auto; padding-inline: var(--margin); }
.wrap-text { max-width: 720px; }
.section { padding-block: var(--section-y); }
.section--s1 { background: var(--s1); }
.section--s2 { background: var(--s2); }
.section--dark { background: var(--navy-deep); color: var(--s0); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.stack-1 { display: flex; flex-direction: column; gap: var(--sp-1); }
.stack-2 { display: flex; flex-direction: column; gap: var(--sp-2); }
.stack-3 { display: flex; flex-direction: column; gap: var(--sp-3); }
.stack-4 { display: flex; flex-direction: column; gap: var(--sp-4); }
.row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Type scale (desktop / tablet / mobile) ---------- */
.t-dxl, .t-dl, .t-h1, .t-h2, .score-num { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; margin: 0; }
.t-dxl { font-size: 72px; line-height: 0.95; }
.t-dl  { font-size: 56px; line-height: 1.0; }
.t-h1  { font-size: 40px; line-height: 1.1; }
.t-h2  { font-size: 32px; line-height: 1.2; }
.t-h3  { font-family: var(--font-body); font-weight: 700; font-size: 24px; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.t-h3d { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.3; margin: 0; text-transform: uppercase; }
.t-bodyl { font-size: 18px; line-height: 1.6; margin: 0; }
.t-body { font-size: 16px; line-height: 1.65; margin: 0; }
.t-meta { font-size: 13px; line-height: 1.4; color: var(--text-2); margin: 0; }
.t-data { font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-body); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.muted { color: var(--text-2); }
.on-dark-2 { color: var(--on-dark-2); }
.num { font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) {
  .t-dxl { font-size: 56px; } .t-dl { font-size: 44px; line-height: 1.05; } .t-h1 { font-size: 34px; line-height: 1.15; }
  .t-h2 { font-size: 28px; line-height: 1.25; } .t-h3, .t-h3d { font-size: 22px; line-height: 1.35; } .t-bodyl { font-size: 17px; } .t-data { font-size: 14px; }
}
@media (max-width: 767px) {
  .t-dxl { font-size: 40px; line-height: 1.0; } .t-dl { font-size: 34px; line-height: 1.1; } .t-h1 { font-size: 28px; line-height: 1.2; }
  .t-h2 { font-size: 24px; line-height: 1.3; } .t-h3, .t-h3d { font-size: 20px; line-height: 1.4; } .t-bodyl { font-size: 16px; line-height: 1.65; }
  .t-body { line-height: 1.7; } .t-meta { font-size: 12px; }
}

/* ---------- Buttons, tags, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1); min-height: 48px; padding: 0 var(--sp-3); border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 0 var(--sp-2); font-size: 14px; }
.mwba .btn-primary { background: var(--navy); color: var(--s0); }
.mwba .btn-primary:hover { background: var(--navy-hover); color: var(--s0); }
.mwba .btn-accent { background: var(--orange); color: var(--navy-deep); }
.mwba .btn-accent:hover { background: #FF9440; color: var(--navy-deep); }
.mwba .btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.mwba .btn-outline:hover { background: var(--navy); color: var(--s0); }
.mwba .btn-ghost { background: transparent; color: var(--s0); border-color: rgba(255,255,255,0.6); }
.mwba .btn-ghost:hover { border-color: var(--s0); color: var(--s0); }
.mwba .link-arrow { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: 44px; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }
.mwba .link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.mwba .section--dark .link-arrow, .mwba .on-dark .link-arrow { color: var(--sky); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 var(--sp-1); border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.tag-navy { background: var(--navy); color: var(--s0); }
.tag-orange { background: var(--orange); color: var(--navy-deep); }
.tag-sky { background: var(--sky); color: var(--navy-deep); }
.tag-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }
.tag-final { background: var(--s2); color: var(--text); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; box-shadow: 0 0 0 3px rgba(245,127,32,0.35); }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); font-size: 13px; color: var(--text-2); margin: 0; padding: 0; list-style: none; }
.mwba .crumbs a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mwba .crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs .sep { color: #9A9A9A; }
.on-dark .crumbs, .on-dark .crumbs a { color: var(--on-dark-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--s0); }
.site-header .bar { display: flex; align-items: center; gap: var(--sp-4); height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--s0); flex: none; }
.brand img { width: 56px; height: 56px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--s0); }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); line-height: 1.2; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.mwba .nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; color: var(--s0); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--radius-sm); }
.mwba .nav a:hover { background: rgba(255,255,255,0.08); color: var(--s0); }
.mwba .nav a.is-active { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: var(--sp-1); flex: none; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 2px solid rgba(255,255,255,0.4); border-radius: var(--radius-sm); color: var(--s0); cursor: pointer; }
@media (max-width: 1199px) {
  .site-header .nav, .site-header .hide-md { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 767px) {
  .site-header .bar { height: 64px; gap: var(--sp-2); }
  .brand img { width: 44px; height: 44px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 20px; }
}

/* ---------- Score strip (next game / last result) ---------- */
.score-strip { background: var(--navy-deep); color: var(--s0); border-top: 1px solid rgba(255,255,255,0.1); }
.score-strip .cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: stretch; }
.strip-cell { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; min-height: 72px; }
.strip-cell + .strip-cell { padding-left: var(--sp-3); border-left: 1px solid rgba(255,255,255,0.12); }
.strip-teams { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.strip-teams .win { color: var(--orange); }
.strip-meta { font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 1199px) {
  .score-strip .cells { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--sp-2); padding-block: var(--sp-2); }
  .strip-cell, .strip-cell + .strip-cell { flex: 0 0 86%; scroll-snap-align: start; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: var(--sp-2); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--s0); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,63,0.96) 0%, rgba(20,28,63,0.86) 42%, rgba(20,28,63,0.35) 100%); }
.hero-body { position: relative; padding-block: var(--sp-8) var(--sp-7); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-5); align-items: end; }
.hero-matchup { background: rgba(20,28,63,0.92); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: var(--sp-3); }
@media (max-width: 1199px) { .hero-body { grid-template-columns: minmax(0, 1fr); padding-block: var(--sp-7) var(--sp-6); } }
@media (max-width: 767px) { .hero-body { padding-block: var(--sp-6) var(--sp-5); } .hero-scrim { background: rgba(20,28,63,0.86); } }

/* ---------- Matchup (used in hero, game cards, game page) ---------- */
.matchup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-1) var(--sp-2); align-items: center; }
.team-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.crest { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: #FFFFFF; }
.crest-lg { width: 64px; height: 64px; font-size: 22px; }
.crest-xl { width: 120px; height: 120px; font-size: 40px; }
.crest-sm { width: 28px; height: 28px; font-size: 11px; }
.team-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-num { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.is-loser { opacity: 0.62; }

/* ---------- Game card ---------- */
.game-card { background: var(--s0); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }
.game-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(20,28,63,0.10); }
.game-card .gc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1); }
.game-card .gc-links { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); border-top: 1px solid var(--border); padding-top: var(--sp-1); }
.mwba .gc-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.mwba .gc-links a:hover { text-decoration: underline; }
.game-card .team-name { font-size: 18px; }
.game-card .score-num { font-size: 28px; }
.game-card--next { border-color: var(--orange); box-shadow: inset 0 3px 0 var(--orange); }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 1199px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); } .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); } .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Two-column splits: main + aside, collapse below 1200 */
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); align-items: start; }
.split-wide { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
@media (max-width: 1199px) { .split, .split-even, .split-wide { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); } }

/* Logo inside a white disc (team logos are JPEGs on white) */
.logo-disc { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--border); overflow: hidden; width: 40px; height: 40px; }
.logo-disc img { width: 86%; height: 86%; object-fit: contain; }
.logo-disc--sm { width: 32px; height: 32px; }
.logo-disc--lg { width: 64px; height: 64px; }
.logo-disc--xl { width: 160px; height: 160px; border: 0; }
.on-dark .logo-disc, .hero .logo-disc, .score-strip .logo-disc { border-color: transparent; }

/* Honours list (aside card) */
.honours { background: var(--navy); color: var(--s0); border-radius: var(--radius); padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.honours dl { margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.honours dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }
.honours dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.honours dd span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; text-transform: none; color: var(--on-dark-2); margin-top: 2px; }

/* Stat counters on dark */
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.counter .v { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.counter .k { font-size: 14px; line-height: 1.4; color: var(--on-dark-2); margin-top: var(--sp-1); }
@media (max-width: 1199px) { .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .counter .v { font-size: 40px; } }

/* ---------- Standings ---------- */
.table-box { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--s0); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.data-table th { position: sticky; top: 0; background: var(--navy); color: var(--s0); text-align: right; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px var(--sp-2); white-space: nowrap; }
.data-table th.l, .data-table td.l { text-align: left; }
.data-table td { padding: 12px var(--sp-2); border-top: 1px solid var(--border); text-align: right; white-space: nowrap; }
.data-table tbody tr:nth-child(even) td { background: var(--s1); }
.data-table tbody tr:hover td { background: var(--s2); }
.data-table .pts { font-weight: 800; color: var(--navy); }
.data-table .rank { width: 48px; text-align: left; color: var(--text-2); font-weight: 600; }
.data-table tr.is-playoff td.rank { box-shadow: inset 4px 0 0 var(--orange); }
.data-table tr.is-leader td { background: var(--orange-tint) !important; }
.data-table .team-cell { display: flex; align-items: center; gap: 12px; text-align: left; }
.mwba .data-table .team-cell a { color: var(--text); font-weight: 700; text-decoration: none; }
.mwba .data-table .team-cell a:hover { color: var(--navy); text-decoration: underline; }
.data-table .pos { color: #0B6B3A; font-weight: 600; }
.data-table .neg { color: #A61B1B; font-weight: 600; }
.show-sm { display: none; }
@media (max-width: 1199px) { .hide-md { display: none !important; } }
@media (max-width: 767px) {
  .hide-sm { display: none !important; }
  .show-sm { display: table-cell; }
  .data-table th, .data-table td { padding: 12px; }
}

/* Schedule table -> stacked game cards on mobile */
.sched-table td.matchup-cell { text-align: left; }
.sched-table .vs { color: var(--text-2); font-weight: 600; padding: 0 6px; }
.mwba .sched-table td a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mwba .sched-table td a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .sched-table thead { display: none; }
  .sched-table, .sched-table tbody { display: block; }
  .sched-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--sp-2); padding: var(--sp-2); border-top: 1px solid var(--border); }
  .sched-table td { display: block; border: 0; padding: 0; text-align: left; white-space: normal; background: transparent !important; }
  .sched-table td[data-cell="date"] { grid-column: 1 / -1; font-weight: 700; color: var(--navy); }
  .sched-table td[data-cell="matchup"] { grid-column: 1 / 2; }
  .sched-table td[data-cell="score"] { grid-column: 2 / 3; text-align: right; font-weight: 800; }
  .sched-table td[data-cell="meta"] { grid-column: 1 / -1; color: var(--text-2); font-size: 13px; }
  .sched-table td[data-cell="links"] { grid-column: 1 / -1; }
}

/* ---------- News cards ---------- */
.news-card { display: flex; flex-direction: column; gap: var(--sp-2); text-decoration: none; color: var(--text); }
.mwba a.news-card { color: var(--text); }
.news-card .media { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--s2); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .media img { transform: scale(1.03); }
.news-card:hover .nc-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.news-card .nc-title { font-family: var(--font-body); font-weight: 700; font-size: 22px; line-height: 1.3; margin: 0; letter-spacing: -0.01em; color: var(--text); }
.news-card .nc-excerpt { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; }
.news-card--featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-4); align-items: center; }
.news-card--featured .nc-title { font-size: 32px; line-height: 1.2; }
.news-card--compact { flex-direction: row; gap: var(--sp-2); padding-block: var(--sp-2); border-top: 1px solid var(--border); }
.news-card--compact .nc-title { font-size: 17px; }
@media (max-width: 1199px) { .news-card--featured { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); } .news-card--featured .nc-title { font-size: 28px; } }
@media (max-width: 767px) { .news-card .nc-title { font-size: 20px; } .news-card--featured .nc-title { font-size: 24px; } }

/* ---------- Team tiles ---------- */
.team-tile { display: flex; flex-direction: column; align-items: stretch; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--border); background: var(--s0); }
.team-tile .tt-crest { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.team-tile .tt-crest .tt-logo { width: 58%; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.team-tile .tt-crest .tt-logo img { width: 88%; height: 88%; object-fit: contain; }
.team-tile .tt-bar { height: 4px; }
.team-tile .tt-body { padding: var(--sp-2); display: flex; flex-direction: column; gap: 4px; }
.mwba a.team-tile { color: var(--text); }
.team-tile:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(20,28,63,0.10); }
.team-tile .tt-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; text-transform: uppercase; margin: 0; }

/* ---------- Player of the Week ---------- */
.potw { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--navy); color: var(--s0); border-radius: var(--radius); overflow: hidden; }
.potw .potw-media { position: relative; min-height: 420px; }
.potw .potw-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.potw .potw-body { padding: var(--sp-6) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); justify-content: center; }
.potw .ribbon { margin: 0; font-family: var(--font-body); display: inline-flex; align-self: flex-start; align-items: center; gap: var(--sp-1); background: var(--orange); color: var(--navy-deep); padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.stat { border-top: 2px solid var(--sky); padding-top: var(--sp-1); }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 4px; }
@media (max-width: 1199px) { .potw .potw-body { padding: var(--sp-5) var(--sp-4); } }
@media (max-width: 767px) { .potw { grid-template-columns: minmax(0, 1fr); } .potw .potw-media { min-height: 300px; } .potw .potw-body { padding: var(--sp-4) var(--sp-3); } .stat .v { font-size: 32px; } }

/* ---------- Partners ---------- */
.partner-tier { display: flex; flex-direction: column; gap: var(--sp-2); }
.partner-grid { display: grid; gap: var(--sp-2); }
.partner-grid--presenting { grid-template-columns: minmax(0, 1fr); }
.partner-grid--division { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.partner-grid--community { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-logo { display: flex; align-items: center; justify-content: center; background: var(--s0); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3); text-decoration: none; color: var(--text); min-height: 112px; text-align: center; }
.partner-logo img { max-height: 72px; width: auto; object-fit: contain; }
.partner-logo .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; line-height: 1.15; color: var(--navy); }
.partner-grid--presenting .partner-logo { min-height: 176px; }
.partner-grid--presenting .wordmark { font-size: 32px; }
.partner-grid--community .partner-logo { filter: grayscale(1); min-height: 96px; }
.partner-grid--community .partner-logo:hover { filter: none; }
@media (max-width: 1199px) { .partner-grid--community { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .partner-grid--division, .partner-grid--community { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--s0); border-radius: var(--radius); padding: var(--sp-6) var(--sp-5); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.cta-band--orange { background: var(--orange); color: var(--navy-deep); }
@media (max-width: 767px) { .cta-band { padding: var(--sp-5) var(--sp-3); } }

/* ---------- Forms (Gravity Forms skin) ---------- */
.gf-field { display: flex; flex-direction: column; gap: 6px; }
.gf-field label, .gf-legend { font-size: 14px; font-weight: 700; color: var(--text); }
.gf-field .req { color: var(--orange-ink); }
.gf-input { width: 100%; min-height: 48px; padding: 12px var(--sp-2); font: inherit; font-size: 16px; color: var(--text); background: var(--s0); border: 1px solid #8A8A8A; border-radius: var(--radius-sm); }
.gf-input:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
textarea.gf-input { min-height: 144px; resize: vertical; }
.gf-help { font-size: 13px; color: var(--text-2); }
.gf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.gf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.on-dark .gf-field label, .on-dark .gf-check { color: var(--s0); }
.on-dark .gf-input { border-color: transparent; }

/* ---------- Filters, tabs, toggles ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: flex-end; padding: var(--sp-3); background: var(--s1); border: 1px solid var(--border); border-radius: var(--radius); }
.filter-bar .gf-field { min-width: 180px; flex: 1 1 180px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.tab { min-height: 48px; padding: 0 var(--sp-2); background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font: inherit; font-size: 15px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--orange); }
.chips { display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 var(--sp-2); border-radius: 999px; border: 1px solid var(--border); background: var(--s0); font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--s0); }
.seg { display: inline-flex; border: 1px solid var(--navy); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { min-height: 44px; padding: 0 var(--sp-2); border: 0; background: var(--s0); color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button.is-active { background: var(--navy); color: var(--s0); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-deep); color: var(--s0); padding-block: var(--sp-6) var(--sp-5); }
.page-hero .t-h1 { margin-top: var(--sp-1); }
@media (max-width: 767px) { .page-hero { padding-block: var(--sp-5) var(--sp-4); } }

/* ---------- Footer ---------- */
.partner-strip { background: var(--s1); border-top: 1px solid var(--border); padding-block: var(--sp-4); }
.partner-strip .logos { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); align-items: center; justify-content: center; }
.partner-strip .pl { font-family: var(--font-display); font-weight: 600; font-size: 16px; text-transform: uppercase; color: var(--text-2); letter-spacing: 0.04em; }
.site-footer { background: var(--navy-deep); color: var(--s0); padding-block: var(--sp-7) var(--sp-4); }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: var(--sp-4); }
.footer-cols .fc-title { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin: 0 0 var(--sp-2); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mwba .footer-cols a { color: var(--s0); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; min-height: 36px; }
.mwba .footer-cols a:hover { color: var(--sky); text-decoration: underline; }
.footer-legal { margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; font-size: 13px; color: var(--on-dark-2); }
.mwba .footer-legal a { color: var(--on-dark-2); }
.social { display: flex; gap: var(--sp-1); }
.mwba .social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: inline-flex; align-items: center; justify-content: center; color: var(--s0); min-height: 44px; }
.mwba .social a:hover { background: var(--s0); color: var(--navy-deep); }
@media (max-width: 1199px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-cols .fc-brand, .footer-cols .fc-news { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer { padding-block: var(--sp-6) var(--sp-3); } }

/* ---------- Timeline (About) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-3); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--border); }
.tl-item { position: relative; display: flex; flex-direction: column; gap: var(--sp-1); padding-top: var(--sp-5); }
.tl-item::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--s0); border: 3px solid var(--navy); }
.tl-item.is-now::before { background: var(--orange); border-color: var(--orange); }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--navy); }
@media (max-width: 1199px) { .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; } .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .tl-item { padding: 0 0 var(--sp-4) var(--sp-5); } .tl-item::before { top: 6px; } }

@media (prefers-reduced-motion: reduce) { .mwba *, .mwba *::before, .mwba *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
