@charset "UTF-8";

/* ==========================================================================
   1. ОБЩИЕ УТИЛИТЫ И ХАКИ
   ========================================================================== */

/* Скрытие лишних элементов */
#rec862186614 .t-feed__post-popup__date-parts-wrapper_aftertitle { display: none !important; }
.t-records .uc-peoplepic { display: none !important; }
.notebookmain { display: none; }

/* Паттерны фона */
.pattern div {
    background-repeat: repeat !important;
    background-size: auto !important;
}
.bgrepeat div {
    background-size: auto !important;
    background-repeat: repeat !important;
}

/* Стили ссылок (пунктир и подчеркивание) */
.linkdashed a, .dashed a, .uc-dashed .t-title a { border-bottom-style: dashed !important; }
.dotted a { border-bottom-style: dotted !important; }
.linkdashed a:hover, .dashed a:hover, .dotted a:hover, .uc-dashed .t-title a:hover { border-bottom-style: solid !important; }

/* Инверсия цвета соцсетей при наведении */
.social img { transition: filter .2s; }
.social:hover img { filter: invert(1); opacity: 0.95; }


/* ==========================================================================
   2. ТИПОГРАФИКА И ССЫЛКИ (ГЛОБАЛЬНО)
   ========================================================================== */

/* Подсветка ссылок при наведении (Розовый/Белый) */
.t-body #allrecords .t-text a:hover,
.t-body #allrecords .t-descr a:hover,
.t-body #allrecords .t-heading a:hover,
.t-body #allrecords .t-title a:hover,
.t-body #allrecords .t-impact-text a:hover,
.t-body #allrecords .t-text-impact a:hover,
.t-body #allrecords .t-uptitle a:hover {
    border-bottom: 1px solid #ec6ea6;
    box-shadow: inset 0px -1px 0px 0px #ec6ea6;
}

/* Специфика для страницы people */
.t-body #allrecords[data-tilda-page-alias="people"] .t-text a {
    border-bottom: 1px solid #ffffff;
    box-shadow: inset 0px -1px 0px 0px #ffffff;
    /* Убрана строка color: #ffffff, которая красила ссылки в белый везде */
}
.t-body #allrecords[data-tilda-page-alias="people"] .t-text a:hover,
.t-body #allrecords[data-tilda-page-alias="people"] #rec379245408 a:hover {
    border-bottom: 1px solid #ec6ea6;
    box-shadow: inset 0px -1px 0px 0px #ec6ea6;
}

/* Убираем подчеркивание в именах и футере */
#allrecords .t-name:not(.t-feed__parts-switch-btn) a:not(.t794__typo):not(.t-menusub__link-item):not(.t-card__link),
#allrecords .uc-footer .t-descr a {
    border-bottom: 0px solid #cccccc !important;
    box-shadow: none !important;
}
#allrecords .uc-footer .t-descr a:hover { color: #676767 !important; }

/* Шрифты цифр и заголовков */
.t415__number {
    line-height: 0.7;
    font-weight: 400;
    font-family: 'BebasNeue';
    font-size: 70px;
}
.t-text-impact_lg { line-height: 1 !important; }
.t-uptitle { letter-spacing: 1.5px; }


/* ==========================================================================
   3. UI ЭЛЕМЕНТЫ: КНОПКИ (Включая Profticket)
   ========================================================================== */

/* Гигантские кнопки */
.t142 .t142__submit_size_xxl {
    line-height: 70px;
}
.t400 .t400__submit_size_lg, .t400 .t400__submit_size_xl, .t400 .t400__submit_size_xxl {
    line-height: 70px;
}

/* Средние кнопки (размер и отступы) */
.t734__button .t-btn_md, .t986__buttons .t-btn_md, .t1045 .t-submit, .t1045 .t-input,
.t897 .t-btn_md, .t896 .t-btn_md, .t995__buttons .t-btn_md, .t-feed__buttons-wrapper .t-btn_md,
.t142 .t142__submit_size_xl, .t182__buttons .t-btn_md {
    padding-left: 35px;
    padding-right: 35px;
    font-size: 20px;
    height: 60px;
}
.t734__button .t-btn_md { text-transform: lowercase; }

