/* hero */
.news_hero{
    position: relative;
}
.news_hero_txt{
    position: absolute;
    color: #fff;
    z-index: 1;
    top: 50%;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
@media screen and (max-width:767px) {
    .news_hero_img {
        aspect-ratio: 440/213;
        img{
            object-fit: unset;
        }
    }
}
/* content */
.news_content{
    padding-top: 9rem;
    padding-bottom: 12rem;
}
.news_content_item{
    display: flex;
    flex-direction: column;
    grid-column: auto;
    text-decoration: none;
    color: #5C5C5C;
    position: relative;
    &:hover {
        color: #5C5C5C;
        .news_content_item_img img {
            transform: scale(1.15);
        }
        .news_content_item_detail {
            transform: translateX(1rem);
        }
    }
}
.news_content_inner{
    grid-template-columns: repeat(3, 1fr);
    row-gap: 8rem;
    margin-bottom: 9rem;
}
.news_content_item_txt{
    padding: 3rem 3.5rem 4.5rem;
    background-color: #F5F5F5;
    flex: 1;
}
.news_content_item_title{
    margin-bottom: 2.5rem;
}
.news_content_item_img {
    aspect-ratio:470/251;
    overflow: hidden;
    img {
        transition: transform .4s ease;
    }
}
.news_content_item_des{
    display: -webkit-box;
    -webkit-line-clamp: 3;       /* Số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
}
.news_content_paging_num{
    padding-inline: 1rem;
    display: block;
    max-width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #A6CE39;
    border: 1px solid #A6CE39;
    transition: all .3s ease;
    &.active{
        color: #fff;
        background-color: #014129;
        border: none;
    }
    &:hover{
        color: #fff;
        background-color: #014129;
        border: none;
    }
}
.news_content_paging{
    display: flex;
    justify-content: center;
    gap: 1.4rem;
}
.news_content_paging_prev, .news_content_paging_next{
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        width: .7rem;
    }
}
.news_content_paging_prev2, .news_content_paging_next2{
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        width: 1.1rem;
    }
}
.news_content_paging_more{
    color: #A6CE39;
    align-self: flex-end;
    transition: transform .4s ease;
}
.news_content_item_time{
    position: absolute;
    padding-inline: 2rem;
    padding-block: .2rem;
    border-radius: .6rem;
    background-color: #F5F5F5;
    top: 22.5rem;
    left: 1.1rem;
    color: #A6CE39;
    z-index: 10;
}
.news_content_item_detail{
        bottom: -1.5rem;
        position: absolute;
        display: flex;
        width: 11.8rem;
        padding-block: .2rem;
        gap: .8rem;
        justify-content: center;
        align-items: center;
        background-color: #A6CE39;
        border-radius: .6rem;
        left: 3rem;
        transition: transform .4s ease;
    }
    .news_content_item_detail_txt{
        color: #fff;
    }
    .news_content_item_detail_img{
        width: 1.4rem;
    }
@media screen and (max-width:991px) {
    .news_content_inner{
        grid-template-columns: repeat(2, 1fr);
        row-gap: 5rem;
        margin-bottom: 9rem;
    }
    .news_content_item_txt{
        padding: 2rem 2.5rem 3.5rem;
    }
    .news_content_item_title {
        margin-bottom: 1rem;
    }
    .news_content_item_time {
        top: 15.5rem;
    }
    .news_content_item_detail{
        width: 10.5rem;
    }
}
@media screen and (max-width:767px) {
    .news_content_inner{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 7rem;
        margin-bottom: 9rem;
    }
    .news_content_item_txt{
        padding: 2rem 3rem 2.5rem;
        .news_content_item_title{
            font-size: 1.7rem;
        }
        .news_content_item_des{
            font-size: 1.6rem;
        }
    }
    .news_content_item_title {
        margin-bottom: 1.5rem;
    }
    .news_content{
        padding-top: 5rem;
        padding-bottom: 4.7rem;
    }
    .news_content_inner{
        margin-bottom: 7rem;
    }
    .news_content_item_detail{
        bottom: -1.2rem;
        position: absolute;
        display: flex;
        width: 12rem;
        justify-content: center;
        align-items: center;
        background-color: #A6CE39;
        border-radius: .6rem;
        bottom: -1.2rem;
        left: 3rem;
    }
    .news_content_item_detail_txt{
        color: #fff;
    }
    .news_content_item_time{
        top: 19.2rem;
    }
}

