.zw-product-header {
  background-color: #1d0f48;
}

/* Banner */
.zwc-banner-wrap {
  position: relative;
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #1d0f48;
}

.zwc-banner-wrap::before {
  content: "";
  position: absolute;
  top: 74px;
  left: -46px;
  width: 130px;
  height: 130px;
  background: url("/sites/zweb/images/affiliate/testimonials/deco-left.svg")
    no-repeat center / 100% 100%;
  transform: rotate(-15.08deg);
}

.zwc-banner-wrap::after {
  content: "";
  position: absolute;
  top: 230px;
  right: 0;
  width: 93px;
  height: 93px;
  background: url("/sites/zweb/images/affiliate/testimonials/deco-right.svg")
    no-repeat center / 100% 100%;
}

.zwc-banner-wrap .content-wrap {
  max-width: 1064px;
}

.zwc-banner-wrap .content-wrap > div {
  position: relative;
  padding: 68px 0 93px;
}

.zwc-banner-wrap .content-wrap > div::before {
  content: "";
  position: absolute;
  top: 103px;
  left: 150px;
  width: 74px;
  height: 46px;
  background: url("/sites/zweb/images/affiliate/testimonials/banner-ball.svg")
    no-repeat center / 100% 100%;
}

.zwc-banner-wrap .zwc-ods-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.zwc-banner-wrap .zwc-ods-title h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-family: var(--primaryfont-bold);
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.45px;
  text-transform: uppercase;
  color: #fff;
}

.zwc-banner-wrap .zwc-ods-title h1::after {
  content: "";
  width: 139px;
  height: 4px;
  background: url("/sites/zweb/images/affiliate/testimonials/title-underline.svg")
    no-repeat center / 100% 100%;
}

.zwc-banner-wrap .zwc-ods-title p {
  max-width: 470px;
  margin: 0 0 14px;
  font-family: var(--zf-primary-medium);
  font-size: 19px;
  line-height: 1.4;
  color: #fff;
  text-wrap: balance;
}

/* Testimonial video grid */
.zwc-testi-wrap {
  background-color: #fff;
}

.zwc-testi-wrap .content-wrap {
  max-width: 876px;
}

.zwc-testi-wrap .zwc-testi-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 100px 0;
}

.zwc-testi-wrap .zwc-testi-grid {
  position: relative;
  max-height: min(975px, calc(90vw * 1.113));
  overflow: hidden;
}

.zwc-testi-wrap .zwc-testi-cols {
  display: flex;
  gap: 14px;
}

.zwc-testi-wrap .zwc-testi-grid:focus {
  outline: none;
}

.zwc-testi-wrap .zwc-testi-grid::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: min(718px, calc(90vw * 0.82));
  pointer-events: none;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 50.88%,
    rgba(255, 255, 255, 0.82) 63.96%,
    rgba(255, 255, 255, 0.98) 73.31%,
    rgb(255, 255, 255) 76.88%
  );
  transition: opacity 0.9s ease;
}

.zwc-testi-wrap .zwc-testi-cols > ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zwc-testi-wrap .zwc-testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 24px;
  cursor: pointer;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
}