.t142A__btn, .t189 .t-btn_md, .t696 .t-submit, .t696 .t-input {
    height: 60px;
    line-height: 24px;
    font-size: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

/* --- PROFTICKET (ВИДЖЕТ БИЛЕТОВ) --- */
/* Чтобы попап покупки открывался поверх всего (даже меню) */
.pft-api--popup-wrap {
    z-index: 10000000000 !important;
}
/* Глобальный стиль кнопки виджета */
.pft-api--button {
    border: 0px !important;
    line-height: 1.1 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 20px 36px !important;
    font-family: 'Gilroy', Arial, sans-serif !important;
    border-radius: 10px !important;
}
.pft-api--if-content-container, .pft-api--if-content {
    border-radius: 10px !important;
}
.pft-api--button:hover {
    opacity: 0.9;
    cursor: pointer;
}

/* Специфичные кнопки (черные/белые) для виджетов */
#prof-ticket-button-1 .pft-api--button, #button-spect .pft-api--button {
    border: 5px solid #111111 !important;
    padding: 15px 30px !important;
    background-color: #f8f8f8 !important;
    color: #111111 !important;
    float: right;
}
#prof-ticket-button-1 .pft-api--button:hover, #button-spect .pft-api--button:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* Адаптив кнопок */
@media screen and (max-width: 1200px) {
    #prof-ticket-button-1 .pft-api--button, #button-spect .pft-api--button {
        padding: 15px 25px !important;
        float: left;
    }
    .pft-api--button.size-big { font-size: 16px !important; }
}

@media screen and (max-width: 640px) {
    .t142 .t142__submit_size_xxl { height: 60px; font-size: 25px; }
    .t400 .t400__submit_size_lg, .t400 .t400__submit_size_xl, .t400 .t400__submit_size_xxl { line-height: 55px; }
    .t734__button .t-btn_md, .t182__buttons .t-btn_md, .t986__buttons .t-btn_md { font-size: 18px; height: 60px; }
    .t-form__submit .t-submit { font-size: 18px; }
}


/* ==========================================================================
   4. UI ЭЛЕМЕНТЫ: ФОРМЫ
   ========================================================================== */

.t-checkbox__indicator {
    border-width: 4px !important;
    height: 22px !important;
    width: 22px !important;
    opacity: 1 !important;
    border-radius: 5px;
}
.t-checkbox__indicator:after {
    border-width: 0 3px 3px 0 !important;
    left: 4px !important;
    top: 0px !important;
}
.t-checkbox__control.t-checkbox__control_flex { align-items: flex-start !important; }

/* Ошибки форм */
.tn-atom .t-form__errorbox-wrapper, .tn-form__errorbox-popup {
    background: #E97EF2 !important;
    border-radius: 5px !important;
}
.tn-atom .t-input-error {
    border-radius: 5px !important;
    color: #E97EF2 !important;
    font-weight: 600 !important;
    margin-top: -5px !important;
}
/* Убираем красные рамки по умолчанию */
.tn-atom .js-error-control-box .t-checkbox__control:before,
.tn-atom .js-error-control-box .t-radio__wrapper:before,
.t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer) {
    border: 0px solid red !important;
}


/* ==========================================================================
   5. СКРУГЛЕННЫЕ УГЛЫ (LEGACY + UC КЛАССЫ)
   ========================================================================== */

/* 1. Верхние скругления */
.uc-brdrtp, .uc-bt, .uc-bt .t396__artboard,
.t915 .t-feed__col-grid__post-wrapper .t-feed__post-imgwrapper,
#nav418310409,
.t702 .t702__img,
.t994__imgwrapper,
.t424__textwrapper, .t424__box-img,
.t756__gallery .t-slds {
    border-radius: 10px 10px 0 0 !important;
}

/* 2. Нижние скругления */
.uc-brdrbtm .t-cover, .uc-brdrbtm, .uc-bb, .uc-bb .t-cover, .uc-bb .t396__artboard,
.t734__witharrows, #rec418313601, #rec458089311 .t396__artboard,
#rec350468608 .uc-brdrbtm,
.t424__box-text {
    border-radius: 0 0 10px 10px !important;
}

