.elementor-182 .elementor-element.elementor-element-e4fafe1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-182 .elementor-element.elementor-element-7d18c0e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-182 .elementor-element.elementor-element-49d868c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-711b369 *//* Estilos para Materiales Pedagógicos EPSI */
.materiales-epsi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.materiales-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.materiales-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #A0522D, #F0E68C, #CD853F);
}

.materiales-titulo-principal {
    color: #A0522D;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
    border-bottom: 3px solid #F0E68C;
    padding-bottom: 20px;
    position: relative;
}

.materiales-titulo-principal::after {
    content: '📚';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    background: white;
    padding: 0 15px;
    font-size: 0.8em;
}

.materiales-seccion {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #FFFEF0, #FFF8DC);
    border-left: 5px solid #E6D3A3;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.materiales-titulo-seccion {
    color: #A0522D;
    margin-bottom: 25px;
    font-size: 1.6em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid rgba(240,230,140,0.3);
    padding-bottom: 10px;
}

.materiales-titulo-seccion::before {
    content: "📖";
    font-size: 1.3em;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.materiales-documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.materiales-documento-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240,230,140,0.2);
    position: relative;
}

.materiales-documento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F0E68C, #E6D3A3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.materiales-documento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.materiales-documento-card:hover::before {
    opacity: 1;
}

.materiales-documento-destacado {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(240,230,140,0.3);
    overflow: hidden;
    border: 2px solid #F0E68C;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.materiales-documento-destacado::before {
    content: '⭐';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2em;
    z-index: 2;
}

.materiales-documento-destacado:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(240,230,140,0.4);
}

