.news-card {
    display: flex;
    gap: 16px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    transition: 0.2s;
    height: 100%; /* 🔥 iguala altura */
}

    .news-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

.news-img {
    flex-shrink: 0;
}

    .news-img img {
        width: 220px;
        height: 140px;
        object-fit: cover;
        border-radius: 6px;
    }

.news-content {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */ /* 🔥 distribui conteúdo */

    flex: 1;
}

    .news-content h3 {
        font-size: 15px;
        margin: 5px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 🔥 limita título */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.news-card {
    transition: all 0.25s ease;
}

.categoria {
    color: #0d6efd;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}
/* Remove as bordas e linhas padrão da tabela para não afetar os cards */
#tabela-galeria, #tabela-galeria th, #tabela-galeria td, #tabela-galeria tr {
    border: none !important;
    background: transparent !important;
}

    #tabela-galeria tbody {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

/*     .dataTables_wrapper {
            padding: 0;
        } */

.card {
    border-radius: 12px;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}
