/* Container azul */
.container-testimonios {
  background-color: #FFFFFF;
  padding: 40px 40px 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Keen slider css completo de     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/keen-slider@6.8.5/keen-slider.min.css" />
*/

.keen-slider:not([data-keen-slider-disabled]) {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  align-content: flex-start;
  display: flex;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -khtml-user-select: none;
  width: 100%
}

.keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide {
  min-height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%
}

.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse] {
  flex-direction: row-reverse
}

.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-v] {
  flex-wrap: wrap
}

@media (max-width: 768px) {
  .keen-slider__slide {
    width: 100%;
  }
  
}

/* Keen slider CSS personalizado*/

.keen-wrapper {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1.5px solid #E0E0E0;
  max-width: 50rem;
  position: relative;
  margin-inline: auto;
  width: 100%;
}

.keen-slider__slide {
  width: 100%; 
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-content {
  text-align: center;
  width: 100%; 
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

@media(min-width: 768px) {
  .slide-content {
    padding: 30px;
  }
}

.slide-content img {
  width: 140px;
  height: 120px;
  object-fit: cover;
  margin: 20px 0;
  border-radius: 5px;
}


/* Botones de anterior y siguiente */

.arrow {
  background-color: #92cba3;
  border: none;
  color: white;
  font-size: 1.5rem;
  border-radius: 3px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.arrow:hover {
  background-color: #6b9f7b;
}

.arrow:active {
  opacity: 1;
}

.arrow--left {
  left: -20px;
}

.arrow--right {
  right: -20px;
}

.arrow:after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.arrow--left:after {
  transform: rotate(135deg);
}

.arrow--right:after {
  transform: rotate(-45deg);
}

/* Texto sobre imagen */
.texto {
  font-size: 1.1rem;
  color: #717171;
  margin-top: 10px;
  line-height: 1.5;
  position: relative;
}

@media (min-width:768px) {
  .texto {
    padding: 0 70px;
  }
}

/* Autor del testimonio */
.es-testimonio span {
  display: block;
  font-weight: bold;
  color: #515151;
  font-size: 1.4rem;
}

@media screen and (max-width:768px) {
  .txt-carru {
    font-size: 2rem;
  }
  .es-testimonio {
    font-size: 1rem;
  }
  .es-testimonio span {
    font-size: 1rem;
  }
  .keen-wrapper {
    padding: 15px;
  }
  .slide-content img {
    width: 80px;
    height: 80px;
  }
  .arrow {
    width: 30px;
    height: 30px;
  }
}


/* Container con comillas */
.es-testimonio:before,
.es-testimonio:after {
  font-size: 3rem;
  color: #92cba3;
  position: absolute;
}

.es-testimonio:before {
  content: '';
  background-image: url('../images/comilla_izquierda.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px; 
  position: absolute;
  left: -9px;
  top: -20px;
}

.es-testimonio:after {
  content: '';
  background-image: url('../images/comilla_derecha.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px; 
  position: absolute;
  right: -9px;
  bottom: -10px;
}

@media(min-width:768px) {
  .es-testimonio:before {
    width: 30px;
    height: 30px;
  }
  .es-testimonio:after {
    width: 30px;
    height: 30px;
  }
}