/* 3. Полные скругления (10px) */
.uc-brdr, .uc-btb, .uc-btb .t396__artboard,
.t-carousel__zoomer__wrapper, .t-carousel__zoomer__img,
.t979__container.t-container .t979__grid,
.t223 iframe, .t485__img, .t670 .t-slds__img, .t670__imgwrapper .t-slds__bgimg, .t668__wrapper, .t-slds__bgimg,
.t142 .t142__submit_size_lg,
.t915 .js-feed-post, .t915 .t-feed__post-popup__relevants-bgimg, .t915 .t-feed__col-grid__post-wrapper,
.t265__wrapper, .t220__textwrapper, .t-menusub__menu_bottom,
#tolstoycomments-commentlast iframe, .tolstoycomments-feed iframe,
.t121 .t-video-lazyload, .t897 .t-feed__col-grid__post-wrapper .t-feed__post-bgimg, .t-feed__post-popup__relevants-bgimg,
.t-form__successbox, .t-feed__slider-grid__post-wrapper .t-feed__post-bgimg,
.t-feed__post-popup__cover-wrapper_video iframe, .t-feed__post-popup__cover-wrapper_video video,
.t824__popup-container, .t799 .t-slds__img, .t989 .t-slds__img,
.t937__playlist-link,
.t223__video-thumbnail, .t331__iframe, .t165__img,
.t-popup_show .t-popup__container,
.t1061 .t-video-lazyload, .t1061 iframe,
.t994__item-wrapper,
.t989__gallery-wrapper,
.t905__image, .t905__card,
.t922__textwrapper, .t706__cartwin-content,
.t-redactor__callout, .t-feed__post-popup__content img,
.t558__bgimg {
    border-radius: 10px !important;
}

/* Сложные случаи скруглений (Адаптив галерей) */
@media screen and (min-width: 960px) {
    .uc-gal .t603__tile:first-child .t603__blockimg_4-3, .t603__tile:first-child .t603__blockimg { border-radius: 10px 0 0 10px; }
    .uc-gal .t603__tile:last-child .t603__blockimg_4-3, .t603__tile:last-child .t603__blockimg { border-radius: 0 10px 10px 0; }
    .t937__video-frame { border-radius: 10px 0 0 10px; }
    .t937__playlist-wrap { border-radius: 0 10px 10px 0; }
}
@media screen and (max-width: 960px) {
    .t937__playlist-wrap, .t937__video-frame { border-radius: 10px; }
}


/* ==========================================================================
   6. МЕНЮ И НАВИГАЦИЯ
   ========================================================================== */

/* Хлебные крошки */
.t976__menu-link_small { padding: 4px 10px 3px !important; }
.t976__menu-link_large { padding: 13px 29px 12px; }

/* Отступы логотипов и меню */
.t967__imglogo { max-width: 460px !important; height: 36px; }
#nav427825000 { height: 70px !important; }
.t280__logo__img { height: 36px; }
.t967__button { line-height: 35px !important; }

/* Курсоры в меню */
.mainbutton:hover, .menutickets:hover, .mainbutton:hover .tn-atom, .menutickets:hover .tn-atom {
    cursor: pointer !important;
}

/* Цвет меню при скролле */
#nav383532909 { background-color: #e6e6e6; }
#allrecords[data-post-page='y'] #nav383532909 { background-color: #ffffff; }

