 
.cornice-first__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* align-items: center; */
    /* gap: 0 150px; */
    align-items: flex-start;
}

.cornice-first__title {
    font-size: 60px;
    align-self: flex-end;
    text-align: left;
    margin-bottom: 60px;
}

.counnixe-first__content {
    font-size: 18px;
    margin-bottom: 60px;
}

.cornice-first {
    padding: 80px 0 110px;
    background: linear-gradient(7deg, #E8DFDA 7.43%, rgba(255, 255, 255, 0.00) 84.2%);
}

.cornice-first__descr {
    padding-right: 150px;
}

.cornice-first__descr .button {
}

.cornice-first__list {
    grid-column: 2 /2;
    grid-row: 1 /3;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax( 260px, 1fr));
    gap: 15px 20px;
}

.cornice-first__item {
    color: var(--site_text, #402714);
}

.cornice-first__item:hover {
    display: block;
}

.cornice-first__item-img {
    display: block;
    margin-bottom: 10px;
}

.cornice-first__item-img img {
    display: block;
    width: 100%;
}

.cornice-first__item-title {
    display: block;
    font-size: 20px;
    line-height: 1;
    font-family: Forum;
    text-transform: uppercase;
}

.cornice-gallery__inner {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cornice-gallery__inner .cornice-title {
}

.cornice-gallery {
    padding: 120px 0;
    background: linear-gradient(354deg, #E8DFDA 7.43%, rgba(255, 255, 255, 0.00) 84.2%);
}

.cornice-title {
    color: #402714;
    font-family: Forum;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.cornice-gallery__images {
    padding-right: 150px;
    width: 50%;
    position: sticky;
    top: 90px;
}

.cornice-gallery__images img {
    display: block;
    width: 100%;
}

.cornice-gallery__big {
    margin-bottom: 20px;
}

.cornice-gallery__big .owl-dots {
    display: none;
}

.cornice-gallery__thumbs {
    margin: 0 -5px;
    width: calc(100% + 10px);
}

.cornice-gallery__thumb {
    padding: 0 5px;
}

.cornice-gallery__thumb img {
    border: 3px solid transparent;
}

.cornice-gallery__thumb--active img {
    border-color: #532F13;
}

.cornice-gallery__descr {
    flex: 1;
}

.cornice-gallery__text {
    font-size: 18px;
    max-width: 550px;
}

.cornice-gallery__thumbs .owl-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.cornice-gallery__thumbs .owl-dot {
    display: block;
    width: 10px;
    height: 10px;
    background: #D9D9D9;
}

.cornice-gallery__thumbs .owl-dot.active {
    background: #B19582;
}

.cornice-text {
    padding: 120px 0;
    background: linear-gradient(155deg, #E8DFDA 7.43%, rgba(255, 255, 255, 0.00) 84.2%);
}

.cornice-text__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 150px;
}

.cornice-text__image {
    width: 50%;
}

.cornice-text__image img {
    display: block;
    width: 100%;
}

.cornice-text__descr {
    flex: 1;
    font-size: 18px;
}

.cornice-text__content {
    margin-bottom: 60px;
}

.cornice-gallery .owl-nav .owl-next {
    width: 50px;
    height: 100px;
    background: rgb(255 255 255 / 50%);
    margin: auto;
    bottom: 40px;
}

.cornice-gallery .owl-nav .owl-prev {
    width: 50px;
    height: 100px;
    background: rgb(255 255 255 / 50%);
    margin: auto;
    bottom: 40px;
}

.cornice-gallery .owl-nav .owl-prev:before, .cornice-gallery .owl-nav .owl-next:before {
    -webkit-transform: rotate(-45deg);
    height: 3px;
    background: #B19582;
    width: 42px;
    top: 0px;
    left: 7px;
}

.cornice-gallery .owl-nav .owl-prev:after, .cornice-gallery .owl-nav .owl-next:after {
    -webkit-transform: rotate(45deg);
    height: 3px;
    background: #B19582;
    width: 42px;
    top: 0;
    left: 5px;
}

.cornice-gallery .owl-nav .owl-next:after {
    right: 5px;
    left: auto;
    top: 0;
}

.cornice-gallery .owl-nav .owl-next:before {
    right: 7px;
    left: auto;
}


.cornice-info {
    padding: 80px 0 110px;
    background: linear-gradient(7deg, #E8DFDA 7.43%, rgba(255, 255, 255, 0.00) 84.2%);
}

.cornice-info__inner {position: relative;}
.cornice-info__descr {width: 50%;font-size: 18px;padding-right: 150px;}
.cornice-info__title {font-size: 60px;align-self: flex-end;text-align: left;margin-bottom: 30px;}
.cornice-info__content {
    margin-bottom: 60px;
}

.cornice-info__image {position: absolute;right: 0;top: 0;left: 50%;bottom: 0;}
.cornice-info__image  img {display: block;width: 100%;max-height: 100%;object-fit: cover;}


@media (max-width: 1600px) {
    .cornice-first__descr {
        padding-right: 80px;
    }

    .cornice-gallery__images {
        padding-right: 80px;
    }
    .cornice-text__inner {
        gap: 80px;
    }
}

@media (max-width: 960px) {
    .cornice-first__title {
        display:none;
    }

    .cornice-first__inner:after {
        content: attr(data-mob-title);
        width: 100%;
        display: block;
        font-size: 36px;
        margin-bottom: 0px;
    }

    .cornice-first__inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .cornice-first {
        padding: 30px 0 40px;
    }

    .cornice-first__list {
        width: 100%;
    }

    .counnixe-first__content {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cornice-first__descr {
        padding: 0
    }

    .cornice-gallery__inner .cornice-title {
        display: none;
    }

    .cornice-gallery {
        padding: 30px 0;
    }

    .cornice-gallery__inner:before {
        content: attr(data-mob-title);
        width: 100%;
        display: block;
        font-size: 28px;
    }

    .cornice-gallery__images {
        padding-right: 0;
        width: 100%;
        max-width: 370px;
        margin: auto;
        position: relative;
        top: 0;
    }

    .cornice-gallery__inner {
        flex-direction: column;
        gap: 30px;
    }

    .cornice-gallery__text {
        font-size: 14px;
    }
    .cornice-text {
        padding: 60px 0;
    }
    .cornice-info__title {
        display:none
    }
    .cornice-info__descr {
        width:100%;
        font-size:14px;
        padding: 0;
    }
    .cornice-info__image {
        position: static;
        max-width: 490px;
        padding: 0 30px;
        margin: 0 0 30px auto;
    }
    .cornice-info.cornice-info {
        padding: 40px 0 60px;
    }
    .cornice-info__inner:before {
        content: attr(data-mob-title);
        /* width: 100%; */
        display: block;
        font-size: 28px;
        padding: 0 30px;
    }

}

@media (max-width: 692px) {

    .cornice-info__inner:before {
        padding:0 20px;
    }

    .cornice-text__inner {
        flex-direction: column-reverse;
        gap: 30px;
    }  
    .cornice-text__inner .cornice-title {
        display:none;
    }
    .cornice-text__image {
        width:100%;
    }
    .cornice-text__inner:after {
        content: attr(data-mob-title);
        width: 100%;
        display: block;
        font-size: 28px;
    }
    .cornice-text {
        padding: 30px 0 60px;
    }
    .cornice-text__descr {
        font-size:14px;

    }
    .cornice-text__content {
        margin-bottom: 30px;
    }
    .cornice-text .button {
        display:block;
        width:100%;
    }
    .cornice-gallery__thumbs {
        padding: 0 25px;
    }
    .cornice-gallery .owl-nav .owl-prev {
        left: -10px;
        width: 30px;
        height: 70px;
    }
    .cornice-gallery .owl-nav .owl-next  {
        right:-10px;
        width: 30px;
        height: 70px;
    }
    .cornice-gallery .owl-nav .owl-prev:before, .cornice-gallery .owl-nav .owl-next:before {
        width: 25px;
        right: 5px;
    }
    .cornice-gallery .owl-nav .owl-prev:after, .cornice-gallery .owl-nav .owl-next:after {
        width:25px;
        right: 3px;
    }
    .cornice-info__image {
        padding: 0 20px;
    }
    .cornice-info.cornice-info {
        padding: 25px 0 60px;
    }

    .cornice-first__descr .button {
        width:100%;
    }
     .cornice-info__descr .button {
        width:100%;
    }
}