﻿.news-page {
    background: #fff;
    padding: 152px 0 0;
}
.back-button a {
    color: #272e4e;
    font-weight: 700;
}
.text-start {
    margin: 40px 0 80px;
    font-weight: 700;
}
/* Banner */
.news-banner {
    background: linear-gradient(90deg, #0c5eda, #02c2ff);
    padding: 80px 0;
    color: #fff;
}
.blog-slide h2 {
    font-weight: 700;
    margin: 0 0 40px;
    color: #fff;
    text-align: center;
}
.news-banner-title {
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 10px;
}

.banner-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-track-wrapper {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
}

.banner-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 260px;
}

.banner-card {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    cursor: pointer;
}

    .banner-card.is-center {
        width: 500px;
        min-width: 500px;
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }

    .banner-card.is-side {
        width: 360px;
        min-width: 360px;
        opacity: 0.35;
        transform: scale(0.92);
        z-index: 1;
    }

.banner-card-inner-img {
    width: 42%;
    min-width: 42%;
    max-width: 42%;
}

.banner-card-img,
.banner-card-img img {
    width: 100%;
    height: 208px;
}

    .banner-card-img img {
        object-fit: cover;
        display: block;
    }

.banner-card-inner {
    flex: 1;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-card-date {
    color: #16325c;
    font-size: 16px;
    margin-bottom: 12px;
}

.banner-card-title h5 {
    color: #272e4e;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
    .banner-card-title h5:hover {
        color: #0c41be;
    }

.banner-card-cat-slide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    border: 1px solid #1c2d57;
    border-radius: 6px;
    color: #1c2d57;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.banner-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.banner-arrow {
    /*margin: 24px;*/
    padding: 21px;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 25px;
}
    /*.banner-arrow:hover {
        background-color: #ffffff;
        color: #0c41be !important;
        text-decoration: none;
    }*/
.banner-arrow.right {
    margin-left: 20px;
}
    .banner-arrow.left {
        margin-right: 20px;
    }
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

    .banner-dots .dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: none;
        background: #d8d8d8;
        cursor: pointer;
    }

        .banner-dots .dot.active {
            background: #ffffff;
            /*box-shadow: 0 0 0 6px rgba(255,255,255,0.25);*/
        }

/*.banner-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.banner-track {
    display: flex;
    gap: 10px;
    transition: transform .18s ease;
}

.banner-card {
    min-width: 320px;
    flex: 0 0 auto;
    display: flex;
    background: rgba(255,255,255,.92);
    color: #102a43;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}
.banner-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.banner-card-img {
    width: 320px;
    height: 158px;
}
.banner-card-inner {
    width: 380px;
    margin: auto 0;
    padding: 8px;
}
.banner-card-date {
    margin-bottom: 8px;
}
.banner-card-title {
    font-weight: 900;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;*/ /* số dòng */
    /*-webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-card-title h5{
    font-weight: 700;
}
.banner-card-cat-slide.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    border: 1px solid #272e4e;
    border-radius: 4px;
    text-decoration: none;
    color: #272e4e;
    background: #fff;
    width:40%;
    text-transform: uppercase;
    font-weight:700;
}
.banner-card-desc {
    font-size: 12px;
    opacity: .8;
    max-height: 2.6em;
    overflow: hidden;
}

.banner-card-cat {
    font-weight: 800;
    opacity: .65;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

    .banner-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: rgba(255,255,255,.45);
    }

        .banner-dots .dot.active {
            background: #fff;
        }*/
.banner-card-cat-slide.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    border: 1px solid #272e4e;
    border-radius: 4px;
    text-decoration: none;
    color: #272e4e;
    background: #fff;
    width: 60%;
    text-transform: uppercase;
    font-weight: 700;
}
.banner-card-cat-slide.tab:hover {
    background: #0C41BE;
    color: #fff;
    border-color: #0C41BE;
}
    /* Filter */
    .news-filter {
        /*padding: 15px;*/
    }

.news-searchbar {
    display: flex;
    align-items: center;
}

.search-label {
    font-weight: 900;
    font-size: 12px;
}

.search-input {
    flex: 1;
    height: 32px;
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    padding: 0 10px;
}

.search-btn {
    height: 32px;
    border-radius: 6px;
    border: none;
    padding: 0 12px;
    background: #2b6cff;
    color: #fff;
    font-weight: 800;
}

.news-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .news-tabs .tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 24px;
        padding: 0 10px;
        border: 1px solid #cbd2d9;
        border-radius: 3px;
        font-weight: 900;
        text-decoration: none;
        color: #1f2933;
        background: #fff;
    }

    .tab.active {
        background: #2b6cff;
        border-color: #2b6cff;
        color: #fff;
    }
.news-filter {
    margin-top: 80px;
}

