/**
 * Обёртка Tilda-контента «Фиджитал спорт» под header/footer laserwar.ru.
 * Подключение: layouts/templates/phygital-sport.php
 */

.page-phygital-sport-wrap {
    overflow-x: hidden;
}

.page-phygital-sport-wrap .breadcrumb,
.page-phygital-sport-wrap .page-title {
    display: none !important;
}

.phygital-sport-landing {
    position: relative;
    z-index: 1;
    background: #07010f;
    width: 100%;
    max-width: 100%;
}

/* Tilda header/footer убраны при импорте — прячем остатки меню/попапов */
.phygital-sport-landing #t-header,
.phygital-sport-landing #t-footer,
.phygital-sport-landing .t1272,
.phygital-sport-landing .t-menu,
.phygital-sport-landing .t450,
.phygital-sport-landing #rec2104800971,
.phygital-sport-landing #rec2105343201,
.phygital-sport-landing #rec2105779201 {
    display: none !important;
}

/* Изоляция от Bootstrap/style.css laserwar — ломают absolute-layout T396 */
.phygital-sport-landing .t-records,
.phygital-sport-landing .t396,
.phygital-sport-landing .t396__artboard,
.phygital-sport-landing .t396__carrier,
.phygital-sport-landing .t396__filter,
.phygital-sport-landing .t396__elem,
.phygital-sport-landing .tn-elem {
    box-sizing: content-box;
}

.phygital-sport-landing img,
.phygital-sport-landing .t-img,
.phygital-sport-landing picture,
.phygital-sport-landing svg {
    max-width: none !important;
}

.phygital-sport-landing .t396__artboard,
.phygital-sport-landing .t849,
.phygital-sport-landing .t702,
.phygital-sport-landing .t-popup {
    max-width: 100%;
}

.phygital-sport-landing .t-records {
    overflow: visible;
}

.phygital-sport-landing .t396__artboard {
    overflow: hidden;
}

/*
 * Zero Block rec2104686241: кнопка «Связаться с менеджером» торчала на ~20px
 * ниже artboard 550px, следующий блок её перекрывал — нижние скругления срезались.
 */
.phygital-sport-landing #rec2104686241 .t396__artboard,
.phygital-sport-landing #rec2104686241 .t396__carrier,
.phygital-sport-landing #rec2104686241 .t396__filter {
    height: 590px !important;
}

/* Tilda кладёт градиент на ::before без radius — наследуем скругление кнопки */
.phygital-sport-landing .tn-form__btn-gradient,
.phygital-sport-landing .tn-form__submit-gradient {
    border-radius: 16px !important;
}

.phygital-sport-landing .tn-form__btn-gradient::before,
.phygital-sport-landing .tn-form__submit-gradient::before {
    border-radius: inherit !important;
}

/* Первый экран не уходит под шапку сайта */
.phygital-sport-landing #allrecords > .r:first-of-type {
    scroll-margin-top: 90px;
}

.phygital-sport-landing__missing {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #666;
}

@media (max-width: 991px) {
    .phygital-sport-landing #allrecords > .r:first-of-type {
        scroll-margin-top: 70px;
    }
}

/* Семантический H1 для SEO — визуальный заголовок рисует Tilda */
.phygital-sport-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