.materiales-documento-header {
    background: linear-gradient(135deg, #E6D3A3, #F5DEB3);
    color: #8B4513;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.materiales-documento-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.materiales-documento-card:hover .materiales-documento-header::after {
    opacity: 1;
    animation: shine 1s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.materiales-documento-destacado .materiales-documento-header {
    background: linear-gradient(135deg, #F0E68C, #F5DEB3, #FFE4B5);
    color: #A0522D;
}

/* Estilos para los afiches */
.materiales-afiche-container {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    position: relative;
}

/* Galería de afiches para múltiples imágenes */
.materiales-afiches-galeria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.materiales-afiches-galeria .materiales-afiche-container {
    margin-bottom: 0;
    height: 160px;
}

.materiales-afiche-enlace {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
    cursor: pointer;
}

.materiales-afiche {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.materiales-afiche-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.materiales-afiche-zoom {
    font-size: 2em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.materiales-afiche-enlace:hover .materiales-afiche {
    transform: scale(1.1);
}

.materiales-afiche-enlace:hover .materiales-afiche-overlay {
    opacity: 1;
}

.materiales-afiche-enlace:hover .materiales-afiche-zoom {
    transform: scale(1);
}

.materiales-afiche-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.materiales-documento-titulo {
    margin: 0 0 10px 0;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.3;
}

.materiales-tipo-documento {
    background: rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.materiales-documento-contenido {
    padding: 25px;
}

.materiales-descripcion {
    color: #6B4423;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95em;
}

.materiales-enlace {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #CD853F, #D2691E);
    color: white !important;
    padding: 14px 24px;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9em;
    box-shadow: 0 2px 10px rgba(205,133,63,0.3);
    position: relative;
    overflow: hidden;
}

.materiales-enlace::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.materiales-enlace:hover {
    background: linear-gradient(135deg, #D2691E, #B8860B);
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205,133,63,0.4);
}

.materiales-enlace:hover::before {
    left: 100%;
}

.materiales-enlace-destacado {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    box-shadow: 0 2px 10px rgba(184,134,11,0.3);
}

.materiales-enlace-destacado:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700);
}

.materiales-icono {
    font-size: 1.2em;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

/* Estilos para subsecciones */
.materiales-subseccion {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    border: 1px solid rgba(240,230,140,0.3);
}

.materiales-subtitulo {
    color: #8B4513;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.materiales-subtitulo::before {
    content: "🎯";
    font-size: 1.1em;
}

/* Enlaces externos */
.materiales-enlaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.materiales-enlace-externo {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1px solid rgba(230,211,163,0.5);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.materiales-enlace-externo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #F0E68C;
    text-decoration: none !important;
}

.materiales-enlace-contenido {
    flex: 1;
}

.materiales-enlace-contenido strong {
    color: #A0522D;
    font-size: 1em;
    display: block;
    margin-bottom: 5px;
}

.materiales-enlace-contenido p {
    color: #6B4423;
    font-size: 0.85em;
    margin: 0;
    line-height: 1.4;
}

/* Sección de información adicional */
.materiales-info-adicional {
    background: linear-gradient(135deg, #F5F5DC, #FFF8DC);
    border-left-color: #BDB76B;
}

.materiales-info-adicional .materiales-titulo-seccion::before {
    content: "ℹ️";
}

.materiales-aviso-contenido {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #BDB76B;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.materiales-aviso-contenido p {
    margin-bottom: 15px;
    color: #5D4E37;
}

.materiales-aviso-contenido p:last-child {
    margin-bottom: 0;
}

.materiales-aviso-contenido strong {
    color: #A0522D;
}

/* Footer */
.materiales-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(240,230,140,0.3);
    color: #8B4513;
    font-style: italic;
}

.materiales-email {
    color: #A0522D !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.materiales-email:hover {
    color: #8B4513 !important;
    background-color: rgba(240,230,140,0.2);
    text-decoration: underline !important;
}

/* Efectos adicionales y animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.materiales-documento-card,
.materiales-documento-destacado {
    animation: fadeInUp 0.6s ease-out;
}

.materiales-documento-card:nth-child(even) {
    animation-delay: 0.1s;
}

.materiales-documento-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .materiales-documentos-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
    
    .materiales-afiche-container {
        height: 160px;
    }
    
    .materiales-afiches-galeria .materiales-afiche-container {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .materiales-epsi {
        padding: 15px;
    }
    
    .materiales-container {
        padding: 25px;
        border-radius: 8px;
    }
    
    .materiales-titulo-principal {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .materiales-titulo-seccion {
        font-size: 1.4em;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .materiales-documentos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .materiales-seccion {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .materiales-documento-contenido,
    .materiales-documento-header {
        padding: 20px;
    }
    
    .materiales-afiche-container {
        height: 140px;
        margin-bottom: 12px;
    }
    
    .materiales-afiches-galeria {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .materiales-afiches-galeria .materiales-afiche-container {
        height: 120px;
    }
    
    .materiales-subseccion {
        padding: 15px;
    }
    
    .materiales-enlaces-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .materiales-enlace-externo {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .materiales-aviso-contenido {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .materiales-container {
        padding: 20px;
    }
    
    .materiales-titulo-principal {
        font-size: 1.8em;
    }
    
    .materiales-titulo-seccion {
        font-size: 1.2em;
    }
    
    .materiales-documento-titulo {
        font-size: 1.1em;
    }
    
    .materiales-enlace {
        padding: 12px 18px;
        font-size: 0.85em;
        justify-content: center;
    }
    
    .materiales-documento-header,
    .materiales-documento-contenido {
        padding: 15px;
    }
    
    .materiales-afiche-container {
        height: 120px;
        margin-bottom: 10px;
    }
    
    .materiales-seccion {
        padding: 15px;
    }
    
    .materiales-subseccion {
        padding: 12px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
    .materiales-documento-card,
    .materiales-documento-destacado {
        border: 2px solid #000;
    }
    
    .materiales-enlace {
        border: 1px solid #000;
    }
}

/* Estilos para impresión */
@media print {
    .materiales-enlace,
    .materiales-enlace-externo {
        color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
    }
    
    .materiales-documento-card,
    .materiales-documento-destacado {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .materiales-afiche {
        filter: grayscale(100%);
    }
}/* End custom CSS */