/* Адаптив меню */
@media screen and (min-width: 980px) {
    .t967__bottomwrapper { padding: 0 10px !important; }
    .t967__logo { padding-left: 10px; }
    .t967__additionalwrapper { padding-right: 10px; }
}
@media screen and (min-width: 1200px) {
    .t967__bottomwrapper { padding: 0 20px !important; }
    .t967__logo { padding-left: 20px; }
    .t967__additionalwrapper { padding-right: 20px; }
}
@media screen and (max-width: 1200px) {
    .t967__imglogo { height: 32px; }
    .t967__maincontainer.t967__c12collumns { max-width: 960px; }
    .t967__maincontainer { padding: 0px; }
    .t446__list_item:nth-child(4) { display: none; }
}
@media screen and (max-width: 980px) {
    .t228__leftcontainer, .t228__centercontainer, .t228__rightcontainer { padding: 0 0 20px 0 !important; }
    .t228__right_descr, .t228__right_langs, .t228__right_social_links { padding: 0 0 10px 0 !important; }
    .t228__right_buttons { padding: 7px 0 !important; }
    .t228 .t-btn { padding-left: 20px !important; padding-right: 20px !important; }
    .t446__logowrapper { padding: 20px 20px 5px 20px; }
    #rec395263072 .t446, #rec395318732 .t446 { position: absolute !important; }
    .t282__menu__item { margin-bottom: 12px; }
}
@media screen and (max-width: 660px) {
    .t280 .t280__menu__item:first-child .t-menu__link-item { border: 3px solid #cccccc; padding: 20px; border-radius: 10px; }
    .t280__menu_static .t280__menu { padding: 100px 0 0; }
    .t282__menu__content { padding-top: 40px; }
    .t282__burger { top: 30px; }
    .t282__logo__container, .t280__logo__img { width: 100%; }
    .t280__menu__content { padding: 0 20px 0 45px !important; }
    .t976__menu-link_large { padding: 12px 25px 14px; }
    .t976__list-item { padding: 0 6px 10px 0; }
}


/* ==========================================================================
   7. СЛАЙДЕРЫ, БЛОКИ И ОТСТУПЫ
   ========================================================================== */

/* Слайдеры */
.t734 .t-slds__arrow-left { display: none !important; }
.t1148__gallery:has(.t1148__slider_width_40) .t1148__controls_gallery {
    padding: 0 30px 0 60px !important;
}
.t1148__control svg { transform: scale(1.6); }
.t1148__control_xl { border-width: 5px !important; }

/* Обложки (Covers) */
.t986__descr { font-weight: 400; }
.t986__btn-img { height: 23px; }
.t-cover__arrow { bottom: 30px; }

/* Аккордеоны */
.t668__trigger-button { padding: 28px 30px 18px; }
.t585__trigger-button { padding: 14px 50px 0px 0; }
.t668__icon { right: 20px !important; }
.t232__title { border-bottom-width: 3px; border-bottom-style: dotted; }
.t232__title:hover { border-bottom-style: dashed; }
.t232__title p { display: inline; }

/* --- ГЛОБАЛЬНЫЕ ОТСТУПЫ В СЕКЦИЯХ --- */
/* Разделение колонок, чтобы текст не слипался */
.t-section__wrapper {
    gap: 5% !important;
}
.t-section__descr {
    margin-bottom: 15px !important;
}
@media screen and (min-width: 960px) {
    .t-section__title { flex: 1 1 60% !important; }
    .t-section__descr { flex: 1 1 40% !important; }
}

/* --- Z-INDEX FIX (ЧТОБЫ ПОПАПЫ БЫЛИ ПОВЕРХ ВСЕГО) --- */
.t702 .t-popup {
    z-index: 10000000000;
}

/* Адаптив блоков (мобильные правки) */
@media screen and (max-width: 960px) {
    /* !!! Удален display: flex для .t-section__wrapper, чтобы не ломать галереи */
    .t347__play-icon { transform: scale(1.2) !important; }
    .t1148__controls { display: inline-flex !important; }
    .t1148__control_left { opacity: 0; }
    .t1148__control_xl { border-width: 0px !important; }
    .t1148__gallery:has(.t1148__slider_width_40) .t1148__controls_gallery { padding: 0 20px !important; }
    .t937__playlist-fade { display: none; }
    .t391__textwrapper { padding-top: 120px; }
    .t-cover__arrow { display: none; }
    .t734__witharrows .t734__textwrapper { padding: 0 20px; }
    .t734__wrapper { padding: 55px 0; }
}

@media screen and (max-width: 640px) {
    .t-slds__arrow-withbg .t-slds__arrow_body { width: 19px !important; }
    .t-slds__arrow-withbg { width: 60px !important; height: 60px !important; }
    .t986__playbutton { height: 60px !important; font-size: 20px !important; }
    .t986__textbtn-img { height: 30px; }
    .t668__trigger-button { padding: 28px 20px 21px 20px !important; }
    .t734 .t734__button { margin-top: 15px !important; }
    .t1035 { display: none !important; } /* Отключение видеовиджета */
}


/* ==========================================================================
   8. ОТЗЫВЫ И ГАЛЕРЕИ / СМОТРИ ТАКЖЕ
   ========================================================================== */
.t958__avatar {
    width: 50px;
    height: 50px;
}
.t958__gallery {
    margin-top: 30px !important;
}

/* Круглые фото ТОЛЬКО в блоке "Действующие лица" (.uc-roli) */
.uc-roli .t-feed__slider-grid__post-wrapper .t-feed__post-imgwrapper {
   border-radius: 150px;
}

@media screen and (max-width: 640px) {
    .t958__review-text { font-size: 14px !important; }
}

/* Стили для блока "Смотри также" (Relevants) */
.t-feed__post-popup__relevants-item-title,
.t-feed__post-popup__relevants-textwrapper .t-name_xs {
    font-size: 23px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
}
.t-feed__post-popup__relevants-textwrapper .t-descr_xxs {
    font-size: 16px !important;
    color: #999999 !important;
    font-weight: 400 !important;
}
.t-feed__post-popup__relevants-textwrapper .t-name {
    font-weight: 500 !important;
}
.t-feed__post-popup__relevants-imgwrapper {
    margin-bottom: 25px !important;
}


/* ==========================================================================
   9. ПОТОКИ И АФИША (FIXED & RESTORED)
   ========================================================================== */

/* ЛОГИКА СКРЫТИЯ БЛОКОВ */
#allrecords[data-post-page='y'] #rec395263072,
#allrecords[data-tilda-page-alias="people"] #rec370924536,
#allrecords[data-tilda-page-alias="people"] #rec370924575,
#allrecords[data-tilda-page-alias="sswfest"] #rec370924536,
#allrecords[data-tilda-page-alias="sswfest"] #rec370924575,
div[data-post-page="y"] #rec370924575 {
    display: none !important;
}

