.parallax.breadcrumb,.container {
    opacity: 0; /* Ẩn nội dung trước khi JS hoàn thành */
    transition: opacity 0.3s ease-in-out;
}
.js-loaded .parallax.breadcrumb,.js-loaded .container {
    opacity: 1;
}
.news{
    padding: 0 2rem 5.125rem 2rem;
    max-width: 90rem;
    margin: 0 auto;
    min-height: 42rem;
}
.text-news{
    text-align: center;
}
.text-h1{
    /* font-family: 'NTJSans-Regular', sans-serif; */
    font-size: 1.75rem;
    text-align: center;
    color: #A2041B;
    margin-bottom: 0;
    text-transform: uppercase;
}
.text-news p{
    margin: 0.5rem auto 2rem auto;
    font-size: 1rem;
    max-width: 42rem;
}
.news .text-news .utility-icons{
    justify-content: center;
}
.svg-lienhe{
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 2rem;
    max-width: 90rem;
    padding: 2.5rem;
}
.icon-social{
    display: inline-block;
    width: 2rem;
    height: 2rem;
    position: relative;
    top: -1px;
    margin-right: 0.5rem;
}
.icon-social:hover{
    opacity: 0.5;
}
.tabs-news {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 1rem 0;
    /* max-width: 64rem; */
    margin: 0 auto;
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}
.tab-new {
    /* padding: 0.5rem 0.75rem; */
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 400;
    background: none;
    font-size: 1rem;
    text-transform: uppercase;
    /* color: #FFFFFF;
    border: 1px solid #A2041B;
    background-color: #A2041B; */
}
/* .tab-new.sub-list{
    color: #FFFFFF;
    font-weight: 500;
    background-color: #999;
} */
.tab-new.sub-list:hover{
    color: #A2041B;
    border-bottom: 1px solid #A2041B;
}
.tab-new.active {
    color: #A2041B;
    /* background-color: #A2041B;
    border: 1px solid #F8C868; */
}
.grid-all{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    transition: opacity 0.5s ease-in-out;
    padding-top: 3.125rem;
}
.pagination-load strong{
    font-family: 'NTJSans-Bold',sans-serif;
    color: #3e3d42;
    font-weight: 500;
}
.news-category{
    display: flex;
    flex-direction: column;
}
.news-category img{
    width: 100%;
    height: auto;
    -webkit-transition: all .25s;
    transition: all .25s;
    object-fit: cover;
}
.time-new{
    color: #999;
    font-size: 0.875rem;
    position: relative;
}
.time-new img{
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 2px;
    left: 0;
}
.time-new span{
    color: #F7C882;
    font-size: 0.875rem;
    /* padding-left: 1.2rem; */
}
.describe {
    /* font-family: "NTJSans", sans-serif; */
    margin-top: -0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn số dòng */
    -webkit-box-orient: vertical;
    font-size: 0.875rem;
    text-align: justify;
    overflow: hidden; /* Ẩn phần văn bản vượt quá */
}

.title-new{
    font-family: 'NTJSans-Medium',sans-serif;
    text-transform: math-auto;
    text-transform: uppercase;
    margin-top: -0.5rem;
    font-size: 1.125rem;
    letter-spacing: 0;
    cursor: pointer;
}
.title-new:hover{
    color: #A2041B;
}

.grid-all.fade-in {
    opacity: 1;
}
.pagination-load {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.875rem;
    color: #3e3d42;
    /* border-bottom: 1px solid #A2041B; */
}
.btn-seemore{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
}
.btn-seemore a{
    font-family: 'NTJSans-Bold';
    font-weight: 400;
    transition: all 0.2s ease-in-out;
    border: 1px solid #A2041B;
    padding:0.75rem 1.25rem 0.625rem 1.25rem;
    line-height: 1;
    color: #A2041B;
    font-size: 0.875rem;
    text-transform: uppercase;
}
.btn-seemore a:hover{
    background-color: #A2041B;
    color: #F8C868;
    border: 1px solid #F8C868;

}
@media(max-width:1440px)
{
    .tabs-news{
        margin: 0 auto;

    }
    .grid-all{
        max-width: 73.75rem;
        margin: 0 auto;
    }
    .tabs-news{
        max-width: 73.75rem;
    }
}
@media(max-width:768px){
    .tabs-news{
        gap: 2.25rem;
    }
    .grid-all{
        grid-template-columns: 1fr;
    }
    .text-h1{
        font-size: 1.25rem;
        margin: 2rem auto;
    }
}
@media(max-width:480px){
    .svg-lienhe{
        padding: 1.25rem;
    }
    .tabs-news{
        /* flex-direction: column;
        align-items: center;
        text-align: center; */
        /* gap: 0.5rem; */
        text-align: center;
    }
    .tabs-news a:nth-child(2) {
        width: 40%;
    }

    .grid-all{
        grid-template-columns: 1fr;
    }
    .time-new{
        font-size: 0.8rem;
    }
    .title-new{
        font-size: 1rem;
    }
    .btn-seemore{
        padding: 0.5rem;
    }
}