/* ============================================================================
   SPORT / ATHLETICS — full-bleed photo hero with a bottom-left overlay CTA
   ============================================================================ */

.sport-hero {
  position: relative;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sport-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.sport-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,15,29,0.75) 0%,
    rgba(6,15,29,0) 45%
  );
  pointer-events: none;
}

.sport-hero-overlay {
  position: absolute;
  left: 40px;
  bottom: 28px;
  z-index: 1;
}

.sport-hero-overlay h1 {
  color: #fff;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

.sport-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--royal-deep);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
}

.sport-hero-cta .play-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--royal-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ============================================================================
   SPORTS — TEAMS GRID
   Three responsive image tiles
   ============================================================================ */

.sport-teams-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 40px;

  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* --------------------------------------------------------------------------
   TILE
   -------------------------------------------------------------------------- */

.sport-team-tile {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;

  /*
    Use aspect-ratio instead of a fixed height.
    This is what keeps the images responsive.
  */
  aspect-ratio: 4 / 5;

  overflow: hidden;
  border-radius: 4px;

  text-decoration: none;
  background: #d9e2ec;
}

/* --------------------------------------------------------------------------
   IMAGE
   -------------------------------------------------------------------------- */

.sport-team-tile img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Special crop for first image */
.sport-team-tile:first-child img {
  object-position: center 20%;
}

/* --------------------------------------------------------------------------
   IMAGE HOVER
   -------------------------------------------------------------------------- */

.sport-team-tile:hover img {
  transform: scale(1.035);
}

/* --------------------------------------------------------------------------
   DARK GRADIENT
   -------------------------------------------------------------------------- */

.sport-team-tile::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(6, 15, 29, 0.88) 0%,
      rgba(6, 15, 29, 0.42) 38%,
      rgba(6, 15, 29, 0.10) 65%,
      rgba(6, 15, 29, 0) 78%
    );
}

/* --------------------------------------------------------------------------
   CONTENT
   -------------------------------------------------------------------------- */

.sport-team-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 2;

  padding: 24px 20px;

  color: #fff;

  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sport-team-content h3 {
  margin: 0 0 7px;

  color: #fff;

  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.sport-team-content p {
  margin: 0 0 10px;

  color: rgba(255, 255, 255, 0.82);

  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.sport-team-content .team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--accent-sky);

  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  text-decoration: none;

  transition:
    gap 180ms ease,
    color 180ms ease;
}

.sport-team-tile:hover .team-link {
  gap: 9px;
}

/* ============================================================================
   TABLET
   ============================================================================ */

@media (max-width: 900px) {
  .sport-teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sport-team-tile {
    aspect-ratio: 4 / 5;
  }

  /*
    Make the third tile span the available width.
    Remove this rule if you want a strict 2-column grid.
  */
  .sport-team-tile:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 8 / 4.5;
  }
}

/* ============================================================================
   MOBILE
   ============================================================================ */

@media (max-width: 600px) {
  .sport-teams-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 14px;

    margin-top: 28px;
  }

  .sport-team-tile,
  .sport-team-tile:nth-child(3) {
    grid-column: auto;

    width: 100%;
    max-width: 100%;

    /*
      All three images have exactly the same responsive proportions.
    */
    aspect-ratio: 16 / 10;
  }

  .sport-team-tile img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .sport-team-content {
    padding: 20px 18px;
  }

  .sport-team-content h3 {
    font-size: 18px;
  }

  .sport-team-content p {
    font-size: 12px;
    line-height: 1.45;
  }
}

/* ============================================================================
   VERY SMALL PHONES
   ============================================================================ */

@media (max-width: 380px) {
  .sport-teams-grid {
    gap: 12px;
  }

  .sport-team-tile {
    aspect-ratio: 15 / 10;
  }

  .sport-team-content {
    padding: 16px;
  }

  .sport-team-content h3 {
    font-size: 17px;
  }
}

/* ============================================================================
   AT A GLANCE — dark navy stats band with a photo
   ============================================================================ */

.sport-glance {
  background: var(--royal-deep);
  color: #fff;
  padding: 72px 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sport-glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sport-glance-intro h2 {
  color: #fff;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.sport-glance-intro p {
  color: rgba(255,255,255,0.65);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 46ch;
}

.sport-glance-list {
  list-style: none;
}

.sport-glance-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.sport-glance-list li:first-child {
  padding-top: 0;
}

.sport-glance-list .num {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-sky);
  flex-shrink: 0;
  min-width: 64px;
}

.sport-glance-list .cap {
  color: rgba(255,255,255,0.75);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.sport-glance-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sport-glance-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-glance-photo img  {
  object-position: center 80%;
}


/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 900px) {
  .sport-teams-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sport-team-tile:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .sport-glance-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sport-glance-photo {
    order: -1;
  }
}

@media (max-width: 640px) {
  .sport-hero-overlay {
    left: 22px;
    bottom: 22px;
  }

  .sport-teams-grid {
    grid-template-columns: 1fr;
  }

  .sport-team-tile:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }

  .sport-glance {
    padding: 48px 0;
  }
}

.section-divider {
  height: 1px;
  background: rgba(6,15,29,0.15);
  margin: 72px 0;
}