:root {
  --navy: #000142;
  --navy-deep: #06182f;
  --blue: #1259ba;
  --red: #d82129;
  --text: #11213a;
  --muted: #667085;
  --line: #dfe5ee;
  --soft: #f7f9fc;
  --white: #ffffff;
  --slate: #4c5c70;
  --header-black: #151016;
  --shadow: 0 12px 35px rgba(8, 36, 76, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
img { max-width: 100%; height: auto; }

/* Header stays geometrically fixed. Only its color changes on scroll. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(8, 36, 76, 0.10);
  overflow: visible;
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  overflow: visible;
}

.brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-left: 0;
  transform: none;
}

.brand-logo-shell {
  display: block;
  width: 130px;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

.main-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  overflow: visible;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav > a,
.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 0 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--navy-deep);
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown-button:hover,
.nav-dropdown:focus-within .nav-dropdown-button,
.nav-dropdown.is-open .nav-dropdown-button {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-dropdown {
  position: relative;
  overflow: visible;
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 2200;
  top: 100%;
  left: 50%;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d7dde6;
  border-radius: 7px;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

/* Important: these colors remain dark even after the header turns black. */
.nav-dropdown-menu a,
.site-header.scrolled .nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border: 0;
  border-radius: 4px;
  color: #333a44;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  text-shadow: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.site-header.scrolled .nav-dropdown-menu a:hover {
  color: var(--navy);
  background: #f1f3f6;
  border: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header.scrolled {
  background: var(--header-black);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-dropdown-button {
  color: rgba(255,255,255,.94);
  text-shadow: none;
}

.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .main-nav > a.active,
.site-header.scrolled .nav-dropdown-button:hover,
.site-header.scrolled .nav-dropdown:focus-within .nav-dropdown-button,
.site-header.scrolled .nav-dropdown.is-open .nav-dropdown-button {
  color: #fff;
  border-bottom-color: #fff;
}

section[id], article[id] {
  scroll-margin-top: 112px;
}

.section {
  padding: 58px 0;
}

.matchups-section {
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  border-bottom: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.eyebrow {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.section-intro {
  color: #46556d;
  margin-bottom: 0;
}

.matchup-date-picker {
  flex: 0 0 auto;
  min-width: 190px;
}

.matchup-date-picker label {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-input-shell {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  background: #fff;
}

.date-input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 89, 186, 0.10);
}

.date-input-shell input {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  color: var(--navy-deep);
  font: inherit;
  font-weight: 700;
}

.matchup-status-row {
  display: flex;
  justify-content: center;
  margin: -8px 0 16px;
}

.matchup-status {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 700;
}

.matchup-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.matchup-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 14px;
}

.matchup-track {
  display: flex;
  width: 100%;
  transition: transform 280ms ease;
  will-change: transform;
}

.matchup-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 58px;
}

.matchup-image-frame {
  overflow: hidden;
  width: 100%;
  border: 1px solid #d6deea;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.matchup-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  background: #fff;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition:
    background-color 140ms ease,
    opacity 140ms ease;
}

.carousel-arrow:hover {
  background: var(--blue);
}

.carousel-arrow:disabled,
.carousel-arrow[hidden] {
  opacity: 0;
  pointer-events: none;
}

.carousel-arrow.left {
  left: 0;
}

.carousel-arrow.right {
  right: 0;
}

.carousel-footer {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd6e2;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--blue);
}

.carousel-count {
  min-width: 42px;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.matchup-empty .matchup-image-frame {
  box-shadow: none;
}

.center-heading {
  text-align: center;
  text-transform: uppercase;
  color: var(--navy-deep);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  margin-bottom: 28px;
}

.center-heading em,
.panel-heading em {
  font-style: italic;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.explore-card {
  min-height: 220px;
  border: 1px solid #d6deea;
  border-radius: 8px;
  padding: 32px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.explore-icon {
  color: var(--blue);
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 700;
}

.explore-card h3 {
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--navy-deep);
  font-size: 1.28rem;
}

.explore-card p {
  color: #46556d;
  min-height: 74px;
}

.explore-card a,
.panel-link {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.content-section {
  padding-top: 16px;
  padding-bottom: 52px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-panel {
  border: 1px solid #d6deea;
  border-radius: 8px;
  padding: 18px 18px 22px;
  background: #fff;
}

.panel-heading h2 {
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--navy-deep);
  font-size: 1.6rem;
}

.panel-heading > span {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-bottom: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
}

.news-item h3 {
  margin-bottom: 5px;
  color: var(--navy-deep);
  font-size: 1rem;
}

.news-item p {
  color: #46556d;
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.meta {
  color: #6d7890 !important;
  text-transform: uppercase;
  font-size: 0.78rem !important;
}

.thumb {
  height: 82px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.thumb-rink {
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)),
    repeating-linear-gradient(0deg, #dfe6ef 0 14px, #f8fbff 14px 28px);
}

.thumb-boston {
  background: #151515;
  color: #f3b61f;
  font-size: 2.2rem;
  border: 8px solid #f3b61f;
}

.thumb-oilers {
  background: linear-gradient(135deg, #0c2a5a, #e46f21);
}

.thumb-player {
  background: linear-gradient(135deg, #203f7a, #77a1d8);
}

.thumb-stick {
  background: linear-gradient(135deg, #e6ebf2, #9aa9bd);
}

.thumb-habs {
  background: linear-gradient(135deg, #17468a, #d0202e);
  font-size: 1.6rem;
}

.panel-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--red);
}

.site-footer {
  background: linear-gradient(100deg, #07182e 0%, #08244c 100%);
  color: #fff;
  padding: 34px 0 40px;
}


.footer-logo {
  display: block;
  width: 165px;
  max-width: 165px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: #fff;
  font-size: 2.8rem;
}

.footer-brand span {
  color: #fff;
}

.footer-tagline {
  color: #e5ebf3;
  font-style: normal;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.5rem;
}

.footer-socials a:hover {
  opacity: 0.75;
}


@media (max-width: 980px) {
  .header-inner {
    height: 96px;
    gap: 24px;
  }
  .brand { margin-left: 0; }
  .brand-logo-shell { width: 124px; }
  .main-nav {
    gap: 22px;
    font-size: 0.86rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .matchup-slide { padding: 0 52px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card p { min-height: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner {
    height: auto;
    min-height: 82px;
    padding: 8px 0 6px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand { margin-left: 0; }
  .brand-logo-shell { width: 118px; }
  .main-nav {
    width: auto;
    flex: 1;
    justify-content: flex-end;
    gap: 12px;
    padding-left: 0;
    font-size: 0.8rem;
  }
  .main-nav > a,
  .nav-dropdown-button { min-height: 40px; padding: 10px 0 8px; }
  .nav-dropdown-menu {
    left: 0;
    transform: translate(0, 3px);
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    transform: translate(0, 0);
  }

  .section { padding: 42px 0; }
  .matchup-slide { padding: 0 46px; }
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }
  .content-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 94px 1fr; }
  .thumb { height: 72px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand-logo-shell { width: 105px; }
  .main-nav { gap: 9px; font-size: 0.7rem; }
  .section-heading-row { flex-direction: column; }
  .matchup-date-picker { width: 100%; }
  .matchup-slide { padding: 0 34px; }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }
  .carousel-footer { margin-top: 14px; }
  .explore-card { grid-template-columns: 1fr; padding: 26px; }
  .explore-icon { font-size: 2.6rem; }
}
