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

    .home-news .grid.wide {
        max-width: 1223px;
    }

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

.home-news-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #BFBFBF;
    padding-bottom: 8px;
    padding-left: 5px;
    padding-right: 2px;
}

    .home-news-heading .btn-more:hover {
        color: var(--default-color-1);
    }

    .home-news-heading .btn-more {
        font-size: 18px;
        font-family: 'monM';
        background-color: var(--default-color-1);
        color: #fff;
        border-radius: 3px;
        padding: 10px 18px;
        transition: all .3s;
    }

        .home-news-heading .btn-more:hover {
            background-color: var(--default-color-2);
            color: #fff;
        }

.home-news-title {
    margin: 0;
    position: relative;
    font-size: 44px;
    color: #C52B30;
    font-weight: 100;
    line-height: 117.2%;
    font-family: 'monSB';
}


    .home-news-title::before {
        content: '';
        position: absolute;
        width: 67px;
        height: 2px;
        background-color: #fff;
        top: calc(100% + 22px);
        display: none;
    }

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

    .home-news-filter .filter-item {
        cursor: pointer;
        color: #fff;
        font-size: 22px;
        margin: 0 calc(28px /2);
        user-select: none;
        transition: all linear .3s;
    }

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

        .home-news-filter .filter-item.active {
            color: var(--default-color-1);
        }

    .home-news-filter .btn-more {
        font-family: OsLight;
        font-size: 22px;
        color: var(--default-color-2);
        background-color: #ffffff;
        line-height: 100%;
        padding: 14px 24px;
        --hv: #fff;
        border: 1px solid #fff;
        margin-left: 24px;
    }

        .home-news-filter .btn-more::after {
            height: 72%;
            top: 28px;
            right: -10px;
        }

        .home-news-filter .btn-more::before {
            width: calc(100% + 11px);
            left: 2px;
            bottom: -10px;
        }

        .home-news-filter .btn-more:hover {
            background-color: transparent;
            color: #fff;
        }

.home-news-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 36px;
    row-gap: 30px;
    margin-top: 44px;
}


.home-news .p-news-item:nth-child(4) {
    display: none;
}
/*RS*/
@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none
    }

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

    .home-news .p-news-item:nth-child(4) {
        display: flex;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none
    }

    .home-news-title {
        font-size: 38px;
    }


    .home-news-filter .btn-more {
        font-size: 14px;
        padding: 10px 21px;
    }

    .home-news-filter .filter-item {
        font-size: 16px;
    }

    .home-news-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 739px) {
    .no-display-mobile {
        display: none
    }

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

    .home-news-heading {
        flex-direction: column;
    }

    .home-news-title {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 35px;
        width: 100%;
    }

        .home-news-title::before {
            top: calc(100% + 6px);
        }

    .home-news-filter .filter-item {
        font-size: 15px;
        margin: 0;
        margin: 0 15px;
    }

    .home-news-heading div {
        width: 100%;
        flex-wrap: wrap;
    }

    .home-news-filter .btn-more {
        font-size: 18px;
        padding: 8px 21px;
        margin-left: 0;
        margin-top: 15px;
    }

    .home-news-filter {
        margin-top: 30px;
        width: 100%;
    }

    .home-news-list {
        grid-template-columns: repeat(1,minmax(0,1fr));
        margin-top: 30px;
        row-gap: 30px;
    }

    .home-news-title {
        font-size: 25px;
    }

    .home-news-heading .btn-more {
        margin-top: 5px;
        font-size: 12px;
        margin-top: 10px;
    }
}
