.team-page__container,
.team-header__inner,
.team-footer__inner {
  width: min(calc(100% - 48px), 960px);
}

.team-about {
  padding: 76px 0 58px;
}

.team-about__container {
  width: min(calc(100% - 64px), 900px);
}

.team-about__eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
}

.team-about__title {
  font-size: clamp(44px, 6.4vw, 62px);
}

.team-about__text {
  max-width: 800px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.66;
}

.team-about__note {
  margin-top: 18px;
  font-size: 15px;
}

.team-section-divider {
  width: min(calc(100% - 80px), 880px);
}

.team-hero {
  padding: 76px 0 28px;
}

.team-hero__inner {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 30px;
}

.team-hero__copy {
  max-width: 720px;
}

.team-hero__title {
  font-size: clamp(48px, 7vw, 62px);
}

.team-signal {
  width: min(100%, 440px);
  min-height: 112px;
  justify-self: start;
}

.team-members {
  padding-top: 18px;
}

.team-carousel {
  --team-carousel-card-width: min(76vw, 760px);
  width: calc(100% + 48px);
  margin-left: -24px;
}

.team-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: max(24px, calc((100% - var(--team-carousel-card-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.team-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.team-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: var(--team-carousel-card-width);
  gap: 22px;
  padding: 18px max(24px, calc((100% - var(--team-carousel-card-width)) / 2)) 30px;
}

.team-card {
  min-height: 570px;
  padding: 24px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.team-card::before {
  left: 24px;
}

.team-card__media {
  inset: 34px 22px auto;
  height: 300px;
}

.team-card__media::after {
  right: -22px;
  left: -22px;
}

.team-card__media img {
  max-height: 300px;
}

.team-card__content {
  padding-top: 238px;
}

.team-card__name {
  font-size: 48px;
}

.team-card__text {
  max-width: 100%;
  min-height: 100px;
  font-size: 14px;
}

.team-card--rilaine {
  grid-column: auto;
  width: auto;
  justify-self: stretch;
}

.team-carousel__pagination {
  display: flex;
}

.team-values {
  padding-top: 42px;
  padding-bottom: 96px;
}

.team-value {
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-value__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
}

.team-value__item {
  min-height: 96px;
  padding: 14px;
}

.team-value__item + .team-value__item {
  border-left: 0;
}

.team-value__item:nth-child(2n) {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.team-value__item:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
