.team-page { padding-top: 2rem; padding-bottom: 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 2rem; }
.team-card { display: block; color: inherit; }
.team-card:hover, .team-back:hover { color: var(--hu-accent); }
.team-card:focus-visible, .team-back:focus-visible { outline: 2px solid var(--hu-accent); outline-offset: 5px; }
.team-portrait { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #222; }
.team-card h2 { margin: 1rem 0 .4rem; font-family: var(--hu-display-font); font-size: 1.4rem; }
.team-title { color: #bbb; margin-bottom: 0; overflow-wrap: anywhere; }
.team-back { display: inline-block; margin-bottom: 1.5rem; color: inherit; }
.team-profile { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.team-coming-soon { margin-top: 2rem; color: #aaa; }
@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 576px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } .team-profile { grid-template-columns: 1fr; } .team-profile .team-portrait { max-width: 300px; } }

.team-profile-intro { align-self: center; min-width: 0; }
.team-profile-title {
  margin: 0 0 1rem;
  color: var(--hu-accent);
  font-family: var(--hu-display-font);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.team-description { max-width: 65ch; color: #ddd; font-size: 1.1rem; line-height: 1.7; overflow-wrap: anywhere; }
.team-biography {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #ddd;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.team-publications { margin-top: 3rem; }
.team-publication-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.team-publication-row-square { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.team-publication-card { display: block; min-width: 0; color: inherit; }
.team-publication-card:hover { color: var(--hu-accent); }
.team-publication-card:focus-visible { outline: 2px solid var(--hu-accent); outline-offset: 4px; }
.team-publication-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.team-publication-row-square img { aspect-ratio: 1 / 1; }
.team-publication-card h3 { margin: .75rem 0 .4rem; font-family: var(--hu-display-font); font-size: 1.15rem; }
.team-publication-card time { color: #aaa; font-size: .8rem; }
@media (max-width: 992px) {
  .team-publication-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 42%); overflow-x: auto; padding-bottom: .5rem; }
  .team-publication-row-square { grid-auto-columns: minmax(140px, 23%); }
}
