/*---------------------------- Teaser Derecha -----------------------*/
.teaser_slide_dcha {
    background-color: #f3f5f5;
    background-image: url('../img/truchas_fondo.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*---------------------------- Texto -----------------------*/
.teaser_slide_dcha .zona_texto h1 {
    font-size: clamp(1.375rem, 0.735rem + 3.2vw, 3.4rem);
    font-weight: 600;
    line-height: 100%;
}

.teaser_slide_dcha .zona_texto h2 {
    font-size: clamp(1.375rem, 0.735rem + 3.2vw, 3.3rem);
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 1px;
}

.teaser_slide_dcha .zona_texto .sobretitular {
    font-family: "Rouge Script", cursive;
    color: #c59d5f;
    font-size: 2.5em;
    font-weight: 500;
}

/*---------------------------- Botones de navegación -----------------------*/
.teaser_slide_dcha .prev,
.teaser_slide_dcha .next {
    font-size: 1em;
    padding: 10px 15px;
    border: 2px solid #23443f;
    background-color: #23443f;
    border-radius: 25px;
    transition: all 0.5s linear;
    color: #fff;
}

.teaser_slide_dcha .prev:hover,
.teaser_slide_dcha .next:hover {
    border: 2px solid #23443f;
    background-color: #fff;
    color: #23443f;
}

/*---------------------------- Slider -----------------------*/
.teaser_slide_dcha .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
    background-color: #000;
    transition: all 0.5s linear;
}

/* Imagenes adaptativas y centradas */
.teaser_slide_dcha .swiper-slide .imagen_slide {
    display: flex;
    justify-content: center;
    line-height: 0;
}

.teaser_slide_dcha .swiper-slide .imagen_slide img {
    width: auto;
    height: auto;           /* altura fluida */
    max-height: 650px;      /* desktop */
    display: block;
    line-height: 0;
    object-fit: contain;    /* sin recortes */
}

/* Overlay de información */
.teaser_slide_dcha .datos_caja {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s linear;
    opacity: 0;
}

.teaser_slide_dcha .swiper-slide:hover img {
    opacity: 0.5;
}

.teaser_slide_dcha .swiper-slide:hover .datos_caja {
    opacity: 1;
}

/* Botones de navegación internos */
.teaser_slide_dcha .buttons_nex_prev {
    position: relative;
    display: flex !important;
    justify-content: start;
}

/* Texto dentro de los slides */
.teaser_slide_dcha h3 {
    font-size: 1.5em;
    color: #fff;
}

/*---------------------------- Row -----------------------*/
.teaser_slide_dcha .row {
    align-items: center; /* altura del row = altura de la imagen más alta */
}

/*---------------------------- Media Queries -----------------------*/

/* Extra small devices (portrait phones, <576px) */
@media (max-width: 575.98px) {
    .teaser_slide_dcha .zona_texto {
        text-align: center;
    }
    .teaser_slide_dcha .swiper-slide .imagen_slide img {
        max-height: 300px;
    }
}

/* Small devices (landscape phones, 576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .teaser_slide_dcha .zona_texto {
        text-align: center;
    }
    .teaser_slide_dcha .swiper-slide .imagen_slide img {
        max-height: 400px;
    }
}

/* Medium devices (tablets, 768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .teaser_slide_dcha .swiper-slide .imagen_slide img {
        max-height: 500px;
    }
}

/* Large devices (desktops, 992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .teaser_slide_dcha .swiper-slide .imagen_slide img {
        max-height: 600px;
    }
}

/* Extra large devices (1200px+) */
@media (min-width: 1200px) {
    .teaser_slide_dcha .swiper-slide .imagen_slide img {
        max-height: 650px;
    }
}
