/*SLIDER*/
.fondo-slider {
    background-color: var(--color-blanco);
    height: max-content;
    padding: var(--padi-84) 0;
}

.slideStyle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: max-content;
    overflow: hidden;
    transition: 0.25s;
}

.slideStyle.darkStyle {
    background: var(--black);
    color: var(--white);
}

.swiperParallax.swiper {
    width: 100%;
    overflow: hidden;
}

.swiperParallax .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.swiperParallax .swiper-slide {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    row-gap: var(--padi-24);
    flex-direction: column;
    flex: none;
}

/*Contenedor imagen slider*/
.swiperParallax .gallery-img__wrapper {
    position: relative;
    overflow: hidden;
    width: 120%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-8);
    opacity: 0.25;
    transform: scale(0.6);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.swiperParallax .gallery-img__wrapper .gallery-img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: var(--border-radius-8);
}

/* Deshabilita los eventos del puntero para los enlaces en los slides que no están activos */
.swiperParallax .swiper-slide:not(.swiper-slide-active) .gallery-info__wrapper a {
    pointer-events: none;
}

.swiperParallax .swiper-slide.swiper-slide-active .gallery-img__wrapper {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/*Contenedor texto slider*/
.swiperParallax .gallery-info__wrapper {
    width: 120%;
    align-items: flex-start;
    display: grid;
    column-gap: var(--padi-24);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    opacity: 0;
    transform: translateY(50%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.swiperParallax .swiper-slide.swiper-slide-active .gallery-info__wrapper {
    opacity: 1;
    transform: translateY(0%);
}

.swiperParallax .swiper-slide.swiper-slide-active .gallery-img__wrapper a,
.swiperParallax .swiper-slide.swiper-slide-active .gallery-info__wrapper a {
    pointer-events: auto;
}

.swiperParallax .gallery-info__wrapper .head_artic_slider {
    display: flex;
    flex-direction: column;
    grid-column: 1 / span 9;
}

.espec_artic {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    margin-bottom: var(--marg-16);
}

/*Titulo articulos slider*/
.tit_artic_link_slider {
    margin-bottom: var(--marg-8);
    display: block;
}

.tit_artic_slider,
.tit_artic_dest {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    font-style: normal;
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.desc_artic_slider {
    margin-bottom: var(--marg-24);
    color: var(--color-texto-negro);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.1px;
}

/*Tag articulo slider*/

.tags_artic {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 8px;
}

#flecha_izq_slider,
#flecha_der_slider {
    position: absolute;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    /* Inicialmente no interactuables */
    transition: opacity 0.3s ease-out;
}

#flecha_izq_slider {
    left: 4vw;
    right: auto;
}

#flecha_der_slider {
    right: 4vw;
    left: auto;
}

.flecha_slider {
    cursor: pointer;
}

.flecha_slider svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
}

.flecha_slider:hover svg path {
    fill: var(--color-btn-azul-hover);
    transition: fill 0.3s ease;
}

.flecha_slider:active svg path {
    fill: var(--color-btn-azul-active);
    transition: fill 0.3s ease;
}

@media screen and (max-width: 1280px) {
    .swiperParallax .gallery-info__wrapper .head_artic_slider {
        display: flex;
        flex-direction: column;
        grid-column: 1 / span 12;
    }

    .swiperParallax .gallery-img__wrapper {
        height: 340px;
    }

    .tit_artic_slider,
    .tit_artic_dest {
        font-size: 2.5rem;
    }

    .desc_artic_slider {
        font-size: 1.2rem !important;
    }

}

@media screen and (max-width: 640px) {
    .fondo-slider {
        padding: var(--padi-84) 0 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .slideStyle {
        height: 100%;
        justify-content: space-between;
    }

    .swiperParallax .gallery-img__wrapper {
        width: calc(100vw - 32px);
        height: 250px;
    }

    .swiperParallax .gallery-info__wrapper {
        width: calc(100vw - 32px);
    }

    .flecha_slider svg {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 440px) {
    .swiperParallax .gallery-img__wrapper {
        height: 28vh;
    }

    .tit_artic_slider,
    .tit_artic_dest {
        font-size: 2rem;
    }
}

@media screen and (max-width: 375px) {

    .tit_artic_slider,
    .tit_artic_dest {
        font-size: 1.6rem;
    }
}