.nvf-team-cards {
  --nvf-team-cards-max-width: 1800px;
  --nvf-team-cards-header-width: 620px;
  --nvf-team-cards-footer-width: 520px;
  --nvf-team-cards-gap: 12px;
  --nvf-team-cards-height: 500px;
  --nvf-team-header-gap: 32px;
  --nvf-team-footer-gap: 28px;
  --nvf-team-title: #151515;
  --nvf-team-text: #252525;
  --nvf-team-muted: rgba(37, 37, 37, 0.82);
  --nvf-team-accent: #b12d47;
  --nvf-team-card-text: #fff;
  --nvf-team-overlay: rgba(10, 10, 10, 0.72);
  --nvf-team-nav-bg: #fff;
  --nvf-team-nav-color: #151515;
  --nvf-team-pagination: #b12d47;
  position: relative;
  width: 100%;
  overflow: clip;
  color: var(--nvf-team-text);
  background: #e9e7e1;
}

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

.nvf-team-cards__inner {
  width: 100%;
  max-width: var(--nvf-team-cards-max-width);
  margin: 0 auto;
}

.nvf-team-cards__header {
  width: 100%;
  max-width: var(--nvf-team-cards-header-width);
  margin: 0 auto var(--nvf-team-header-gap);
  text-align: center;
}

.nvf-team-cards__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin: 0 0 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid color-mix(in srgb, var(--nvf-team-accent) 55%, transparent);
  border-radius: 999px;
  color: var(--nvf-team-accent);
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.nvf-team-cards__title {
  margin: 0 0 0.8rem;
  color: var(--nvf-team-title);
  font-size: clamp(2rem, 1.45rem + 1.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.nvf-team-cards__intro-text {
  color: var(--nvf-team-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.nvf-team-cards__intro-text p,
.nvf-team-cards__footer p,
.nvf-team-card__description p {
  margin: 0;
}

.nvf-team-cards__slider-wrap {
  position: relative;
  width: 100%;
}

.nvf-team-cards__slider {
  width: 100%;
  overflow: hidden;
}

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

.nvf-team-cards__slide {
  min-width: 0;
  height: var(--nvf-team-cards-height);
}

.nvf-team-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  color: var(--nvf-team-card-text);
  background: #c9c9c9;
  text-decoration: none;
}

.nvf-team-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--nvf-card-x, 50%) var(--nvf-card-y, 50%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.nvf-team-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--nvf-team-overlay) 0%,
    color-mix(in srgb, var(--nvf-team-overlay) 72%, transparent) 24%,
    rgba(10, 10, 10, 0.14) 55%,
    transparent 78%
  );
}

.nvf-team-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--nvf-team-card-text);
}

.nvf-team-card__name {
  margin: 0 0 0.6rem;
  color: inherit;
  font-size: clamp(1.6rem, 1.3rem + 0.7vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.nvf-team-card__description {
  max-width: 32rem;
  color: color-mix(in srgb, var(--nvf-team-card-text) 88%, transparent);
  font-size: 0.93rem;
  line-height: 1.65;
}

.nvf-team-card__specialism {
  margin-top: 0.75rem;
  color: var(--nvf-team-card-text);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.nvf-team-card:hover .nvf-team-card__image,
.nvf-team-card:focus-visible .nvf-team-card__image {
  transform: scale(1.035);
}

.nvf-team-cards__footer {
  width: 100%;
  max-width: var(--nvf-team-cards-footer-width);
  margin: var(--nvf-team-footer-gap) auto 0;
  color: var(--nvf-team-muted);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
}

.nvf-team-cards__nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1rem;
}

.nvf-team-cards__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  appearance: none;
  color: var(--nvf-team-nav-color);
  background: var(--nvf-team-nav-bg);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}

.nvf-team-cards__nav-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.nvf-team-cards__pagination {
  position: static !important;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.nvf-team-cards__pagination .swiper-pagination-bullet,
.nvf-team-cards__pagination .nvf-team-cards__bullet {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 !important;
  border: 0;
  border-radius: 50%;
  opacity: 0.32;
  background: var(--nvf-team-pagination);
}

.nvf-team-cards__pagination .swiper-pagination-bullet-active,
.nvf-team-cards__pagination .nvf-team-cards__bullet.is-active {
  opacity: 1;
}

/* Swiper and native-slider states */
.nvf-team-cards.is-swiper-active .nvf-team-cards__track,
.nvf-team-cards.is-native-slider .nvf-team-cards__track {
  display: flex;
  gap: 0;
}

.nvf-team-cards.is-swiper-active .nvf-team-cards__slide,
.nvf-team-cards.is-native-slider .nvf-team-cards__slide {
  flex: 0 0 auto;
}

.nvf-team-cards.is-swiper-active .nvf-team-cards__nav,
.nvf-team-cards.is-native-slider .nvf-team-cards__nav,
.nvf-team-cards.is-swiper-active .nvf-team-cards__pagination,
.nvf-team-cards.is-native-slider .nvf-team-cards__pagination {
  display: flex;
}

.nvf-team-cards.is-native-slider .nvf-team-cards__slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nvf-team-cards.is-native-slider .nvf-team-cards__slider::-webkit-scrollbar {
  display: none;
}

.nvf-team-cards.is-native-slider .nvf-team-cards__track {
  width: max-content;
  gap: var(--nvf-team-cards-gap);
}

.nvf-team-cards.is-native-slider .nvf-team-cards__slide {
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .nvf-team-cards__slider {
    overflow: visible;
  }

  .nvf-team-cards:not(.is-swiper-active):not(.is-native-slider) .nvf-team-cards__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nvf-team-cards__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .nvf-team-cards__intro-text,
  .nvf-team-cards__footer {
    font-size: 0.95rem;
  }

  .nvf-team-cards:not(.is-swiper-active):not(.is-native-slider) .nvf-team-cards__track {
    grid-template-columns: 1fr;
  }

  .nvf-team-card__name {
    font-size: 1.75rem;
  }

  .nvf-team-card__description {
    font-size: 0.9rem;
  }
}
