/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testimonial-slider{position:relative}
.testimonial-slider__controls{display:none}

.testimonial-slider.is-enhanced .testimonial-slider__viewport{
  overflow:hidden;padding:30px 0 38px;cursor:grab;touch-action:pan-y
}
.testimonial-slider.is-enhanced .testimonial-slider__viewport.is-dragging{cursor:grabbing}
.testimonial-slider.is-enhanced .tgrid{
  display:flex;max-width:none;margin:0;gap:32px;align-items:stretch;
  transition:transform .68s var(--ease);will-change:transform
}
.testimonial-slider.is-enhanced .tgrid.is-dragging{transition:none}
.testimonial-slider.is-enhanced .testimonial-slide{
  flex:0 0 auto;display:flex;opacity:.5;transform:scale(.93);
  transition:opacity .55s var(--ease),transform .55s var(--ease)
}
.testimonial-slider.is-enhanced .testimonial-slide.is-active{opacity:1;transform:scale(1)}
.testimonial-slider.is-enhanced .tcard{min-height:320px}
.testimonial-slider.is-enhanced .testimonial-slider__controls{
  display:flex;align-items:center;justify-content:center;gap:18px;margin-top:2px
}
.testimonial-slider__arrow{
  width:46px;height:46px;border:1px solid #C9DFEC;border-radius:50%;background:#fff;color:var(--blue);
  display:grid;place-items:center;cursor:pointer;transition:background-color .3s var(--ease),color .3s var(--ease),opacity .3s var(--ease)
}
.testimonial-slider__arrow svg{width:17px;height:17px}
.testimonial-slider__arrow:hover:not(:disabled){background:var(--blue);color:#fff}
.testimonial-slider__arrow:disabled{opacity:.35;cursor:not-allowed}
.testimonial-slider__dots{display:flex;align-items:center;gap:9px}
.testimonial-slider__dot{
  width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#B9D3E3;cursor:pointer;
  transition:width .3s var(--ease),border-radius .3s var(--ease),background-color .3s var(--ease)
}
.testimonial-slider__dot.is-active{width:27px;border-radius:6px;background:var(--blue)}

@media (max-width:760px){
  .testimonial-slider.is-enhanced .testimonial-slider__viewport{padding:20px 0 30px}
  .testimonial-slider.is-enhanced .tgrid{gap:18px}
  .testimonial-slider.is-enhanced .tcard{min-height:350px}
}

@media (prefers-reduced-motion:reduce){
  .testimonial-slider.is-enhanced .tgrid,
  .testimonial-slider.is-enhanced .testimonial-slide{transition:none}
}
