/* AAW site treatment, matched to the live AAW UK TV Guide (aaw-tv-guide/guide.css).
   The original Super 6 rules, markup controls and admin experience are unchanged. */

.aaw-s6.aaw-s6-site {
  --s6-navy: #0b1f33;
  --s6-deep: #0b1f33;
  --s6-ink: #0b1f33;
  --s6-muted: #59636d;
  --s6-yellow: #ffc720;
  --s6-cream: #f4f1e9;
  --s6-line: #d8d8cf;
  color: var(--s6-navy);
  font-family: inherit;
  /* The shortcode can sit inside a padded/constrained WordPress block.
     The public viewport-alignment helper supplies a measured pixel width
     and offset, avoiding 100vw's horizontal overflow in that context. */
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.aaw-s6-site .aaw-s6-shell {
  background: var(--s6-cream);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* The TV Guide's wide, editorial hero rather than a small game-widget banner. */
.aaw-s6-site .aaw-s6-hero {
  display: block;
  background: var(--s6-navy);
  color: #fff;
  padding: 64px max(24px, calc((100% - 1480px) / 2));
  overflow: visible;
}
.aaw-s6-site .aaw-s6-hero-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.aaw-s6-site .aaw-s6-kicker {
  display: block;
  color: var(--s6-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.aaw-s6-site .aaw-s6-hero h1 {
  color: #fff;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0 0 24px;
  text-transform: none;
}
.aaw-s6-site .aaw-s6-hero h1 span { color: var(--s6-yellow); }
.aaw-s6-site .aaw-s6-hero .aaw-s6-hero-description {
  color: #d9e0e6;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 28px;
}
.aaw-s6-site .aaw-s6-hero-note {
  color: #d9e0e6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.aaw-s6-site .aaw-s6-body {
  --s6-accent: #ffc720;
  /* 1480px usable content + 24px of padding on either side. The left edge
     stays aligned with the hero copy at every desktop width. */
  max-width: 1528px;
  padding: 36px 24px 56px;
  margin: 0 auto;
}
.aaw-s6-site .aaw-s6-body[data-league="college"] { --s6-accent: #ff6b00; }

/* The same large NFL / College selector pattern used by the TV Guide. */
.aaw-s6-site .aaw-s6-tabs {
  display: flex;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  border: 0;
  background: none;
}
.aaw-s6-site .aaw-s6-tabs button {
  appearance: none;
  display: block;
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
  text-align: left;
  background: #fff;
  color: var(--s6-navy);
  border: 0;
  border-top: 4px solid #ffc720;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.2;
  letter-spacing: 0;
}
.aaw-s6-site .aaw-s6-tabs button[data-tab="college"] { border-top-color: #ff6b00; }
.aaw-s6-site .aaw-s6-tabs button strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.aaw-s6-site .aaw-s6-tabs button span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #59636d;
  margin-top: 6px;
}
.aaw-s6-site .aaw-s6-tabs button[aria-selected="true"] {
  background: var(--s6-navy);
  color: #fff;
  border-bottom: 0;
}
.aaw-s6-site .aaw-s6-tabs button[aria-selected="true"] span { color: #c9d3dd; }
.aaw-s6-site :is(button, a):focus-visible {
  outline: 3px solid #1971c2;
  outline-offset: 4px;
}

.aaw-s6-site .aaw-s6-roundhead {
  align-items: flex-end;
  margin: 0 0 24px;
  padding: 0;
  gap: 24px;
}
.aaw-s6-site .aaw-s6-overline {
  color: var(--s6-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}
.aaw-s6-site .aaw-s6-roundhead h2 {
  color: var(--s6-navy);
  font-size: clamp(23px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 7px 0 11px;
}
.aaw-s6-site .aaw-s6-roundhead p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--s6-muted);
}
.aaw-s6-site .aaw-s6-progress {
  min-width: 168px;
  padding: 16px 20px;
  background: #fff;
  border: 0;
  border-left: 4px solid var(--s6-accent);
  border-radius: 0;
  box-shadow: none;
}
.aaw-s6-site .aaw-s6-progress strong { color: var(--s6-navy); }

/* Six interactive fixtures keep their two-choice behaviour and visual states. */
.aaw-s6-site .aaw-s6-fixtures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 36px;
}
.aaw-s6-site .aaw-s6-game {
  background: #fff;
  border: 0;
  border-left: 4px solid var(--s6-accent);
  border-radius: 0;
  box-shadow: none;
}
.aaw-s6-site .aaw-s6-game-head {
  gap: 10px;
  border-bottom: 1px solid #e9e9e3;
  padding: 14px 18px;
}
.aaw-s6-site .aaw-s6-game-index { color: var(--s6-navy); }
.aaw-s6-site .aaw-s6-kickoff { color: var(--s6-muted); }
.aaw-s6-site .aaw-s6-status {
  background: #e7f3eb;
  color: #126b54;
  border-radius: 3px;
  font-size: 9px;
}
.aaw-s6-site .aaw-s6-status.is-closed { background: #e6ebee; color: #59636d; }
.aaw-s6-site .aaw-s6-teams { padding: 16px 18px 9px; gap: 8px; }
.aaw-s6-site .aaw-s6-team {
  min-height: 62px;
  padding: 10px 13px;
  border: 1px solid #d8dddf;
  border-radius: 3px;
  background: #fbfcfc;
  box-shadow: none;
}
.aaw-s6-site .aaw-s6-team:hover:not(:disabled) {
  border-color: var(--s6-accent);
  background: #fffaf0;
}
.aaw-s6-site .aaw-s6-team.is-selected {
  border: 2px solid #d8a300;
  background: #fff8de;
}
.aaw-s6-site .aaw-s6-body[data-league="college"] .aaw-s6-team.is-selected {
  border-color: #ff6b00;
  background: #fff2e7;
}
.aaw-s6-site .aaw-s6-team.is-winner:not(.is-selected) { border-color: #94c9ab; }
.aaw-s6-site .aaw-s6-team-name { font-size: 14px; font-weight: 750; }
.aaw-s6-site .aaw-s6-team-logo { width: 38px; height: 38px; flex-basis: 38px; }
.aaw-s6-site .aaw-s6-vs { color: #788996; }
.aaw-s6-site .aaw-s6-game-meta,
.aaw-s6-site .aaw-s6-consensus {
  padding-left: 18px;
  padding-right: 18px;
  font-size: 11px;
}
.aaw-s6-site .aaw-s6-game-meta { padding-bottom: 12px; }
.aaw-s6-site .aaw-s6-consensus { background: #f6f7f6; }
.aaw-s6-site .aaw-s6-host-picks { padding: 12px 18px; }

/* Visible only after six successful saved selections: a natural Hub hand-off. */
.aaw-s6-site .aaw-s6-hub-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
  margin: 0 0 36px;
  border-top: 4px solid var(--s6-accent);
  background: var(--s6-navy);
  color: #fff;
}
.aaw-s6-site .aaw-s6-hub-kicker {
  color: var(--s6-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.aaw-s6-site .aaw-s6-hub-cta h3 {
  color: #fff;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 8px 0 9px;
}
.aaw-s6-site .aaw-s6-hub-cta p {
  color: #d9e0e6;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.aaw-s6-site .aaw-s6-hub-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 14px 20px;
  background: #ffc720;
  color: #0b1f33;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 3px;
}
.aaw-s6-site .aaw-s6-hub-cta a:hover { background: #ffe087; color: #0b1f33; }

.aaw-s6-site .aaw-s6-leaderboards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin-bottom: 34px;
}
.aaw-s6-site .aaw-s6-standings {
  border: 0;
  border-left: 4px solid var(--s6-accent);
  border-radius: 0;
  box-shadow: none;
}
.aaw-s6-site .aaw-s6-section-heading { padding: 19px 20px 16px; }
.aaw-s6-site .aaw-s6-section-heading h3 { color: var(--s6-navy); }
.aaw-s6-site .aaw-s6-standings th { background: #f3f4f3; }
.aaw-s6-site .aaw-s6-standings td { border-top-color: #e9e9e3; }

.aaw-s6-site .aaw-s6-staffbar {
  margin: 0 0 24px;
  border: 0;
  border-left: 4px solid var(--s6-accent);
  background: #fff;
}
.aaw-s6-site .aaw-s6-alert,
.aaw-s6-site .aaw-s6-notice { margin: 0 0 22px; border-radius: 3px; }
.aaw-s6-site .aaw-s6-empty,
.aaw-s6-site .aaw-s6-loading { padding: 54px 20px; }
.aaw-s6-site .aaw-s6-footer {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--s6-line);
  padding: 16px 0 0;
  color: var(--s6-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Six fixtures make two balanced rows on large desktops. Laptops stay two
   across and the existing mobile breakpoint still stacks a single column. */
@media (min-width: 1200px) {
  .aaw-s6-site .aaw-s6-fixtures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .aaw-s6-site .aaw-s6-fixtures,
  .aaw-s6-site .aaw-s6-leaderboards { grid-template-columns: 1fr; }
  .aaw-s6-site .aaw-s6-roundhead { align-items: flex-start; }
}

@media (max-width: 600px) {
  .aaw-s6-site .aaw-s6-hero { padding: 44px 22px; }
  .aaw-s6-site .aaw-s6-body { padding: 24px 16px 40px; }
  .aaw-s6-site .aaw-s6-tabs { gap: 8px; margin-bottom: 28px; }
  .aaw-s6-site .aaw-s6-tabs button { padding: 15px; }
  .aaw-s6-site .aaw-s6-tabs button strong { font-size: 18px; }
  .aaw-s6-site .aaw-s6-roundhead { display: block; }
  .aaw-s6-site .aaw-s6-progress {
    margin: 18px 0 0;
    text-align: left;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .aaw-s6-site .aaw-s6-hub-cta { display: block; padding: 24px 20px; }
  .aaw-s6-site .aaw-s6-hub-cta a { margin-top: 20px; width: 100%; }
}

@media (max-width: 420px) {
  .aaw-s6-site .aaw-s6-hero h1 { font-size: 39px; }
  .aaw-s6-site .aaw-s6-team-logo { width: 32px; height: 32px; flex-basis: 32px; }
  .aaw-s6-site .aaw-s6-game-head { flex-wrap: wrap; }
  .aaw-s6-site .aaw-s6-kickoff { margin-left: auto; }
}
