/* =========================================================
   Percival Page WordPress Version 41
   Unified team portraits and normalized carousel geometry.
========================================================= */
.team__track {
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.team-card picture {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: #d8d0c5;
}

.team-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}

.team-card > div {
  flex: 1 1 auto;
  min-height: 218px;
  padding: 24px 18px 22px;
}

.team-card h3 {
  min-height: 48px;
  font-size: clamp(17px, 1.05vw, 20px);
}

.team-card > div > p {
  min-height: 64px;
  max-width: 100%;
  margin-top: 10px;
  font-size: clamp(12px, .78vw, 14px);
  line-height: 1.45;
}

.team-card a {
  margin-top: auto;
}

@media (min-width: 1900px) {
  .team > .shell {
    width: min(2060px, calc(100% - 120px));
  }
  .team-carousel {
    padding-inline: 66px;
  }
  .team-card > div {
    min-height: 230px;
    padding: 28px 22px 25px;
  }
}

@media (max-width: 820px) {
  .team-card > div {
    min-height: 205px;
    padding: 22px 16px;
  }
  .team-card > div > p {
    min-height: 58px;
  }
}

@media (max-width: 560px) {
  .team-card picture {
    aspect-ratio: 7 / 5;
  }
  .team-card > div {
    min-height: 198px;
  }
}