.news-filter-layout {
    display: grid;
    grid-template-columns: 140px 1fr 180px;
    column-gap: 26px;
    align-items: start;
}

.search-label {
    font-size: 32px;
    font-weight: 800;
    color: #24335d;
    letter-spacing: 0.5px;
    line-height: 48px;
}

.news-filter-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-searchbar {
    display: grid;
    /*grid-template-columns: 1fr 180px;*/
    column-gap: 20px;
    align-items: center;
}

.search-input {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: #e9e9e9;
    padding: 0 20px;
    font-size: 16px;
    color: #24335d;
    outline: none;
}

    .search-input::placeholder {
        color: #a9a9b3;
        font-weight: 600;
    }

.search-btn {
    height: 48px;
    border: none;
    border-radius: 16px;
    padding: 5px 0;
    background: linear-gradient(to right, #0c41be, #0ac3d1);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-btn:hover {
    filter: brightness(1.5);
}
.search-btn img {
    margin-left: 10px;
    width: 36px;
    padding: 3px;
}

.search-icon {
    font-size: 24px;
    line-height: 1;
}

.news-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .clear-btn {
        /*min-width: 180px;*/
        height: 44px;
        border: 1.5px solid #272e4e;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        background: #fff;
        color: #272e4e;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
    }
        .clear-btn:hover {
            color: #0c41be;
            text-decoration: none;
        }

    .news-tabs .tab{
        min-width: 23%;
        height: 44px;
        border: 1.5px solid #272e4e;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        background: #fff;
        color: #272e4e;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
    }
        .news-tabs .tab:hover {
            background: #0C41BE;
            color: #fff;
            border-color: #0C41BE;
        }

        .news-tabs .tab.active {
            background: #0C41BE;
            color: #fff;
            border-color: #0C41BE;
        }

.news-filter-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    /*padding-top: 66px;*/ /* đẩy clear xuống ngang hàng category */
}

.clear-btn {
    border: 4px solid #272e4e;
    color: #272e4e;
    font-weight: 800;
}
/*.clear-btn:hover {
    border: 4px solid #0c41be;
    color: #ffffff;
    font-weight: 800;
    background: #0c41be;
}*/

