/* Đảm bảo cột trái và phải có chiều cao bằng nhau */
.news-category-section .row {
    display: flex;
    align-items: stretch;
}

.news-category-section .col-md-7,
.news-category-section .col-md-5 {
    display: flex;
    flex-direction: column;
}

.news-category-section .featured-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-category-section .featured-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category-section .col-md-5 .row {
    height: 100%;
}

.news-category-section .related-item {
    flex: 1;
}

/* Đảm bảo ảnh featured có tỷ lệ cố định */
.featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Điều chỉnh card body để nội dung cân bằng */
.news-category-section .featured-card .card-body {
    padding: 1rem;
}

.news-category-section .related-item .d-flex {
    height: 100%;
}

/* Giới hạn excerpt */
.featured-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
