.header {
    position: absolute;
}

.news {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    padding-top: 68px;
}

.news .new-box-right .row > * {
    padding: 0px 40px;
}

#news .tag-news {
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px; */
    padding: 4px 10px;
    border: 1.2px solid #161317;
    color: #161317;
    margin-right: 8px;
    margin-top: 14px;
}

#news .tag-news:hover {
    background-color: #e74c39;
    color: #ffffff;
    border: 1.2px solid #e74c39;
    box-shadow: 0px 4px 18px 0px #ff2121ab;
}

#news .row {
    margin-left: 0;
    margin-right: 0;
}

#news .news-img img {
    overflow: hidden;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    aspect-ratio: 16 / 9;
}

#news .news-img {
    cursor: pointer;
    overflow: hidden;
}

#news .news-img:hover img {
    transform: scale(1.1);
    transition: all 0.5s ease-out;
}

#news {
    background-image: url(https://cdn.yopaz.com/assets/images/home/main_bg.avif);
    background-repeat: repeat;
}

.banner {
    background-image: url(https://cdn.yopaz.com/assets/images/news-img/bg-banner.avif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    align-items: center;
    display: flex;
    justify-content: center;
    top: 68px;
}

.img-left img {
    width: 144px;
    height: 90px;
}

.banner-text {
    max-width: 1054px;
    margin: 120px 0px;
}

.news-content {
    margin-top: 88px;
    max-width: 1325px;
}

.news-title-left {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0em;
    padding-bottom: 20px;
    cursor: pointer;
}

.new-box {
    padding-bottom: 24px;
    border-bottom: 1px solid #d1d1d1;
}

.new-box-list .new-box:not(:first-child) {
    margin-top: 24px;
}

.new-box-left,
.new-box-right {
    padding: 0px;
}

.box {
    margin-bottom: 40px;
}

.news-text {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0em;
    margin-left: 25px;
    cursor: pointer;
}

.item-filter {
    border: 1px solid #bdbdbd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: left;
    padding: 4px 12px !important;
    margin-right: 20px;
    margin-bottom: 12px !important;
    cursor: pointer;
    background-color: white;
}

.item-filter a {
    color: #bdbdbd;
}

.list-item .active {
    background: #e74c39;
    color: white;
    border: 1px solid #e74c39;
}

.list-item .active a {
    color: white !important;
}

.tag-new {
    padding: 10px;
    background: #161317;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0em;
}

.date {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0em;
    display: flex;
    align-items: center;
}

.date img {
    margin-left: 5px;
}

.date span {
    margin-left: 18px;
}

.news-title-right {
    min-height: 48px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0em;
    margin: 12px 0px;
    cursor: pointer;
}

.news-title-right:hover {
    color: #e74c39;
}

.new-text-right {
    height: 108px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0em;
    color: #4e4d52;
    margin-top: 16px;
}

.border-b {
    width: 40%;
    margin: 24px 0px;
    border-bottom: 1px solid #cccccc;
}

.border-t {
    display: none;
    width: 40%;
    margin: 24px 0px;
    border-bottom: 1px solid #cccccc;
}

.box-right:first-child .border-t {
    margin-top: 0;
}

.box-right {
    border-right: 1px solid #cccccc;
}

.content-box-list {
    margin-bottom: 88px;
}

.pagination {
    justify-content: center;
    align-items: center;
    margin-bottom: 88px;
}

.pagination .page-item .page-link {
    margin-left: 12px;
    padding: 11px 17px;
    border: 1px solid #bdbdbd;
    color: #bdbdbd;
    background: white;
    cursor: pointer;
    border-radius: unset;
    font-weight: 700;
    font-size: 16px;
}

.pagination .active .page-link {
    background: #e74c39;
    border: 1px solid #e74c39;
    color: white;
}

.border-short {
    border-bottom: 0.6px solid #ffffff;
    width: 50px;
}

.border-center {
    display: flex;
    justify-content: center;
    margin: 12px 0px;
}

.text-level-1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0em;
    margin-bottom: 8px;
}

.text-level-2 {
    font-family: "MuseoSans_0", sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0em;
    text-transform: uppercase;
}

.text-level-3 {
    font-family: "Kozuka-Gothic-Pr6N", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0px 75px 8px 75px;
    letter-spacing: 0em;
}

@media (max-width: 1600px) {
    .img-left img {
        height: auto;
    }

    .news-content {
        margin-top: 88px;
        width: 81%;
    }
}

@media (max-width: 1366px) {
    .news-text {
        margin: 0px 10px;
    }

    .news .new-box-right .row > * {
        padding: 0px 20px;
    }

    .text-level-1 {
        font-size: 28px;
    }

    .text-level-2,
    .news-title-left {
        font-size: 18px;
    }

    .text-level-3,
    .news-text,
    .news-title-right {
        font-size: 14px;
    }

    .img-left img {
        width: 110px;
    }
}