.zwc-testi-wrap .zwc-testi-card[data-onscroll] {
  /* opacity: 0; */
  /* transform: translateY(60px); */
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.zwc-testi-wrap .zwc-testi-cols > ul:nth-child(2) .zwc-testi-card {
  transition-delay: 0.15s;
}

.zwc-testi-wrap .zwc-testi-cols > ul:nth-child(3) .zwc-testi-card {
  transition-delay: 0.3s;
}

.zwc-testi-wrap .zwc-testi-card.zwe-op {
  opacity: 1;
  transform: translateY(0);
}

.zwc-testi-wrap .zwc-testi-card img {
  display: block;
  width: 100%;
  height: auto;
}

.zwc-testi-wrap .zwc-testi-card .zwc-testi-play {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.zwc-testi-wrap .zwc-testi-card .zwc-testi-play::before {
  content: "";
  position: absolute;
  inset: 8.5px;
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: #fff8f3;
  box-shadow: 0 1px 9px rgba(174, 122, 82, 0.29);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.zwc-testi-wrap .zwc-testi-card .zwc-testi-play::after {
  content: "";
  position: relative;
  left: 1px;
  width: 11px;
  height: 12.5px;
  background-color: #ed4860;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10.82 12.4'%3E%3Cpath d='M9.88 4.56c1.25.72 1.25 2.54 0 3.26L2.82 11.9C1.57 12.62 0 11.71 0 10.27V2.12C0 .67 1.57-.24 2.82.49z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10.82 12.4'%3E%3Cpath d='M9.88 4.56c1.25.72 1.25 2.54 0 3.26L2.82 11.9C1.57 12.62 0 11.71 0 10.27V2.12C0 .67 1.57-.24 2.82.49z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  transition: background-color 0.3s ease;
}

.zwc-testi-wrap .zwc-testi-card:hover .zwc-testi-play::before,
.zwc-testi-wrap
  .zwc-testi-card:focus-visible:not(.zwc-pointer-focus)
  .zwc-testi-play::before {
  border-color: #ed4860;
  background-color: #ed4860;
}

.zwc-testi-wrap .zwc-testi-card:hover .zwc-testi-play::after,
.zwc-testi-wrap
  .zwc-testi-card:focus-visible:not(.zwc-pointer-focus)
  .zwc-testi-play::after {
  background-color: #fff;
}

.zwc-testi-wrap
  .zwc-testi-card:focus-visible:not(.zwc-pointer-focus)
  .zwc-testi-play {
  outline: 2px solid #fff;
  outline-offset: -12px;
}

.zwc-testi-wrap .zwc-testi-card.zwc-pointer-focus:focus-visible {
  outline: none;
  box-shadow: none;
}

.zwc-testi-wrap .zwc-testi-card.zwc-testi-faded {
  pointer-events: none;
}

.zwc-testi-wrap .zwc-testi-card figcaption {
  position: absolute;
  bottom: 15px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 10px 0 11px;
  border-left: 1.2px solid #e86363;
}

.zwc-testi-wrap .zwc-testi-card figcaption p {
  margin: 0;
  font-family: var(--primaryfont-bold);
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
}

.zwc-testi-wrap .zwc-testi-card figcaption p + p {
  font-family: var(--primaryfont-regular);
  font-size: 9.5px;
  color: #e5e5e5;
}

.zwc-testi-wrap .zwc-testi-more {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  margin-top: -82px;
  padding: 0;
  border: 0;
  background-color: transparent;
  font-family: var(--zf-primary-medium);
  font-size: 19px;
  line-height: 1.4;
  color: #1b21ef;
  cursor: pointer;
}

.zwc-testi-wrap .zwc-testi-more::after {
  content: "\2192";
}

.zwc-testi-wrap .zwc-testi-inner.is-expanded .zwc-testi-grid::after {
  opacity: 0;
}

.zwc-testi-wrap .zwc-testi-inner.is-complete .zwc-testi-grid {
  max-height: none;
}

/* Spotlight carousel */
.zwc-spotlight-wrap {
  padding: 121px 20px 66px;
  background-image: linear-gradient(
    106.22deg,
    rgb(255, 246, 246) 3.55%,
    rgb(255, 248, 242) 96.25%
  );
}

.zwc-spotlight-wrap .content-wrap {
  max-width: 1249px;
}

.zwc-spotlight-wrap .zwc-spotlight-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.zwc-spotlight-wrap .zwc-quote-icon {
  position: relative;
  display: flex;
  width: 65px;
  height: 60px;
  background: url("/sites/zweb/images/affiliate/testimonials/quote-mark.svg")
    no-repeat center / 65px 52px;
}

.zwc-spotlight-wrap .zwc-quote-icon::before,
.zwc-spotlight-wrap .zwc-quote-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 137px;
  height: 1px;
  background-color: #d1d1d1;
}

.zwc-spotlight-wrap .zwc-quote-icon::before {
  right: calc(100% + 24px);
}

.zwc-spotlight-wrap .zwc-quote-icon::after {
  left: calc(100% + 24px);
}

.zwc-spotlight-wrap .zwc-spotlight-head p {
  margin: 0;
  font-family: var(--primaryfont-semibold);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #26262e;
}

.zwc-spotlight-wrap .zwc-spotlight-head h2 {
  margin: 0;
  font-family: var(--primaryfont-bold);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.44px;
  color: #1a1a1f;
  text-wrap: balance;
}

.zwc-spotlight-wrap .zwc-spotlight-card {
  position: relative;
  max-width: 1162px;
  margin: 0 auto;
  border-radius: 24px;
}

.zwc-spotlight-wrap
  .zwc-spotlight-slides:not(.slick-initialized)
  .zwc-spotlight-slide
  + .zwc-spotlight-slide {
  display: none;
}

.zwc-spotlight-wrap .zwc-spotlight-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 92px 70px;
}

.zwc-spotlight-wrap .zwc-spotlight-figure {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  width: 265px;
  height: 254px;
}

.zwc-spotlight-wrap .zwc-spotlight-figure::before,
.zwc-spotlight-wrap .zwc-spotlight-figure::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.zwc-spotlight-wrap .zwc-spotlight-figure::before {
  top: -14px;
  left: -6px;
  width: 98px;
  height: 79px;
  background-image: url("/sites/zweb/images/affiliate/testimonials/dots-top.svg");
}

.zwc-spotlight-wrap .zwc-spotlight-figure::after {
  top: 198px;
  left: 150px;
  width: 104px;
  height: 84px;
  background-image: url("/sites/zweb/images/affiliate/testimonials/dots-bottom.svg");
}

.zwc-spotlight-wrap .zwc-spotlight-avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 254px;
  height: 254px;
  margin-left: 11px;
  padding: 32px 8px 0 21px;
  background: url("/sites/zweb/images/affiliate/testimonials/avatar-ring.svg")
    no-repeat center / 100% 100%;
}

