.sortcode-carousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 50vh; */
    margin: 0;
}

.carousel {
    overflow: hidden;
    width: 100%;
    /* max-width: 900px; */
}

.carousel-inner {
    display: flex;
    transition: transform 0.3s ease-in-out;
    touch-action: pan-y;
}

.carousel-item {
    min-width: 25%;
    padding: 20px;
    padding-top: 80px;
    border-radius: 20px;
    text-align: center;
    

}

.carousel-item-inner {
    background-color: #FAF9FC;
    padding: 20px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    text-align: center;
    transition: box-shadow 0.4s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.carousel-item-inner:hover {
    box-shadow: rgba(149, 157, 165, 0.8) 0px 8px 24px;
}

.carousel-item-inner p {
    font-size: 0.8rem;
    line-height: 1.2;
}

.carousel-item-inner hr {
    background-color: #FBBB37;
    border: 1px solid #FBBB37;
    margin-bottom: 0.5rem;
   
}

.carousel-item-inner .wp-post-image {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: block;
    width: 100px;
    border-radius: 999px;
    
}

.carousel-item-inner .estrellasimg {
    width: 100px;
    box-shadow: none;
}

.carousel-bullets {
    text-align: center;
    margin-top: 20px;
}

#caja-bullets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  
}

.bullet {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.bullet.active {
    background-color: #c14da9;
}

@media (max-width: 850px) {
    .carousel-item {
        min-width: 50%;
    }
    
}



@media (max-width: 600px) {
    .carousel-item {
        min-width: 100%;
    }
    
}



/* MODO LUZ */

.sortcode-carousel.luz .carousel-item-inner {
    background-color: #ffffff;
    color: #131633;
}


/* /// fondeado */

.fondo-testimonio-morado {
    background-color: #71539E;
    background-image: url(comas-arriba.png), url(comas-abajo.png), url(tile-morada_fixed.jpg);
    background-size: 15vw, 15vw, auto;
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: top left, bottom right, top left;
}

/* .fondo-testimonio-morado-darker {
    background-color: #4E3A6E;
    background-image: url(comas-arriba.png), url(comas-abajo.png), url(tile-morada_fixed-dark.jpg);
    background-size: 15vw, 15vw, auto;
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: top left, bottom right, top left;
} */

.fondo-testimonio {
    /* background-color: #faba36 !important; */
    background-image: url(comas-arriba.png), url(comas-abajo.png);
    background-size: 15vw, 15vw;
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right;
}

.fondo-testimonio-blanco {
    background-color: #71539E;
    background-image: url(comas-gris-arriba.png), url(comas-gris-abajo.png);
    background-size: 15vw, 15vw;
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right;

}