﻿.defaul-bot-cate-home {
    padding-bottom: 0;
}

    .defaul-bot-cate-home .title-category-home {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0px 15px 0px;
    }

.leftTitleIconNew {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .leftTitleIconNew h3 {
        position: relative;
        margin: 0;
        font-family: 'Oswald-Medium';
        font-size: 42px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
        margin-left: 21px;
        color: #035B1E;
    }

.btn-detail-seller {
    border-radius: 15px;
}

    .btn-detail-seller a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 127px;
        height: 40px;
        margin: 0;
        color: #FFF;
        font-family: 'Inter_24pt-Medium';
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 117.84%;
        transition: all .3s;
        border-radius: 54.288px;
        background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
        transition: all .3s;
    }

        .btn-detail-seller a:hover {
            background: linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
        }

.r-list-cate-new {
    display: flex;
    align-items: center;
}

.tab-menu-new-h a {
    display: flex;
    width: max-content;
    height: 40px;
    border-radius: 54.288px;
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: #fff;
    font-family: 'Inter_24pt-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 117.84%;
    margin: 0 5px;
}

.tab-menu-new-h {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tab-menu-new-h a:hover {
        background: linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
    }

.list-news {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
    padding-bottom: 68px;
}

.list-new1 {
    padding-bottom: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.news1 {
    overflow: hidden;
    position: relative;
}

.news1-image {
    height: 437px;
    overflow: hidden;
    display: block;
    position: relative;
    border-radius: 10px;
}

    .news1-image:before, .newsnth-image a:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: #ffffff1a;
        opacity: 0;
        z-index: 1;
        transition: all .5s ease-out 0s;
    }

.news1:hover img, .newsnth:hover img {
    transform: scale(1.1);
}

.news1:hover .news1-image:before, .newsnth:hover .newsnth-image a:before {
    opacity: 1;
    top: 50%;
    bottom: 50%;
}

.news1:hover .news1-image:after, .newsnth:hover .newsnth-image a:after {
    opacity: 1;
    left: 50%;
    right: 50%;
}

.list-new1:hover .news1-name h3 {
    color: #009247;
}

.newsnth:hover .newsnth-name a {
    color: #009247;
}

.list-news img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.5s;
    border-radius: 10px;
}

.news1-image:after, .newsnth-image a:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    background: #ffffff1a;
    opacity: 0;
    z-index: 1;
    transition: all .5s ease-out 0s;
}

.WDateViewNewHome {
    display: flex;
    margin-top: 12px;
}

.WDateNewItem {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.decorSvgNewItem {
    display: flex;
    align-items: center;
}

.WDateNewItem span {
    margin-left: 6px;
    color: #797978;
    font-family: 'Inter_24pt-Regular';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.news1-name {
    margin-top: 11px;
}

    .news1-name h3 {
        margin: 0;
        color: #1E1E1E;
        font-family: 'Inter_24pt-SemiBold';
        font-size: 20px;
        font-style: normal;
        font-weight: normal;
        line-height: 135%; /* 27px */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.desNewItemHome {
    margin-top: 6px;
    padding-right: 0;
}

    .desNewItemHome span {
        color: #434343;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 135%;
        text-align: justify;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

span.link-new-l-home {
    display: block;
    margin-top: 9px;
    color: #009247;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 15.201px;
    font-style: normal;
    font-weight: normal;
    line-height: 135%;
    text-transform: uppercase;
}

    span.link-new-l-home svg {
        position: relative;
        right: -4px;
    }

.newsnth {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.newsnth-image {
    width: 254px;
    height: 142px;
    flex-shrink: 0;
    float: left;
    margin-right: 16px;
    overflow: hidden;
    position: relative;
}

.newsnth-name {
    overflow: hidden;
    margin-top: 2px;
}

.news1 .news1-image a, .newsnth .newsnth-image a {
    position: relative;
    height: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.list-news img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.5s;
    border-radius: 10px;
}

.newsnth-name a {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1E1E1E;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 135%;
    text-align: justify;
}

.desNewItemHomeR {
    margin-top: 2.36px;
}

    .desNewItemHomeR h6 {
        margin: 0;
        color: #434343;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 135%;
        text-align: justify;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.WDateViewNewHome.view-r-date-new-h {
    margin-top: 5px;
}

.newsnth:nth-child(n+2) {
    margin-top: 14px;
}

@media only screen and (max-width: 1023px) {
    .leftTitleIconNew h3 {
        font-size: 20px;
    }

    .tab-menu-new-h {
        display: none;
    }

    .icon-new-title svg {
        width: 40px;
        height: 40px;
    }

    .btn-detail-seller a, .list-child-link a {
        font-size: 12px;
        width: 105px;
        height: 35px;
    }

    .desNewItemHome {
        padding-right: 4px;
    }

    .newsnth:nth-child(n+2) {
        margin-top: 15px;
    }

    .list-news {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
        padding-bottom: 43px;
    }
}

@media only screen and (max-width: 767px) {
    .defaul-bot-cate-home .leftTitleIconNew h3 {
        font-size: 18px;
        margin-left: 10px;
    }

    .newsnth-name {
        overflow: hidden;
        margin-top: 0;
    }

    .take-news {
        width: 100%;
        margin-top: 20px;
    }

    .newsnth-image {
        width: 175px;
        height: 105px;
        margin-right: 8px;
    }

    .newsnth-name a {
        font-size: 15px;
    }

    .WDateViewNewHome.view-r-date-new-h {
        display: none;
    }

    .news1-image {
        height: 100%;
    }

    .WDateViewNewHome {
        display: flex;
        align-items: center;
    }

    .WDateNewItem {
        margin-right: 9px;
    }

    .news1-name h3 {
        margin: 0;
        font-size: 16px;
        font-style: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: auto;
    }

    .WDateNewItem span {
        font-size: 14px;
        display: flex;
        align-items: center;
        line-height: normal;
    }

    .news1-name {
        padding-top: 0;
        margin-top: 9px;
    }

    .list-new1 {
        padding-bottom: 0;
    }

    .list-news {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}