.team-layout .page-shell {
  grid-template-rows: auto 1fr;
}
.team-page {
  max-width: 980px;
  min-width: 0;
  padding-top: 56px;
  padding-bottom: 72px;
}
.team-page h1 {
  font-size: 48px;
  line-height: 1.15;
}
.team-page .team-intro {
  gap: 18px;
  margin-top: 24px;
  max-width: none;
  padding-top: 24px;
}
.team-intro p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 72ch;
  text-wrap: pretty;
}
.team-page .team-section-list {
  margin-top: 36px;
  max-width: none;
}
.team-page .team-section {
  gap: 0;
  padding: 32px 0;
}
.team-page .team-section h2 {
  font-size: 26px;
  line-height: 1.3;
}
.team-page .team-profile-grid {
  align-items: start;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}
.team-page .team-profile {
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: 0;
}
.team-page .team-profile-image {
  aspect-ratio: 4 / 5;
  max-width: none;
  width: 100%;
}
.team-page .team-profile-copy {
  align-self: start;
}
.team-page .team-profile h3 {
  font-size: 22px;
  line-height: 1.25;
}
.team-page .team-profile-role {
  font-size: 17px;
  line-height: 1.4;
  margin-top: 8px;
}
.team-profile-biography {
  margin-top: 12px;
}
.team-profile-biography summary {
  color: var(--brand-blue);
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px 0;
  width: fit-content;
}
.team-page .team-profile-biography p {
  font-size: 16px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.team-profile-full-link {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 8px;
  padding: 10px 0;
}
.team-profile-biography summary:hover,
.team-profile-full-link,
.team-profile h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.team-profile-biography summary:focus-visible,
.team-profile-full-link:focus-visible,
.team-profile h3 a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}
.team-page .team-council-placeholder {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 12px;
}
.team-page .team-board {
  padding: 24px 0;
}
.team-page .team-board .team-profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  max-width: 600px;
}
.team-page .team-board .team-profile {
  gap: 12px;
}
.team-page .team-board .team-profile-image {
  width: 140px;
}
.team-page .team-board h3 {
  font-size: 20px;
}
.team-page .team-board .team-profile-role {
  font-size: 16px;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .team-page .team-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .team-page {
    padding-top: 36px;
    padding-bottom: 48px;
  }
  .team-page h1 {
    font-size: 32px;
  }
  .team-page .team-section h2 {
    font-size: 24px;
  }
  .team-page .team-section {
    padding: 28px 0;
  }
  .team-page .team-profile-grid {
    gap: 32px;
    grid-template-columns: minmax(0, 320px);
  }
  .team-page .team-board .team-profile-grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  .team-page .team-board .team-profile {
    align-items: center;
    gap: 16px;
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .team-page .team-board .team-profile-image {
    width: 96px;
  }
  .team-page .team-board .team-profile-copy {
    align-self: center;
  }
}