/* БАЗОВЫЕ НАСТРОЙКИ (СБРОС ЛИШНЕГО) */
.t-feed__post-tag::after { display: none !important; }
.t-feed__post-tag { white-space: nowrap !important; }
#allrecords .uc-afisha .t896 .t-feed__post-tag:last-child { display: none; }

/* СТИЛИ КАРТОЧКИ (ДЕСКТОП И ОБЩИЕ) */
.uc-afisha .t-btnflex.t-btnflex_type_bbutton { width: 100% !important; }
.uc-afisha .t-feed__buttons-wrapper { margin-top: 0px !important; }

.uc-afisha .t-feed__row-grid__post-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px 15px 20px 22px;
    margin-bottom: 10px;
}
.uc-afisha .t-feed__row-grid__post-wrapper .t-feed__post-bgimg { margin-right: 25px; }
.uc-afisha .t896 .t-feed__row-grid__post-wrapper:hover { background-color: #dddddd; }

/* Типографика */
.uc-afisha .t896 .t-feed__post-date {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #2e6fa7 !important;
    text-transform: uppercase;
}
.t-feed__post-title, .t-feed__post-descr { overflow: visible !important; }

/* Кнопки сортировки */
.uc-afisha .t-feed__parts-switch-wrapper::before {
    content: "Сортировать:";
    font-size: 11px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    padding-right: 5px;
    color: #999999;
}
.uc-afisha .t-feed__parts-switch-btn:hover { background-color: #cccccc !important; }
.uc-afisha .t-feed__parts-switch-btn span, 
.uc-afisha .t-feed__parts-switch-btn a {
    font-size: 11px !important;
    padding: 4px 12px 3px !important;
}
.t-feed__parts-switch-btn { margin-bottom: 7px; }
.t-feed__parts-switch-btn_bg { margin-right: 7px; }


/* ТЕГИ (ЖАНРЫ, ВОЗРАСТ) - ДЕСКТОП */
#allrecords .uc-afisha .t896 .t-feed__post-tag {
    font-size: 9px;
    padding: 4px 7px 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 2px;
    margin-right: 5px;
    border: 1px solid #999999;
    color: #999999;
    line-height: normal;
}
/* Первый тег (обычно возраст/рейтинг) - В ПРАВОМ ВЕРХНЕМ УГЛУ */
#allrecords .uc-afisha .t896 .t-feed__post-tag:first-child {
    position: absolute;
    top: 15px;
    right: 16px;
    padding: 6px 0px 3px 4px;
    margin: 0px;
    color: #999999;
    border-color: #999999;
    border-radius: 20px;
}
/* Второй тег (день недели) - РЯДОМ С ПЕРВЫМ */
#allrecords .uc-afisha .t896 .t-feed__post-tag:nth-child(2) {
    position: absolute;
    top: 20px;
    right: 50px;
    padding: 0px;
    margin: 0px;
    border: 0px solid white !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: #c0c0c0 !important;
}
/* Цвета тегов */
.redtag { color: #ffffff !important; border: 1px solid #ff68b6 !important; background-color: #ff68b6 !important; font-weight: 800 !important; }
.blacktag { color: #111111 !important; border: 1px solid #fbc877 !important; background-color: #fbc877 !important; }
.lighttag { color: #cccccc !important; border: 1px solid #cccccc !important; }
.greytag { color: #1c1e1f !important; border: 1px solid #1c1e1f !important; }

/* Кнопка "Билеты ->" на десктопе */
@media screen and (min-width: 1200px) {
    .uc-afisha .t896 .t-feed__row-grid__post-wrapper::after, #rec431925964 .t896 .t-feed__row-grid__post-wrapper::after {
        content: "Билеты →";
        font-size: 10px;
        background-color: #e6e6e6;
        padding: 5px 10px 4px 10px;
        border-radius: 10px;
        font-family: 'Gilroy', Arial, sans-serif;
        font-weight: 800;
        color: #ffffff;
        position: absolute;
        right: 18px;
        bottom: 18px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .uc-afisha .t896 a:hover .t-feed__row-grid__post-wrapper::after { background-color: #111111; }
}

/* POPUP Поста */
.t-feed__post-popup__title {
    font-size: 75px !important;
    line-height: 0.9 !important;
    font-weight: 200 !important;
}
.t-feed__post-popup__text-wrapper .t-redactor__video-container iframe,
.t-feed__post-popup__text-wrapper .t-redactor__video-container video {
    border-radius: 10px;
}
.t-feed__post-popup__date.t-uptitle { font-size: 23px; font-weight: 800; }

/* Действующие лица и исполнители (uc-roli) - Попап */
@media screen and (min-width: 960px) {
    .uc-roli .t-feed__post-popup.t-popup, .uc-roli .t-feed__post-popup__close-wrapper { width: 720px; right: 0 !important; left: auto !important; }
    .uc-roli .t-feed__post-popup__content-wrapper { padding: 0 40px !important; }
    .uc-roli .t-feed__post-popup .t-popup__close-icon { transform: rotate(0deg) !important; width: 32px !important; height: 32px !important; }
}


/* --- МОБИЛЬНАЯ ЛОГИКА АФИШИ (СЛОЖНАЯ) --- */

/* Общие правки для планшетов и телефонов (до 660px) */
@media screen and (max-width: 660px) {
    /* Уменьшаем шрифт тегов */
    #allrecords .uc-afisha .t896 .t-feed__post-tag {
        font-size: 8px; 
        padding: 4px 5px 2px 5px;
        margin-bottom: 3px;
    }
    /* Позиции тегов */
    #allrecords .uc-afisha .t896 .t-feed__post-tag:first-child {
        padding: 5px 0px 4px 3px;
        top: 16px;
    }
    #allrecords .uc-afisha .t896 .t-feed__post-tag:nth-child(2) {
        font-size: 14px !important;
        top: 20px;
        right: 45px;
    }
    /* Отступы */
    #allrecords .uc-afisha .t896 .t-feed__post-parts-date-row_afterdescr { margin-top: 10px; }
    #allrecords .uc-afisha .t896 .t-feed__post-descr { margin-top: 5px; }
    /* "Билеты" */
    .uc-afisha .uc-afisha .t896 .t-feed__row-grid__post-wrapper::after {
        bottom: 0px;
        font-size: 10px;
        font-weight: 600;
        color: #bbbbbb;
    }
}

/* СПЕЦИФИКА: Средние телефоны (361px - 460px) - Горизонтальная карточка */
@media screen and (min-width: 361px) and (max-width: 460px) {
    #allrecords .uc-afisha .t896 .t-feed__row-grid__post-wrapper {
        flex-wrap: wrap;
        flex-direction: row;
    }
    /* Фото слева, фиксированный размер */
    #allrecords .uc-afisha .t896 .t-feed__row-grid__post-wrapper .t-feed__post-bgimg {
        width: 120px !important;
        height: 90px !important;
        padding-bottom: 0px;
        margin-right: 17px;
    }
    .uc-afisha .t-feed__row-grid__post-wrapper {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 10px;
    }
    /* Теги переезжают */
    #allrecords .uc-afisha .t896 .t-feed__post-tag:first-child {
        position: relative;
        top: 0 !important;
        right: 0;
        margin-top: -2px;
        margin-right: 3px;
    }
    #allrecords .uc-afisha .t896 .t-feed__post-tag:nth-child(2) {
        right: 18px !important;
        letter-spacing: 0.5px !important;
    }
    #allrecords .uc-afisha .t896 .t-feed__post-descr { margin-top: 7px !important; }
}

