.nexus-video-testimonials {
  --nvt-blue: #1c75bc;
  --nvt-panel: #edf8ff;
  position: relative;
  width: calc(100% - 128px);
  margin: 0 auto;
}
.nexus-video-testimonials__slider {
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}
.nexus-video-testimonials__slide {
  display: grid;
  grid-template-columns: minmax(320px, 38.5%) minmax(0, 61.5%);
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.nexus-video-testimonials__quote-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 420px;
  padding: 50px 40px;
  background: var(--nvt-panel);
}
.nexus-video-testimonials__quote-mark {
  position: absolute;
  top: 24px;
  left: 36px;
  color: var(--nvt-blue);
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
  width: 40px;
}
.nexus-video-testimonials__portrait {
  align-self: center;
  width: 100px;
  height: 100px;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.nexus-video-testimonials__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nexus-video-testimonials blockquote {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  color: #231f20;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}
.nexus-video-testimonials__person {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  color: var(--nvt-blue);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}
.nexus-video-testimonials__person strong {
  font-weight: 800;
}
.nexus-video-testimonials__person span {
  color: #231f20;
  font-size: 15px;
  font-weight: 500;
}
.nexus-video-testimonials__media {
  position: relative;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}
.nexus-video-testimonials__media iframe,
.nexus-video-testimonials__media video,
.nexus-video-testimonials__media > div:not(.nexus-video-testimonials__video-placeholder) {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  object-fit: cover;
}
.nexus-video-testimonials__video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #1c75bc, #1eaae9);
}
.nexus-video-testimonials__prev, .nexus-video-testimonials__next {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nexus-video-testimonials__prev img, .nexus-video-testimonials__next img {
  display: block;
  width: 40px;
  height: 40px;
}
.nexus-video-testimonials__prev:hover, .nexus-video-testimonials__prev:focus, .nexus-video-testimonials__next:hover, .nexus-video-testimonials__next:focus {
  background: transparent;
  transform: translateY(-50%) scale(1.05);
}
.nexus-video-testimonials__prev.swiper-button-disabled, .nexus-video-testimonials__next.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}
.nexus-video-testimonials__prev {
  left: -56px;
}
.nexus-video-testimonials__next {
  right: -56px;
}
.nexus-video-testimonials__notice {
  padding: 16px;
  border: 1px dashed #bbb;
  text-align: center;
}
@media (max-width: 1024px) {
  .nexus-video-testimonials {
    width: 100%;
  }
  .nexus-video-testimonials__slide {
    grid-template-columns: minmax(290px, 42%) minmax(0, 58%);
  }
  .nexus-video-testimonials__quote-panel {
    min-height: 360px;
    padding: 40px;
  }
  .nexus-video-testimonials__media, .nexus-video-testimonials__media iframe, .nexus-video-testimonials__media video, .nexus-video-testimonials__video-placeholder {
    min-height: 360px;
  }
  .nexus-video-testimonials__prev, .nexus-video-testimonials__next {
    display: none;
  }
}
@media (max-width: 767px) {
  .nexus-video-testimonials {
    width: calc(100% - 32px);
  }
  .nexus-video-testimonials__person {
    font-size: 14px;
  }
  .nexus-video-testimonials__person span {
    font-size: 12px;
  }
  .nexus-video-testimonials__slider {
    border-radius: 20px;
  }
  .nexus-video-testimonials__slide {
    display: flex;
    flex-direction: column-reverse;
  }
  .nexus-video-testimonials__quote-panel {
    min-height: 0;
    padding: 32px 24px;
  }
  .nexus-video-testimonials__quote-mark {
    top: 20px;
    left: 24px;
    width: 32px;
  }
  .nexus-video-testimonials__portrait {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
  }
  .nexus-video-testimonials blockquote {
    margin-bottom: 22px;
    font-size: 15px;
  }
  .nexus-video-testimonials__media, .nexus-video-testimonials__media iframe, .nexus-video-testimonials__media video, .nexus-video-testimonials__video-placeholder {
    min-height: 0;
    aspect-ratio: 16/9;
  }
}

.nexus-text-testimonials {
  width: 100%;
}
.nexus-text-testimonials__slider {
  width: 100%;
  overflow: hidden;
  padding: 4px 4px 12px;
}
.nexus-text-testimonials__card {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 28px 28px 22px;
  border: 1px solid #8ab0cc;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.nexus-text-testimonials__quote-mark {
  color: #1c75bc;
  font-family: Georgia, serif;
  width: 40px;
  font-weight: 700;
  line-height: 1;
}
.nexus-text-testimonials__lead {
  margin: 20px 0 16px;
  color: #1c75bc;
  font-size: 24px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.16;
  padding: 0;
  border: 0;
}
.nexus-text-testimonials__body {
  color: #231f20;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.nexus-text-testimonials__body p {
  margin: 0 0 14px;
}
.nexus-text-testimonials__body p:last-child {
  margin-bottom: 0;
}
.nexus-text-testimonials__author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
}
.nexus-text-testimonials__portrait {
  flex: 0 0 94px;
  width: 94px;
  height: 94px;
  overflow: hidden;
  border-radius: 50%;
  background: #edf8ff;
}
.nexus-text-testimonials__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nexus-text-testimonials__author-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #231f20;
  font-size: 14px;
  line-height: 1.25;
}
.nexus-text-testimonials__author-details strong {
  color: #1c75bc;
  font-size: 18px;
  font-weight: 800;
}
.nexus-text-testimonials__notice {
  padding: 16px;
  border: 1px dashed #bbb;
  text-align: center;
}
@media (max-width: 1024px) {
  .nexus-text-testimonials__lead {
    font-size: 23px;
  }
}
@media (max-width: 767px) {
  .nexus-text-testimonials__card {
    padding: 22px;
    border-radius: 18px;
  }
  .nexus-text-testimonials__lead {
    font-size: 18px;
  }
  .nexus-text-testimonials__body {
    font-size: 14px;
  }
  .nexus-text-testimonials__portrait {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .nexus-text-testimonials__author {
    gap: 14px;
  }
  .nexus-text-testimonials__author-details {
    font-size: 12px;
  }
  .nexus-text-testimonials__author-details strong {
    font-size: 16px;
  }
  .nexus-text-testimonials__quote-mark {
    width: 32px;
  }
}

.nexus-video-testimonials__pagination.swiper-pagination,
.nexus-text-testimonials__pagination.swiper-pagination {
  display: none;
}
@media (max-width: 1024px) {
  .nexus-video-testimonials__pagination.swiper-pagination,
  .nexus-text-testimonials__pagination.swiper-pagination {
    position: relative;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .nexus-video-testimonials__pagination.swiper-pagination.swiper-pagination-lock,
  .nexus-text-testimonials__pagination.swiper-pagination.swiper-pagination-lock {
    display: none;
  }
  .nexus-video-testimonials__pagination.swiper-pagination .swiper-pagination-bullet,
  .nexus-text-testimonials__pagination.swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    background: #1c75bc;
    opacity: 0.35;
  }
  .nexus-video-testimonials__pagination.swiper-pagination .swiper-pagination-bullet-active,
  .nexus-text-testimonials__pagination.swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }
}

.rev-nav {
  cursor: pointer;
}
.rev-nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
