/**
 * Slider de portada San Francisco.
 * Origen legacy: <style> de componentes/slider/slider.php, .slider-container de theme/estilos/generales/template_estructura.css
 * y componentes/slider/video.css. Valores rem/px sin reescalar (html 62.5%).
 * Contexto: body.template-sanfrancisco. Se carga después de /css/components/slider.css (core), por eso fija
 * explícitos los valores de Swiper que ese archivo redefine (line-height, bullets, flechas en mobile).
 */

body.template-sanfrancisco .slider-container {
    height: 350px;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
    margin-bottom: 0rem;
    line-height: 1.5;
}

body.template-sanfrancisco .fillavailable {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease-in-out;
}

body.template-sanfrancisco .swiper-slide img {
    border-radius: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.template-sanfrancisco #carousel {
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
}

body.template-sanfrancisco .slider-container .swiper-button-prev {
    left: 50px;
    color: white;
}

body.template-sanfrancisco .slider-container .swiper-button-next {
    right: 50px;
    color: white;
}

body.template-sanfrancisco .slider-container .swiper-pagination-bullet {
    background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}

body.template-sanfrancisco .slider-container .swiper-pagination-bullet-active {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    opacity: var(--swiper-pagination-bullet-opacity, 1);
}

@media (max-width: 768px) {
    body.template-sanfrancisco .texto-overlay {
        font-size: 8vw;
        line-height: 1.5;
    }

    body.template-sanfrancisco .slider-container .carousel-caption {
        position: absolute;
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
        width: 80%;
        text-align: center;
    }

    body.template-sanfrancisco .slider-container .swiper-button-prev,
    body.template-sanfrancisco .slider-container .swiper-button-next {
        display: flex;
    }

    body.template-sanfrancisco .slider-container .swiper-button-prev {
        left: 10px;
    }

    body.template-sanfrancisco .slider-container .swiper-button-next {
        right: 10px;
    }
}
