﻿.home-news {
    position: relative;
    background: #f5f5f5;
}

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

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

.decor-img-compa a {
    display: block;
    position: relative;
}

.home-news-item .img {
    position: relative;
}

    .decor-img-compa a:before, .home-news-item .img:before {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        content: "";
        background: #ffffff1a;
        opacity: 0;
        z-index: 1;
        transition: all .5s ease-out 0s;
    }

    .decor-img-compa a:after, .home-news-item .img: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;
    }

.decor-img-compa a:hover:before, .home-news-item:hover .img:before {
    opacity: 1;
    top: 50%;
    bottom: 50%;
}

.decor-img-compa a:hover:after, .home-news-item:hover .img:after {
    opacity: 1;
    left: 50%;
    right: 50%;
}

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

.home-news-container {
    padding-top: 30px;
    padding-bottom: 60px;
}

.decor-img-compa a img {
    display: block;
    width: 100%;
    height: 398px;
    border-radius: 30px;
}

.t-link-new-home {
    display: flex;
    align-items: center;
}

.title-l-new-year {
    flex: 1 1 0;
    margin-right: 50px;
}

    .title-l-new-year span {
        display: block;
        font-size: 16px;
        font-family: 'MonM';
        text-align: center;
        color: #4e4e4e;
        margin-top: 24px;
        line-height: 145%;
    }

.decor-img-compa {
    width: 58%;
}

.title-l-new-year img {
    text-align: center;
    margin: auto;
}

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

.home-news-item {
    display: block;
}

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

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

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

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

    .item-img-new-h .options {
        position: absolute;
        bottom: -1px;
        right: 0px;
        width: 125px;
        height: 30px;
        background: linear-gradient(270deg, #1065b8 0%, #3388da 43.36%, #3275b6 100%);
        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: #3275b6;
    left: 0;
    top: 0;
    width: 41px;
    height: 2px;
    display: none;
}

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

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

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

    .home-news-item .options-item span {
        display: block;
        margin-left: 4px;
        color: #FFF;
        font-family: 'monM';
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
        padding-right: 10px;
    }

.home-news-item .content {
}

.home-news-item .title {
    margin: 0;
    font-size: 16px;
    font-family: 'MonB';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 16px;
    color: #4e4e4e;
    font-style: normal;
    font-weight: normal;
    line-height: 138.688%; /* 24.964px */
}

.home-news-item:hover .title {
    color: #3275b6;
}

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

    .home-news-item .descript span {
        position: relative;
        color: #4e4e4e;
        font-family: 'MonM';
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 133%;
        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;
        display: block;
    }
}

@media(max-width:1023px) {
    .title-l-new-year {
        margin: 0;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .decor-img-compa a img {
        height: 100%;
        border-radius: 12px;
    }

    .decor-img-compa {
        width: 100%;
    }

    .title-l-new-year span {
        font-size: 13px;
        margin: 0;
        margin-left: 23px;
        text-align: justify;
    }

    .title-l-new-year img {
        width: 30%;
        height: auto;
    }
}

@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;
    }

    .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: 10px;
    }

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

    .home-news-item .title {
        font-size: 16px;
        margin-top: 10px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .home-news-item .descript span {
        font-size: 14px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
}