/* NFL team pages use football's canonical club-page composition and spacing. */
.nfl-team-page .club-header-follow {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--wtm-line);
  border-radius: 999px;
  background: var(--wtm-paper, #fff);
  color: var(--wtm-green);
  font: 700 14px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.nfl-team-page .club-header-follow[aria-pressed="true"],
.nfl-team-page .club-header-follow.followed {
  border-color: var(--wtm-green);
  background: var(--wtm-paper, #fff);
  color: var(--wtm-green);
}

.nfl-team-page .club-header-follow:hover {
  border-color: var(--wtm-green);
}

.nfl-team-page .club-header-follow:focus-visible {
  outline: 2px solid var(--wtm-green);
  outline-offset: 3px;
}

.nfl-team-page .team-upcoming-section {
  margin-top: 28px;
}

.nfl-team-page .wtm-team-primary .wtm-featured-teams {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
}

.nfl-team-page .wtm-team-primary .wtm-featured-teams > div,
.nfl-team-page .wtm-team-primary .wtm-featured-teams > div:last-child {
  font-size: 18px;
  overflow-wrap: normal;
  word-break: normal;
}

.nfl-team-page .wtm-team-primary .wtm-featured-teams > div strong {
  overflow-wrap: normal;
  word-break: normal;
}

.nfl-team-page .team-upcoming-section .wtm-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.nfl-team-page .team-upcoming-section .wtm-section-heading h2 {
  margin: 0;
  font: 800 25px/1.1 Syne, sans-serif;
}

.nfl-team-page .seo-no-fixtures {
  margin: 24px 0;
  color: var(--wtm-muted);
}

@media (max-width: 720px) {
  .nfl-team-page .wtm-team-primary .wtm-featured-teams {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }

  .nfl-team-page .wtm-team-primary .wtm-featured-teams > div,
  .nfl-team-page .wtm-team-primary .wtm-featured-teams > div:last-child {
    font-size: 16px;
  }

  .nfl-team-page .team-upcoming-section .wtm-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nfl-team-page .team-upcoming-section .wtm-section-heading h2 {
    font-size: 22px;
  }
}