@media (max-width: 980px) {
    .new-box-left .news-text {
        margin-right: 30px;
    }

    .text-level-2 {
        margin: 0 28px 8px 28px;
    }

    .text-level-3 {
        margin: 0px 25px;
    }
}

@media (max-width: 991px) {
    .banner {
        top: 52px;
    }

    .news {
        padding-top: 52px;
    }
}

@media (max-width: 760px) {
    .news-content {
        width: 95%;
    }

    .news-content {
        margin-top: 48px;
    }
}

@media (max-width: 691px) {
    .tag-news {
        font-size: 13px;
    }

    .news-title-left {
        text-align: center;
    }

    .new-box-list {
        display: block;
        padding: 0px 60px;
    }

    .new-box-left .new-box {
        flex: none;
        width: 100%;
    }

    .new-box-left .list-item {
        padding: 0px 60px;
    }

    .box-right {
        padding: 0px 20px;
    }

    .content-box-list {
        margin-bottom: 50px;
    }

    .text-level-1 {
        font-size: 24px;
    }

    .text-level-2 {
        font-size: 19px;
        margin: 0 21px 8px 21px;
    }

    .text-level-3 {
        font-size: 16px;
        margin: 0px 20px;
    }

    .new-box-list .new-box:nth-child(2) {
        margin-top: 22px;
    }

    .new-box {
        padding-bottom: 16px;
    }
}

@media (max-width: 600px) {
    .new-box-list {
        display: block;
        padding: 0px 30px;
    }

    .content-box-list {
        margin-bottom: 30px;
    }

    .new-box-left .list-item {
        padding: 0px 30px;
    }

    .news .new-box-right .row > * {
        padding: 0px 10px;
    }
}

@media (max-width: 570px) {
    .box-right {
        border-right: unset;
    }

    .news-content {
        margin-top: 36px;
    }

    .pagination .item {
        margin-bottom: 40px;
        padding: 8px 14px 8px 14px;
        font-size: 14px;
        font-weight: 700;
    }

    .new-box-right .box-right {
        width: 100%;
    }

    .new-box-left .news-text {
        margin-right: 0px;
    }

    .banner {
        background-image: url(https://cdn.yopaz.com/assets/images/news-img/bg-banner-2.png);
    }

    .text-level-1 {
        font-size: 20px;
    }

    .text-level-2 {
        font-size: 16px;
    }

    .text-level-3 {
        font-size: 14px;
        font-weight: 300;
    }
}

@media (max-width: 480px) {
    .pagination .page-item .page-link {
        margin-left: 4px;
        padding: 8px 12px 8px 12px;
    }
    .news .new-box-right .row > * {
        padding: 0px 30px;
    }

    .new-box-list {
        padding: 0px 10px;
    }

    .new-box-left .list-item {
        padding: 0px 20px;
    }

    .text-level-2 {
        font-size: 16x;
    }

    .text-level-3 {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .news .new-box-right .row > * {
        padding: 0px 20px;
    }

    .new-box-list {
        padding: 0px;
    }

    .new-box-left .list-item {
        padding: 10px;
    }

    .item-filter {
        margin-right: 9px;
        padding: 6.5px 12px !important;
        font-size: 12px;
        font-weight: 700;
    }

    .new-box-left .news-text {
        margin-left: 16px;
    }
}

@media (max-width: 400px) {
    .tag-new {
        font-size: 12px;
        font-weight: 700;
    }

    .date {
        font-size: 12px;
        font-weight: 700;
    }

    .news-title-right {
        min-height: 40px;
        font-size: 15px;
        font-weight: 700;
        margin-block: 8px 16px;
    }

    .news .new-box-right .row > * {
        padding: 0px 5px;
    }

    .new-box-right {
        max-width: 350px;
        margin-inline: auto;
    }

    .new-text-right {
        font-size: 14px;
        font-weight: 400;
        margin-top: 16px;
    }

    .box-right .border-b {
        display: none;
    }

    .box-right .border-t {
        display: block;
    }

    .news-title-left {
        font-size: 18px;
        font-weight: 700;
    }

    .new-box-left .news-text {
        font-size: 14px;
        font-weight: 700;
    }

    .new-box-left {
        padding-inline: 12px;
    }

    .new-box-left .list-item {
        padding: 0px;
    }

    .news-content {
        width: 99%;
    }

    .box {
        margin-bottom: 36px;
    }

    #news .tag-news {
        font-size: 14px;
        font-weight: 400;
        max-width: 160px !important;
        margin-top: 20px;
    }

    .new-box-list {
        margin-right: 0;
    }

    .img-left img {
        width: 112px;
        height: 70px;
    }

    .new-box-list .new-box:not(:first-child) {
        margin-top: 16px;
    }
}

