/*заголовок*/
    .uc-zagolovok .t-container {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
    
    .uc-zagolovok .t-col {
        margin: 0 !important;
        padding: 0 !important;
    }

/*ГЛАВНАЯ СТРАНИЦА*/
/*карточки с услугами*/
    .uc-uslugi .t786__content { /*подчеркивание снизу*/
        border-bottom: 1px solid #70774B !important;
        padding-bottom: 20px !important;
    }
    
    .uc-uslugi .t786__bgimg:before { /*добавляем стрелку*/
        content: "";
        background-image: url("https://static.tildacdn.com/tild3030-3232-4537-b538-363333376265/photo.svg");
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        width: 20px;
        height: 20px;
        top: 20px;
        right: 20px;
    }
    
    .uc-uslugi .t786__bgimg:hover:before { /*добавляем стрелку*/
        content: "";
        background-image: url("https://static.tildacdn.com/tild3030-3232-4537-b538-363333376265/photo.svg");
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        width: 20px;
        height: 20px;
        top: 10px;
        right: 10px;
        transition-duration: 0.4s;
    }
    
/*2 блок*/    
    .uc-blok2 .t492__textwrapper {
        margin: 40px !important;
    }

/*карточки с обрядами*/    
    .uc-obryady .t786__content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .uc-obryady .t786__textwrapper {
        margin: 0 0 10px !important;
    }
    
/*карточки наставничество*/
    .uc-mentoring .t786__container { /*контейнер с карточками (сетка)*/
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .uc-mentoring .t786__separator { /*скрываем разделитель*/
        display: none !important;
    }

    .uc-mentoring .t786__col:nth-child(2) { /*вторая карточка*/
        display: grid !important;
        grid-row: 2 span; /*карточка занимает 2 ряда по высоте*/
    }
    
    .uc-mentoring .t786__col:nth-child(2) .t786__imgwrapper { /*контейнер с фотографией*/
        height: 100%;
        padding-bottom: 0px !important;
    }
    
    .uc-mentoring .t786__col:nth-child(2) .t786__textwrapper {
        display: none;
    }
    
    .uc-mentoring .t786__col { /*карточки*/
        display: grid !important;
        width: 100% !important; /*ширина*/
    }
    
    .uc-mentoring .t786__content {
        height: 100% !important;
    }
    
    .uc-mentoring .t786__col:not(:nth-child(2)) .t786__imgwrapper { /*иконки в карточках, кроме второй карточки*/
        width: 40px;
        height: 40px;
        padding-bottom: 0px !important;
    }

    .uc-mentoring .t786__col:not(:nth-child(2)) .t786__bgimg { /*иконки в карточках, кроме второй карточки*/
        width: 40px;
        height: 40px;
        background-repeat: no-repeat;
    }
    
    .uc-mentoring .t786__col:not(:nth-child(2)) .js-product-link { /*отступы сверху и снизу во всех карточках кроме второй*/
        padding: 20px 0;
        border-bottom: 1px solid #70774b;
    }
    
    .uc-mentoring .t786__col:nth-child(1) .js-product-link,
    .uc-mentoring .t786__col:nth-child(3) .js-product-link,
    .uc-mentoring .t786__col:nth-child(4) .js-product-link { /*карточки 1,3 и 4*/
        border-top: 1px solid #70774b; 
    }
    
    .uc-mentoring .t786__textwrapper { /*контейне с заголовком и описанием, для выравнивания описания по нижнему краю*/
        display: flex;
        flex-direction: column;
    }
    
    .uc-mentoring .t786__descr { /*описание*/
        margin-top: auto; /*выравниваем по нижнему краю*/
    } 
    
    .uc-mentoring .t786__title { /*заголовок*/
        margin-bottom: 10px; 
    }

/*СТРАНИЦА С ПРОГРАММАМИ*/
/*карточки с ценами*/
    .uc-tseny-olkon .t-align_center { /*кнопки*/
        text-align: left;
    }
    
    .uc-tseny-olkon .t1068__row { /*фон*/
        background-color: #F7F4EF !important;
        padding: 30px;
    }
    
    .uc-tseny-olkon .t1068__content {
        padding: 0 !important;
    }
    
    .uc-tseny-olkon .t1068 .t-card__title {
        margin-top: 0 !important;
    }
    
    .uc-tseny-olkon .t1068__col:nth-child(1) {
        margin-left: 0 !important;
    }
    
    .uc-tseny-olkon .t1068__col:nth-child(2) {
        margin-right: 0 !important;
    }

@media screen and (max-width: 1200px){
/*СТРАНИЦА С ПРОГРАММАМИ*/
/*карточки с ценами*/
    .uc-tseny-olkon .t1068__col:nth-child(2) .t1068__content {
        margin-left: 20px !important;
    }
    
/*карточки наставничество*/
    .uc-mentoring .t786__container { /*контейнер с карточками (сетка)*/
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .uc-mentoring .t786__col:nth-child(2) { /*вторая карточка*/
        grid-row: 3 span !important;
        grid-column: 2 span !important;
    }
    
    .uc-mentoring .t786__col:nth-child(3) .js-product-link,
    .uc-mentoring .t786__col:nth-child(4) .js-product-link { /*карточки 3 и 4*/
        border-top: none  !important; 
    }
}

@media screen and (max-width: 960px){
/*заголовок*/
    .uc-zagolovok .t-container {
        margin-left: 20px !important;
        margin-right: 20px !important;
    } 
    
/*ГЛАВНАЯ СТРАНИЦА*/    
/*2 блок*/    
    .uc-blok2 .t492 {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .uc-blok2 .t492__textwrapper {
        margin: 20px;
    }
    
/*карточки наставничество*/
    .uc-mentoring .t786__container { /*контейнер с карточками (сетка)*/
        grid-template-columns: auto !important;
    }
    
    .uc-mentoring .t786__col:nth-child(2) { /*вторая карточка*/
        grid-row: auto !important;
        grid-column: auto !important;
        min-height: 600px !important; /*высота*/
        padding: 20px 0 !important; /*отступы*/
        border-bottom: 1px #70774b solid; /*подчеркивание*/
        order: 1; /*порядок*/
    }
    
    .uc-mentoring .t786__col:nth-child(3),
    .uc-mentoring .t786__col:nth-child(4) { /*порядок карточек*/
        order: 0;
    }
    
    .uc-mentoring .t786__col:nth-child(5),
    .uc-mentoring .t786__col:nth-child(6),
    .uc-mentoring .t786__col:nth-child(7),
    .uc-mentoring .t786__col:nth-child(8) { /*порядок карточек*/
        order: 1;
    }
    
    .uc-mentoring .t786__col {
        margin-bottom: 0px !important;
    }

/*СТРАНИЦА С ПРОГРАММАМИ*/
/*карточки с ценами*/
    .uc-tseny-olkon .t1068__col {
        padding: 0px !important;
    }
    
    .uc-tseny-olkon .t1068__line_mobile {
        margin: 30px auto !important;
    }
    
    .uc-tseny-olkon .t1068__col:nth-child(2) .t1068__content {
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 680px){
    .uc-tseny-olkon .t-container { 
        margin: 0 20px !important;
        width: -webkit-fill-available;
    }
}