/* СПЕЦИФИКА: Узкие телефоны (до 360px) - Вертикальная карточка */
@media screen and (max-width: 360px) {
    .uc-afisha .t-feed__row-grid__post-wrapper {
        padding: 25px !important;
        margin-bottom: 15px;
    }
    /* Фото на всю ширину */
    .uc-afisha .t896 .t-feed__row-grid__post-wrapper .t-feed__post-bgimg {
        width: 100% !important;
        aspect-ratio: 4 / 3;
        height: auto !important;
        padding-bottom: 0px !important;
    }
    /* Теги вниз под картинку */
    #allrecords .uc-afisha .t896 .t-feed__post-tag:first-child {
        top: 252px !important;
        right: 25px !important;
    }
    #allrecords .uc-afisha .t896 .t-feed__post-tag:nth-child(2) {
        top: 255px !important;
        right: 50px !important;
    }
}


/* ==========================================================================
   10. ВНЕШНИЕ ВИДЖЕТЫ И СЕРВИСЫ
   ========================================================================== */

/* Кнопка обратной связи */
.t898__icon-telegram_wrapper { zoom: 1.2; top: 20px; }
.t898__icon-website_wrapper { bottom: 7px; }
@media screen and (max-width: 960px) {
    #t-footer #rec1070056296 .t898 .t898__btn { bottom: 20px !important; right: 18px !important; }
    .t898__btn-text { padding: 7px 10px !important; }
}

