﻿.hone-new {
}

.home-new-container {
}

.home-new {
    padding-bottom: 100px;
    position: relative;
    margin-bottom: -80px;
}



    .home-new:before {
        content: "";
        position: absolute;
        width: 8%;
        height: 45%;
        left: 0;
        bottom: -177px;
        background: url(../../../Design/img/caytrai.png) no-repeat;
        z-index: 3;
    }

.hnew-title {
    text-align: center;
    font-family: 'OswaM';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(90deg, #138853 0%, #57BE85 50%, #138853 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 41px 0;
}

.hnew-descript {
    color: #1C1D28;
    text-align: center;
    font-family: 'interR';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 122.222% */
    width: 100%;
    display: block;
}

.hnew-item > *:not(.hnew-all-btn) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hnew-item:hover > *:not(.hnew-all-btn) {
    transform: translateY(-6px);
}

.hnew-title:before {
    position: absolute;
    content: "";
    width: 24%;
    height: 38%;
    background: url(../../../Design/img/bottom-title.png) no-repeat;
    left: 54%;
    transform: translateX(-50%);
    bottom: -25px;
}

.hnew-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    row-gap: 0PX;
    margin-top: 53px;
    position: RELATIVE;
    z-index: 9999;
}

    .hnew-list > :first-child .hnew-all-btn {
        display: block;
    }

    .hnew-list > :first-child {
        width: 475px;
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
        position: relative;
    }

        .hnew-list > :first-child .hnew-item-bottom {
            position: relative;
        }

            .hnew-list > :first-child .hnew-item-bottom .hnew-more-btn-link {
                font-size: 17px;
            }

.hnew-more-btn-link {
    color: #138853;
    font-family: 'interM';
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 9px;
    gap: 10px;
    font-weight: unset;
}

.hnew-item > :nth-child(2) {
    grid-column-start: 3;
}

.hnew-item > :nth-child(3) {
    grid-column-start: 3;
    grid-row-start: 2;
}

.hnew-item > :nth-child(4) {
    grid-column-start: 4;
    grid-row-start: 1;
}

.hnew-item > :last-child {
    grid-column-start: 4;
    grid-row-start: 2;
}

