/* Container slider */
.bns-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0px;
}

/* Chia hàng bằng Flexbox */
.bns-column-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Thẻ Tin Tức - Thiết kế giống ảnh đính kèm */
.bns-card {
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 18px;
    padding: 18px 12px 12px 12px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.bns-empty-card {
    visibility: hidden;
    border: none;
    box-shadow: none;
}

.bns-card-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bns-thumb img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.bns-content {
    flex: 1;
}

.bns-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer thẻ: Like, Comment và Giảng viên */
.bns-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Chuyển từ space-between thành flex-start */
    gap: 15px; /* Khoảng cách cố định giữa nhóm Like/Comment và Giảng viên */
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
}

.bns-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bns-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.bns-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.bns-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bns-author-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.bns-author-name {
    font-size: 13px;
    color: #222;
    font-weight: 500;
}

/* Responsive hiển thị slide */
.bns-slider-wrapper .swiper-slide {
    width: 333px; /* Độ rộng danh mục thẻ trên PC */
}

@media (max-width: 768px) {
    .bns-slider-wrapper .swiper-slide {
        width: 90%; /* Hiển thị đẹp trên mobile */
    }
}

@media (max-width: 768px) {

.bns-thumb img {
    width: 87px;
}
.bns-card{padding: 12px 9px 9px 9px}
.bns-card-body {
    gap: 9px;
}



}