/* Constrain testimonial carousel width, centered via position/transform
   (avoids conflict with theme's ".row { margin: 0 !important }" rule) */
.carousel.slick-slider {
  max-width: 900px !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding-bottom: 40px;
}

/* Arrows: outline circles, centered icon, reverse to solid on hover */
.carousel .slick-prev,
.carousel .slick-next {
  height: 40px !important;
  width: 40px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  border: 1.5px solid #91A7AF !important;
  z-index: 5;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.carousel .slick-prev {
  left: 4px !important;
}

.carousel .slick-next {
  right: 4px !important;
}

.carousel .slick-prev:hover,
.carousel .slick-next:hover {
  background-color: #91A7AF !important;
}

.carousel .slick-prev:before,
.carousel .slick-next:before {
  font-family: unset !important;
  font-size: 18px !important;
  color: #91A7AF !important;
  opacity: 1 !important;
  line-height: 1 !important;
  display: block !important;
  transition: color 0.2s ease;
}

.carousel .slick-prev:hover:before,
.carousel .slick-next:hover:before {
  color: #F5F1EE !important;
}

.carousel .slick-prev:before {
  content: "\2039" !important;
}

.carousel .slick-next:before {
  content: "\203A" !important;
}

/* Dots: outline circles, active one filled solid */
.carousel .slick-dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel .slick-dots li {
  margin: 0;
}

.carousel .slick-dots li button {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  border: 1.5px solid #91A7AF !important;
  font-size: 0 !important;
  text-indent: -9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.carousel .slick-dots li.slick-active button {
  background-color: #91A7AF !important;
}

/* Mobile: simple thin arrows, kept INSIDE the carousel bounds so they
   aren't clipped by parent overflow:hidden */
@media screen and (max-width: 767px) {
  .carousel.slick-slider {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .carousel .slick-prev,
  .carousel .slick-next {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 28px !important;
    width: 28px !important;
    background-color: transparent !important;
    border: none !important;
  }

  .carousel .slick-prev {
    left: 2px !important;
  }

  .carousel .slick-next {
    right: 2px !important;
  }

  .carousel .slick-prev:before,
  .carousel .slick-next:before {
    font-size: 22px !important;
    color: #91A7AF !important;
  }
}