.hnew-item {
    width: 315px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hnew-item:hover {
        transform: translateY(5px); /* nhấc card lên */
    }

/* hiệu ứng cho ảnh */
.hnew-item-img img {
    transition: transform 0.4s ease;
}

.hnew-item:hover .hnew-item-img img {
    transform: scale(1.02); /* zoom nhẹ ảnh */
}

/* hiệu ứng cho nút xem thêm */
.hnew-more-btn-link {
    transition: color 0.3s ease;
}

.hnew-item:hover .hnew-more-btn-link {
    color: #005B32; /* đậm hơn */
}

    .hnew-item:hover .hnew-more-btn-link svg path {
        fill: #005B32; /* đổi màu mũi tên */
    }

.hnew-list > :first-child .hnew-item-img img {
    width: 475px;
    height: 320px;
    flex-shrink: 0;
}

.hnew-item-img {
    position: relative;
}

    .hnew-item-img img {
        flex-shrink: 0;
        width: 315px;
        border-radius: 10px 10px 0 0;
        height: 160px;
        1 2 border-radius: 10px 10px 0 0;
        1 2 border-radius: 10px 10px 0 0;
        1 2 border-radius: 10px 10px 0 0;
        1 2 border-radius: 10px 10px 0 0;
        1 2 border-radius: 10px 10px 0 0;
        1 2 border-radius: 10px 10px 0 0;
    }

.new-item-img {
}

.hnew-item:hover .kjvkcxzzzz:before {
    bottom: -2px;
}

.hnew-item:hover .kjvkcxzzzz:after {
    top: -14px;
}

.new-item-day {
    position: absolute;
    bottom: 0;
}

.new-item > :first-child {
}

.new-item > :last-child {
}

.hnew-item-bottom {
    padding: 8px 10px 11px 8px;
}

.hnew-list > :first-child .hnew-item-bottom .hnew-item-title {
    font-size: 20px;
}

.hnew-item-title {
    color: #484848;
    font-family: 'interSB';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.sakaa {
}

.hnew-list > :first-child .hnew-item-descript {
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.hnew-item-descript {
    color: #484848;
    font-family: 'interR';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}




.skajaaa {
}

.hnew-list > :first-child .hnew-more-btn {
    margin-top: 15px;
}

.hnew-more-btn {
}

.knew-more-btn-link {
}

    .knew-more-btn-link svg {
    }

        .knew-more-btn-link svg path {
        }

.hnew-all-btn {
    display: none;
}

.basss {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 13px 11px 16px;
    border-radius: 50px;
    background: linear-gradient(90deg, #F7BC0A 0%, #F7DF0A 100%);
}

    .basss p {
        margin: 0;
        color: #FFF;
        font-family: 'interM';
        font-size: 14px;
        font-style: normal;
        font-weight: unset;
        line-height: normal;
    }

    .basss svg {
    }

        .basss svg path {
        }

@media (max-width: 739px) {
    .hone-new {
    }

    .home-new-container {
    }

    .hnew-title {
        font-size: 29px;
        padding-top: 27px;
        padding-bottom: 22px;
    }

    .hnew-descript {
        font-size: 14px;
    }

    .hnew-list {
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 15px;
        row-gap: 15px;
        grid-template-rows: unset;
        margin-top: 20px;
    }

    .hnew-more-btn-link {
        font-size: 14px;
    }

        .hnew-more-btn-link svg {
            width: 8px;
        }

    .hnew-item {
        width: 100%;
    }

    .hnew-list > :first-child {
        grid-column: span 2 / span 2;
        grid-row: unset;
        width: 100%;
    }

    .hnew-list > :nth-child(2) {
        width: 100%;
    }

    .hnew-list > :nth-child(3) {
        width: 100%;
    }

    .hnew-list > :nth-child(4) {
    }

    .hnew-list > :nth-child(5) {
    }

    .hnew-list > :first-child .hnew-item-img img {
        width: 100%;
        height: 100%;
    }

    .hnew-item-img {
        width: 100%;
    }

    .new-item-img {
    }

    .new-item-day {
        padding: 0px;
    }

    .new-item > :first-child {
    }

    .new-item > :last-child {
    }

    .hnew-item-bottom {
        padding: 3px;
    }

    .kjvkcxzzzz:after {
        display: none
    }

    .hnew-list > :first-child .hnew-item-title {
        padding-top: 13px;
    }

    .hnew-item-title {
        padding-top: 0px;
    }

    .hnew-list > :first-child .hnew-item-bottom .sakaa {
        font-size: 20px;
        padding-top: 15px;
    }

    .sakaa {
        font-size: 15px;
    }

    .hnew-list > :first-child .hnew-item-descript {
        margin-top: 7px;
    }

    .hnew-item-descript {
        margin-top: 4px;
    }

    .hnew-list > :first-child .hnew-item-descript .skajaaa {
        font-size: 14px;
    }

    .skajaaa {
        font-size: 12px;
    }

    .hnew-more-btn {
    }

    .knew-more-btn-link {
    }

        .knew-more-btn-link svg {
        }

            .knew-more-btn-link svg path {
            }

    .hnew-all-btn {
    }

    .home-new:after {
        width: 29%;
        height: 39%;
        z-index: 0;
        display: none;
    }

    .hnew-item-img img {
        width: 100%;
        width: 179px;
    }

    .hnew-title:before {
        width: 100%;
        left: 74%;
        bottom: -17px;
    }

    .kjvkcxzzzz {
        padding: 3px;
    }

    .basss {
        display: none;
    }

        .basss p {
        }

        .basss svg {
        }

            .basss svg path {
            }

    .kjvkcxzzzz > :first-child {
        font-size: 18px;
    }

    .kjvkcxzzzz > :last-child {
        font-size: 13px;
    }

    .kjvkcxzzzz:before {
        width: 89%;
        left: 0px;
        padding: 5px;
        height: 84%;
        padding-left: 5px;
    }

    .home-new:before {
        display: none
    }
}
