/* One gallery, equal photographic stages, complete source frames. */
.page-about .team-gallery-section {
  padding-top: 40px;
  padding-bottom: 72px;
}

.page-about .team-gallery-section > h2 {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .015em;
}

.page-about .team-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--pale);
}

.page-about .team-photo-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 12px;
  aspect-ratio: 16 / 9;
  background: #fff;
}

.page-about .team-photo-canvas img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  grid-column: auto;
}

@media (max-width: 900px) {
  .page-about .team-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .page-about .team-gallery-section {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .page-about .team-gallery-section > h2 {
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .page-about .team-gallery { padding: 16px; gap: 16px; }
  .page-about .team-photo-canvas { padding: 8px; }
}
