.testimonials-v2 {
  --testimonials-accent: #e7fa47;
  color: #fff;
  background: #000;
  border-top: 1px solid #1f1f1f;
}

.testimonials-v2__inner {
  width: calc(100% - (var(--layout-gutter) * 2));
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-block: clamp(72px, 8.33vw, 120px);
}

.testimonials-v2__header {
  width: min(100%, 518px);
  margin-bottom: 41px;
}

.testimonials-v2__eyebrow {
  margin: 0 0 12px;
  color: #ababab;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
}

.testimonials-v2__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 3.33vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.testimonials-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.67vw, 24px);
}

.testimonial-card-v2 {
  position: relative;
  min-width: 0;
  height: 600px;
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 16px;
  background: #111;
  isolation: isolate;
  transition: border-color .25s ease, transform .25s ease;
}

.testimonial-card-v2__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  transform: scale(1.01);
  transition: filter .3s ease, transform .45s ease;
}

.testimonial-card-v2__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .2) 65%, #000 100%);
  pointer-events: none;
}

.testimonial-card-v2__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.testimonial-card-v2__play img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.testimonial-card-v2__content {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.testimonial-card-v2__tag {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-bottom: 8px;
  padding: 2px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .25);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.testimonial-card-v2__content h3,
.testimonial-card-v2__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .04em;
}

.testimonial-card-v2__content h3 {
  color: #fff;
  font-weight: 600;
}

.testimonial-card-v2__content p {
  margin-top: 4px;
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
}

.testimonial-card-v2__equalizer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5px;
  width: 24px;
  height: 24px;
  margin-top: 10px;
}

.testimonial-card-v2__equalizer > span {
  display: block;
  width: 2px;
  border-radius: 999px;
  background: #919292;
  transform-origin: center;
  transition: background-color .2s ease;
}

.testimonial-card-v2__equalizer > span:nth-child(1) { height: 6px; }
.testimonial-card-v2__equalizer > span:nth-child(2) { height: 13px; }
.testimonial-card-v2__equalizer > span:nth-child(3) { height: 18px; }
.testimonial-card-v2__equalizer > span:nth-child(4) { height: 11px; }
.testimonial-card-v2__equalizer > span:nth-child(5) { height: 7px; }

.testimonial-card-v2:hover,
.testimonial-card-v2:focus-within,
.testimonial-card-v2.is-playing {
  border-color: var(--testimonials-accent);
}

/*.testimonial-card-v2:hover .testimonial-card-v2__media,*/

.testimonial-card-v2:focus-within .testimonial-card-v2__media,
.testimonial-card-v2.is-playing .testimonial-card-v2__media {
  filter: grayscale(0);
  transform: scale(1.035);
}

.testimonial-card-v2:hover .testimonial-card-v2__tag,
.testimonial-card-v2:focus-within .testimonial-card-v2__tag,
.testimonial-card-v2.is-playing .testimonial-card-v2__tag {
  color: var(--testimonials-accent);
  border-color: var(--testimonials-accent);
  background: rgba(231, 250, 71, .1);
}

.testimonial-card-v2:hover .testimonial-card-v2__equalizer > span,
.testimonial-card-v2:focus-within .testimonial-card-v2__equalizer > span,
.testimonial-card-v2.is-playing .testimonial-card-v2__equalizer > span {
  background: var(--testimonials-accent);
  animation: testimonial-equalizer 640ms ease-in-out infinite alternate;
}

.testimonial-card-v2:hover .testimonial-card-v2__equalizer > span:nth-child(2),
.testimonial-card-v2:focus-within .testimonial-card-v2__equalizer > span:nth-child(2),
.testimonial-card-v2.is-playing .testimonial-card-v2__equalizer > span:nth-child(2) { animation-duration: 480ms; animation-delay: -160ms; }

.testimonial-card-v2:hover .testimonial-card-v2__equalizer > span:nth-child(3),
.testimonial-card-v2:focus-within .testimonial-card-v2__equalizer > span:nth-child(3),
.testimonial-card-v2.is-playing .testimonial-card-v2__equalizer > span:nth-child(3) { animation-duration: 720ms; animation-delay: -360ms; }

.testimonial-card-v2:hover .testimonial-card-v2__equalizer > span:nth-child(4),
.testimonial-card-v2:focus-within .testimonial-card-v2__equalizer > span:nth-child(4),
.testimonial-card-v2.is-playing .testimonial-card-v2__equalizer > span:nth-child(4) { animation-duration: 540ms; animation-delay: -80ms; }

.testimonial-card-v2:hover .testimonial-card-v2__equalizer > span:nth-child(5),
.testimonial-card-v2:focus-within .testimonial-card-v2__equalizer > span:nth-child(5),
.testimonial-card-v2.is-playing .testimonial-card-v2__equalizer > span:nth-child(5) { animation-duration: 800ms; animation-delay: -420ms; }

