/*--------------------------------------------------------------
# Team Section (index.php only)
--------------------------------------------------------------*/
#team .team-card {
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  border-radius: 5px;
  background: #fff;
  transition: 0.5s;
  height: 100%;
}

#team .team-card:hover {
  transform: translateY(-10px);
}

#team .team-card__pic {
  overflow: hidden;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 15px;
  border-radius: 50%;
}

#team .team-card__pic img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  transition: ease-in-out 0.3s;
}

#team .team-card__info {
  width: 100%;
  padding-left: 0;
}

#team .team-card__name {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 15px;
  color: #534f46;
  white-space: nowrap;
}

#team .team-card__role {
  display: block;
  font-size: 14px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

#team .team-card__role::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 992px) and (max-width: 1199px) {
  #team .team-card__name {
    font-size: 12px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #team .team-card__name {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  #team .team-card__pic {
    width: clamp(110px, 32vw, 140px);
    height: clamp(110px, 32vw, 140px);
  }

  #team .team-card__name {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  #team .team-card {
    padding: 24px 16px;
  }

  #team .team-card__name {
    font-size: 14px;
  }
}
