/* team */

.team_all_foto {
  width: 100%;
  height: clamp(430px, 29.861vw, 573.33px);
  object-fit: cover;
  object-position: top;
  border-radius: clamp(32px, 2.222vw, 42.67px);
}

.team_wrapper {
  margin-top: clamp(15px, 1.042vw, 20px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: clamp(15px, 1.042vw, 20px);
  column-gap: clamp(20px, 1.389vw, 26.67px);
}

.team_item {
  height: clamp(384px, 26.667vw, 512px);
  border-radius: clamp(32px, 2.222vw, 42.67px);
  position: relative;
}

.team_item_avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: clamp(32px, 2.222vw, 42.67px);
}

.team_item_content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(2, 65, 111, 0) 34.71%,
    #011829 101.33%
  );
  border-radius: clamp(32px, 2.222vw, 42.67px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: clamp(5px, 0.347vw, 6.67px);
  padding: clamp(20px, 1.389vw, 26.67px);
}

.team_item_name {
  color: var(--white);
  font-weight: 500;
  font-size: clamp(20px, 1.389vw, 26.67px);
  line-height: 130%;
  letter-spacing: -0.02em;
}

.team_item_proffesion {
  color: #e9f3ff;
  font-weight: 500;
  font-size: clamp(14px, 0.972vw, 18.67px);
  line-height: 130%;
  letter-spacing: -0.02em;
}

@media (max-width: 400px) {
  .team_all_foto {
    margin-top: clamp(16px, 5vw, 20px);
    height: clamp(216px, 67.5vw, 270px);
  }

  .team_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .team_item {
    height: clamp(193.6px, 60.5vw, 242px);
    border-radius: clamp(12.8px, 4vw, 16px);
  }

  .team_item_avatar,
  .team_item_content {
    border-radius: clamp(12.8px, 4vw, 16px);
  }

  .team_item_content {
    padding: clamp(8px, 2.5vw, 10px);
    gap: clamp(2.4px, 0.75vw, 3px);
  }

  .team_item_name {
    font-weight: 600;
    font-size: clamp(9.6px, 3vw, 12px);
  }

  .team_item_proffesion {
    font-weight: 400;
    font-size: clamp(9.6px, 3vw, 12px);
  }
}
