.nvf-team,
.nvf-team * {
  box-sizing: border-box;
}

.nvf-team {
  --nvf-team-gap: 16px;
  --nvf-team-slides: 3;
  position: relative;
  width: 100%;
  overflow: clip;
  background: #f5f2ee;
  color: #101010;
}

.nvf-team__inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.nvf-team__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: end;
  gap: 36px;
}

.nvf-team__main-media {
  position: relative;
  width: 100%;
  min-height: 860px;
  overflow: hidden;
  background: #d8d8d8;
  border-radius: 12px;
  isolation: isolate;
}

.nvf-team__main-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
}

.nvf-team__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
}

.nvf-team__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 20px;
  color: #b0263e;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nvf-team__title {
  margin: 0;
  color: #101010;
  font-size: clamp(34px, 3.2vw, 58px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 800;
}

.nvf-team__body {
  max-width: 760px;
  color: #1d1d1d;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
}

.nvf-team__body p {
  margin: 0 0 1em;
}

.nvf-team__body p:last-child {
  margin-bottom: 0;
}

.nvf-team__statement {
  max-width: 700px;
  color: #101010;
  font-size: clamp(24px, 2.1vw, 38px);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 400;
}

.nvf-team__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #243f6b;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.nvf-team__button:hover,
.nvf-team__button:focus-visible {
  color: #fff;
  background: #b0263e;
  transform: translateY(-1px);
}

.nvf-team__button-icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.nvf-team__cards-shell {
  width: 100%;
  min-width: 0;
  overflow: visible;
  margin-top: 22px;
}

.nvf-team__cards {
  --nvf-team-gap: 16px;
  --nvf-team-slides: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--nvf-team-gap);
  width: 100%;
}

.nvf-team__member-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background: #243f6b;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
  transform: translateZ(0);
}

.nvf-team__member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 22%, rgba(0,0,0,.54) 100%);
}

.nvf-team__member-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.nvf-team__member-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}

.nvf-team__member-card:hover .nvf-team__member-media img,
.nvf-team__member-card:focus-visible .nvf-team__member-media img {
  transform: scale(1.055);
}

.nvf-team__member-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
}

.nvf-team__member-name {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}

.nvf-team__member-role {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .nvf-team__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  }

  .nvf-team__main-media {
    min-height: 660px;
  }

  .nvf-team__member-card {
    min-height: 360px;
  }
}

@media (max-width: 991px) {
  .nvf-team__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nvf-team-mobile-content_first .nvf-team__content {
    order: 1;
  }

  .nvf-team-mobile-content_first .nvf-team__main-media {
    order: 2;
  }

  .nvf-team-mobile-image_first .nvf-team__main-media {
    order: 1;
  }

  .nvf-team-mobile-image_first .nvf-team__content {
    order: 2;
  }

  .nvf-team__main-media {
    min-height: 620px;
  }

  .nvf-team__content {
    width: 100%;
  }

  .nvf-team__cards-shell {
    overflow: visible;
    width: 100%;
  }

  .nvf-team__cards {
    display: flex;
    gap: var(--nvf-team-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
    padding-right: 18px;
  }

  .nvf-team__cards::-webkit-scrollbar {
    display: none;
  }

  .nvf-team__member-card {
    flex: 0 0 calc((100% / var(--nvf-team-slides)) - var(--nvf-team-gap));
    min-width: calc((100% / var(--nvf-team-slides)) - var(--nvf-team-gap));
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .nvf-team__main-media {
    min-height: 420px;
  }

  .nvf-team__eyebrow {
    padding: 9px 14px;
    font-size: 10px;
    letter-spacing: .09em;
  }

  .nvf-team__body {
    font-size: 15px;
    line-height: 1.72;
  }

  .nvf-team__button {
    width: 100%;
    min-height: 48px;
  }

  .nvf-team__cards-shell {
    margin-top: 10px;
  }

  .nvf-team__member-card {
    min-height: 380px;
  }

  .nvf-team__member-name {
    font-size: 20px;
  }

  .nvf-team__member-role {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvf-team__button,
  .nvf-team__member-media img {
    transition: none !important;
  }
}
