.team-detail-hero .team-hero-inner > div {
  min-width: 0;
}

.team-detail-hero h1 {
  max-width: 940px;
}

.team-detail-fallback {
  display: inline-grid;
  place-items: center;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .2);
  font-size: 25px;
  font-weight: 900;
}

.team-detail-fallback.small {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  font-size: 12px;
}

.team-detail-content > section {
  scroll-margin-top: 88px;
}

.team-glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-next-game-card,
.team-glance-card {
  padding: 22px;
}

.team-next-game-card > span,
.team-glance-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.team-next-game-card h3,
.team-glance-card h3 {
  margin: 7px 0 13px;
  font-size: 18px;
  line-height: 1.25;
}

.team-next-opponent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.team-next-opponent:hover {
  text-decoration: none;
}

.team-next-opponent strong {
  line-height: 1.25;
}

.team-next-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.team-next-details span + span::before {
  content: "·";
  margin-right: 11px;
  color: #a0aaba;
}

.team-glance-number {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
}

.team-glance-card p,
.team-next-game-card > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.team-detail-content .group-heading h3 {
  margin: 2px 0;
  font-size: 22px;
}

.team-download-grid,
.team-guide-grid,
.division-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-download-card {
  display: flex;
  flex-direction: column;
  padding: 23px;
  color: var(--ink);
}

.team-download-card:hover {
  border-color: #75aeda;
  text-decoration: none;
  transform: translateY(-2px);
}

.team-download-card > span {
  width: max-content;
  padding: 3px 8px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
}

.team-download-card h3,
.team-guide-grid h3 {
  margin: 12px 0 7px;
  font-size: 18px;
  line-height: 1.3;
}

.team-download-card p,
.team-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.team-download-card > strong {
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-size: 13px;
}

.team-guide-grid .guide-card {
  padding: 22px;
}

.team-guide-grid .guide-card h3 {
  margin-top: 0;
}

.division-team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
}

.division-team-card:hover {
  border-color: #75aeda;
  text-decoration: none;
}

.division-team-card img {
  flex: 0 0 54px;
}

.division-team-card h3 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.3;
}

.division-team-card small {
  color: var(--muted);
}

.team-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-faq-grid .faq-item {
  padding: 22px;
}

.team-faq-grid .faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.team-faq-grid .faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .team-glance-grid,
  .team-download-grid,
  .team-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .division-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .team-detail-hero .team-hero-inner {
    gap: 18px;
  }

  .team-detail-fallback {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    font-size: 17px;
  }

  .team-glance-grid,
  .team-download-grid,
  .team-guide-grid,
  .team-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .team-detail-content > section[aria-labelledby="team-glance-heading"],
  .team-detail-content > section[aria-labelledby="team-downloads-heading"],
  .team-detail-content > section[aria-labelledby="team-watch-heading"],
  .team-detail-content > section[aria-labelledby="division-team-links-heading"],
  .team-detail-content > section[aria-labelledby="team-faq-heading"] {
    display: none;
  }
}
