﻿.collection {
  padding-block: 48px 80px;
  min-height: 65vh;
}
.collection-heading {
  max-width: 760px;
  margin-bottom: 40px;
}
.collection-heading h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0;
}
.collection-heading p {
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.member-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}
.member-card:hover {
  transform: translateY(-4px);
}
.member-photo {
  position: relative;
  background: #e3ecef;
}
.member-photo img {
  width: 100%;
  aspect-ratio: 3/3;
  object-fit: cover;
}
.member-photo > span {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
}
.member-card-info {
  padding: 24px;
}
.member-card-info p,
.member-card-info > span {
  color: var(--teal);
  font-size: 14px;
}
.member-card-info h2 {
  font-size: 26px;
  margin: 8px 0 20px;
}
.member-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  margin-top: 36px;
  align-items: start;
}
.member-portrait {
  width: 100%;
  border-radius: 12px;
}
.member-profile h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0;
}
.member-profile h2 {
  margin-top: 28px;
  font-size: 22px;
}
.member-number {
  font-weight: 700;
  color: var(--teal);
}
.member-role {
  color: var(--muted);
  margin-bottom: 26px;
}
.news-link h2 {
  font-size: 22px;
  margin: 12px 0;
}
.news-link:hover h2 {
  color: var(--teal);
}
@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-profile {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}
@media (max-width: 540px) {
  .team-grid,
  .member-profile {
    grid-template-columns: 1fr;
  }
  .member-portrait {
    max-width: 280px;
  }
  .collection {
    padding-top: 30px;
  }
}
