.team-member-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(8, 39, 91, 0.07);
}

.team-member-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 0 18px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.team-member-name {
  min-height: 2.7em;
  margin: 0 0 8px;
  color: #08275b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.team-member-role {
  display: flex;
  align-items: flex-start;
  min-height: 42px;
  margin: 0 0 8px;
  color: #00a8ec;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.team-member-bio {
  margin: 0;
  color: #5d6d80;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .team-member-card {
    padding: 14px;
  }

  .team-member-photo {
    margin-bottom: 16px;
  }

  .team-member-name {
    min-height: auto;
    font-size: 19px;
  }

  .team-member-role {
    min-height: auto;
  }
}
