/* Scoped to news_list.php; shared grid widths and gutters stay responsive. */
.news-card-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.news-card-grid > .grid-item {
    display: flex;
    min-width: 0;
}
.news-card-grid .card {
    width: 100%;
    min-width: 0;
}
.news-card-grid .blog-image img {
    display: block;
    width: 100%;
    height: auto;
}
.news-card-grid .card-body {
    display: flex;
    flex-direction: column;
}
.news-card-grid .custom-blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 28px;
    height: 56px;
    flex-shrink: 0;
}
.news-card-grid .custom-blog-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 24px;
    height: 72px;
    flex-shrink: 0;
}
.news-card-grid .custom-blog-desc + .text-end {
    margin-top: auto;
}
.news-card-grid > .news-card-empty {
    width: 100%;
    justify-content: center;
}
