/* Взаимодействие с элементами и их внешний вид */

    /* Уменьшение (или увеличение) стандартной карточки потока при наведении. Блок FD301 */
    @media screen and (min-width: 960px) {
        .uc-window-2 .t897 .js-feed-post,
        .uc-window-3 .t897 .js-feed-post,
        .uc-window-4 .t897 .js-feed-post {     /*Нужный класс блока из таблицы*/
            transition: 0.2s ease-in-out;    /*Длительность и плавность анимации*/    
        }
        .uc-window-2 .t897 .js-feed-post:hover,
        .uc-window-3 .t897 .js-feed-post:hover,
        .uc-window-4 .t897 .js-feed-post:hover {
            transform: scale(0.98);  /*Размер увеличения карточки*/ 
        }
    }
    
    /* Подписи дат и разделов без межбуквенного расстояния и без заглавных */
    .t-feed__post-date,
    .t-feed__post-tag {
        letter-spacing: 0px;
        text-transform: none;
    }
    
    /* Прозрачность фоток при наведении (1-й экран, 1-я колонка) */
    .uc-childblock-1 .t-feed__col-grid__post-wrapper .t-feed__post-bgimg {
        transition: 0.2s ease-in-out;
    }
        
    .uc-childblock-1 .t-feed__col-grid__post-wrapper:hover .t-feed__post-bgimg {
        opacity: 85%;
    }
    
    /* Отступы (1-й экран, 1-я колонка) */
    @media screen and (max-width: 960px) {
        .t-feed__container_inrow2 .t-feed__post:nth-child(-n+2),
        .t-feed__container_inrow3 .t-feed__post:nth-child(-n+3),
        .t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
            margin-top: 30px!important;
        }
    }
    
    /* Отступы (1-й экран, 2-я колонка) */

    @media screen and (max-width: 960px) {
        .t896 .t-feed__row-grid__post-wrapper {
            padding-bottom: 15px;
            padding-top: 15px;
        }
    }
    
    @media screen and (min-width: 960px) {
    /* Между датой и заголовком (1-й экран, 2-я колонка) */
        .t-feed__post-parts-date-row.t-feed__post-parts-date-row_afterdescr {
            margin-top: 10px;
        }
        
        .t896 .t-feed__row-grid__post-wrapper {
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }
    
    /* Изменение фона при наведении (1-й экран, 2-я колонка) */
    .uc-childblock-2 .js-feed-post,
    .uc-window-1 .js-feed-post {
        transition: 0.2s ease-in-out;
    }
        
    .uc-childblock-2 .js-feed-post:hover,
    .uc-window-1 .js-feed-post:hover {
        background-color: #F5F3FE;
    }
    
    /* Изменение фона при наведении (1-й экран, 2-я колонка) */
    /* #rec778922548 {
        .js-feed-post {
            transition: 0.2s ease-in-out;
        }
        
        .js-feed-post:hover {
            background-color: #f7f7f7;
        }
    } */
    
    /* Внешний вид лейбла с разделом, который на фотке */
    .t-feed__post-label {
        background-color: #fff !important;
        border-radius: 100px !important;
        padding: 5px 12px !important;
    }
    
    /* Цвет текста лейбла с разделом (кроме первого блока) */
    /*.t-feed__post-tag:not(.uc-childblock-1 .t-feed__post-tag) { */
      .t-feed__post-tag {
        color: #373737 !important;
    }
    
    /* Отступ справа для текстового блока в новостях */
    .t-feed__textwrapper {
        padding: 0px 20px 0px 0px !important;
    }
    
    /* Изображения потоков */
    .t-feed__post-imgwrapper.t-feed__post-imgwrapper_beforetitle {
        /* border-radius: 8px !important; */
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Фоновая фотка блока подписки (на главной) */
    .subscribe-bg .tn-atom {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Изображение в статье IM01 */
    img.t-img.t-width.t107__widthauto.loaded {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Иконка скролла в моб.версии потоков */
    .t897__scroll-icon-wrapper {
        display: none !important;
    }
    
    /* Слайдер статей */
    @media screen and (min-width: 960px) {
        .t734__textwrapper.t-align_left {
            width: 60%;
        }
    }
    
    @media screen and (max-width: 480px) {
        .t734__title.t-title.t-title_sm {
            font-size: 20px;
        }
        .t734__descr.t-descr.t-descr_md {
            font-size: 14px !important;
            margin-top: 15px;
        }
        a.t-btn.t-btn_md {
            width: 200px !important;
            height: 34px !important;
            font-family: 'Inter' !important;
            font-size: 12px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .t734__button {
            padding-top: 30px;
            padding-bottom: 10px;
        }
    }
    
    
    /* Потоки H1, H2 и текст */
    @media screen and (max-width: 480px) {
        .js-feed-post-title .t-title_xxs {
            font-size: 26px !important;
        }
        h2.t-redactor__h2 {
            font-size: 22px !important;
        }
        .js-feed-post-descr.t-feed__post-descr {
        font-size: 14px !important;
        }
        .t734__textwrapper.t-align_left {
            width: 70% !important;
        }
        
    /* Заголовок поста потока в ленте */    
        a.t-feed__link.js-feed-post-link {
            font-size: 18px;
        }
        
        .js-feed-post-title.t-feed__post-title.t-name.t-name_md {
            font-size: 18px !important;
            line-height: 1.35;
        }
    }

    /* Разделитель перед заголовком раздела (DV01) */
    .uc-window-1 .t118 {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
    
    /* Кнопка «Показать ещё» в потоках */
    button.js-feed-btn-show-more.t-feed__showmore-btn.t-btn.t-btn_md {
        width: 220px !important;
        height: 40px !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5 !important;
    }
    
    @media screen and (max-width: 480px) {
        button.js-feed-btn-show-more.t-feed__showmore-btn.t-btn.t-btn_md {
            width: 200px !important;
            height: 34px !important;
            font-size: 12px !important;
            text-transform: uppercase;
            letter-spacing: 0.5;
        }
    }
    
    /* Скос текста в заголовке раздела */
    .text-skew9 {
          transform:skew(-9deg) !important;
        }
    
    /* Плавность при наведении на лого партнеров */    
    img.t594__img.t-img.t594__greyonhovercolor.t594__alphaonhover.loaded {
        transition: 300ms;
    }
    
    /* Разделы потока FD301 */
    .t-feed__container.t897__container {
        margin-left: 0px !important;
    }
    
    ul.t-feed__parts-switch-wrapper.t-align_left {
        margin-bottom: 20px !important;
    }
    
    /* Разделы потока FD301 */
    @media screen and (max-width: 480px) {
        .t-feed__container .t-feed__parts-switch-wrapper {
            margin-bottom: 0px !important;
        }
        li.js-feed-parts-switcher.t-feed__parts-switch-btn.t-feed__parts-switch-btn_bg.t-name.t-name_xs.t-menu__link-item {
            font-size: 14px !important;
            margin-bottom: 5px !important;
        }
        /* li.js-feed-post.t-feed__post.t-item.t-width.t-feed__grid-col.t-col.t-col_3.t-align_left {
            margin-top: 20px !important;
        } */
        .t-feed__parts-switch-btn a {
            padding: 6px 12px  !important;
        }
        .t-feed__container.t897__container {
            margin: 0px !important;
        }
        ul.t-feed__parts-switch-wrapper.t-align_left {
            margin-bottom: 0px !important;
        }
    }
    
    /* Скрыть рекомендательные кнопки у постов потоков вверху справа */
    /*.t-feed__share-container {
        display: none;
    }*/
    
    /* Название потока вверху попапа */
    .js-feed-popup-title.t-feed__post-popup__close-text.t-descr.t-descr_xxs {
        font-size: 20px !important;
        transform: skew(-9deg) !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }
    
    /* Расстояние от заголовка до шапки (пост потока попап) */
    .t-feed__post-popup__content-wrapper {
        padding-top: 40px;
    }
    
    /* Дата и раздел внизу поста в попапе */
    .t-feed__post-popup__date.t-uptitle {
        letter-spacing: 0px !important;
    }
    .t-uptitle {
        letter-spacing: 0px !important;
    }
    
    /* Похожие посты — раздел */
    .t-feed__post-popup__relevants-item-tag {
        letter-spacing: 0px !important;
    }
    
    @media screen and (min-width: 960px) {
        /* Похожие посты — заголовок */
        .t-name_xs {
            font-size: 20px;
        }
        
        /* Похожие посты — текст */
        .t-descr_xxs {
            font-size: 14px;
        }
        
        /* Похожие посты — картинка и текст */
        .t-feed__post-popup__relevants-content {
            align-items: center;
        }
        .t-feed__post-popup__relevants-imgwrapper {
            width: 150px !important;
            height: 100px !important;
            border-radius: 0px 30px 0px 30px !important;
        }
    }
    
    @media screen and (max-width: 480px) {
        /* Похожие посты — заголовок */
        .t-name_xs {
            font-size: 16px !important;
        }
    }
    
    /* Картинка похожих постов потоков (попап) */
    .t-feed__post-popup__relevants-bgimg.t-bgimg.loaded {
        border-radius: 0px 15px 0px 15px !important;
    }
    
    /* Главная картинка поста потоков (попап) */
    .t-feed__post-popup__content img {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Кнопка "Поделиться" в посте потока (попап) */
    @media screen and (min-width: 960px) {
        .t-feed__share-container:before {
            content: "Поделиться";
            display: inline-block;
            font-size: 12px;
            color: #f7f7f7;
            padding: 7px 12px;
            background-color: #373737;
            border-radius: 100px;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            margin-top: 15px;
            margin-bottom: 15px;
            position: absolute;
            left: -70px;
            top: -18px;
        }
        
        /* Рамзер иконок поделиться (попап) */
        .t-feed__share .ya-share2__container_size_m .ya-share2__icon {
            width: 40px;
            height: 40px;
        }
        
        ul.ya-share2__list.ya-share2__list_direction_horizontal {
            padding-left: 0px !important;
        }
    }
    
    /* Расстояние от заголовка до описания (TL01) */
    @media screen and (max-width: 480px) {
        .t050__descr.t-descr.t-descr_xxl {
            padding-top: 20px;
        }
        /* Имя автора (CR31) */
        .t337__title.t-title.t-title_xxs {
            font-size: 18px !important;
        }
    }
    
    @media screen and (min-width: 960px) {
        .t-records ul {
            margin-bottom: 0px !important;
        }
    }
    
    /* Посты потока (отдельная страница) */
    
    @media screen and (min-width: 960px) {
        /* Заголовок */
        .t-title_xxs {
            font-size: 42px;
        }
        
        /* Введение */
        blockquote.t-redactor__preface {
            font-size: 24px !important;
        }
        
        /* Текст */
        .t-redactor__text {
            font-size: 18px !important;
        }
        
        /* Фото автора */
        .t-feed__post-popup__author-bgimg {
            width: 50px !important;
            height: 50px !important;
            margin-right: 20px !important;
        }
        
        /* Имя автора */
        span.js-feed-post-author-name.t-feed__post-popup__author-name.t-descr.t-descr_xxs {
            max-width: 50%;
        }
        
        /* Тег раздела */
        .t-feed__post-popup__date-parts-wrapper.t-feed__post-popup__date-parts-wrapper_aftertext span.t-uptitle.t-uptitle_xs {
            font-size: 12px;
            color: #f7f7f7;
            padding: 7px 12px;
            background-color: #373737;
            border-radius: 100px;
            font-weight: 400;
            text-transform: none;
        }
        
        /* Похожие посты — заголовок блока */
        .t-feed__post-popup__relevants-title.t-align_left.t-uptitle.t-uptitle_xxl {
            font-size: 30px !important;
            font-weight: 700;
        }
        
        /* Похожие посты — расстояние от картинки до текста */
        .t-feed__post-popup__relevants-imgwrapper {
            margin-right: 30px !important;
        }
        
        /* Расстояние сверху до заголовка поста */
        .t-feed__post-popup__container.t-container.t-popup__container.t-popup__container-static {
            padding-top: 60px;
        }
    }
    
    @media screen and (max-width: 480px) {
        /* Заголовок */
        .t-title_xxs {
            font-size: 28px;
        }
        
        /* Введение */
        blockquote.t-redactor__preface {
            font-size: 18px !important;
        }
        
        /* Текст */
        .t-redactor__text {
            font-size: 14px !important;
        }
        
        /* Фото автора */
        .t-feed__post-popup__author-bgimg {
            width: 50px !important;
            height: 50px !important;
        }
        
        /* Имя автора */
        span.js-feed-post-author-name.t-feed__post-popup__author-name.t-descr.t-descr_xxs {
            max-width: 80%;
        }
        
        /* Тег раздела */
        .t-feed__post-popup__date-parts-wrapper.t-feed__post-popup__date-parts-wrapper_aftertext span.t-uptitle.t-uptitle_xs {
            font-size: 12px;
            color: white !important;
            padding: 6px 10px;
            background: #373737;
            border-radius: 100px;
        }
        
        /* Похожие посты — заголовок блока */
        .t-feed__post-popup__relevants-title.t-align_left.t-uptitle.t-uptitle_xxl {
            font-size: 20px !important;
            font-weight: 700;
        }
        
        /* Похожие посты — расстояние от картинки до текста */
        .t-feed__post-popup__relevants-imgwrapper {
            margin-right: 10px !important;
        }
        
        /* Расстояние сверху до заголовка поста */
        .t-feed__post-popup__container.t-container.t-popup__container.t-popup__container-static {
            padding-top: 30px;
        }
    }
    
    /* Статья — имя автора выровнять по высоте (FR102N) */
    li.t-col.t-col_8.t-prefix_2.t-item.t-list__item {
        display: flex !important;
        align-items: center !important;
    }
    
    /* Изображения в две колонки (GL02) */
    .t667__container.t-container {
        max-width: 960px;
    }
    
    /* Подзаголовок TL01 */
    .t050__descr.t-descr.t-descr_xxl {
        padding-top: 20px !important;
        padding-bottom: 0px !important;
    }
    
    @media screen and (max-width: 480px) {
        /* TL01 от даты до заголовка */
        .t050__uptitle.t-uptitle.t-uptitle_sm {
            padding-bottom: 20px !important;
        }
        /* TL01 от даты до заголовка */
        .t050__descr.t-descr.t-descr_xxl {
            padding-top: 10px !important;
        }
        /* FR102N описание */
        .t-descr.t-descr_sm {
            font-size: 12px !important;
        }
        /* FR102N имя */
        .t-name.t-name_md.t1095__bottommargin {
            padding-bottom: 5px !important;
        }
        /* FR102N фотка */
        .t1095__bgimg.t1095__img_circle.t-bgimg.loaded {
            width: 40px !important;
            height: 40px !important;
        }
        /* FR102N текстовый блок */
        .t1095__textwrapper.t1095__textwr_leftpadding.t-cell.t-valign_top {
            padding-left: 15px !important;
        }
        /* Подзаголовок TL01 */
        .t050__descr.t-descr.t-descr_xxl {
            font-size: 18px !important;
        }
        /* Заголовок H2 TL02A */
        h2.t225__title.t-title.t-title_md {
            font-size: 26px !important;
        }
        /* Заголовок H3 TL02A */
        h3.t225__title.t-title.t-title_md {
            font-size: 20px !important;
        }
        /* Галерея GL01 */
        .t-slds__bgimg.t-bgimg.t-zoomable.loaded {
            border-radius: 0px !important;
        }
        /* Галерея GL01 точки */
        ul.t-slds__bullet_wrapper {
            padding-top: 5px !important;
        }
        /* Хлебные крошки ME605 */
        ul.t758__list {
            line-height: 1;
        }
        
    }
    
    @media screen and (max-width: 960px) {
        /* Главная картинка статьи IM02 */
        .t-cover__carrier.loaded {
            height: 250px !important;
        }
        .t-cover {
            height: 250px !important;
        }
    }
    
    /* Логотипы партнёров PR101 */
    .t-col.t-card__col.t-card__col_withoutbtn.t594__item.t594__item_3-in-row {
        margin-bottom: 40px !important;
    }
    
    /* Высота формы в попапе BF501N */
    @media screen and (max-width: 480px) {
        .t-popup__container.t-width.t-width_6.t-popup__container-animated {
            height: 600px !important;
        }
    }

/* ME103 */
.t229__maincontainer.t229__c12collumns {
        max-width: 95% !important;
    }

/*
-
-
-
-
-
-
Стандартные блоки по Window-контейнеру (1, 2, 3 и 4 колонки) */

@media screen and (min-width: 960px){
    /*-----Стили только для блоков без стандартных заголовков-----*/
    .uc-window-1 > div,
    .uc-window-2 > div,
    .uc-window-3 > div,
    .uc-window-4 > div {
        padding: 0 40px;    /*Отступы по бокам экрана*/
    }
    
    .uc-window-1 > div > .t-container,
    .uc-window-1 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-1 .js-feed-container,
    .uc-window-1 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr;
        gap: 0px 10px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-2 > div > .t-container,
    .uc-window-2 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-2 .js-feed-container,
    .uc-window-2 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr;
        gap: 30px 30px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-3 > div > .t-container,
    .uc-window-3 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-3 .js-feed-container,
    .uc-window-3 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 20px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-4 > div > .t-container,
    .uc-window-4 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-4 .js-feed-container,
    .uc-window-4 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px 20px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    /*
    #rec778922551 .js-feed-post:nth-child(7n+1) {
        grid-column: auto/span 2;
    }
    
    #rec778922551 .js-feed-post:nth-child(7n+1) .t-feed__post-imgwrapper_beforetitle {
        aspect-ratio: 3.05 !important;
    }
    */
    
    .t-feed__col-grid__content {
        padding: 0px 30px 20px 0px;
    }
    
    .uc-window-1 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-1 .t-item:not(.t-popup__container .t-col),
    .uc-window-2 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-2 .t-item:not(.t-popup__container .t-col),
    .uc-window-3 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-3 .t-item:not(.t-popup__container .t-col),
    .uc-window-4 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-4 .t-item:not(.t-popup__container .t-col) {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /*Скрываем разделители*/
    .uc-window-1 .t-container:before,
    .uc-window-1 .t-container:after,
    .uc-window-1 [class*="container"]:before,
    .uc-window-1 [class*="container"]:after,
    /*.uc-window-1 [class*="separator"],*/
    .uc-window-2 .t-container:before,
    .uc-window-2 .t-container:after,
    .uc-window-2 [class*="container"]:before,
    .uc-window-2 [class*="container"]:after,
    .uc-window-2 [class*="separator"]:not(.uc-window-2 .t404__imgbox [class*="separator"]),
    .uc-window-3 .t-container:before,
    .uc-window-3 .t-container:after,
    .uc-window-3 [class*="container"]:before,
    .uc-window-3 [class*="container"]:after,
    .uc-window-3 [class*="separator"],
    .uc-window-4 .t-container:before,
    .uc-window-4 .t-container:after,
    .uc-window-4 [class*="container"]:before,
    .uc-window-4 [class*="container"]:after,
    .uc-window-4 [class*="separator"]{
        display: none;
    }
}