/*ХЕДЕР----------------------------------------------------------------------------------------------*/
/*настройка подменю ПРОЕКТЫ с картинками -------------------------------*/
/*размер картинок*/
.t966 .t966__menu-item-icon {
    width: 150px;
    height: 150px;
}

/*текст по центру*/
.t966 .t966__menu-item-text {
    margin-top: 60px;
}

/*размер подменю*/
.t966 .t966__tooltip-menu {
    max-width: 99.7% !important;
}

/*убираю уголок*/
.t966 .t966__tooltip-menu-corner {
    display: none;
}


.t966 .t966__tooltip-menu {
    margin-top: -0.2%;
    margin-left: -0.45% !important;
}

/*настройка меню-бургера-----------------------------*/
/*расстояние под логотипом*/
.t450 .t450__logoimg {
    padding-bottom: 10px;
}

/*расстояние между телефоном и языком*/
.t450 .t450__right_descr {
    line-height: 2;
}

/*расстояние между подпунктами на адаптиве*/

@media screen and (max-width: 480px) {
.t-menusub__list-item {
    margin-bottom: 10px;
}
}
/*ХЕДЕР----------------------------------------------------------------------------------------------*/

/*СТИЛИЗАЦИЯ ПОПАПОВ---------------------------------------------------------------------------------*/
/*текст*/
.t-form-success-popup__wrapper .t-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}
.t-form-success-popup_new .t-form-success-popup__title .t-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}

/*настройка кнопки*/
.t-form-success-popup_new .t-btn {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}


/*окно успешного заполнения*/
.t-form-success-popup_new .t-form-success-popup__wrapper {
    border-radius: 0px;
}

/*кнопка*/
.t-form-success-popup_new .t-form-success-popup__button {
    padding: 13px 44px;
    background-color: #2864F5;
    border-radius: 0px;
}

/*убираю иконку*/
svg.t-form-success-popup__content-icon {
    display: none;
}

/*адаптив--------------------------------*/
/*горизонтальный планшет--------------------*/
@media screen and (min-width: 981px) and (max-width: 1200px) {
/*заголовок*/
.t702 .t702__wrapper .t702__text-wrapper .t702__title {
    font-size: 31px !important;
}    
}

/*вертикальный планшет--------------------*/
@media screen and (min-width: 481px) and (max-width: 980px) {
/*заголовок*/
.t702 .t702__wrapper .t702__text-wrapper .t702__title {
    font-size: 31px !important;
}    
}

/*мобилка------------------------*/
@media screen and (max-width: 480px) {
/*фон закрытия*/
.t702 .t-popup__block-close {
    background: #ffffff;
}
}
/*СТИЛИЗАЦИЯ ПОПАПОВ---------------------------------------------------------------------------------*/

/*НАСТРОЙКА ПОТОКОВ------------------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
.t897 .t-feed__container {
    max-width: 94.5%;
}
.t897 .t-feed__post {
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(25% - 20px);
}

.t897 .t-col {
    margin-left: 10px;
}
}
/*горизонтальный планшет--------------------*/
@media screen and (min-width: 981px) and (max-width: 1199px) {
.t897 .t-feed__container {
    max-width: 100%;
}

.t897 .t-feed__post {
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(33.3% - 20px);
}
}
/*вертикальный планшет--------------------*/
@media screen and (min-width: 481px) and (max-width: 980px) {
.t897 .js-feed{
        padding: 0 10px;    /*Отступ от краев экрана*/    
    }
.t897 .js-feed-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /*Количество колонок на мобильной версии*/
        gap: 20px;  /*Отступ между карточками*/
    }
    
.t897 .js-feed-post.t-feed__post.t-feed__grid-col {
        width: 100%;
        max-width: 100%;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
.t897 .t-feed__col-grid__wrapper {
        height: auto !important;
        padding: 0 20px 20px 20px; /*Отступы вокруг текста*/
    }
    
.t897 .t-feed__col-grid__post-wrapper {
        height: 100% !important;
    }
    
.t897 .t-feed__post-title,
.t897 .js-feed-post-descr,
.t897 .t-feed__post-tag{
        overflow-wrap: anywhere; /*Перенос части слова, если оно слишком длинное*/
    }
    
.t897 .t-feed__post__line-separator {
        display:none;
    }
.t897 .t897__container {
        max-width: 99%;
}
}

/*мобилка------------------------*/
@media screen and (max-width: 480px) {
.t897__container {
        max-width: 99%;
}

.t897 .js-feed-container .t-col {
    padding-left: 10px;
    padding-right: 10px;
}
.t897 .t-feed__post-descr {
    margin-top: 3px;
}
.t897 .t-feed__col-grid__post-wrapper .t-feed__post-imgwrapper {
    margin-bottom: 10px;
}

/*остальные настройки-------------------------------------------------*/
/*меняю бейджик с разделами у потоков*/
.t897 .t-feed__post-label .t-uptitle {
    font-family: 'Inter', Arial, sans-serif;
}
/*обрезка описания до 2х строк------------------------*/
.t897 .js-feed-post-descr.t-feed__post-descr.t-descr.t-descr_xxs {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*расстония между карточками*/
.t897 .t-feed__grid-col:not(.t-slds__item) {
    margin-top: 75px;
}
/*НАСТРОЙКА ПОТОКОВ------------------------------------------------------------------------------------------------------*/