﻿.home-new {
}

.home-new-container {
}

.home-new-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    padding-bottom: 16.1px;
    border-bottom: 1px solid #BFBFBF;
}

.xcjvh {
}

    .xcjvh h2 {
        color: #00A651;
        font-family: 'KanB';
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 117.2%; /* 42.192px */

        text-transform: uppercase;
        margin: 0;
    }

.kasdhjs {
}
.jkhxcvxa:hover {
    background-color: var(--default-color-2);
    color: #fff;
    border-color: var(--default-color-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.jkhxcvxa {
    color: var(--default-color-2);
    text-align: center;
    font-family: 'interR';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 12px 24px;
    text-transform: capitalize;
    border: 1px solid;
    border-radius: 7px;
    display: inline-block;
    transition: all 0.3s ease;
}

.content-new-item:hover {
    transform: translateY(-6px);
}

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

    .content-new-item:hover .new-item-title h3 {
        color: var(--default-color-1); /* màu thương hiệu */
    }

    .content-new-item:hover .new-item-descript span {
        color: #000;
    }

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

.content-new-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.home-news-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.new-item-top {
}

    .new-item-top img {
        width: 100%;
        height: 388px;
        border-radius: 10px;
        margin-top: 29px;
        transition: transform 0.4s ease;
    }

.new-item-bottom {
}

.new-item-title {
}

    .new-item-title h3 {
        color: #3A3A39;
        font-family: 'interSB';
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 138.688%; /* 24.964px */
        transition: color 0.3s ease;
    }

.news-options__type {
    display: flex;
    gap: 21px;
}

.options-item {
}

.options-item2 svg path {
    fill: var(--default-color-1);
}

.options-item svg {
}

    .options-item svg path {
        fill: var(--default-color-3);
    }

.options-item span {
}

.new-item-descript {
}

    .new-item-descript span {
        word-wrap: break-word; /* cách cũ, vẫn support */
        overflow-wrap: break-word; /* chuẩn mới */
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        color: #767676;
        font-family: 'interR';
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150.688%; /* 24.11px */
        transition: color 0.3s ease;
    }

@media (max-width:739px) {
    .home-new-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-new-top {
    }

    .xcjvh h2 {
        font-size: 27px;
    }

    .jkhxcvxa {
        font-size: 12px;
        padding: 9px;
    }

    .home-new-bottom .content-new-item:nth-child(3) {
        grid-column: span 2 / span 2;
        grid-row-start: 2;
        padding-top: 14px;
    }

    .new-item-top img {
        height: 164px;
        margin-top: 12px;
    }

    .new-item-descript span {
        -webkit-line-clamp: 3;
    }

    .home-new-bottom .content-new-item:nth-child(3) .new-item-top img {
        height: 100%;
        margin-top: 12px;
    }

    .options-item {
        font-size: 12px;
    }

    .options-item2 {
        font-size: 12px
    }

    .news-options__type {
        gap: 6px;
        align-items: center;
    }

    .new-item-title h3 {
        margin: 10px 0;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
}
