/* Módulo 4: 4 Noticias */
.modulo-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.noticia-chica {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    min-width: 0;
}

.noticia-chica:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.noticia-chica img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.noticia-chica:hover img {
    /* transform: scale(1.1); */
}

.noticia-chica-contenido {
    padding: 15px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-chica-contenido::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-principal), transparent);
}

.noticia-chica-titulo {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #333;
    font-weight: 800;
    margin-bottom: 8px;
}

.noticia-chica-descripcion {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    font-weight: 500;
    flex: 1;
    margin-bottom: 8px;
}

.noticia-chica-fecha {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .modulo-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .noticia-chica {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .modulo-4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .noticia-chica {
        min-height: 280px;
    }

    .noticia-chica img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .noticia-chica {
        min-height: 260px;
    }

    .noticia-chica-contenido {
        padding: 12px;
    }

    .noticia-chica-descripcion {
        font-size: 0.8rem;
    }

    .noticia-chica-fecha {
        font-size: 0.7rem;
    }
}
