.edr-slider-container {
    width: 100%;
    height: 100vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    /* Las variables de color son inyectadas dinámicamente por PHP */
    --swiper-navigation-color: var(--edr-control-color);
    --swiper-pagination-color: var(--edr-control-color);
}

.edr-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* Manejo de Multimedia (Sin overlay completo) */
.edr-media, .edr-image-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.edr-image-bg {
    background-size: cover;
    background-position: center;
}
.edr-media video {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Envoltorio Flexbox para Posicionamiento */
.edr-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 6%;
    display: flex;
    box-sizing: border-box;
}

/* Posiciones */
.pos-top-left { align-items: flex-start; justify-content: flex-start; text-align: left; }
.pos-middle-left { align-items: center; justify-content: flex-start; text-align: left; }
.pos-bottom-left { align-items: flex-end; justify-content: flex-start; text-align: left; }
.pos-center { align-items: center; justify-content: center; text-align: center; }
.pos-top-right { align-items: flex-start; justify-content: flex-end; text-align: right; }
.pos-middle-right { align-items: center; justify-content: flex-end; text-align: right; }
.pos-bottom-right { align-items: flex-end; justify-content: flex-end; text-align: right; }

/* Contenido y Tipografía */
.edr-content {
    max-width: 800px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Fondo solo para el texto (Opcional) */
.theme-dark .edr-content.has-text-bg {
    background: rgba(0, 0, 0, 0.55);
    padding: 2rem;
    backdrop-filter: blur(5px);
}
.theme-light .edr-content.has-text-bg {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.edr-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.1;
}
.edr-desc {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.5;
}

/* Temas de Color - Tipografía */
.theme-dark .edr-title, 
.theme-dark .edr-desc {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.theme-light .edr-title, 
.theme-light .edr-desc {
    color: #222222;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.4);
}

/* Responsivo */
@media (max-width: 768px) {
    .edr-title { font-size: 2rem; }
    .edr-desc { font-size: 1rem; }
    .edr-slider-container { height: 60vh; }
    .edr-content.has-text-bg { padding: 1.5rem; }
}