/**
 * Estilos para el carrusel Buenvi
 */

/* Estilos generales del carrusel */
.mi-nuevo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.swiper-wrapper {
    transition-timing-function: ease-out;
}

/* Estilos de la tarjeta dividida */
.split-card {
    display: flex;
    flex-direction: row;
    min-height: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

@media (max-width: 768px) {
    .split-card {
        flex-direction: column;
        min-height: auto;
    }
}

/* Contenido de la tarjeta */
.card-content {
    flex: 1;
    padding: 40px 30px;
    color: #F9F1E7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Colores de fondo */
.bg-blue {
    background-color: #1076BC;
}

.bg-green {
    background-color: #158C46;
}

.bg-orange {
    background-color: #F1643F;
}

/* Envoltura de texto */
.text-wrap {
    max-width: 90%;
    z-index: 1;
}

.text-wrap h3 {
    margin-bottom: 1.5rem;
    font-family: "Tiempos HeadLine", Sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.5rem;
    letter-spacing: 0px;
    color: var(--text-white, #F9F1E7);
}

.text-wrap p {
    font-family: "Acumin Pro", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Ícono de la tarjeta */
.card-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 1;
}

/* Imagen de la tarjeta */
.card-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

/* Controles de navegación */
.swiper-button-next,
.swiper-button-prev {
    color: #1A5276;
    background-color: rgba(249, 241, 231, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #F9F1E7;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Paginación */
.swiper-pagination-bullet {
    background-color: #F9F1E7;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #F9F1E7;
    width: 12px;
    height: 12px;
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .text-wrap h3 {
        font-size: 22px;
    }
    
    .text-wrap p {
        font-size: 14px;
    }
    
    .card-content {
    	min-height:220px;
        padding: 25px 20px;
    }
    
    .card-icon {
        bottom: 20px;
        right: 20px;
        transform: scale(0.8);
    }
}