﻿.home-news {
    position: relative;
    background: url(/Design/img/DienQuocHung/n.png) no-repeat;
    background-size: cover;
}

.t-title-l-new {
    padding-right: 57px;
    position: relative;
    display: inline-block;
}

.home-news .decor {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.w-link-invest .p-btn-link .icon {
    position: relative;
    top: 1px;
}

.btn-detail-seller.new-link-homee a:hover {
    color: #0067b9;
}

.w-link-invest.link-new-home-item.aos-init.aos-animate {
    position: relative;
    top: 0;
    right: 0;
}

.btn-detail-seller.new-link-homee a {
    color: #585858;
    text-align: center;
    font-family: 'Inter_24pt-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 29.7px */
}

.t-title-l-new h3 {
    margin: 0;
    font-family: 'BaiJamjuree-SemiBold';
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 46.88px */
    text-transform: uppercase;
    background: linear-gradient(180deg, #008DFB 0%, #002759 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.home-news-list {
    overflow: hidden;
}

.home-news-container {
    padding-top: 45px;
    padding-bottom: 43px;
}

.home-news .p-title-cate {
}

.home-news .p-title {
}

.home-news .p-descript {
}

.home-news-list {
    margin-top: 35px;
}

.home-news-item {
    display: flex;
    flex-direction: column-reverse;
}

    .home-news-item .img {
        width: 100%;
        border-radius: 10px;
        overflow: hidden;
        height: 270px;
    }

        .home-news-item .img img {
            width: 100%;
            height: 100%;
            overflow: hidden;
            transition: all .3s;
        }

    .home-news-item:hover .img img {
        transform: scale(1.1);
    }

.item-img-new-h {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .item-img-new-h .options {
        position: absolute;
        bottom: -1px;
        right: 0px;
        width: 125px;
        height: 30px;
        background: #00ACFA;
        border-radius: 5px 0 0 0;
        clip-path: polygon(17% 0, 100% 0, 100% 100%, 0% 100%);
    }

.home-news-item .descript span:before {
    content: "";
    position: absolute;
    background: #0067B9;
    left: 0;
    top: 0;
    width: 41px;
    height: 2px;
}

.home-news-item .options {
    display: flex;
    align-items: center;
}

.home-news-item .options-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

    .home-news-item .options-item img {
        position: relative;
        top: -1px;
    }

    .home-news-item .options-item span {
        display: block;
        margin-left: 4px;
        color: #959595;
        font-family: 'Inter_24pt-Regular';
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
    }

.home-news-item .content {
    margin-bottom: 25px;
}

.home-news-item .title {
    margin: 0;
    color: #3A3A39;
    font-family: 'Inter_24pt-Medium';
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 138.688%; /* 29.124px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 12px;
}

.home-news-item:hover .title {
    color: #0067B9;
}

.home-news-item .descript {
    margin-top: 11px;
}

    .home-news-item .descript span {
        position: relative;
        color: #767676;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 150.688%; /* 22.603px */
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-top: 11px;
    }

/*RS*/
@media(min-width:1380px) {
    .item-img-new-h .options {
        bottom: -1px;
    }

    .home-news .decor {
        height: 339px;
    }
}

@media(max-width:1200px) {
    .t-title-l-new h3 {
        font-size: 30px;
    }

    .t-link-new-home {
        position: relative;
    }
}

@media(max-width:1023px) {
}

@media(min-width:740px) and (max-width:1023px) {
    .home-news-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:739px) {
    .home-news-item .img {
        border-radius: 10px;
        overflow: hidden;
        height: 163px;
    }

    .btn-detail-seller.new-link-homee a {
        font-size: 15px;
    }

    .home-news-item .content {
        margin-bottom: 15px;
    }

    .t-title-l-new h3 {
        font-size: 18px;
    }

    .t-title-l-new:before {
        content: none;
    }

    .t-title-l-new {
        padding-left: 0;
    }

    .p-btn-link {
        height: 38px !important;
        padding-left: 15px !important;
    }

        .p-btn-link .icon {
        }

    .home-news-item .options-item span {
        font-size: 13px;
    }

    .p-btn-link .icon:before {
        width: 39px;
    }

    .home-news-container {
        padding-top: 23px;
        padding-bottom: 30px !important;
    }

    .home-news-list {
        margin-top: 16px;
    }

    .item-img-new-h .options {
        right: -3px;
        bottom: -1px;
    }

    .home-news-item .title {
        font-size: 15px;
        margin-top: 10px;
    }

    .home-news-item .descript span {
        font-size: 14px;
    }
}