.testimonial-card-v2__play:hover {
  background: rgba(231, 250, 71, .65);
  transform: translate(-50%, -50%) scale(1.06);
}

.testimonial-card-v2__play:focus-visible {
  outline: 3px solid var(--testimonials-accent);
  outline-offset: 4px;
}

.testimonial-card-v2.is-playing .testimonial-card-v2__play {
  opacity: 0;
}

.testimonial-card-v2__play.play-full {
    border: 0 !important;
    background: transparent;
    transform: unset !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
}
.testimonial-card-v2__play.play-full span {
    width: 72px;
    height: 72px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}
.testimonial-card-v2__play.play-full:hover span {
    background: rgba(231, 250, 71, .65);
    transform: scale(1.06);
}
.testimonial-card-v2__play.play-full span:focus-visible {
  outline: 3px solid var(--testimonials-accent);
  outline-offset: 4px;
}
@keyframes testimonial-equalizer {
  0% { transform: scaleY(.42); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(.68); }
}

@media (max-width: 1439px) {
    .testimonial-card-v2 {
        height: 510px;
    }
}
@media (max-width: 1279px) {
    .testimonial-card-v2 {
        height: 460px;
    }
}
@media (max-width: 1199px) {
  .testimonials-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card-v2 {
    height: min(670px, 72vw);
    min-height: 560px;
  }
}

@media (max-width: 639px) {
  .testimonials-v2__header h2 br {
    display: none;
  }

  .testimonials-v2__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card-v2 {
    height: min(670px, 156vw);
    min-height: 520px;
  }

  .testimonial-card-v2__content {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card-v2,
  .testimonial-card-v2::after,
  .testimonial-card-v2__media,
  .testimonial-card-v2__play {
    transition: none;
  }

  .testimonial-card-v2__equalizer > span {
    animation: none !important;
  }
}


/** TESTIMONIAL VIDEO SLIDER CSS START **/
.testimonial-video-group {
    position: relative;
}
.testimonials-v2__grid.testimonial-video-slider {
    display: block;
    padding: 0 72px;
}
.no-slider .testimonials-v2__grid.testimonial-video-slider {
    display: grid;
    padding: 0;
}
.testimonial-video-slider .slick-slide {
    padding: 0 12px;
}
.no-slider .banner-small-blog-slider-action.testimonials-v2-action {
    display: none;
}
.testimonial-video-group .testimonials-v2-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #2b2b2b;
    border-color: #2b2b2b;
}
.testimonial-video-group .testimonials-v2-next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #2b2b2b;
    border-color: #2b2b2b;
}
.testimonial-video-group .carousel-control[class*="prev"] span,
.testimonial-video-group .carousel-control[class*="next"] span {
    color: #fff;
}
.testimonial-video-group .carousel-control:hover {
    border-color: #333;
    color: #fff;
    background: #333;
}
.testimonial-video-group .testimonial-card-v2 {
    height: 530px;
}
.no-slider.testimonial-video-group .testimonial-card-v2 {
    height: 600px;
}
@media (max-width: 1439px) {
    .testimonial-video-group .testimonial-card-v2 {
        height: 460px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: 510px;
    }
}

@media (max-width: 1279px) {
    .testimonial-video-group .testimonial-card-v2 {
        height: 420px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: 460px;
    }
}
@media (max-width: 1199px) {
    .testimonials-v2__grid.testimonial-video-slider {
        padding: 0 55px;
    }
    .testimonial-video-group .testimonial-card-v2 {
        height: min(460px, 72vw);
        min-height: 480px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: min(670px, 72vw);
        min-height: 560px;
    }
}
@media (max-width: 1023px) {
    .testimonial-video-group .testimonial-card-v2 {
        height: min(550px, 72vw);
        min-height: 550px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: min(670px, 72vw);
        min-height: 560px;
    }
}
@media (max-width: 767px) {
    .testimonial-video-group .testimonial-card-v2 {
        height: min(400px, 72vw);
        min-height: 400px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: min(670px, 156vw);
        min-height: 520px;
    }
}
@media (max-width: 575px) {
    .testimonial-video-group .testimonial-card-v2 {
        height: min(440px, 72vw);
        min-height: 440px;
    }
    .testimonials-v2__grid.testimonial-video-slider {
        padding: 0 35px;
    }
    .testimonial-video-group .testimonials-v2-next, .testimonial-video-group .testimonials-v2-prev {
        width: 40px;
        height: 40px;
    }
    .no-slider.testimonial-video-group .testimonial-card-v2 {
        height: min(670px, 156vw);
        min-height: 520px;
    }
}
/** TESTIMONIAL VIDEO SLIDER CSS END **/
