

.p24-team,
.p24-team *,
.p24-team *::before,
.p24-team *::after {
  box-sizing: border-box;
}

.p24-team {
  --p24-team-ink: #050505;
  --p24-team-orange: #ff5c00;
  --p24-team-blue-soft: #eef6fc;
  --p24-team-text: #515967;
  --p24-team-border: #dfe3ea;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 76px 24px 84px;
  overflow: hidden;
  color: var(--p24-team-ink);
  background: #ffffff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.p24-team h2,
.p24-team h3,
.p24-team p {
  margin: 0;
  padding: 0;
}

.p24-team__anchor {
  position: absolute;
  top: -90px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.p24-team__container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.p24-team__head {
  max-width: 920px;
  margin: 0 0 42px;
}

.p24-team__title {
  color: var(--p24-team-ink);
  font-size: clamp(36px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 550;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.p24-team__title span {
  color: var(--p24-team-orange);
}

.p24-team__subtitle {
  max-width: 780px;
  margin-top: 18px !important;
  color: var(--p24-team-text);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: balance;
}

.p24-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.p24-team-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--p24-team-border);
  border-radius: 6px;
  background: #ffffff;
}

.p24-team-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.14;
  border-radius: 5px;
  background: var(--p24-team-blue-soft);
}

.p24-team-card__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p24-team-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.p24-team-card__body {
  min-height: 136px;
  padding: 22px 16px 16px;
}

.p24-team-card__heading {
  display: block;
}

.p24-team-card__body h3 {
  margin-bottom: 9px;
  color: var(--p24-team-ink);
  font-size: clamp(22px, 1.8vw, 25px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.p24-team-card__body p {
  color: var(--p24-team-text);
  font-size: 16px;
  line-height: 1.45;
}

.p24-team-card__body .p24-team-card__meta {
  margin-top: 5px !important;
  color: #737b88;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 1120px) {
  .p24-team {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .p24-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p24-team-card:last-child {
    grid-column: 1 / -1;
    width: min(50%, 520px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .p24-team {
    padding: 56px 16px 60px;
  }

  .p24-team__head {
    margin-bottom: 32px;
  }

  .p24-team__title {
    font-size: clamp(30px, 8.6vw, 36px);
  }

  .p24-team__subtitle {
    margin-top: 17px !important;
    font-size: 16px;
    text-wrap: pretty;
  }

  .p24-team__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .p24-team-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .p24-team-card__visual {
    aspect-ratio: 1 / 1.06;
  }

  .p24-team-card__body {
    min-height: 132px;
    padding: 21px 16px 16px;
  }

  .p24-team-card__body h3 {
    font-size: 24px;
  }

  .p24-team-card__body p {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .p24-team {
    padding-right: 12px;
    padding-left: 12px;
  }

  .p24-team__title {
    font-size: 30px;
  }

  .p24-team-card__visual {
    aspect-ratio: 1 / 1.12;
  }
}

.p24-team-card,
.p24-team-card__visual img {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
