﻿.home-news {
    background-image: url(/Design/img/home-new-bg.png);
    background-size: cover;
}

.home-news-decor {
    position: absolute;
    right: -17px;
    top: 36px;
}

.home-news .grid.wide {
}

.home-news-container {
    position: relative;
    padding-bottom: 73px;
    padding-top: 82px;
}

.home-news-top {
    max-width: 923.58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 42px;
    align-items: end;
    align-items: flex-end;
    align-items: self-end;
}

    .home-news-top .left-wrap {
        padding-right: 35px;
    }

    .home-news-top .left {
        display: flex;
        align-items: end;
        align-items: flex-end;
        align-items: self-end;
    }

    .home-news-top .left-descript {
        color: #4D4D4D;
        line-height: 138.7%;
        font-size: 14px;
        position: relative;
        max-width: 390px;
        padding-left: 17px;
    }

        .home-news-top .left-descript::before {
            content: '';
            position: absolute;
            width: 1px;
            height: 58px;
            background-color: var(--color-1);
            bottom: 0;
            left: 0;
        }

    .home-news-top .left-cate {
        color: #ABABAB;
        font-size: 20px;
        font-family: barM;
        font-weight: 100;
        margin-bottom: 4px;
        display: block;
    }

    .home-news-top .left-title {
        margin: 0;
        text-transform: uppercase;
        color: var(--color-1);
        font-weight: 100;
        font-family: barSB;
        font-size: 40px;
        line-height: 118%;
    }

        .home-news-top .left-title strong {
            color: var(--color-2);
        }

    .home-news-top .right {
    }

    .home-news-top .right-descript {
    }


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

        .home-news-top .right-btn a {
            display: flex;
            align-items: center;
            background-color: var(--color-1);
            border-radius: 55px;
            padding: 4px;
            padding-left: 32px;
            overflow: hidden;
        }

        .home-news-top .right-btn span {
            font-family: 'barM';
            font-size: 20px;
            color: #fff;
            text-transform: uppercase;
            display: block;
            margin-right: 20px;
            z-index: 2;
        }

        .home-news-top .right-btn:hover .icon {
            transform: rotate(40deg);
        }

            .home-news-top .right-btn:hover .icon::before {
                width: 900%;
                height: 900%;
            }

        .home-news-top .right-btn .icon::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: var(--color-2);
            pointer-events: none;
            transition: .4s cubic-bezier(.3,1,0.9,1);
        }

        .home-news-top .right-btn .icon {
            width: 38.13px;
            height: 38.13px;
            border-radius: 50%;
            position: relative;
            transition: 0.6s cubic-bezier(.3,2.5,.3,1);
        }

        .home-news-top .right-btn img {
            position: relative;
        }

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

.home-news-wrap {
    border-radius: 14px;
    border: 1px solid rgba(19, 54, 64, 0.37);
    background: #FFF;
    padding: 14px;
}

.home-news-item {
    display: flex;
    border-top: 1px dashed #A0BBCA;
    padding: 9px 0;
    align-items: center;
}

    .home-news-item:nth-child(2) .home-news-img {
        height: 223px;
        width: 100%;
        border-radius: 5px;
        overflow: hidden;
    }

    .home-news-item:nth-child(2) {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        border-top: unset;
        padding-bottom: 17px;
    }

.home-news-img {
    overflow: hidden;
    border-radius: 5px 0px 0px 0px;
    width: 143.67px;
    height: 90px;
}
.home-news-img:hover img {
    transform: scale(1.02);
}

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

.home-news-content {
    flex: 1;
    padding-left: 16px;
    width: 100%;
}

.home-news-item:nth-child(2) .home-news-content {
    padding: 0;
    padding-top: 9px;
}

.home-news-date {
    display: none;
}

.home-news-item:nth-child(2) .home-news-date {
    display: flex;
    align-items: center;
}

.home-news-date img {
    display: block;
}

.home-news-date span {
    flex: 1;
    display: block;
    color: #4D4D4D;
    line-height: 138.7%;
    font-size: 13px;
    padding-left: 6px;
}

.home-news-item:nth-child(2) .home-news-title {
    font-size: 17px;
}
.home-news-title:hover {
    color: var(--color-2);
}
.home-news-title {
    font-size: 14px;
    font-family: 'barSB';
    color: #3A3A39;
    line-height: 144%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all .3s;
}

.home-news-item:nth-child(2) .home-news-descript span {
    -webkit-line-clamp: 2;
    font-size: 15px;
    margin-top: 3px;
}

.home-news-descript {
}

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

.home-news-item:nth-child(2) .home-news-btn {
    display: flex;
}
.home-news-btn:hover {
    background-color: var(--color-1);
}
.home-news-btn {
    display: none;
    background-color: var(--color-2);
    width: fit-content;
    font-family: 'barM';
    color: #fff;
    line-height: 100%;
    font-size: 14px;
    padding: 9px 21px;
    border-radius: 55px;
    margin-top: 11px;
    transition: all .3s;
}





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

    .home-news-top .left {
        flex-direction: column;
        align-items: unset;
    }

    .home-news-top .left-descript {
        padding-left: 0;
        margin-top: 8px;
    }

        .home-news-top .left-descript::before {
            display: none;
        }

    .home-news-bottom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
    }

    .home-news-top {
        padding-bottom: 28px;
    }

    .home-news-item:nth-child(2) .home-news-img {
        height: 160px;
    }

    .home-news-wrap {
        padding: 10px;
    }

    .home-news-img {
        border-radius: 0;
        width: 100px;
        height: 80px;
    }

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

    .home-news-descript span {
        -webkit-line-clamp: 2;
        margin-top: 3px;
        font-size: 13px;
    }

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

    .home-news-btn {
        font-size: 12px;
        padding: 8px 20px;
    }
}

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

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

    .home-news-item:nth-child(2) .home-news-img {
        height: 215px;
    }

    .home-news-top .left-wrap {
        padding-right: 0;
    }

    .home-news-top {
        padding-bottom: 28px;
        flex-direction: column;
        align-items: unset;
    }

        .home-news-top .right-btn a {
            width: fit-content;
            padding-left: 16px;
        }

        .home-news-top .right-btn span {
            font-size: 16px;
            margin-right: 12px;
        }

        .home-news-top .right-btn .icon {
            width: 34px;
            height: 34px;
        }

            .home-news-top .right-btn .icon img {
                width: 14px;
            }

    .home-news-container {
        padding: 25px 0;
    }

    .home-news-top .left-descript {
        font-size: 16px;
    }

    .home-news-top .left-title {
        font-size: 35px;
    }

    .home-news-top .left-cate {
        font-size: 14px;
    }

    .home-news-item:nth-child(2) {
        padding-bottom: 10px;
    }
}
