.team-page { background: var(--bg); }

/* Keep the same interior-page hero used by About and Rules. */
.team-page .team-page-content {
  padding: 82px 0 104px;
  border-top: 0;
  background: var(--bg);
}

.team-page .team-content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 46px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.team-page .team-content-heading .eyebrow { margin: 0; }
.team-page .team-total { color: var(--muted); font-size: 12px; font-weight: 600; }

.team-page .team-showcase {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: none;
}
.team-page .team-group { display: block; border: 0; }
.team-page .team-group-head { margin: 0 0 22px; padding: 0; }
.team-page .team-group-head h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.team-page .team-group-count {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.team-page .team-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.team-page .team-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, background-color .2s ease;
}
.team-page .team-profile:hover {
  transform: none;
  border-color: var(--line-strong);
  background: rgba(255,255,255,.035);
}
.team-page .team-profile-media {
  flex: none;
  width: 62px;
  height: 62px;
  min-height: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #0b120d;
}
.team-page .team-profile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.team-page .team-profile-copy { min-width: 0; align-self: center; padding: 0; }
.team-page .team-profile-copy h4 {
  overflow: hidden;
  margin: 0 0 5px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-page .team-role {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-page .team-empty { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .team-page .team-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .team-page .team-page-content { padding: 58px 0 72px; }
  .team-page .team-content-heading { margin-bottom: 36px; }
  .team-page .team-showcase { gap: 48px; }
  .team-page .team-member-grid { grid-template-columns: 1fr; }
  .team-page .team-profile { min-height: 98px; padding: 16px; }
  .team-page .team-profile-media { width: 58px; height: 58px; }
}