.zwc-spotlight-wrap .zwc-spotlight-avatar::before,
.zwc-spotlight-wrap .zwc-spotlight-avatar::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.zwc-spotlight-wrap .zwc-spotlight-avatar::before {
  top: 35px;
  left: 29px;
  background-color: #5441af;
}

.zwc-spotlight-wrap .zwc-spotlight-avatar::after {
  top: 234px;
  left: 210px;
  background-color: #f96331;
}

.zwc-spotlight-wrap .zwc-spotlight-avatar img {
  clip-path: circle(56.44% at 47.11% 42.22%);
}

.zwc-spotlight-wrap .zwc-spotlight-avatar .zwc-spotlight-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: none;
}

.zwc-spotlight-wrap .zwc-spotlight-figure[data-onscroll] {
  /* opacity: 0; */
  /* transform: translateY(60px); */
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.zwc-spotlight-wrap .zwc-spotlight-figure.zwe-op {
  opacity: 1;
  transform: translateY(0);
}

.zwc-spotlight-wrap .zwc-spotlight-slides figure {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 608px;
  margin: 0;
}

.zwc-spotlight-wrap .zwc-spotlight-slides blockquote {
  margin: 0;
}

.zwc-spotlight-wrap .zwc-spotlight-slides blockquote p {
  margin: 0;
  font-family: var(--primaryfont-regular);
  font-size: 24px;
  line-height: 1.6;
  color: #26262e;
}

/* Right padding keeps the name clear of the dots */
.zwc-spotlight-wrap .zwc-spotlight-slides figcaption {
  display: flex;
  padding-right: 94px;
}

.zwc-spotlight-wrap .zwc-spotlight-slides figcaption > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.zwc-spotlight-wrap .zwc-spotlight-slides figcaption p {
  margin: 0;
  font-family: var(--primaryfont-bold);
  font-size: 17px;
  line-height: 1.2;
  color: #14141a;
}

.zwc-spotlight-wrap .zwc-spotlight-slides figcaption p + p {
  font-family: var(--primaryfont-regular);
  font-size: 15px;
  color: #737380;
}

/* Dots sit on the card, outside the sliding track, level with the name */
.zwc-spotlight-wrap .zwc-spotlight-dots {
  position: absolute;
  right: calc(max((100% - 929px) / 2, 70px) + 26px);
  bottom: 111px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zwc-spotlight-wrap .zwc-spotlight-dots li {
  display: flex;
}

.zwc-spotlight-wrap .zwc-spotlight-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #d9d9d9;
  cursor: pointer;
}

.zwc-spotlight-wrap .zwc-spotlight-dots .slick-active button {
  background-color: #e32636;
}

/* Laptop */
@media screen and (max-width: 1440px) {
  .zwc-banner-wrap .content-wrap > div {
    padding: 64px 0 88px;
  }

  .zwc-banner-wrap .content-wrap > div::before {
    top: 99px;
  }
}

/* Large tablet */
@media screen and (max-width: 1280px) {
  .zwc-banner-wrap .content-wrap > div {
    padding: 60px 0 82px;
  }

  .zwc-banner-wrap .content-wrap > div::before {
    top: 95px;
  }

  .zwc-spotlight-wrap {
    padding-top: 90px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slide {
    gap: 48px;
    padding: 80px 40px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-dots {
    right: calc(max((100% - 921px) / 2, 40px) + 26px);
    bottom: 99px;
  }
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .zwc-banner-wrap::before,
  .zwc-banner-wrap::after,
  .zwc-banner-wrap .content-wrap > div::before {
    display: none;
  }

  .zwc-banner-wrap .content-wrap > div {
    padding: 56px 0 72px;
  }

  .zwc-testi-wrap .zwc-testi-inner {
    padding: 80px 0;
  }

  .zwc-spotlight-wrap {
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-head h2 {
    font-size: 32px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slide {
    flex-direction: column;
    gap: 40px;
    padding: 50px 0 0;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slides figure {
    max-width: 640px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slides blockquote p {
    text-align: center;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slides figcaption {
    justify-content: center;
    padding: 0 0 46px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slides figcaption > div {
    align-items: center;
  }

  .zwc-spotlight-wrap .zwc-spotlight-dots {
    right: 0;
    bottom: 8px;
    left: 0;
    justify-content: center;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .zwc-banner-wrap .content-wrap > div {
    padding: 48px 0 56px;
  }

  .zwc-banner-wrap .zwc-ods-title h1 {
    font-size: 32px;
  }

  .zwc-banner-wrap .zwc-ods-title p {
    font-size: 17px;
  }

  .zwc-testi-wrap .zwc-testi-grid {
    max-height: calc(90vw - 14px);
  }

  .zwc-testi-wrap .zwc-testi-cols {
    display: block;
    columns: 2;
    column-gap: 14px;
  }

  .zwc-testi-wrap .zwc-testi-cols > ul {
    display: contents;
  }

  .zwc-testi-wrap .zwc-testi-cols li {
    break-inside: avoid;
    padding-bottom: 14px;
  }

  .zwc-testi-wrap .zwc-testi-grid::after {
    height: calc((90vw - 14px) * 0.62);
  }

  .zwc-testi-wrap .zwc-testi-card[data-onscroll] {
    transform: translateY(40px);
  }

  .zwc-testi-wrap .zwc-testi-card.zwe-op {
    transform: translateY(0);
  }

  .zwc-spotlight-wrap .zwc-spotlight-figure[data-onscroll] {
    transform: translateY(40px);
  }

  .zwc-spotlight-wrap .zwc-spotlight-figure.zwe-op {
    transform: translateY(0);
  }

  .zwc-testi-wrap .zwc-testi-more {
    margin-top: -64px;
    font-size: 17px;
  }

  .zwc-spotlight-wrap .zwc-quote-icon::before,
  .zwc-spotlight-wrap .zwc-quote-icon::after {
    width: 70px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-head p {
    font-size: 19px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-head h2 {
    font-size: 27px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-slides blockquote p {
    font-size: 18px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-figure {
    width: 210px;
    height: 202px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-figure::before,
  .zwc-spotlight-wrap .zwc-spotlight-figure::after {
    display: none;
  }

  .zwc-spotlight-wrap .zwc-spotlight-avatar {
    width: 202px;
    height: 202px;
    margin-left: 8px;
    padding: 25px 6px 0 17px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-avatar::before,
  .zwc-spotlight-wrap .zwc-spotlight-avatar::after {
    display: none;
  }
}

/* Small mobile */
@media screen and (max-width: 480px) {
  .zwc-banner-wrap .content-wrap > div {
    padding: 40px 0 48px;
  }

  .zwc-banner-wrap .zwc-ods-title h1 {
    font-size: 28px;
  }

  .zwc-banner-wrap .zwc-ods-title p {
    font-size: 15px;
  }

  .zwc-testi-wrap .zwc-testi-inner {
    padding: 60px 0;
    max-width: 330px;
    margin-inline: auto;
  }

  .zwc-testi-wrap .zwc-testi-grid {
    max-height: calc(90vw * 1.45);
  }

  .zwc-testi-wrap .zwc-testi-cols {
    columns: 1;
  }

  .zwc-testi-wrap .zwc-testi-grid::after {
    height: calc(90vw * 0.74);
  }

  .zwc-testi-wrap .zwc-testi-card figcaption p {
    font-size: 14px;
  }

  .zwc-testi-wrap .zwc-testi-card figcaption p + p {
    font-size: 11px;
  }

  .zwc-spotlight-wrap .zwc-quote-icon::before,
  .zwc-spotlight-wrap .zwc-quote-icon::after {
    width: 40px;
  }

  .zwc-spotlight-wrap .zwc-spotlight-head h2 {
    font-size: 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .zwc-testi-wrap .zwc-testi-grid::after,
  .zwc-testi-wrap .zwc-testi-card .zwc-testi-play::before,
  .zwc-testi-wrap .zwc-testi-card .zwc-testi-play::after,
  .zwc-testi-wrap .zwc-testi-card[data-onscroll],
  .zwc-spotlight-wrap .zwc-spotlight-figure[data-onscroll] {
    transition: none;
  }

  .zwc-testi-wrap .zwc-testi-card[data-onscroll],
  .zwc-spotlight-wrap .zwc-spotlight-figure[data-onscroll] {
    opacity: 1;
    transform: none;
  }
}
