@media (max-width: 767px) {
    ul.pagination li:not(:first-child):not(:last-child) {
        display: none;
    }



}


@media (min-width: 768px) {
    :root {
        --base-font-family: 'Inter', sans-serif;
        --base-font-size: 16px; /* 1rem */
    }

    .header-logo img {
        max-height: 55px;
    }

    .header-menu-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        display: flex;
    }


    .page-title-container {
        margin-bottom: 0;
        max-width: 33rem;
    }

    .tzerli-left {
        position: absolute;
        top: 2rem;
        left: -10vw;
        width: 8vw;
        max-width: 130px;
        display: block;
    }

    .tzerli-right {
        position: absolute;
        bottom: 17rem;
        right: -13rem;
        width: 8vw;
        max-width: 130px;
        display: block;
    }

    .right-image {
        right: 0;
        top: 915px;
        width: 50vw;
        transform: translateX(8%);
        z-index: 99;
    }

    .page-title {
        font-size: 3.3rem;
        line-height: 1.08;
    }

    .header-categories-links a {
        font-size: 1.14rem;
    }

    .header-categories-container {

        justify-content: flex-end;
    }

    .adv-foto-title {
        font-size: 0.8rem;
        text-align: left !important;
        max-width: 100%;
    }


    /* Левая картинка */
    .index-left-image {
        left: 0;
        top: -5%;
        width: 47%;
        /* наезжает внутрь контейнера на 25% ширины */
    }

    /* Правая картинка */
    .index-right-image {
        right: 0;
        top: 980px;
        width: 47%;
        transform: translateX(0%);
    }

    .i-about {

        margin-top: 5.8rem;
    }

    .i-adv {
        margin-top: 10rem;
    }
    .list-adv {
        
margin-top: 3rem;
    }

    .adv-foto {
        margin-top: 3rem;
    }

    .i-map {

        margin-top: 4rem;

        margin-bottom: 3rem;

        padding-top: 8rem;

        padding-bottom: 36rem;

    }

    .i-map-map {
        position: absolute;
        width: 60vw;
        margin-left: -12vw;
    }

    .header-categories-links a {
        display: inline-block;
        text-align: center;
        min-width: 11rem;
        background-color: white;
        padding: 0.3rem 2.5rem;
        text-decoration: none;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        font-size: 1.1rem;
        color: #B27C2E;
        font-weight: bold;
        border: 2px solid #CF9A30;
        /* box-shadow: -3px 3px #916B4A; */
    }

    img.page-right-top {
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
        width: 50%;
    }

    .news-list-item-title {
        padding: 2rem 3rem;
        background-color: #916B4A;
        min-height: 140px;
        display: flex;
    }

    .header-categories-title {
        color: white;
        font-weight: bold;
        margin-bottom: 0;
        text-transform: uppercase;
        font-size: 1.67rem;
    }

    .news-list-item-img {
        height: 20.5rem;
        position: relative;
        background-size: cover;
        background-position: center;
    }

    .news-list-item-title {
        padding: 2rem 2rem 2rem 2rem;
        background-color: #916B4A;
        min-height: 200px;
        display: flex;
    }

    .header-search-input {

    }

    .header-categories-container {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .header-categories-container {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .header-categories {
        text-align: center;
    }

    .pagination__link {
        font-size: 1.14rem;
    }

    .header-banner-small {

    }
    .header-banner-container {padding-top: 4rem;padding-bottom: 2.5rem;}

    .news-list {
        margin-top: 2rem;
    }

    .page-content {

padding-top: 6.5rem;

}

    .header-categories-links {
        display: flex;
        flex-wrap: nowrap;
        margin-top: 0.5rem;
        justify-content: center;
    }
    .header-search-title {
        
font-size: 1.4rem;
    }

    .header-search-container {
        height: 100%;
        display: flex
    ;
        align-items: flex-end;
    }
    .catalog-list {
        
margin-top: 2rem;
    }
    .page-title-description {text-align: justify;max-width: 33rem;}
    .page-title-description p + p{
        margin-top: 1rem;
}
    .logo-banner {
        width: 78%;
    }

    .contacts-banner-btn {
        display: inline-block;
        margin-top: 3.8rem;
    }
    .contacts-banner-container {
    }
    .contacts-container {margin-top: 4rem;}

    .contacts-map {margin-top: 3.8rem;}


}