/* Módulo 5: Noticia Única  */
.modulo-5 {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.modulo-5:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.modulo-5 .noticia-imagen-unica {
    position: relative;
    overflow: hidden;
} 

.noticia-video-home {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.noticia-video-home iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.noticia-video-home ~ .modulo-5-titulo-overlay {
    pointer-events: none;
}

.modulo-5 img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modulo-5:hover img {
    /* transform: scale(1.05); */
}

.modulo-5-titulo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 7px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 30%,
            transparent 60%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
    z-index: 2;
}


.modulo-5-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    max-width: 900px;
    position: relative;
    padding-bottom: 20px;
}

.modulo-5-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-principal), #b30000);
    border-radius: 2px;
}

.modulo-5 .noticia-badge {
    top: 30px;
    left: 30px;
    font-size: 0.9rem;
    padding: 8px 16px;
    z-index: 3;
}

.modulo-5-contenido {
    padding: 35px;
    position: relative;
}

.modulo-5-contenido::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0px;
    right: 0px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-principal), #b30000, transparent);
    border-radius: 2px;
}

.modulo-5-descripcion {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
}

.modulo-5-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    font-size: 1rem;
    color: #888;
    padding-top: 20px;
    border-top: 1px solid var(--color-borde);
}


@media (max-width: 992px) {
    .modulo-5 img {
        height: 350px;
    }

    .modulo-5-titulo {
        font-size: 1.3rem;
    }

    .modulo-5-descripcion {
        font-size: 1.1rem;
    }
}

.modulo-5 .noticia-iconos {
    position: absolute;
    right: 30px !important;
    top: 30px!important;
    z-index: 20;
}

.modulo-5 .noticia-icono::after {
    left: 10%;
}

/* .modulo-5 .noticia-badge {
    top: 30px;
    right: 5px;
    font-size: 0.9rem;
    padding: 8px 16px;
    z-index: 3;
    left: unset;
}
 */
