.slider-testimonies--container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .slider-testimonies--container {
    gap: 32px;
  }
}

.slider-testimonies--title {
  align-self: flex-start;
}
.hp .slider-testimonies--title {
  align-self: center;
}

.slider-testimonies--title h2{
  color: var(--rose);
}

.slider-testimonies--dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.slider-testimonies--dots button {
  height: 8px;
  width: 8px;
  border-radius: 50px;
  background-color: var(--turquoise);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.slider-testimonies--dots button.active {
  opacity: 1;
  width: 20px;
}

@media (hover: hover) {
  .slider-testimonies--dots button:hover {
    opacity: 1;
  }
}

.slider-testimonies--buttons {
  margin: 16px 0;
}

.slider-testimonies--item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 30px 20px 30px;
  /* border: 1px solid #b6b6b6; */
  border-radius: 20px;
  position: relative;
}

.slider-testimonies--item .picto {
  width: 150px;
  height: 150px;
  mask: url(../images/quote.svg) no-repeat center;
  mask-size: contain;
  background-color: #007c91;
  position: absolute;
  top: -32px;
  left: 0;
  z-index: -1;
  opacity: 0.3;
}

/* .slider-testimonies--item .picto img {
  width: 24px;
  height: 24px;
  object-fit: contain;
} */

.slider-testimonies--item .author {
  font-style: italic;
  font-weight: 600;
}

.slider-testimonies--item .clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.slider-testimonies--nav {
  display: flex;
  gap: 16px;
}
.slider-testimonies--nav button{
  width: 48px;
  height: 48px;
  background-color: var(--turquoise);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
.slider-testimonies--nav button span:after{
  content: "";
  display: block;
  justify-self: center;
  mask: url(../images/chevron-right.svg) no-repeat center;;
  mask-size: contain;
  background-color: var(--white);
  width: 24px;
  height: 24px;
}
.slider-testimonies--nav button .owl-prev:after{
  rotate: 180deg;
}
.slider-testimonies--nav button.disabled{
  opacity: 0.5;
  pointer-events: none;
}

@media (hover: hover) {
  .slider-testimonies--nav button:hover{
    background-color: var(--rose);
  }
}


.testimony-popup {
  background: white;
  padding: 2rem;
  max-width: 600px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  z-index: 1;
  margin: 16px;
}

.testimony-popup .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
}

.testimony-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.testimony-popup-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--turquoise); /* turquoise */
  opacity: 0.6;
  z-index: 1;
}

.testimony-popup-overlay .testimony-popup .author {
  font-weight: 600;
  margin-top: 16px;
}


.see-more {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #007c91;
  background-color: #f0f7f8;
  border: 1px solid transparent;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  width: max-content;
}

@media (hover: hover) {
  .see-more:hover {
    background-color: var(--rose);
    color: white;
    border-color: var(--rose);
    text-decoration: none;
  }
}