

/* Start:/local/templates/escalada/components/bitrix/breadcrumb/.default/style.css?17838568046764*/
/* Хлебные крошки — рендерятся ВНУТРИ сетки страницы (per-page):
   грид наследуется от .wrap страницы, вертикальный клиренс шапки даёт
   сама страница, поэтому здесь — только отступ до контента и оформление. */
.breadcrumbs {
    margin: 0 0 20px;
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-size: 13px;
    position: relative;
    z-index: 5;
}
.breadcrumbs__list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 9px 20px;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 24px;
}
.breadcrumbs__item { display: flex; align-items: center; color: rgba(255,255,255,0.6); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "›"; margin-right: 8px; color: rgba(255,255,255,0.4); }
.breadcrumbs__link { color: rgba(255,255,255,0.85); text-decoration: none; transition: color .2s ease; }
.breadcrumbs__link:hover { color: #4a9eff; text-decoration: underline; }
.breadcrumbs__current { color: #fff; font-weight: 500; }
@media (max-width: 740px) { .breadcrumbs { font-size: 12px; } .breadcrumbs__list { padding: 7px 14px; } }

/* На страницах с гридом .container (cards/schedule/3d-tur/events) контент без обёртки .wrap,
   поэтому у .wrap крошек убираем боковой padding (иначе пилюля уезжает ~70px вправо). */
.container .breadcrumbs .wrap { padding-left: 0; padding-right: 0; }

/* events: контент тесно к шапке — даём крошкам воздух. */
.events-page .breadcrumbs { padding-top: 24px; }

/* lesson: герой полноэкранный с центрированным контентом — крошки выносим
   абсолютом ПОВЕРХ героя, по левому краю страничной сетки (.wrap). */
.lesson-banner { position: relative; }
.lesson-banner > .breadcrumbs { position: absolute; top: 140px; left: 0; right: 0; margin: 0; z-index: 6; }
@media (max-width: 1260px) { .lesson-banner > .breadcrumbs { top: 88px; } }
@media (max-width: 1024px) { .lesson-banner > .breadcrumbs { top: 84px; } }

/* lesson: баннер relative (якорь крошек) красился бы поверх контента, который
   дизайн надвигает на низ героя — возвращаем контент-секции выше баннера. */
.lesson-list { position: relative; }
.lesson-content, .lesson-video { position: relative; z-index: 1; }

/* === Нормализация зазора «шапка→крошки» к ~23px (клиренс = высота шапки + 23). ===
   Высота .header: 119px (>=1261), 68px (1025-1260), 64px (<=1024). Простые .xxx-page. */
@media (min-width: 1261px) {
  .trainers-page, .vacancies-page, .rules-page, .privacy-page,
  .loyality-page, .loyalty-program-page, .contacts-page { padding-top: 142px !important; }
}
@media (min-width: 1025px) and (max-width: 1260px) {
  .trainers-page, .vacancies-page, .rules-page, .privacy-page,
  .loyality-page, .loyalty-program-page, .contacts-page { padding-top: 91px !important; }
}
@media (max-width: 1024px) {
  .trainers-page, .vacancies-page, .rules-page, .privacy-page,
  .loyality-page, .loyalty-program-page, .contacts-page { padding-top: 87px !important; }
}

/* container-страницы (schedule/3d-tur): крошки в intro внутри .container.
   bc = page-spacer(20) + .container padding + intro(40). Цель bc = 142/91/87. */
@media (min-width: 1261px) { .schedule-page .container, .page-3d-tur .container { padding-top: 82px !important; } }
@media (min-width: 1025px) and (max-width: 1260px) { .schedule-page .container, .page-3d-tur .container { padding-top: 31px !important; } }
@media (max-width: 1024px) { .schedule-page .container, .page-3d-tur .container { padding-top: 27px !important; } }

/* cards: клиренс на intro padding-top (= позиция крошек). Цель 142/91/87. */
@media (min-width: 1261px) { .cards-page__intro { padding-top: 142px !important; } }
@media (min-width: 1025px) and (max-width: 1260px) { .cards-page__intro { padding-top: 91px !important; } }
@media (max-width: 1024px) { .cards-page__intro { padding-top: 87px !important; } }

/* lesson (≤575): короткий баннер flex-центрирует контент — крошки-абсолют перекрывали
   заголовок. Топ-выравниваем контент героя, опускаем ниже крошек; height:auto+min-height,
   чтобы деталка (с кнопкой) не переполнялась. */
@media (max-width: 575px) {
  /* list: контент flex-центрирован — топ-выравниваем ниже крошек */
  .lesson-banner:not(.lesson-banner--detail) { align-items: flex-start; padding-top: 140px; padding-bottom: 75px; height: auto; min-height: 220px; }
  /* detail: контент bottom-aligned (align-items:flex-end), пилюля 2 строки (низ ~158) —
     увеличиваем высоту баннера, чтобы нижний контент опустился ниже крошек */
  .lesson-banner.lesson-banner--detail { height: 330px !important; }
}

/* Фикс: явный line-height, чтобы высота пилюли не зависела от line-height страницы
   (на cards наследовался 15.6px → пилюля ниже). Приводим к общей (~44px). */
.breadcrumbs__list, .breadcrumbs__item, .breadcrumbs__link, .breadcrumbs__current { line-height: 26px; }

/* events (мобилка): клиренс шапки даёт .events-page margin-top (фикс. 100px), а он НЕ ужимался
   под меньшую шапку → зазор раздувался (~70px на телефоне вместо ~23px). Нормализуем как у .xxx-page.
   pill top = page-spacer + .events-page margin-top + .breadcrumbs padding-top(24).
   page-spacer: 20px, но 10px при <=768. Цель pill top = 91 (1025-1260) / 87 (<=1024). Десктоп (>=1261) не трогаем. */
@media (min-width: 1025px) and (max-width: 1260px) { .events-page { margin-top: 47px !important; } } /* 20+47+24=91 */
@media (min-width: 769px)  and (max-width: 1024px) { .events-page { margin-top: 43px !important; } } /* 20+43+24=87 */
@media (max-width: 768px)                          { .events-page { margin-top: 53px !important; } } /* 10+53+24=87 */

/* End */


/* Start:/local/templates/escalada/components/bitrix/news.list/trainers/style.css?17838568047021*/
/* ========================================
   Component: bitrix:news.list / trainers
   Шаблон: components/bitrix/news.list/trainers/template.php
   ----------------------------------------
   Стили самого компонента «Тренерский состав»:
   секция-обёртка (.trainers), фильтр mixitup (.trainers__filter-nav/-btn),
   сетка карточек тренеров (.trainers__filter-col/-item/-img/-content/-name/-position),
   а также модалка детали тренера (.popup--trainer / .trainer-info*),
   которую компонент рендерит через fancybox AJAX из <club>/trainers/detail.php.
   Вынесено из css/pages/trainers.css (Фаза 2.1b рефакторинга).
   Подключается по конвенции Bitrix (style.css рядом с template.php), без addCss.
   Страничные стили (.body--trainers .page / .page__header / .bottom-banner)
   остались в css/pages/trainers.css.
   ======================================== */


/* ========================================
   Layout — секция .trainers
   ======================================== */
.trainers {
    padding-bottom: 120px;
}

@media (max-width: 812px) {
    .trainers {
        padding-bottom: 0;
    }
}


/* ========================================
   Filter — навигация (кнопки mixitup) и сетка карточек
   ======================================== */
.trainers__filter-nav {
    margin-bottom: 30px;

    display: flex;
    flex-wrap: wrap;
}

.trainers__filter-btn {
    -webkit-appearance: none;
    display: inline-block;

    cursor: pointer;
    border: 0;
    background-color: #212328;
    border-radius: 63px;

    font-family: 'GothemPro', 'Open Sans', 'Arial', sans-serif;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4D4F53;


    vertical-align: top;
    padding: 10px 15px 8px;
    margin: 0 12px 0 0;
    font-size: 14px;
    line-height: 18px;

    transition: background-color .3s linear, color .3s linear;
}

.trainers__filter-btn:hover {
    color: #fff;
}

.trainers__filter-btn.mixitup-control-active {
    background-color: #323D5E;
    color: #FFF;
}

.trainers__filter-body {
    margin: 0 -10px;

    display: flex;
    flex-wrap: wrap;
}


/* ========================================
   Card — отдельная карточка тренера
   ======================================== */
.trainers__filter-col {
    display: inline-block;
    width: 25%;
    margin-bottom: 45px;
    padding: 0 10px;
}

.trainers__filter-item {
    transition: transform .3s linear;
}

.trainers__filter-item:hover {
    transform: translateY(-15px);
}

.trainers__filter-img {
    width: 100%;
    padding-top: 150%;
    background: no-repeat center #1A1A1A;
    background-size: cover;
}

.trainers__filter-content {
    padding-top: 20px;
}

.trainers__filter-name {
    margin-bottom: 10px;

    font-family: 'GothemPro', 'Open Sans', 'Arial', sans-serif;
    font-style: italic;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.trainers__filter-position {
    font-size: 14px;
    line-height: 22px;
    color: #B2B2B2;
}


/* ========================================
   Filter / Card — адаптив
   ======================================== */
@media (max-width: 812px) {
    .trainers__filter-nav {
        width: calc(100% + 30px);
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0 -15px 30px;
        display: block;
        padding: 0 15px;
        /*border-radius: 15px;*/
        /*flex-direction: column;*/
    }
    .trainers__filter-nav::-webkit-scrollbar {
        display: none;
    }

    .trainers__filter-content{
        padding-top: 15px;
    }
    .trainers__filter-btn {
        vertical-align: top;
        padding: 10px 15px 8px;
        margin: 0 12px 0 0;
        font-size: 14px;
        line-height: 18px;
    }

    .trainers__filter-col {
        width: 50%;
    }

    .trainers__filter-img {
        padding-top: 120%;
    }

    .trainers__filter-name {
        margin-bottom: 0;
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 420px) {
    .trainers__filter-col {
        width: 100%;
    }
}


/* ========================================
   Modal — попап карточки тренера (.popup--trainer)
   fancybox AJAX из <club>/trainers/detail.php
   ======================================== */
.popup .popup--trainer {
    position: absolute;
    height: auto;
    top: auto;
}

.body--trainers .fancybox-stage {
    overflow: auto;
}

.body--trainers .fancybox-slide > div:first-child {
    position: relative;
    top: auto;
    height: auto;
}


/* ========================================
   Modal — содержимое .trainer-info (фото + текст)
   ======================================== */
.trainer-info {
    display: flex;
}

.trainer-info__image-wrap {
    width: 100%;
    max-width: 310px;
    overflow: hidden;

    border-radius: 3px;
}

.trainer-info__image {
    width: 100%;
    padding-top: 150%;

    background-repeat: no-repeat;
    background-size: 100%;
}

.trainer-info__content {
    width: 100%;
    max-width: 390px;
    padding-top: 9px;
    padding-left: 40px;
}

.trainer-info .trainer-info__title {
    margin-bottom: 0;

    letter-spacing: 2px;
    color: #090B11;
}

.trainer-info__position {
    margin-bottom: 12px;

    font-style: italic;
    font-size: 14px;
    line-height: 22px;
}

.trainer-info__text {
    font-size: 14px;
    line-height: 22px;
}

.trainer-info__text p {
    margin: 0 0 25px;
}


/* ========================================
   Modal — адаптив
   ======================================== */
@media (max-width: 740px) {
    .trainer-info__content{
        padding-left: 20px;
        padding-top: 0;
    }
}

@media (max-width: 580px) {
    .trainer-info {
        padding-top: 15px;
        flex-direction: column;
    }

    .trainer-info__image-wrap {
        margin: 11px 11px 15px;
        width: auto;
        max-width: 100%;
    }
    .trainer-info__image{
        padding-top: 100%;
    }

    .trainer-info__content {
        max-width: 100%;
        padding: 0 20px 0 0;
    }

    .trainer-info .trainer-info__title {
        font-size: 22px;
        line-height: 28px;
    }

    .trainer-info__position {
        line-height: 18px;
    }

    .trainer-info__text p {
        margin-bottom: 10px;
    }
    .popup--trainer{
        margin: 0 5px;
    }
    .popup--trainer .trainer-info,
    .popup--trainer .popup-top,
    .popup--trainer .popup-content{
        padding: 0;
    }
    .popup--trainer .trainer-info__content{
        padding: 0 20px 32px;
    }
}

@media (max-width: 380px) {
    .trainer-info__image{
        padding-top: 120%;
    }
}

/* End */


/* Start:/local/templates/escalada/css/forms.css?178385680413597*/
textarea.input,
input[type="text"].input{
    padding:7px 20px;
    margin-bottom:10px;
    width:100%;
    background:#1A1A1A;
    border:1px solid #1A1A1A;
    color:#fff;
    font-size:16px;
    line-height:36px;
    font-weight:100;
    font-family:'Open Sans', 'Arial', sans-serif;
}
textarea.input::placeholder,
input[type="text"].input::placeholder{
    color:#BFBFBF;
}
textarea.input:focus,
input[type="text"].input:focus{
    background:#333333;
    border:1px solid #333333;
}
.popup{
    /*display: none;*/
    width: 100%;
    max-width: 860px;
    top: 80px;
}
.popup-content{
    background: #FFFFFF;
    border-radius: 5px;
    color: #090B11;
    padding: 0 20px;
}
.popup-top{
    padding: 40px 0 32px;
    max-width: none;
    margin: 0 auto;
}
.pop-from__title,
.pop-title{
    text-align: center;
    margin-bottom: 10px;
    color: #090B11;
    font-size: 25px;
    line-height: 35px;
}
.pop-from__title{
    margin-bottom: 20px;
}
.pop-descr{
    max-width: 460px;
    margin: 0 auto 50px;
    color: #090B11;
    text-align: center;
}
.pop-card{
    max-width: 310px;
    width: 100%;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.6);
    margin: 0 auto 60px;
    line-height: 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.pop-card:after{
    content: '';
    display: block;
    width: 147px;
    height: 20px;
    background: url(/local/templates/escalada/js/../images/svg/logo-card.svg) no-repeat 0 50%;
    background-size: contain;
    position: absolute;
    top: 26px;
    left: 25px;
    z-index: 2;
}
.pop-card img{
    width: 100%;
}
.pop-card__tr{
    font-weight: 300;
    color: #090B11;
    padding: 15px 0;
    border-top: 1px solid #E6E6E6;
}
.pop-card__bot{
    max-width: 638px;
    margin-top: 25px;
}
.fancybox-is-open .fancybox-bg{
    opacity: 0;
}
.popup-form{
    background: #F7F7F7;
    padding: 40px 20px 50px;
    margin: 0 -20px;
}
.popup-form form{
    width: 100%;
    max-width: 420px;
    margin: 0 auto 20px;
}
.popup-form .input-holder{
    display: block;
    width: 100%;
    cursor: pointer;
    margin-bottom: 25px;
    position: relative;
}
.popup-form input.input::placeholder{
    color: #000000;
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
}
.popup-form input.input{
    -webkit-appearance: none;
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    padding: 0 5px;
    width: 100%;
    max-width: 100%;
    background: none;
    border: 0;
    border-bottom: 1px solid #E6E6E6;
}
.popup-form textarea.input:focus,
.popup-form input[type="text"].input:focus{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #E6E6E6;
}
.popup-form button{
    display: block;
    width: 220px;
    margin: 0 auto 20px;
}
.popup-form button:hover{
    color: #0a7ddd;
}
.popup-form .agree{
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}
.popup .fancybox-close-small:after{
    display: none;
}
.popup .fancybox-close-small{
    background: url("/local/templates/escalada/css/../images/svg/ico-close.svg") no-repeat center;
    background-size: 22px;
}

/* === Captcha (moved from captcha.css) === */
/* Уменьшаем виджет капчи до ~50% */
.smart-captcha,
[id^="captcha-container-"] {
    transform: scale(0.73);
    transform-origin: left top;
    margin-bottom: -14px;
}

/* Inline-сообщение об ошибке капчи */
.captcha-error-msg {
    color: #e74c3c;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 8px;
    display: none;
}
.captcha-error-msg.visible {
    display: block;
}


/* ============================================================
   Перенесено из new.css (Батч 4 v2 — форм-специфичные стили).
   url(/local/templates/escalada/css/) не менялся: оба файла в css/, относительные пути идентичны.
   Generic fancybox-скин ОСТАВЛЕН в new.css (Б5/base, image-лайтбоксы).
   ============================================================ */

/* --- Попап «Консультация» (.consult) --- */
.consult,
.fancybox-slide > div:first-of-type.consult{
    /*display: none;*/
    width:440px;
    height: auto;
}
.consult__descr-top{
    font-family:'Open Sans', 'Arial', sans-serif;
    opacity:0.7;
    font-size:16px;
    color:#FFFFFF;
    line-height:26px;
    margin-bottom:40px;
}
.consult__descr{
    font-family:'GothemPro-light', 'Arial', sans-serif;
    color: rgba(255,255,255,.5);
    font-size:14px;
    line-height:20px;
    margin-top:20px;
}
.consult__descr a {
    color: rgba(255,255,255,.5);
    border-bottom: solid 1px rgba(255, 255, 255, .5);
}
.consult__descr a:hover {
    color: rgba(255,255,255,.9);
    border-bottom: solid 1px rgba(255, 255, 255, .7);
}
.consult .fancybox-close-small{
    background:url("/local/templates/escalada/css/../images/cross-remove-sign-h.svg") no-repeat center !important;
    top:30px !important;
    right:30px !important;
    opacity:0.3;
    position: fixed;
}
.consult .fancybox-close-small:hover{
    background:url("/local/templates/escalada/css/../images/cross-remove-sign.svg") no-repeat center !important;
}

/* --- input.input (appearance/radius reset) --- */
input.input{
    -webkit-appearance:none;
    border-radius:0;
}

/* --- Подсветка незаполненных полей --- */
textarea.input.input--error,
input[type="text"].input.input--error,
input.input.input--error {
    border-color: #e74c3c !important;
}

/* --- Попап-форма (.popup-form) — белый фон --- */
.popup-form h2,
.popup-form .consult__descr-top {
    color: #000;
}
.popup-form [data-fancybox-close] {
    display: none;
}

/* ============================================================
   Radio-группа «Выберите удобный способ связи» (call-variant)
   Стилизуем через formstyler-обёртку .jq-radio
   ============================================================ */
.call-variant {
    margin: 12px 0 16px;
    width: 100%;
}
.call-variant__title {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: left;
}
.call-variant__list {
    display: flex;
    gap: 8px;
}
.call-variant__item {
    flex: 1 1 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}
/* Внешняя окружность (formstyler-обёртка input-а) */
.call-variant__item .jq-radio {
    width: 22px;
    height: 22px;
    margin: 0 0 6px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    background-image: none;
    box-shadow: none;
    transition: background 0.15s, border-color 0.15s;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.call-variant__item .jq-radio.checked {
    background: transparent;
    background-image: none;
    border-color: #3C8CDD;
    box-shadow: none;
}
/* Внутренняя точка — formstyler даёт ей margin/box-shadow со своей специфичностью,
   точечно перебиваем !important-ом, чтобы точка стояла строго по центру и без artefact-shadow */
.call-variant__item .jq-radio__div {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transition: background 0.15s;
    flex-shrink: 0;
}
.call-variant__item .jq-radio.checked .jq-radio__div {
    background: #3C8CDD !important;
    background-image: none !important;
    box-shadow: none !important;
}
.call-variant__label {
    font-size: 14px;
    color: #fff;
}
.call-variant.input--error .call-variant__title { color: #ff5b5b; }
.call-variant.input--error .jq-radio { border-color: #ff5b5b; }
/* Форма В («Узнать больше» в карточке клуба) — белый фон, переопределяем цвета */
.popup-form .call-variant__title,
.popup-form .call-variant__label {
    color: #333;
}
.popup-form .call-variant__item .jq-radio {
    border-color: #C3C3C3;
}
.popup-form .call-variant__item .jq-radio.checked {
    border-color: #3C8CDD;
}
.popup-form .call-variant.input--error .jq-radio {
    border-color: #ff5b5b;
}

/* ============================================================
   Нижний feedback-баннер (.bottom-banner) — форма «Оставить заявку».
   Подключается через local/include/feedback.php (который сам делает SetAdditionalCSS forms.css).
   ВАЖНО: исходный порядок правил из new.css сохранён 1:1 — базовое
   .bottom-banner{background:url} ДОЛЖНО идти ПОСЛЕ @media-оверрайдов
   (background:none / background-position-x), иначе при равной
   специфичности уезжает каскад (фон на мобиле). Не переставлять.
   ============================================================ */
.bottom-banner__info{
    float:right;
    text-align:center;
    max-width:540px;
}
.bottom-banner__title{
    font-size:30px;
    line-height:48px;
    text-transform:uppercase;
    font-family:'Montserrat-Semi', 'Arial', sans-serif;
}
.bottom-banner .title--blue{
    font-size:40px;
    line-height:58px;
    font-weight:100;
    margin:15px 0;
    font-family:'GothemPro-Black', 'Arial', sans-serif;;
}
@media (max-width:1024px) {
    .bottom-banner__info textarea.input,.bottom-banner__info input[type="text"].input {
        padding:4px 20px;
    }
    .bottom-banner {
        background:none;
    }
    .bottom-banner>img{
        display:none
    }
    .bottom-banner .wrap{
        position:relative;
        transform:initial;
        top:0;
        left:auto;
        right:auto;
        width:auto;
    }
    .bottom-banner__info {
        float:initial;
        max-width:450px;
        width:100%;
        margin:35px auto;
        padding:0 10px;
    }
}
@media (max-width:900px) {
    .bottom-banner {
        padding-top: 0;
    }
}
@media (max-width:490px) {
    .bottom-banner{
        background-position-x:-10%;
    }
}
.bottom-banner{
    background: url("/local/templates/escalada/css/../images/statics/feedback-bottom_compress.webp") no-repeat 5% center;
    background-size: auto 120%;
    padding: 65px 0 10px;
}
.bottom-banner .wrap:after{
    content: '';
    display: block;
    clear: both;
}
@media (max-width: 900px) {
	.bottom-banner{
			padding-top:0;
		}
}

/* ФИКС (баг): картинка feedback-баннера показывалась на мобилке, т.к. базовое
   .bottom-banner{background:url(/local/templates/escalada/css/...)} (выше) идёт ПОСЛЕ @media ≤1024 {background:none}
   и перебивает его при равной специфичности. Финальный оверрайд (последний в каскаде):
   на ≤1024 прячем фон-картинку — фон под формой = основной фон страницы. */
@media (max-width: 1024px) {
    .bottom-banner { background: none; }
}

/* ФИКС (баг): попап карточки (fancybox baseClass .cardDetail) грузит .popup БЕЗ штатной
   обёртки .fancybox-content → контент не центрировался и уезжал вниз за вьюпорт (был виден
   только скроллом до низа). Центрируем .popup флексом в слайде; при высокой форме — внутр. скролл. */
.cardDetail .fancybox-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}
.cardDetail .fancybox-slide::before { display: none; }
/* ФИКС мерцания: оверлей cards-попапа делаем прозрачным СРАЗУ (белая форма без тёмного фона).
   Глобальное .fancybox-is-open .fancybox-bg{opacity:0} проигрывало дефолту fancybox в бандле
   и «включалось» поздно (когда попап дозагружал forms.css) → тёмный фон успевал мигнуть.
   Scoped + !important выигрывает с 1-го кадра. Консультацию не трогаем (там тёмная панель формы). */
.cardDetail .fancybox-bg { opacity: 0 !important; }
.cardDetail .popup { top: 0; margin: 0; max-height: 100%; overflow: auto; }

/* Консультация (baseClass consultDetail из forms.js): тот же fix центрирования, что у cards
   (fancybox не оборачивает ajax-контент в .fancybox-content, форма уезжала за низ вьюпорта),
   + стабильный тёмный оверлей (dimming) вместо мерцающего — форма выделяется, «фон и форма» сразу. */
.consultDetail .fancybox-slide { display: flex; align-items: center; justify-content: center; padding: 30px 15px; }
.consultDetail .fancybox-slide::before { display: none; }
.consultDetail .fancybox-bg { opacity: 0.87 !important; }
.consultDetail .consult { top: 0; margin: 0; max-height: 100%; overflow: auto; }

/* End */
/* /local/templates/escalada/components/bitrix/breadcrumb/.default/style.css?17838568046764 */
/* /local/templates/escalada/components/bitrix/news.list/trainers/style.css?17838568047021 */
/* /local/templates/escalada/css/forms.css?178385680413597 */
