.actualidade-section {
    margin-top: 40px;
}

.news-grid,
.carousel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    color: #333;
    flex: 0 0 calc((100% - 40px) / 3);
    box-sizing: border-box;
    max-width: calc(33.333% - 14px);
}

.news-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex-grow: 1;
}

/* Ler más */
.news-content .read-more {
    margin-top: auto;
    align-self: flex-start;
    color: #012340;
    font-weight: bold;
    text-decoration: none;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


@media (max-width: 900px) {
    .carousel-container {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        gap: 30px;
        padding-bottom: 0;
    }

    .news-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 100%;
        scroll-snap-align: none;
    }

}

@media (max-width: 700px) {
    .news-card {
        flex: 0 0 100%;
        /* 1 por fila en móbiles */
    }
}