/* Whatchan football homepage v2 — scoped to WordPress page 20. */
:root {
  --wh-bg: #08080d;
  --wh-bg-soft: #0f0f18;
  --wh-surface: #161625;
  --wh-raised: #1c1c30;
  --wh-hover: #262640;
  --wh-blue: #5ba3e8;
  --wh-blue-bright: #7cc4ff;
  --wh-gold: #ffd166;
  --wh-teal: #2dd4bf;
  --wh-text: #f7f8fc;
  --wh-muted: #b3b5c7;
  --wh-dim: #8b8da3;
  --wh-border: #2a2a42;
  --wh-focus: #facc15;
  --wh-max: 1180px;
}

.home.page-id-20 { background: var(--wh-bg) !important; }
.home.page-id-20 #masthead { display: none !important; }
.home.page-id-20 #inner-wrap,
.home.page-id-20 #primary,
.home.page-id-20 .content-container,
.home.page-id-20 #main,
.home.page-id-20 #post-20,
.home.page-id-20 .entry-content-wrap,
.home.page-id-20 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--wh-bg) !important;
  box-shadow: none !important;
}
.home.page-id-20 .site-footer { display: none !important; }

.wc-home-v2,
.wc-home-v2 * { box-sizing: border-box; }
.wc-home-v2 {
  min-height: 100vh;
  overflow: hidden;
  color: var(--wh-text);
  background:
    radial-gradient(circle at 8% 4%, rgba(91, 163, 232, .12), transparent 31rem),
    radial-gradient(circle at 92% 28%, rgba(255, 209, 102, .06), transparent 28rem),
    var(--wh-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.wc-home-v2 h1,
.wc-home-v2 h2,
.wc-home-v2 h3,
.wc-home-v2 p { margin-top: 0; }
.wc-home-v2 h1,
.wc-home-v2 h2,
.wc-home-v2 h3 { color: var(--wh-text); line-height: 1.12; }
.wc-home-v2 a { color: inherit; text-decoration: none; }
.wc-home-v2 img { display: block; max-width: 100%; }
.wc-shell { width: min(calc(100% - 2rem), var(--wh-max)); margin-inline: auto; }
.wc-skip {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.wc-skip:focus {
  z-index: 9999;
  inset: 0 auto auto 0;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  overflow: visible;
  clip: auto;
  color: #111827 !important;
  background: #fff;
  font-weight: 800;
}
.wc-home-v2 :where(a, button, summary):focus-visible {
  outline: 3px solid var(--wh-focus) !important;
  outline-offset: 3px !important;
}

/* Network and football headers */
.wc-family-bar {
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 -3px 0 var(--wh-blue);
  background: #0f172a;
}
.wc-family-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
}
.wc-family-home { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; }
.wc-icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; }
.wc-family-home .wc-icon { color: var(--wh-blue); }
.wc-family-switcher { position: relative; }
.wc-family-switcher summary { cursor: pointer; font-weight: 750; color: #e2e8f0; }
.wc-family-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .7rem);
  width: min(23rem, calc(100vw - 2rem));
  padding: .7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  gap: .25rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .8rem;
  background: #111c31;
  box-shadow: 0 1.25rem 3rem rgba(0,0,0,.5);
}
.wc-family-menu a { padding: .65rem .7rem; border-radius: .5rem; color: #e2e8f0; }
.wc-family-menu a:hover { background: rgba(255,255,255,.1); }

.wc-football-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--wh-border);
  background: rgba(8, 8, 13, .92);
  backdrop-filter: blur(14px);
}
.wc-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wc-brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 850; font-size: 1.1rem; letter-spacing: -.03em; }
.wc-brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3f6f, #2b6cb0);
  color: white;
}
.wc-brand-mark .wc-icon { width: 1.25rem; height: 1.25rem; }
.wc-brand span { color: var(--wh-gold); }
.wc-primary-nav { display: flex; align-items: center; gap: .2rem; }
.wc-primary-nav a { padding: .55rem .72rem; border-radius: .45rem; color: var(--wh-muted); font-size: .87rem; font-weight: 650; }
.wc-primary-nav a:hover,
.wc-primary-nav a[aria-current="page"] { color: white; background: var(--wh-raised); }
.wc-menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid var(--wh-border);
  border-radius: .55rem;
  color: white;
  background: var(--wh-surface);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.wc-hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0 3.5rem; }