@media (max-width: 1024px) {
    .news-filter-layout {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .search-label {
        line-height: normal;
    }

    .news-searchbar {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .news-filter-side {
        padding-top: 0;
    }
}
/* List */
.news-list {
    padding: 80px 15px 100px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-item {
    /*border: 1px solid #e6ecf2;*/
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    position: relative;
    cursor: pointer;
}
.news-item-link{
    position: absolute;
    inset: 0;
    z-index: 1;
}
.news-thumb {
    background: #f3f7fb;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.news-meta {
    padding: 10px;
}

.news-cat {
    font-size: 10px;
    font-weight: 900;
    opacity: .65;
    margin-bottom: 4px;
}

.news-title {
    /*font-size: 12px;*/
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-desc {
    font-size: 11px;
    opacity: .75;
    max-height: 2.8em;
    overflow: hidden;
    line-height: 1.35;
}

.news-pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}
    .news-pagination h6 {
        margin-right: 10px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1f2933;
    font-weight: 700;
    font-size: 16px;
}

    .page-btn.active {
        color: #0c41be;
        text-decoration: underline;
    }

    .page-btn.disabled {
        pointer-events: none;
        opacity: .45;
    }

/* Video section */
.news-video {
    background: linear-gradient(90deg, #183fbf, #001a6b);
    padding: 16px 0 18px;
    color: #fff;
}

.video-title {
    text-align: center;
    font-weight: 900;
    margin-bottom: 10px;
}

.video-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 400;
}

.video-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.video-track {
    display: flex;
    gap: 10px;
    transition: transform .18s ease;
}

.video-card {
    width: 180px;
    flex: 0 0 auto;
}

.video-thumb {
    position: relative;
    
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .video-thumb .play {
        position: absolute;
        right: 8px;
        bottom: 8px;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: rgba(43,108,255,.92);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

.video-name {
    font-size: 11px;
    font-weight: 800;
    margin-top: 6px;
}

.video-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

    .video-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: rgba(255,255,255,.45);
    }

        .video-dots .dot.active {
            background: #fff;
        }

.video-iframe-wrap {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

    .video-iframe-wrap iframe {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

.news-video {
    background: linear-gradient(90deg, #2874fc, #020381);
    padding: 80px 0 100px;
    overflow: hidden;
}

.video-title {
    text-align: center;
    color: #fff;
    /*font-size: 2rem;*/
    font-weight: 700;
    margin-bottom: 80px;
    line-height: 1.2;
}

.video-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.video-track {
    display: flex;
    gap: 28px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.video-card {
    flex: 0 0 calc((100% - 56px) / 3);
    min-width: calc((100% - 56px) / 3);
    color: #fff;
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #12233d;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0.95;
    }

    .video-thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.18);
    }

    .video-thumb .play {
        position: absolute;
        z-index: 2;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgba(255,255,255,0.9);
        color: #0d1f3d;
        font-size: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

.video-name {
    margin-top: 26px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* số dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-name:hover {
    text-decoration: underline;
}

.video-arrow {
    /*margin: 24px;*/
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 25px;
}

    /*.video-arrow:hover {
        background-color: #ffffff;
        color: #0c41be !important;
        text-decoration: none;
    }*/

.video-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

    .video-dots .dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: none;
        background: #d8d8d8;
        cursor: pointer;
    }

        .video-dots .dot.active {
            background: #ffffff;
            /*box-shadow: 0 0 0 6px rgba(255,255,255,0.25);*/
        }

/* Modal */
.video-modal-custom .modal-dialog {
    max-width: 1400px;
}

.video-modal-custom .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    width: 100%;
}

.video-modal-custom .modal-body {
    background: #000;
    padding: 0;
    border-radius: 0;
}

.video-modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    display: none;
}

.video-iframe-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

    .video-iframe-wrap iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

.video-close {
    position: absolute;
    right: 40px;
    top: 50px;
    z-index: 20;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

    .video-close span {
        display: inline-block;
        transform: translateY(-1px);
    }

@media (max-width: 1024px) {
    .video-card {
        flex: 0 0 calc((100% - 28px) / 2);
        min-width: calc((100% - 28px) / 2);
    }

    .video-name {
        font-size: 20px;
        min-height: 90px;
    }
    .news-filter-side {
        flex-direction: row;

    }
    .search-btn {
        width: 50%;
    }
    .clear-btn {
        width: 50%;
    }
}
.news-mobile-category {
    display: none;
}

.news-mobile-category-toggle {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #e9e9e9;
    color: #0c41be;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    cursor: pointer;
}

.news-mobile-category-arrow {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.news-mobile-category.open .news-mobile-category-arrow {
    transform: rotate(180deg);
}

.news-mobile-category-menu {
    display: none;
    padding-top: 10px;
}

.news-mobile-category.open .news-mobile-category-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-mobile-category-item {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #24335d;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

    .news-mobile-category-item .box {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        background: #efefef;
        border: 1px solid #efefef;
        flex: 0 0 24px;
    }

    .news-mobile-category-item.active .box {
        background: #0c41be;
        border-color: #0c41be;
        position: relative;
    }

        .news-mobile-category-item.active .box::after {
            content: "";
            position: absolute;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 12px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
.arrow-btn {
    right: 16px;
    top: 100%;
    transform: rotate(-45deg) translateY(-30%);
    font-size: 18px;
    line-height: 1;
    color: #2450d3;
    pointer-events: none;
    font-weight: 700;
}
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }
    .news-page {
        padding: 90px 0 0;
    }
    .text-start {
        margin: 20px 0 40px;
    }
    .news-filter {
        margin-top: 40px;
    }
    .news-banner {
        padding: 48px 0 56px;
        overflow: hidden;
    }
    .news-filter-side {
        flex-direction: row;
    }
    .search-btn{
        width: 50%;
    }


    .blog-slide h1 {
        font-size: 22px;
        margin: 0 0 28px;
    }

    .banner-slider {
        gap: 0;
        justify-content: center;
        position: relative;
    }

    .banner-track-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding: 0 60px;
    }

    .banner-track {
        gap: 0;
        min-height: auto;
        justify-content: center;
        position: relative;
    }

    .banner-card {
        flex-direction: column;
        border-radius: 18px;
        overflow: hidden;
    }

        .banner-card.is-center {
            width: 100%;
            min-width: 260px;
            opacity: 1;
            transform: scale(1);
            z-index: 3;
        }

        .banner-card.is-side {
            width: 100%;
            max-width: 300px;
            min-width: 300px;
            opacity: 0.22;
            transform: scale(0.9);
            z-index: 1;
            position: absolute;
            top: 0;
        }

        .banner-card.is-left {
            left: -120px;
        }

        .banner-card.is-right {
            right: -120px;
        }

    .banner-card-inner-img {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .banner-card-img,
    .banner-card-img img {
        width: 100%;
        height: 190px;
    }

    .banner-card-inner {
        padding: 18px 18px 20px;
        justify-content: flex-start;
    }

    .banner-card-date {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .banner-card-title h5 {
        font-size: 18px;
        line-height: 1.45;
        margin: 0 0 14px;
        -webkit-line-clamp: 2;
    }

    .banner-card-cat-slide.tab {
        width: 100%;
        max-width: 170px;
        height: 40px;
        font-size: 15px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        padding: 0;
    }

        .banner-arrow.left {
            left: 15px;
        }

        .banner-arrow.right {
            right: 15px;
        }

    .banner-dots {
        margin-top: 22px;
        gap: 10px;
    }

        .banner-dots .dot {
            width: 14px;
            height: 14px;
        }

            .banner-dots .dot.active {
                background: #fff;
            }
    .news-video {
        padding: 40px 0 50px;
    }
    .video-title {
        /*font-size: 36px;*/
        margin-bottom: 40px;
    }

    .video-slider {
        gap: 10px;
    }

    .video-card {
        flex: 0 0 80%;
        min-width: 80%;
    }
        .video-card.next {
            opacity: 0.22;
        }

    .video-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
        flex: 0 0 35px;
    }
    .video-arrow.left{
        /*margin:0 0 0 10px;*/
    }
        .video-arrow.right {
            /*margin: 0 10px 0 0;*/
        }

    .video-name {
        font-size: 18px;
        min-height: auto;
    }

    .video-thumb .play {
        width: 62px;
        height: 62px;
        font-size: 28px;
    }
    .video-dots .dot {
        width: 14px;
        height: 14px;
    }
    .video-close {
        position: absolute;
        right: 30px;
        top: 40px;
        width: 40px;
        height: 40px;
        font-size: 28px;

    }
    .news-tabs {
        display: none;
    }

    .news-mobile-category {
        display: block;
    }

    .news-filter-layout {
        display: block;
    }

    .search-label {
        font-size: 26px;
        line-height: normal;
        margin-bottom: 15px;
    }

    .news-filter-main {
        gap: 15px;
    }

    .news-filter-side {
        margin-top: 16px;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

        .news-filter-side .search-btn,
        .news-filter-side .clear-btn {
            width: calc(50% - 5px);
            min-width: 0;
            height: 48px;
        }
    .news-list {
        padding: 40px 15px 50px;
    }
}


/* grid bài viết */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 54px 38px;
}

.news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #eceff4;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.news-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 22px;
}

.news-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    color: #272e4e;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px; /* giữ 2 dòng để các item đều nhau */
}
.news-title:hover {
    color: #0c41be;
}

.news-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.banner-card-date {
    color: #272e4e;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-card-cat-slide {
    min-width: 120px;
    height: 42px;
    border: 1.5px solid #24335d;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #fff;
    color: #24335d;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}
.news-detail-main .banner-card-date {
    margin-bottom: 40px
}
.news-detail-main .news-sapo {
    margin: 15px 0 40px;
}
.news-toc {
    background: rgba(233, 233, 233, 1);
    border-radius: 20px;
    padding: 20px 30px;
    margin: 40px 0 40px;
}
.news-detail-content h2 {
    margin: 40px 0 25px;
}
.news-detail-content h3 {
    margin: 40px 0 25px;
}
.news-detail-content h4 {
    margin: 40px 0 25px;
}
.news-detail-content h5 {
    margin: 40px 0 25px;
}
.news-detail-content h6 {
    margin: 40px 0 25px;
}
blockquote {
    padding: 20px 25px;
    margin: 40px 0;
}
/* responsive */
@media (max-width: 1024px) {
    .news-searchbar {
        grid-template-columns: 1fr;
        /*row-gap: 12px;*/
    }

    .search-label {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .news-tabs-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .news-tabs {
        justify-content: flex-start;
    }

    .clear-btn {
        width: 50%;
    }
    .news-detail-main .banner-card-date {
        margin-bottom: 20px
    }
    .news-detail-main .news-sapo {
        margin: 20px 0;
    }
    .news-toc {
        margin: 20px 0;
    }
    .news-detail-content h2 {
        margin: 20px 0 15px;
        font-size: 24px;
    }
    .news-detail-content h3 {
        margin: 20px 0 15px;
    }
    .news-detail-content h4 {
        margin: 20px 0 15px;
    }
    .news-detail-content h5 {
        margin: 20px 0 15px;
    }
   .news-detail-content h6 {
        margin: 20px 0 15px;
    }
    blockquote {
        margin: 20px 0;
    }
    .video-card {
        opacity: 0.22;
        transition: opacity 0.3s ease;
    }

        /* card đang focus */
        .video-card.active {
            opacity: 1;
        }
    .banner-arrow:active {
        background: #ffffff;
        border: 2px solid #ffffff;
        color: #0c41be !important;
    }

    .video-arrow:active {
        background: #ffffff;
        border: 2px solid #ffffff;
        color: #0c41be !important;
    }
}

/* Responsive */
@media(max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .banner-card {
        min-width: 260px;
    }
}
@media (hover: hover) and (pointer: fine) {
    .banner-arrow:hover {
        background: #ffffff;
        border: 2px solid #ffffff;
        color: #0c41be !important;
    }
    .video-arrow:hover {
        background: #ffffff;
        border: 2px solid #ffffff;
        color: #0c41be !important;
    }
}