.seor-fast-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    display: block;
}

.seor-fast-slider.is-responsive {
    height: auto !important;
    min-height: 0 !important;
}

.seor-fs-sizer {
    width: 100%;
    height: auto;
    visibility: hidden;
    pointer-events: none;
}

.seor-fs-sizer img {
    width: 100%;
    height: auto;
    display: block;
}

.seor-fs-btns {
    margin-top: 0.5rem;
    pointer-events: auto;
    display: flex;
    gap: 10px;
}

.seor-fs-content.align-center .seor-fs-btns {
    justify-content: center;
}

.seor-fs-content.align-left .seor-fs-btns {
    justify-content: flex-start;
}

.seor-fs-content.align-right .seor-fs-btns {
    justify-content: flex-end;
}

.seor-fs-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.seor-fs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--seor-fs-fade-duration, 0.6s) ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.seor-fs-slide.active {
    opacity: 1;
    z-index: 2;
}

.seor-fs-block-cover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.seor-fs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

.seor-fs-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 1200px; /* Aumentado para permitir alineación */
    width: 100%;
    padding: 2rem;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.seor-fs-content.align-left {
    align-items: flex-start;
    text-align: left;
    margin-right: auto;
    margin-left: max(20px, calc((100% - 1200px) / 2));
}

.seor-fs-content.align-center {
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.seor-fs-content.align-right {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    margin-right: max(20px, calc((100% - 1200px) / 2));
}
.seor-fs-content * {
    pointer-events: auto;
}

/* Nav */
.seor-fs-nav {
    position: absolute;
    top: 20px;
    /* Se alinea con el borde del contenido (1400px wide) + un pequeño margen interno */
    right: max(20px, calc((100% - 1270px) / 2 + 30px));
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.seor-fs-prev, .seor-fs-next {
    display: none !important;
}

.seor-fs-dots {
    display: flex;
    gap: 8px;
}

.seor-fs-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0px; /* Cuadros */
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.seor-fs-dot:hover {
    background: var(--wp--preset--color--secondary, #8AAFD4);
    opacity: 0.8;
}

.seor-fs-dot.active {
    background: var(--wp--preset--color--secondary, #8AAFD4);
    transform: scale(1.1);
}

.seor-fs-fullwidth {
    /**width: 100vw; */
    margin-left: calc(50% - 50vw);
    position: relative;
    z-index: 100; /* Ensure it stays above other content if necessary */
}

.seor-fs-fullwidth .seor-fast-slider {
    max-width: none !important;
}

.seor-fs-fullwidth {
     border-top:1px solid var(--wp--preset--color--secondary);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .seor-fast-slider {
        p {
            display: none;
        }
    }
}
    
@media (max-width: 768px) {
    .seor-fast-slider {
        h1 {
        font-size: 1.2rem !important;
        line-height: 1rem !important;
        font-weight: 500 !important;
    }

    h2 {
        font-size: 1rem !important;
        line-height: 0.8rem !important;
    }

    p {
        font-size: 0.7rem !important;
        line-height: 0.6rem !important;
    }

      /**  min-height: 50vh !important; **/
    }
    
    .seor-fs-content {
        padding: 1rem;
    }

    .seor-fs-content h2 {
        font-size: 1.5rem;
    }

    .seor-fs-nav {
        gap: 0.5rem;
        /** bottom: 10px; **/
    }
    
    .seor-fs-prev, .seor-fs-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

.seor-fs-content .es-blanco {
    color: #fff !important;
}

   

.seor-fast-slider {

    h1 {
        max-width: 60%;
        font-size: 2rem;
        line-height: 1.8rem;
        margin: 2px 0px;
        padding: 0px;
        font-weight: 800 !important;
        letter-spacing: -2px;
    }

    h1.es-blanco {
        letter-spacing: -1px;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3rem;
        margin: 2px 0px;
        padding: 0px;
        max-width: 60%;
    }

    p {
        font-size: 0.8rem;
        line-height: 0.7rem;
        font-weight: 100;
        max-width: 50%;
        margin: 4px 0px;
        padding: 0px;
        color: var(--wp--preset--color--primary);
    }

}


/* Capa de enlace para toda la slide */
.seor-fs-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

/* Asegurar que los botones reales estén por encima de la capa de enlace */
.seor-fs-btns {
    z-index: 6;
    position: relative;
}
