#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-image: none;
}

#testimonialCarousel .carousel-control-prev::before {
  content: "‹";
  font-size: 2.5rem;
  color: #0f6675;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
}

#testimonialCarousel .carousel-control-next::before {
  content: "›";
  font-size: 2.5rem;
  color: #0f6675;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
}

.testimonial-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  min-height: 260px;
  padding-bottom: 3rem;
}

.testimonial-item img {
  width: 220px;
  height: 220px;
  flex: 0 0 220px;
  object-fit: cover;
  border-radius: 12px;
}

.testimonial-item p {
  max-width: 520px;
}

.testimonial-ver-mas {
  position: absolute;
  right: 20%;
  bottom: 10%;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f6675;
  background: transparent;
  border: 1px solid #0f6675;
  border-radius: 8px;
  padding: 6px 16px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.testimonial-ver-mas:hover {
  background: #0f6675;
  color: #fff;
}

.modal-testimonio-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.modal-testimonio-desc {
  font-size: 0.9rem;
  white-space: pre-line;
}

@media (min-width: 992px) {
  .modal-testimonio-img {
    width: 260px;
    flex: 0 0 260px;
  }
}

@media (max-width: 767.98px) {
  #testimonialCarousel {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
  }

  .box-internaST {
    padding-left: 0;
    padding-right: 0;
  }

  #testimonialCarousel .carousel-inner .testimonial-item {
    padding-left: 0;
    padding-right: 0;
  }

  #testimonialCarousel .carousel-inner .carousel-item .testimonial-item {
    flex-direction: column;
  }

  #testimonialCarousel .carousel-inner .testimonial-item img {
    margin-left: auto;
    margin-right: auto;
  }
}
