.team-collage.has-roster {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(12px,1.6vw,26px) clamp(8px,1vw,16px);
  align-items: start;
}
.team-collage.has-roster > .team-portrait {
  overflow: visible;
  height: auto;
  background: transparent;
}
.team-collage.has-roster > .team-portrait--lead { grid-column: span 2; }
.team-collage.has-roster .team-member-photo {
  position: relative;
  overflow: hidden;
  height: clamp(170px,22vw,345px);
  background: #fff;
}
.team-collage.has-roster .team-member-photo > img {
  display: block;
  position: absolute;
  left: 50%;
  top: var(--portrait-top);
  width: auto;
  max-width: none;
  height: var(--portrait-height);
  transform: translateX(var(--portrait-center));
  filter: grayscale(1);
}
/* Match the height and top margin of each head independently of card width. */
.team-collage.has-roster [data-team-photo="1"] { --portrait-height: 152%; --portrait-top: 4.1%; --portrait-center: -56%; }
.team-collage.has-roster [data-team-photo="2"] { --portrait-height: 169%; --portrait-top: -15.7%; --portrait-center: -53%; }
.team-collage.has-roster [data-team-photo="3"] { --portrait-height: 139%; --portrait-top: 4%; --portrait-center: -40%; }
.team-collage.has-roster [data-team-photo="4"] { --portrait-height: 166%; --portrait-top: -10.7%; --portrait-center: -47%; }
.team-collage.has-roster [data-team-photo="5"] { --portrait-height: 157%; --portrait-top: -4.2%; --portrait-center: -50%; }
.team-collage.has-roster [data-team-photo="6"] { --portrait-height: 136%; --portrait-top: 5.7%; --portrait-center: -38.5%; }
.team-collage.has-roster [data-team-photo="7"] { --portrait-height: 157%; --portrait-top: -8.9%; --portrait-center: -52.5%; }
.team-collage.has-roster [data-team-photo="8"] { --portrait-height: 145%; --portrait-top: 5.8%; --portrait-center: -45.6%; }
.team-collage.has-roster [data-team-photo="9"] { --portrait-height: 157%; --portrait-top: 6.2%; --portrait-center: -43%; }
.team-collage.has-roster .team-member-caption { display: grid; gap: 3px; padding: 10px 0 3px; }
.team-collage.has-roster .team-member-caption strong { font-size: clamp(14px,1.3vw,20px); font-weight: 550; line-height: 1.24; }
.team-collage.has-roster .team-member-caption span { font-size: clamp(12px,1vw,15px); line-height: 1.4; color: var(--muted,#686963); }
@media(max-width:820px) {
  .team-collage.has-roster { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-collage.has-roster .team-member-photo { height: clamp(165px,50vw,335px); }
}

.team-collage.has-roster .team-member-caption { visibility:visible; opacity:1; color:#111; }
