/* Módulo 1: Noticia Grande + 4 Pequeñas */
.modulo-1 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 25px;
}

.noticia-grande {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    min-width: 0;
}

.noticia-grande:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.noticia-imagen-container {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.noticia-grande img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-grande:hover img {
    /* transform: scale(1.05); */
}

.noticia-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--color-principal), #b30000);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.noticia-grande-titulo {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    margin: 0 0 15px 0;
    flex-shrink: 0;
}

.noticia-grande-contenido {
    padding: 25px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-grande-contenido::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-principal), transparent);
    border-radius: 2px;
}

.noticia-grande-descripcion {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    flex: 1;
}

.noticia-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid var(--color-borde);
    margin-top: auto;
}

.noticia-fecha,
.noticia-categoria {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.noticia-categoria {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    color: var(--color-principal);
}

.noticias-pequenas {
    display: grid;
    grid-template-rows: repeat(4, minmax(120px, auto));
    gap: 18px;
    min-width: 0;
}

.noticia-pequena {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
}

.noticia-pequena:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.noticia-pequena img {
    width: 150px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.noticia-pequena:hover img {
    /* transform: scale(1.1); */
}

.noticia-pequena-contenido {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 120px;
}

.noticia-pequena-contenido::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 3px;
    height: calc(100% - 30px);
    background: linear-gradient(180deg, var(--color-principal), transparent);
    border-radius: 2px;
}

.noticia-pequena-descripcion {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.noticia-pequena-fecha {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    margin-top: auto;
}

@media (max-width: 992px) {
    .modulo-1 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .noticia-grande {
        min-height: 550px;
    }

    .noticias-pequenas {
        grid-template-rows: repeat(4, minmax(100px, auto));
    }
}

@media (max-width: 768px) {
    .noticia-grande {
        min-height: 500px;
    }

    .noticia-grande img {
        height: 250px;
    }

    .noticia-pequena {
        flex-direction: column;
        min-height: auto;
    }

    .noticia-pequena img {
        width: 100%;
        height: 150px;
    }

    .noticia-pequena-contenido {
        min-height: auto;
        justify-content: flex-start;
    }

    .noticia-grande-titulo {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .noticia-grande {
        min-height: 450px;
    }

    .noticia-grande-contenido,
    .noticia-pequena-contenido {
        padding: 15px;
    }

    .noticia-grande-contenido::before {
        left: 0;
        right: 0;
    }

    .noticia-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.modulo-1 .noticia-iconos {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 20;
}

.noticia-icono::after {
    left: 160%;
    
}
