{% import '../../css/variable/_variables.css' %}


.testimonialSliderModule {
  position: relative;
  overflow: hidden;
  background-color: ;
  text-align: center;
}


.testimonialSliderModule__shape {
  display: block;
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.testimonialSliderModule__shape--left {
  bottom: 0px;
  left: -33px;
  width: 241px;
  height: 258px;
  background-position: bottom left;
}

.testimonialSliderModule__shape--right {
  top: 0;
  right: -16px;
  width: 140px;
  height: 150px;
  background-position: top right;
}

/* ----------------------------------------------------------
Horizontal rule above the quote icon
---------------------------------------------------------- */
.testimonialSliderModule__rule-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.testimonialSliderModule__rule {
  width: 100%;
  max-width: 843px;
  border: none;
  border-top: 1px solid rgba(10, 35, 66, 0.10);
  margin: 0;
}

/* ----------------------------------------------------------
Quote icon
---------------------------------------------------------- */
.testimonialSliderModule__quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 120px;
  height: auto;
  color: ;
  position: relative;
  z-index: 2;
  /* Sit on top of the horizontal rule */
  margin-top: -30px;
  background-color: ;
  padding: 0 10px;
}
.testimonialSliderModule__quote-icon svg { width:100%; height:auto; }
/* ----------------------------------------------------------
Slider container
---------------------------------------------------------- */
.testimonialSliderModule__slider {
  max-width: 870px;
  margin: 30px auto 0;
}

/* ----------------------------------------------------------
Individual slide
---------------------------------------------------------- */
.testimonialSliderModule__slide {
  outline: none;
  text-align: center;
  padding: 0 20px;
}

/* ----------------------------------------------------------
Quote text
---------------------------------------------------------- */
.testimonialSliderModule__quote {
  line-height: 1.4;
}

.testimonialSliderModule__quote p {
  font-style: italic;

}

/* ----------------------------------------------------------
Author block
---------------------------------------------------------- */
.testimonialSliderModule__author-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(10, 35, 66, 0.10);
  max-width: 406px;
  margin: 0 auto;
}

.testimonialSliderModule__author-name {
  font-weight: 500;
  font-size: 18px;
  line-height: 25.4px;
  color: #414756;
  margin: 0;
}

.testimonialSliderModule__author-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #414756;
  margin: 0;
}

/* ----------------------------------------------------------
Custom navigation bar
---------------------------------------------------------- */
.testimonialSliderModule__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* ----------------------------------------------------------
Arrow buttons
---------------------------------------------------------- */
.testimonialSliderModule__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: ;
  padding: 0;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
Vertical dividers beside avatars
---------------------------------------------------------- */
.testimonialSliderModule__nav-divider {
  display: block;
  width: 1px;
  height: 60px;
  background-color: rgba(10, 35, 66, 0.10);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
Avatar thumbnail row
---------------------------------------------------------- */
.testimonialSliderModule__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  height: 60px;
}

/* ----------------------------------------------------------
Individual avatar button
---------------------------------------------------------- */
.testimonialSliderModule__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 40px;
  height: 40px;
  opacity: 0.4;
  margin-top: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.testimonialSliderModule__avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}

/* Active (centre) avatar is larger and fully opaque */
.testimonialSliderModule__avatar--active {
  width: 60px;
  height: 60px;
  opacity: 1;
  margin-top: 0;
  z-index: 2;
}

.testimonialSliderModule__avatar:hover,
.testimonialSliderModule__avatar:focus-visible {
  opacity: 1;
}


.testimonialSliderModule__avatars { max-width: 225px;}
.testimonialSliderModule__avatars .slick-slide.slick-current.slick-active.slick-center ~ .slick-slide {transform: translateX(15px);}
.testimonialSliderModule__avatars .slick-slide {transform: translateX(-15px);}
.testimonialSliderModule__avatars .slick-slide.slick-current.slick-active.slick-center {transform: translateX(0px);}

.slick-current button.testimonialSliderModule__avatar {
  transform: scale(1.5);
}

.testimonialSliderModule__avatar--active:hover,
.testimonialSliderModule__avatar--active:focus-visible,
.slick-current button.testimonialSliderModule__avatar{
  opacity: 1;
}
.testimonialSliderModule__avatars .slick-slide {justify-content: center;display: inline-flex !important;}

/* ----------------------------------------------------------
Slick dots (optional, controlled by CMS toggle)
---------------------------------------------------------- */
.testimonialSliderModule .slick-dots {
  margin-top: 20px;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonialSliderModule .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(10, 35, 66, 0.20);
  border: none;
  cursor: pointer;
  font-size: 0;
  padding: 0;
  transition: background-color 0.2s ease;
}

.testimonialSliderModule .slick-dots li.slick-active button {
  background-color: ;
}

.testimonialSliderModule__arrow:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
}

@media (max-width: 1024px) {
  .testimonialSliderModule__slider {max-width: 100%;}
  .testimonialSliderModule__nav { gap: 20px;}
}

@media (max-width: 991px) {
  .testimonialSliderModule__shape--right svg {width: 80px;height: 100px;}
  .testimonialSliderModule__shape--right {right: -32px;}

  .testimonialSliderModule__shape--left { bottom: 0; width: 100px; height: 100px; left: 0; }
  .testimonialSliderModule__shape--left svg { height: 100px; width: 100px; }

}



@media (max-width: 767px) {
  .testimonialSliderModule__quote{font-size:16px;line-height:24px}
  .testimonialSliderModule__nav{gap:12px}
  .testimonialSliderModule__nav-divider{height:44px}
  .testimonialSliderModule__shape--left,.testimonialSliderModule__shape--right{display:none}
  .testimonialSliderModule__quote-icon{width:60px;height:45px;margin-top:-22px}
  .testimonialSliderModule__quote-icon svg{width:60px;height:45px}
  .testimonialSliderModule__avatar {margin-top: 5px;}
  .testimonialSliderModule__avatars .slick-slide.slick-current.slick-active.slick-center ~ .slick-slide
  ,.testimonialSliderModule__avatars .slick-slide,
  .testimonialSliderModule__avatars .slick-slide.slick-current.slick-active.slick-center
  {transform: unset;}
}
@media (max-width: 375px) {
  .testimonialSliderModule__nav{gap:8px}
  .testimonialSliderModule__avatars{max-width:180px}
  .testimonialSliderModule__avatar{width:30px;height:30px; margin-bottom: 0px;margin-top: 5px;}
  .testimonialSliderModule__avatar img {width: 30px;height: 30px;}

}
