.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    aspect-ratio: 2.34; /* Asegura que el interior del swiper también tenga bordes redondeados */
    overflow: hidden;
}

.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next {
    right: 20px !important;; 
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px; /* Asegura que las imágenes se recorten al borde del swiper */ 
}

.slide-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 0;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    width: 100%;

    h1 {
        color: var(--black);
        font-family: var(--primary-font);
        font-size: 32px;
        font-weight: 400;
        text-decoration: underline;
    }

    h2 {
        font-family: var(--secondary-font);
        font-size: 20px;
        color: var(--black);
        font-weight: 300;
        /* text-wrap: balance; */
    }
}

.slidersintext {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 90px;
    text-align: left;
    padding: 20px 70px;
    border-radius: 10px;
    width: 100%;

    h1 {
        color: var(--red);
        font-family: var(--primary-font);
        font-size: 46px;
        line-height: 46px;
        font-weight: 300;
        text-wrap: balance;
        letter-spacing: -0.6px;

        span {
            color: var(--black);
        }
    }

    h2 {
        font-family: var(--secondary-font);
        font-size: 17px;
        line-height: 24px;
        color: var(--grey);
        font-weight: 400;
        margin-top: 19px;
    }
}

.swiper-button-prev, .swiper-button-next {
    color: var(--red) !important;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    scale: 1.2;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
}

.custom-dots {
    display: flex;
    justify-content: center;
}

.custom-dots .dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #eaeaea;
    margin: 0 5px;
    cursor: pointer;
}

.custom-dots .dot.active {
    background-color: #c1c1c1;
    width: 20px;
    border-radius: 50px;
}

.custom-fraction-pagination {
    position: absolute; /* Posicionamiento absoluto para ubicarlo dentro del swiper-container */
    right: 30px; /* Espacio desde el borde derecho */
    bottom: 30px; /* Espacio desde el borde inferior */
    color: var(--red); /* Color del texto, ajusta según tu diseño */
    background: var(--white); /* Fondo semitransparente para mejor visibilidad */
    padding: 20px;
    width: 84px;
    height: 84px;
    border-radius: 100px; /* Bordes redondeados si se desea */
    font-size: 49px; /* Tamaño del texto, ajusta a tus necesidades */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

.custom-fraction-pagination .current-slide {
    font-weight: 400;
    font-size: 32px;
    color: var(--black); /* Color verde para el número del slide actual */
}

.custom-fraction-pagination .total-slides {
    font-size: 49px;
    color: var(--black);
    margin-left: -5px;
}