.wc-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.wc-eyebrow,
.wc-section-kicker {
  margin-bottom: .8rem;
  color: var(--wh-blue-bright);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.wc-hero h1 { max-width: 12ch; margin-bottom: 1.1rem; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.055em; }
.wc-hero h1 em { color: var(--wh-gold); font-style: normal; }
.wc-hero-copy { max-width: 39rem; margin-bottom: 1.65rem; color: var(--wh-muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.wc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.wc-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}
.wc-button--gold { color: #101018 !important; background: var(--wh-gold); box-shadow: 0 .6rem 1.8rem rgba(255,209,102,.18); }
.wc-button--gold:hover { background: #ffe08a; transform: translateY(-1px); }
.wc-button--ghost { border-color: var(--wh-border); color: var(--wh-text) !important; background: rgba(22,22,37,.7); }
.wc-button--ghost:hover { border-color: #474764; background: var(--wh-raised); }
.wc-trust-line { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: var(--wh-dim); font-size: .78rem; }
.wc-trust-line span { display: inline-flex; align-items: center; gap: .3rem; }
.wc-trust-line b { color: var(--wh-teal); }

.wc-live-panel { overflow: hidden; border: 1px solid var(--wh-border); border-radius: 1.25rem; background: rgba(22,22,37,.9); box-shadow: 0 2rem 5rem rgba(0,0,0,.38); }
.wc-live-image { position: relative; height: 190px; overflow: hidden; background: #16253d; }
.wc-live-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(.78) contrast(1.05); }
.wc-live-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,13,.08), rgba(8,8,13,.88)); }
.wc-live-heading { position: absolute; z-index: 1; inset: auto 1.2rem 1rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.wc-live-heading h2 { margin: 0; font-size: 1.35rem; }
.wc-live-heading p { margin: .2rem 0 0; color: #d6d8e4; font-size: .78rem; }
.wc-live-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 .25rem rgba(61,220,132,.15); }
.wc-photo-credit { position: absolute; z-index: 2; top: .55rem; right: .7rem; padding: .2rem .45rem; border-radius: .3rem; color: #e5e7eb !important; background: rgba(0,0,0,.65); font-size: .6rem; }
.wc-live-body { padding: 1rem 1.15rem 1.15rem; }
.wc-live-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.wc-fixture-row { min-height: 65px; display: grid; grid-template-columns: 3.5rem minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: .7rem .75rem; border: 1px solid var(--wh-border); border-radius: .65rem; background: rgba(8,8,13,.48); }
.wc-fixture-time { color: var(--wh-gold); font: 750 .82rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.wc-fixture-main strong { display: block; overflow: hidden; color: white; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.wc-fixture-main span { display: block; margin-top: .12rem; overflow: hidden; color: var(--wh-dim); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.wc-fixture-channel { max-width: 8.5rem; color: var(--wh-muted); font-size: .7rem; text-align: right; }
.wc-fta { display: inline-block; margin-top: .25rem; padding: .05rem .3rem; border-radius: 99px; color: #062a22; background: #5ee5c5; font-size: .58rem; font-weight: 850; text-transform: uppercase; }
.wc-live-fallback { margin: .8rem 0 0; color: var(--wh-muted); font-size: .78rem; }
.wc-live-fallback a { color: var(--wh-gold); font-weight: 750; }
.wc-live-updated { margin: .7rem 0 0; color: var(--wh-dim); font-size: .68rem; }
.wc-skeleton { min-height: 65px; border-radius: .65rem; background: linear-gradient(90deg, #11111d 20%, #23233a 45%, #11111d 70%); background-size: 220% 100%; animation: wc-shimmer 1.3s infinite linear; }
@keyframes wc-shimmer { to { background-position: -220% 0; } }

/* Sections and cards */
.wc-section { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid rgba(255,255,255,.06); }
.wc-section--raised { background: rgba(15,15,24,.6); }
.wc-section-head { margin-bottom: 1.55rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.wc-section-head h2 { margin-bottom: .25rem; font-size: clamp(1.65rem, 4vw, 2.4rem); letter-spacing: -.035em; }
.wc-section-head p { margin: 0; color: var(--wh-muted); }
.wc-text-link { color: var(--wh-gold) !important; font-weight: 750; white-space: nowrap; }

.wc-sport-rail { display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: .65rem; }
.wc-sport-card { min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--wh-border); border-radius: .8rem; color: var(--wh-muted) !important; background: var(--wh-surface); font-size: .73rem; font-weight: 750; text-align: center; }
.wc-sport-card .wc-icon { width: 1.55rem; height: 1.55rem; color: var(--sport, var(--wh-blue)); }
.wc-sport-card:hover { color: white !important; border-color: var(--sport, var(--wh-blue)); background: var(--wh-hover); transform: translateY(-2px); }
.wc-sport-card[aria-current="page"] { color: white !important; border-color: var(--wh-blue); box-shadow: inset 0 -3px 0 var(--wh-blue); }

.wc-destination-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.wc-card { position: relative; min-height: 190px; padding: 1.35rem; overflow: hidden; border: 1px solid var(--wh-border); border-radius: 1rem; background: linear-gradient(145deg, rgba(28,28,48,.96), rgba(15,15,24,.96)); }
.wc-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent, var(--wh-blue)); }
.wc-card .wc-icon { width: 1.65rem; height: 1.65rem; margin-bottom: 1.2rem; color: var(--accent, var(--wh-blue)); }
.wc-card h3 { margin-bottom: .55rem; font-size: 1.05rem; }
.wc-card p { margin-bottom: 1rem; color: var(--wh-muted); font-size: .83rem; }
.wc-card-link { position: absolute; inset: 0; }
.wc-card:hover { border-color: #464665; transform: translateY(-2px); }
.wc-card-label { color: var(--wh-gold); font-size: .74rem; font-weight: 750; }

.wc-feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.wc-feature-primary { min-height: 325px; padding: clamp(1.5rem,4vw,2.5rem); display: flex; flex-direction: column; justify-content: end; border: 1px solid #344c70; border-radius: 1.1rem; background: radial-gradient(circle at 90% 0, rgba(91,163,232,.22), transparent 45%), linear-gradient(145deg,#122139,#11111d); }
.wc-feature-primary h2 { max-width: 18ch; margin-bottom: .8rem; font-size: clamp(1.8rem,4vw,3rem); }
.wc-feature-primary p { max-width: 42rem; color: var(--wh-muted); }
.wc-feature-stack { display: grid; gap: 1rem; }
.wc-mini-feature { padding: 1.4rem; border: 1px solid var(--wh-border); border-radius: 1rem; background: var(--wh-surface); }
.wc-mini-feature h3 { margin: .3rem 0 .55rem; font-size: 1.15rem; }
.wc-mini-feature p { margin-bottom: .7rem; color: var(--wh-muted); font-size: .82rem; }

.wc-table-wrap { overflow-x: auto; border: 1px solid var(--wh-border); border-radius: 1rem; background: var(--wh-surface); }
.wc-broadcaster-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.wc-broadcaster-table th,
.wc-broadcaster-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--wh-border); text-align: left; }
.wc-broadcaster-table th { color: var(--wh-dim); background: #11111d; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.wc-broadcaster-table td { color: var(--wh-muted); font-size: .85rem; }
.wc-broadcaster-table td:first-child { color: white; font-weight: 800; }
.wc-broadcaster-table tr:last-child td { border-bottom: 0; }
.wc-tag { display: inline-block; padding: .14rem .43rem; border-radius: 99px; color: #08281f; background: #5ee5c5; font-size: .65rem; font-weight: 850; }
.wc-tag--paid { color: #2c2100; background: var(--wh-gold); }
.wc-source-note { margin: 1rem 0 0; color: var(--wh-dim); font-size: .76rem; }
.wc-source-note a { color: var(--wh-blue-bright); text-decoration: underline; text-underline-offset: .18rem; }

.wc-trust-panel { padding: clamp(1.5rem,4vw,2.4rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; border: 1px solid var(--wh-border); border-left: 4px solid var(--wh-blue); border-radius: 1rem; background: var(--wh-surface); }
.wc-trust-avatar { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; color: white; background: #1a3f6f; font-size: 1.2rem; font-weight: 850; }
.wc-trust-panel h2 { margin-bottom: .35rem; font-size: 1.25rem; }
.wc-trust-panel p { margin: 0; color: var(--wh-muted); font-size: .86rem; }

.wc-faq-list { display: grid; gap: .55rem; }
.wc-faq-list details { border: 1px solid var(--wh-border); border-radius: .75rem; background: var(--wh-surface); }
.wc-faq-list summary { min-height: 54px; padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; cursor: pointer; font-weight: 750; list-style: none; }
.wc-faq-list summary::-webkit-details-marker { display: none; }
.wc-faq-list summary::after { content: "+"; color: var(--wh-blue-bright); font-size: 1.25rem; }
.wc-faq-list details[open] summary::after { content: "−"; }
.wc-faq-answer { padding: 0 1rem 1rem; color: var(--wh-muted); font-size: .9rem; }
.wc-faq-answer p { margin: 0; }
.wc-faq-answer a { color: var(--wh-gold); text-decoration: underline; }

.wc-support-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.wc-support-card { min-height: 185px; padding: 1.35rem; border: 1px solid var(--wh-border); border-radius: 1rem; background: var(--wh-surface); }
.wc-support-card .wc-icon { width: 1.55rem; height: 1.55rem; margin-bottom: .8rem; color: var(--accent,var(--wh-blue)); }
.wc-support-card h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.wc-support-card p { color: var(--wh-muted); font-size: .82rem; }

.wc-network-footer { padding: 2.7rem 0; border-top: 4px solid var(--wh-blue); background: #0f172a; }
.wc-footer-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 2rem; }
.wc-footer-brand { font-weight: 850; font-size: 1.05rem; }
.wc-footer-grid p { color: #aab5c6; font-size: .8rem; }
.wc-footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: .55rem 1rem; }
.wc-footer-links a { color: #cbd5e1; font-size: .8rem; }
.wc-footer-links a:hover { color: white; text-decoration: underline; }
.wc-footer-meta { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: #8fa0b5; font-size: .72rem; }

@media (max-width: 1050px) {
  .wc-hero-grid { grid-template-columns: 1fr; }
  .wc-hero-copy { max-width: 48rem; }
  .wc-hero h1 { max-width: 14ch; }
  .wc-live-panel { max-width: 760px; }
  .wc-sport-rail { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .wc-destination-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .wc-menu-toggle { display: inline-flex; }
  .wc-primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    padding: .65rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--wh-border);
    border-radius: .75rem;
    background: #11111d;
    box-shadow: 0 1rem 2rem rgba(0,0,0,.45);
  }
  .wc-primary-nav.is-open { display: flex; }
  .wc-primary-nav a { min-height: 44px; display: flex; align-items: center; }
  .wc-sport-rail { display: flex; margin-inline: -1rem; padding: 0 1rem .65rem; overflow-x: auto; scroll-snap-type: x mandatory; }
  .wc-sport-card { min-width: 105px; scroll-snap-align: start; }
  .wc-feature-grid { grid-template-columns: 1fr; }
  .wc-trust-panel { grid-template-columns: auto 1fr; }
  .wc-trust-panel .wc-button { grid-column: 1 / -1; justify-self: start; }
  .wc-support-grid { grid-template-columns: 1fr; }
  .wc-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wc-shell { width: min(calc(100% - 1.25rem), var(--wh-max)); }
  .wc-family-inner { min-height: 48px; align-items: center; }
  .wc-family-menu { grid-template-columns: 1fr; }
  .wc-header-inner { min-height: 62px; }
  .wc-brand { font-size: 1rem; }
  .wc-menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .wc-hero { padding-top: 3.25rem; }
  .wc-hero h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .wc-live-image { height: 155px; }
  .wc-live-body { padding: .8rem; }
  .wc-fixture-row { grid-template-columns: 3.15rem minmax(0,1fr); }
  .wc-fixture-channel { grid-column: 2; max-width: none; text-align: left; }
  .wc-section-head { align-items: start; flex-direction: column; }
  .wc-destination-grid { grid-template-columns: 1fr; }
  .wc-card { min-height: 170px; }
  .wc-trust-panel { grid-template-columns: 1fr; }
  .wc-trust-avatar { width: 2.8rem; height: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wc-home-v2 *,
  .wc-home-v2 *::before,
  .wc-home-v2 *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