/* Telegram ссылка */
.uc-telega a {
    background-image: url(https://static.tildacdn.com/tild3030-6636-4366-a331-353465643763/Artboard_1telega.svg);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 30px !important;
    line-height: 1 !important;
}
@media screen and (max-width: 640px) {
    .uc-telega { background-color: #e6e6e6; }
    .uc-telega .t654_bottom { border-radius: 60px; }
    .uc-telega .t654__cell-container { padding: 25px 40px !important; }
}

/* КОРЗИНА (Cart) */
.t706__cartwin-heading { font-size: 52px; line-height: 0.9; text-align: center; }
.t706__cartwin-bottom { display: none !important; }
.t706__form-upper-text { text-align: center; color: #999999; }
@media screen and (max-width: 640px) {
    .t756__title { font-size: 40px !important; line-height: 1 !important; }
    .t706__cartwin-heading { font-size: 42px; }
}


/* ==========================================================================
   11. СТОРОННИЕ МОДИФИКАЦИИ (NOLIM & SVG)
   ========================================================================== */

/* NoLim: Карточки в ряд */
.t490 { text-align: center !important; }
.t490__separator ~ .t490__col:nth-last-child(1),
.t490__separator ~ .t490__col:nth-last-child(2),
.t490__separator ~ .t490__col:nth-last-child(3) { float: none !important; display: inline-block !important; vertical-align: top !important; }
.t490 .t490__separator ~ .t490__col.t-col_3:nth-last-child(4) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_3:nth-last-child(4) ~ .t490__col:nth-last-child(3) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_3:nth-last-child(4) ~ .t490__col:nth-last-child(2) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_4:nth-last-child(3) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_4:nth-last-child(3) ~ .t490__col:nth-last-child(2) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_6:nth-last-child(2) { float: left !important; display: inline !important; }
.t490 .t490__separator ~ .t490__col.t-col_6:nth-last-child(2) ~ .t490__col:nth-last-child(1) { float: left !important; display: inline !important; }

@media screen and (max-width: 960px) {
    .t490__col.t-col { text-align: center; }
    .t490 .t-name, .t490 .t-heading, .t490 .t-name *, .t490 .t-heading * { font-size: 20px !important; }
    .t490 .t-descr, .t490 .t-descr * { font-size: 14px !important; }
    .t490 .t-title, .t490 .t-title * { font-size: 18px !important; }
    [data-record-type="490"] .t490 .t-section__descr, [data-record-type="490"] .t490 .t-section__descr * { font-size: 16px !important; }
}

/* SVG иконки: Подмена фона при наведении */
[href="#popup:contactinfo"] svg { background-image: url("https://static.tildacdn.com/tild6161-6231-4165-b239-323834343430/contacts11.svg"); background-position: center center; background-size: cover; transition: all .1s ease; }
[href="#popup:contactinfo"] svg * { display: none; }
[href="#popup:contactinfo"] svg:hover { transform: scale(1.15); }

[href="https://vk.com/teatr_masterskaya#"] svg { background-image: url("https://static.tildacdn.com/tild3937-6665-4237-b739-326633323336/icon1.svg"); background-position: center center; background-size: cover; transition: all .1s ease; }
[href="https://vk.com/teatr_masterskaya#"] svg * { display: none; }
[href="https://vk.com/teatr_masterskaya#"] svg:hover { transform: scale(1.15); }

[href="https://instagram.com/teatr_masterskaya#"] svg { background-image: url("https://static.tildacdn.com/tild3463-3036-4762-b464-623564363865/icon2.svg"); background-position: center center; background-size: cover; transition: all .1s ease; }
[href="https://instagram.com/teatr_masterskaya#"] svg * { display: none; }
[href="https://instagram.com/teatr_masterskaya#"] svg:hover { transform: scale(1.15); }

[href="https://www.tripadvisor.ru/Attraction_Review-g298507-d7085273-Reviews-Masterskaya_St_Petersburg_State_Theater-St_Petersburg_Northwestern_District.html#"] svg { background-image: url("https://static.tildacdn.com/tild3237-3739-4237-a564-313732373634/icon5.svg"); background-position: center center; background-size: cover; transition: all .1s ease; }
[href="https://www.tripadvisor.ru/Attraction_Review-g298507-d7085273-Reviews-Masterskaya_St_Petersburg_State_Theater-St_Petersburg_Northwestern_District.html#"] svg * { display: none; }
[href="https://www.tripadvisor.ru/Attraction_Review-g298507-d7085273-Reviews-Masterskaya_St_Petersburg_State_Theater-St_Petersburg_Northwestern_District.html#"] svg:hover { transform: scale(1.15); }

[href="#specversion"] svg { background-image: url("https://static.tildacdn.com/tild3464-3934-4439-b038-363031613266/icon4.svg"); background-position: center center; background-size: cover; transition: all .1s ease; }
[href="#specversion"] svg * { display: none; }
[href="#specversion"] svg:hover { transform: scale(1.15); }