﻿.home-news {
    position: relative;
    margin-top: -200px;
    margin-bottom: 27px;
}

.home-news-decor {
    width: 100%;
    height: 339px;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

    .home-news-decor img {
        height: 100%;
        width: 100%;
    }


.home-news .grid.wide {
    position: relative;
    z-index: 2;
}

.home-news-container {
    padding-top: 69px;
    overflow: hidden;
}

.home-news-top {
    margin-bottom: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .home-news-top h3::before {
        content: '';
        position: relative;
        width: 41px;
        height: 4px;
        background-color: #fff;
        display: block;
        margin-right: 16px;
        transform: translateY(-9px);
    }

    .home-news-top h3 {
        margin: 0;
        font-family: 'baiB';
        font-size: 35px;
        font-weight: 100;
        color: #fff;
        position: relative;
        display: flex;
        align-items: end;
        align-items: flex-end;
        align-items: self-end;
    }

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

.home-news .p-title {
}


.home-news .p-descript {
}

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


.home-news-item {
}

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

    .home-news-item .img {
        border-radius: 10px;
        overflow: hidden;
        height: 261px;
    }


        .home-news-item .img img {
            transition: all .3s;
        }


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

    .home-news-item .options-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 125px;
        height: 28px;
        clip-path: path("M0 28L19.4388 1.23698C20.0033 0.459872 20.9057 0 21.8661 0H125V28H0Z");
        background-color: var(--default-color-1);
        padding-left: 11px;
    }

.home-news-img {
    height: 273px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.home-news-item:hover .home-news-title span {
    color: var(--default-color-1);
}

.home-news-content {
    padding-top: 15px;
}

.home-news-title {
    margin: 0;
    position: relative;
    padding-bottom: 11px;
}

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

    .home-news-descript span {
        line-height: 150.7%;
        color: #626262;
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.home-news-title::before {
    content: '';
    position: absolute;
    width: 41px;
    height: 2px;
    bottom: 0;
    background-color: var(--default-color-1);
}

.home-news-title span {
    display: block;
    color: #3A3A39;
    font-size: 18px;
    line-height: 138.7%;
    font-family: 'baiSB';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all .3s;
}

.home-news-img img {
    transition: all .3s;
}

.home-news-options {
    position: absolute;
    bottom: 0;
    right: 0;
}

    .home-news-options .options-item {
    }

.home-news-item .options-item img {
}

.home-news-item .options-item span {
    display: block;
    color: #fff;
    font-size: 14px;
    font-family: 'baiR';
    display: block;
    margin-left: 6px;
}

.home-news-item .content {
}

.home-news-item .title {
    margin: 0;
    color: var(--default-color-2);
    font-size: 18px;
    line-height: 138.2%;
    font-family: 'barSB';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 9px;
}

.home-news-item .descript {
    border-top: 1px solid #D9D9D9;
    margin-top: 15px;
}

    .home-news-item .descript span {
        color: #4D4D4D;
        font-size: 15px;
        line-height: 133%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-top: 17px;
    }

.home-news-btn {
    display: flex;
    align-items: center;
    height: 59px;
    transition: all .3s;
}

    .home-news-btn:hover {
        opacity: .8;
    }

    .home-news-btn span {
        background: var(--gradient-2);
        width: 165px;
        height: 59px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'baiSB';
        color: #fff;
        font-size: 20px;
        clip-path: path("M151.5 0H0V59H165L151.5 0Z");
        transform: translateX(14px);
    }

    .home-news-btn .icon {
        height: 100%;
        background-color: #001D72;
        width: 57px;
        height: 58.5px;
        clip-path: path("M0 0L13.5 58.5H57L43.5 0H0Z");
    }

        .home-news-btn .icon img {
        }
/*RS*/
@media(max-width:1023px) {
    .home-news-container {
        padding: 25px 0;
    }

    .home-news-item {
        box-shadow: 0 0 10px 0 #33333312;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-news-img {
        height: 200px;
        border-radius: 0;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .home-news-content {
        background-color: #fff;
        padding: 10px 10px;
    }

    .home-news-title span {
        -webkit-line-clamp: 2;
        font-size: 17px;
    }

    .home-news-descript span {
        -webkit-line-clamp: 2;
    }
}

@media(max-width:739px) {
    .home-news-container {
        padding: 15px 0;
    }

    .home-news-item .img {
        border-radius: 10px;
        overflow: hidden;
        height: 163px;
    }

    .home-news-item .options-item:last-child {
        display: none;
    }



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

    .home-news {
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-news-img {
        height: 146px;
    }

    .home-news-content {
        padding: 10px 8px;
    }

    .home-news-title span {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }

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

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

    .home-news-title {
        padding-bottom: 7px;
    }

    .home-news-top h3 {
        font-size: 22px;
    }

    .home-news-btn span {
        width: 127px;
        height: 58px;
        font-size: 14px;
    }

    .home-news-item {
        background-color: #fff;
    }
}
