/* ==========================================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================================== */

/* Цвет выделения текста */
::selection {
    background: #ffd30d;
    color: #333333;
}

/* Ссылки внутри стандартных текстовых элементов наследуют цвет текста */
.t-text a,
.t-descr a,
.t-title a,
.t-heading a,
.t-name a,
.t-checkbox__control a {
    color: inherit !important;
}


/* ==========================================================================
   ВИДЕОБЛОК
   ========================================================================== */

.uc-kinoscope {
    position: relative;
    max-width: 1160px;
    aspect-ratio: 16 / 9;
    margin: 45px auto 55px;
    border-radius: 40px;
    overflow: hidden;
}

@media (max-width: 480px) {
    .uc-kinoscope {
        margin-top: 45px;
        margin-bottom: 55px;
        border-radius: 0;
    }
}


/* ==========================================================================
   ТОЧЕЧНЫЕ ИСПРАВЛЕНИЯ TILDA
   ========================================================================== */

/* Tilda делает кнопку прозрачной при наведении */
.t1014 .t-submit:hover {
    opacity: 1 !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:hover {
    background-color: #ffd30d !important;
}


/* ==========================================================================
   ССЫЛКИ В ОТДЕЛЬНЫХ БЛОКАХ
   ========================================================================== */

/* TX01 и текстовые блоки в потоках */
.t004 a,
.t119 a,
.t-feed__post-popup__text-wrapper .t-redactor__text a {
    background-image: linear-gradient(120deg, #ffd30d, #ffd30d);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 0;
    border-bottom: 3px solid #ffd30d;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: background-size 0.125s ease-in;
    transition: background-size 0.125s ease-in;
}

.t004 a:hover,
.t119 a:hover,
.t-feed__post-popup__text-wrapper .t-redactor__text a:hover {
    background-size: 100% 100%;
}


/* ==========================================================================
   СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ
   ========================================================================== */

/* Подчёркивание ссылки */
.t-input-group[data-field-type="cb"] a {
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
    text-underline-offset: 2px;
}

/* Полупрозрачный текст */
.t-input-group[data-field-type="cb"] .t-checkbox__control > span {
    opacity: 0.7;
}

/* Текст и ссылка наследуют цвет блока */
.t-input-group[data-field-type="cb"] .t-checkbox__control > span,
.t-input-group[data-field-type="cb"] .t-checkbox__control > span * {
    color: inherit !important;
}


/* ==========================================================================
   ПОТОКИ: ТИПОГРАФИКА ПУБЛИКАЦИЙ
   ========================================================================== */

.t-feed__post-popup__text .t-redactor__tte-view figure,
.t-feed__post-popup__text .t-redactor__tte-view blockquote.t-redactor__quote {
    margin: 2rem 0;
}

/* Цитаты */
.t-feed__post-popup__text-wrapper blockquote.t-redactor__quote {
    border-left: 8px solid #ffd30d;
}

blockquote.t-redactor__quote {
    color: #9f9f9f;
    font-size: 19px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .t-feed__post-popup__text .t-redactor__tte-view figure figcaption {
        font-size: 14px;
    }
}
