﻿.home-new-container {
}

.home-new {
    background: #F3EFEB;
}

.hnew-title {
    padding-top: 41px;
    text-align: center;
    margin: 0;
    font-size: 50px;
    font-family: 'BS-r';
    color: var(--default-color-1);
    font-weight: normal; /* hoặc 400 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hnew-descript {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 18px;
    padding: 25px 250px;
    text-align: center;
    font-family: 'MonR';
    padding-top: 11px;
}

.new-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
    padding-bottom: 64px;
}

.items-container {
}

    .items-container .items-top {
    height: 164px;
    }

.items-top img {
    width: 100%;
    border-radius: 10px;
}

.items-bottom {
    margin-top: 13px;
    padding-bottom: 20px;
}

    .items-bottom .items-title {
        font-family: 'MonSe';
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        color: var(--default-color-1);
        padding: 0 5px;
    }

    .items-bottom .item-descript {
        font-size: 14px;
        margin-top: 12px;
        font-family: 'MonR';
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding: 0 6px;
        /* padding-bottom: 17px; */
    }

.items-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    /* background: #fff; */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 18px rgb(0 0 0 / 16%);
    cursor: pointer;
    border: 1px solid var(--default-color-2);
}

    .items-container:hover {
        transform: translateY(-6px) scale(1.01);
        /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); */
    }

.items-top {
    position: relative;
    overflow: hidden;
}

    .items-top img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px 16px 0 0;
        transition: transform 0.6s ease;
        background-position: center;
    }

.items-container:hover .items-top img {
    transform: scale(1.08);
}

.items-bottom {
    transition: background 0.3s ease;
}

.items-container:hover .items-bottom {
}

.items-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    transition: color 0.3s ease;
}

.items-container:hover .items-title {
    color: var(--default-color-2);
}

.item-descript {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    transition: opacity 0.3s ease;
}

.items-container:hover .item-descript {
    opacity: 0.95;
}

@media (max-width:739px) {
    .hnew-title {
        font-size: 37px;
        padding-top: 29px;
    }

    .hnew-descript {
        padding: 0;
        font-size: 13px;
        margin-bottom: 30px;
        margin-top: 10px;
    }

    .new-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .items-bottom .item-descript {
        padding: 0 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 6px;
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .items-bottom .items-title {
        font-size: 12px;
        padding: 0 7px;
    }
.items-container .items-top{
    height: 108px;
}
    .items-bottom{
        padding-bottom: 0px;
        margin-top: 7px;
    }
}
