﻿.topnews{
    flex-wrap:wrap;
}
.post-title {
    font-size: 32px;
    line-height: 36px;
    padding-right: 0;
}
@media (min-width: 1400px) {
    .tin-tuc {
        max-width: 1024px !important;
       
    }
    
}
@media (max-width: 768px) {
    .tin-tuc img {
        width:100%;
    }
    .thumb-art-left {
        position: relative;
        width: 100% !important
    }

    .thumb-art-right {
        position: relative;
        width: 100% !important;
    }
    .description-right{
        width:100% !important;
    }
}
.thumb-art {
    position: relative;
}
.thumb-art-left{
    position: relative;
    width:750px
}
.thumb-art-right {
    position: relative;
    width: 300px
}
.thumb-art .title-top-news {
    bottom: 10px;
    font-size: 24px;
    font-weight: bold;
    max-width: calc(100% - 40px);
    position: absolute;
    left: 15px;
    right: 15px;
    color: #fff;
    margin-bottom: 0;
    z-index: 2;
}
.thumb-art .title-news {
    bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    max-width: calc(100% - 40px);
    position: absolute;
    left: 15px;
    right: 15px;
    color: #fff;
    margin-bottom: 0;
    z-index: 2;
}

.thumb-art::after {
    content: ""; /* Bắt buộc để hiển thị ::after */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Tùy chỉnh chiều cao vùng đổ bóng */
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); /* Hiệu ứng gradient */
    z-index: 1; /* Đảm bảo lớp phủ nằm trên ảnh */
}

.description {
    padding: 10px 15px 10px 15px;
    width: 100%;
    float: left;
    min-height:70px;
}
.description-right {
    width: 300px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    font-size: 14px;
    color: #333333;
}
.item-news .description a {
    line-height: 140%;
    font-size: 14px;
    color: #4f4f4f;
}
.main-images img {
    object-fit: cover;
    width:240px;
    height:144px;
}