﻿.home-new {
}

.home-new-container {
}

.home-new-top {
}

.xckvjkxc:before {
    position: absolute;
    width: 4%;
    height: 3px;
    content: "";
    background: var(--default-color-1);
    bottom: -4px;
}

.sxjhv:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--default-color-2);
}

.sxjhv {
    background: var(--default-color-1);
    margin-top: 28px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xckvjkxc {
    text-align: left;
    font-family: 'manB';
    font-size: 26.999px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 34px;
    position: relative;
    margin-bottom: 27px;
    background: linear-gradient(0deg, #152863 0%, #2C4DAE 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
}

.home-new-mid {
}

.xkcjvk {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 15px;
    row-gap: 15px;
}

    .xkcjvk .content-new-item:first-child .new-item-descript, .xkcjvk .content-new-item:nth-child(2) .new-item-descript {
        display: block;
        color: #1F2636;
        font-family: 'QsandR';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 10px;
    }

    .xkcjvk .content-new-item:first-child {
        grid-row: span 4 / span 4;
    }

.content-new-item {
    overflow: hidden;
    border-radius: 10px; /* bo góc đẹp hơn */
    transition: all 0.3s ease;
}

    .content-new-item a {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .content-new-item .new-item-top img {
        transition: transform 0.4s ease;
    }

    .content-new-item .new-item-title h3 {
        transition: color 0.3s ease;
    }

    /* Hiệu ứng hover */
    .content-new-item:hover {
        transform: translateY(-5px);
        /* box-shadow: 0 10px 20px rgba(0,0,0,0.15); */
    }

        .content-new-item:hover .new-item-top img {
            transform: scale(1.1);
        }

        .content-new-item:hover .new-item-title h3 {
            color: var(--default-color-1); /* đổi sang màu đỏ nổi bật */
        }

.xkcjvk .content-new-item:nth-child(2) {
    grid-row: span 4 / span 4;
}

.xkcjvk .content-new-item:nth-child(4) {
    grid-column-start: 3;
    grid-row-start: 2;
}

.xkcjvk .content-new-item:nth-child(5) {
    grid-column-start: 3;
    grid-row-start: 3;
}

.xkcjvk .content-new-item:nth-child(6) {
    grid-column-start: 3;
    grid-row-start: 4;
}

.content-new-item {
}

    .content-new-item .home-news-item {
    }

.home-news-item .new-item-top {
}

    .home-news-item .new-item-top img {
        width: 200px;
        height: 90px;
        flex-shrink: 0;
        border-radius: 8px;
    }

.xkcjvk .content-new-item:nth-child(1) .new-item-title {
    margin-top: 10px;
    margin-left: 0;
}

.xkcjvk .content-new-item:nth-child(2) .new-item-top {
    margin-top: 22px;
}

.xkcjvk .content-new-item:nth-child(2) .news-options__type, .xkcjvk .content-new-item:nth-child(1) .news-options__type {
    margin-top: 12px;
    margin-left: 0px;
}

.xkcjvk .content-new-item:nth-child(2) .new-item-title {
    margin-left: 0;
    margin-top: 0px;
}

.xkcjvk .content-new-item:nth-child(1) .new-item-title
.xkcjvk .content-new-item:nth-child(2) .new-item-title {
    color: #000221;
    font-family: 'QsandB';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.xkcjvk .content-new-item:nth-child(1) .new-item-top img, .xkcjvk .content-new-item:nth-child(2) .new-item-top img {
    width: 100%;
    height: 228px;
    border-radius: 8px;
    overflow: hidden;
}

.xkcjvk .content-new-item:nth-child(1) .home-news-item {
    display: flex;
    flex-direction: column;
}

.xkcjvk .content-new-item:nth-child(2) .home-news-item {
    display: flex;
    flex-direction: column-reverse;
}

.xkcjvk .content-new-item .home-news-item {
    display: flex;
}

.home-news-item .new-item-bottom {
}

    .home-news-item .new-item-bottom .new-item-title {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-left: 13px;
        color: #000221;
        font-family: 'QsandM';
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        /* 19.95px */
    }

h3 {
    margin: 0;
}

.news-options__type {
    margin-left: 13px;
    margin-top: 35px;
}

.options-item {
    color: #939BA4;
    font-family: 'QsandR';
    font-size: 14.3px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.new-item-descript {
    display: none;
}

.home-new-container-bottom {
}

.xkcjvk .content-new-item:nth-child(1) .new-item-title {
    font-size: 18.72px;
}

.home-ns {
    display: flex;
    justify-content: space-between;
    padding: 47px 0px;
    gap: 43px;
}

.asddv {
    display: flex;
    align-items: center;
    height: 92px !important;
}

.home-ns {
}

    .home-ns .asddv {
        overflow: hidden;
        border-radius: 8px; /* bo góc nhẹ cho đẹp */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .home-ns .asddv img {
            display: block;
            max-width: 100%;
            height: auto;
            transition: transform 0.3s ease;
        }

        /* Hover hiệu ứng */
        .home-ns .asddv:hover {
            transform: translateY(-8px); /* nổi lên nhẹ */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

            .home-ns .asddv:hover img {
                transform: scale(1.1); /* phóng to hình 1 chút */
            }

        .home-ns .asddv:first-child {
                height: 100%;
    width: 346px;
            padding: 8px 22px;
            border-radius: 50px;
            border: 1px solid var(--default-color-1);
        }

        .home-ns .asddv:nth-child(2) {
            width: 100%;
            padding: 8px 34px;
            display: flex;
            border-radius: 50px;
            background: #333;
            height: 100%;
            width: 346px;
            justify-content: center;
        }

        .home-ns .asddv:nth-child(3) {
                height: 100%;
                width: 346px;
                display: flex;
                justify-content: center;
                padding: 22px 27px;
                border-radius: 50px;
                background: linear-gradient(90deg, #0133A2 0%, #1552D6 100%);
                Colors Hex Hex Background colors;
        }

        .home-ns .asddv:nth-child(4) {
                height: 100%;
                width: 346px;
                display: flex;
                justify-content: center;
                padding: 8px 45px;
                border-radius: 50px;
                border: 1px solid var(--default-color-1);
        }

        .home-ns .asddv:first-child img {
            width: 100%;
            height: 62px;
        }

        .home-ns .asddv:nth-child(2) img {
            height: 64px;
            width: 90%;
        }

        .home-ns .asddv:nth-child(3) img {
            height: 34px;
            width: 83%;
        }

        .home-ns .asddv:nth-child(4) img {
            height: 70%;
            width: 53%;
        }

.home-new-bottom {
}

.jahsc {
    display: flex;
    justify-content: center;
}

.kvxc {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 28px; */
    padding-bottom: 3px;
    font-family: 'roboR';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    /* text-decoration-line: underline; */
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    color: #FFF;
    padding: 8px 28px;
}

@media (max-width:739px) {
    .xkcjvk {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 8px;
    }

        .xkcjvk .content-new-item:nth-child(3) {
            /* grid-column: span 2 / span 2; */
            grid-column: span 2 / span 2;
            grid-row-start: 2;
            margin-top: 20px;
        }

        .xkcjvk .content-new-item:nth-child(4) {
            grid-column: span 2 / span 2;
            grid-row-start: 3;
        }

        .xkcjvk .content-new-item:nth-child(5) {
            grid-column: span 2 / span 2;
            grid-row-start: 4;
        }

        .xkcjvk .content-new-item:nth-child(6) {
            grid-column: span 2 / span 2;
            grid-row-start: 5;
        }

        .xkcjvk .content-new-item:nth-child(2) {
            grid-row: auto;
        }

        .xkcjvk .content-new-item:first-child {
            grid-row: auto;
        }

    .news-options__type {
        margin-top: 31px;
    }

    .home-news-item .new-item-bottom .new-item-title {
        font-size: 12px;
    }

    .xkcjvk .content-new-item:nth-child(1) .new-item-title, .xkcjvk .content-new-item:nth-child(2) .new-item-title {
        font-size: 13px;
    }

    .xkcjvk .content-new-item:first-child .new-item-descript, .xkcjvk .content-new-item:nth-child(2) .new-item-descript {
        font-size: 13px;
    }

    .home-ns {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

        .home-ns .asddv:first-child img {
            height: 38px;
            width: 100%;
        }

        .home-ns .asddv:nth-child(3) img {
            height: 100%;
            width: 97%;
        }

    .xkcjvk .content-new-item:nth-child(1) .new-item-top img, .xkcjvk .content-new-item:nth-child(2) .new-item-top img {
        border-radius: 8px;
    }

    .xckvjkxc:before {
        position: absolute;
        width: 12%;
        height: 3px;
        content: "";
        background: var(--default-color-1);
        bottom: -4px;
    }
    .home-ns .asddv:first-child{
    width: 182px;
    align-items: center;
    height: 68px;
}
    .home-ns .asddv:nth-child(2){
    width: 100%;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}
    .asddv{
        height: 68px!important;
    }
    .home-ns .asddv:nth-child(3){
    width: 182px;
    align-items: center;
}
    .home-ns .asddv:nth-child(4){
    width: 182px;
    align-items: center;
}
    .home-ns .asddv:nth-child(4) img{
        height: 100%;
        width: 90%;
    }
    .home-ns .asddv:nth-child(2) img{
        height: 34px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
