.news-list {
    padding-bottom: 30px;
}

.category-news {
    display: flex;
    gap: 10px 30px;
    justify-content: center;
    margin-top: 10px;
}

.category-news .item {
    position: relative;
    font-size: 16px;
}

.category-news .item::before {
    content: "";
    height: 1px;
    width: 25px;
    background: currentColor;
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.category-news .item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 19px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #c4c4c4;
}

.box-category {
    margin-top: 35px;
}

.box-category .title-box-wrap {
    margin-bottom: 20px;
}

.box-category .title-box {
    font-size: 24px;
}

.block-news .row {
    row-gap: 16px;
}

.item-news-hot {
    border-radius: 8px;
    box-shadow: 1px 3px 6px 0px #d2d2d275;
    padding: 10px;
    background-color: var(--color-2);
}

.item-news .wrap-img {
    padding-bottom: 70%;
    border-radius: 8px;
}

.item-news-hot .wrap-img {
    margin-bottom: 10px;
}

.item-news .title {
    font-size: 17px;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 44px;
}

.item-news .des {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #666;
}

.item-news .cate-time * {
    color: #999;
}

.item-news .cate-time {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.item-news .cate-time .name-cate {
    position: relative;
    padding-left: 15px;
}

.item-news .cate-time .name-cate:hover {
    color: var(--color-3);
}

.item-news .cate-time .name-cate::before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #999;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
}

.box-category .title-box-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.box-category .title-box-wrap .kham-pha {
    display: flex;
    align-items: center;
}

.news-list .name-category {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.news-top {
    margin-bottom: 40px;
}

.news-top .left .item-news .title {
    font-size: 22px;
    height: 57px;
    margin-top: 10px;
}

.news-top .left .item-news .des {
    -webkit-line-clamp: 2;
}

.news-top .right .item-news .title {
    margin-top: 7px;
}

.news-bottom .item-news {
    padding: 20px 0;
}

.news-bottom .item-news:not(:last-child) {
    border-bottom: 1px solid #e7e7e7;
}

.load-more-news {
    margin-top: 25px;
    text-align: center;
}

.load-more-news button {
    border-radius: 5px;
    border: 1px solid #d2d2d2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 10px 25px;
}

@media (max-width: 992px) { 
    .category-news {
        white-space: nowrap;
        overflow-x: auto;
        justify-content: start;
    }

    .category-news .item::before {
        display: none;
    }
}

@media (max-width: 550px) {
    .block-news .clm {
        padding: 0 4px;
    }

    .block-news .row {
        margin: 0 -4px;
        row-gap: 8px;
    }

    .box-category .title-box {
        font-size: 20px;
    }

    .item-news .des {
        display: none;
    }

    .item-news-hot .des {
        display: -webkit-box;
    }

    .item-news .cate-time {
        font-size: 12px;
    }

    .item-news .title {
        font-size: 15px;
        height: 39px;
    }

    .category-news .item {
        font-size: 14px;
    }

    .news-top {
        margin-bottom: 10px;
    }

    .news-list .name-category {
        font-size: 20px;
    }

    .news-top .left .item-news .title {
        font-size: 18px;
        height: 48px;
    }
}

/* Sidebar news  */
.sidebar-news {
    margin-left: 30px;
}

.sidebar-news .block {
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    margin-top: 20px;
}

.sidebar-news .title-block {
    font-weight: 500;
    background: linear-gradient(0deg, var(--color-3), var(--color-4));
    color: var(--color-2);
    padding: 15px 20px;
    font-size: 19px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.block-news .item {
    display: grid;
    grid-template-columns: 60px auto;
    gap: 15px;
    padding: 0 15px 15px;
}

.block-news .item .wrap-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.block-news .item h3 {
    font-weight: 500;
    font-size: 15px;
}

.block-product .item .wrap-img {
    padding-bottom: 100%;
}

.block-product .item {
    padding: 10px 15px;
    margin-bottom: 10px;
}

.block-product .item:not(:last-child) {
    border-bottom: 1px solid #e7e7e7;
}

.block-product .item .name {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.block-product .item .price-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.block-product .item .price-new {
    color: var(--color-5);
    font-weight: 700;
    font-size: 15px;
}

.block-product .item .price-old {
    color: #999;
    font-size: 13px;
}

@media (max-width: 992px) {
    .sidebar-news {
        display: none   ;
    }
}