/* =========================
   Базовые переменные
========================= */

:root {
    --side-padding: 20px;
    --accent-color: #9fa3ce;
    --accent-hover: #8c91c1;

    --clip-left: polygon(
        15px 0,
        100% 0,
        100% 100%,
        0 100%,
        0 15px
    );

    --clip-double: polygon(
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%,
        0 15px
    );

    --clip-right: polygon(
        0 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%
    );
}

/* =========================
   Контейнеры на всю ширину
========================= */

#rec2160744103 .t-container,
.t758 .t-container,
.t004 .t-container,
.t431 .t-container {
    max-width: 100% !important;
    width: 100%;
}

#rec2160744103 .t-container,
.t758 .t-container {
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
    box-sizing: border-box;
}

.t758 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.t585 .t-container{
    width: 100%;
}

/* =========================
   мобильное меню
========================= */



  /* 1. Скрываем горизонтальное меню на всех устройствах */
  .t-menusub__menu-list,
  .t-menusub__menu-list-wrapper {
    display: none !important;
  }

  /* 2. Принудительно показываем бургер на всех устройствах */
  .t-menusub__burger,
  .t-menusub__burger-wrap {
    display: block !important;
  }

  /* 3. Выравниваем элементы в контейнере (логотип слева, бургер справа) */
  .t-menusub__menu-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
</style>



/* =========================
   Текст и списки
========================= */

.t-text_md {
    padding-left: var(--side-padding);
}

.t004 ul {
    list-style: none;
    padding-left: 0;
}

.t004 ul li::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 10px;
}

ul li::marker {
    color: var(--accent-color);
}

/* =========================
   Popup формы
========================= */

.t-form-success-popup_new .t-form-success-popup__wrapper,
.t-form-success-popup_new .t-form-success-popup__button,
.t754__mark {
    border-radius: 0 !important;
}

.t-form-success-popup_new .t-form-success-popup__button {
    background-color: var(--accent-color);
}

.t-form-success-popup_new .t-form-success-popup__button:hover {
    background-color: var(--accent-hover);
}

/* =========================
   Таблицы
========================= */

table .quill-table__cell {
    border: 0;
    padding: 10px 5px;
}

table tr {
    border-bottom: 1px solid var(--accent-color);
}

/* =========================
   Clip-path кнопки и блоки
========================= */

.t-btnflex.t-btnflex_type_button,
.t-btnflex.t-btnflex_type_submit,
.dancatalogbutton,
.form-button,
.arrow-banner-left,
.t657_rectangle {
    clip-path: var(--clip-left);
}

#rec2281613551 .tn-elem[data-elem-id="1779948326871"],
#rec2320844581 .tn-elem[data-elem-id="1779948326871"],
.t-popup__container,
.t-feed__post-popup__content img,
.t-feed__col-grid__post-wrapper .t-feed__post-bgimg, .t-feed__slider-grid__post-wrapper .t-feed__post-bgimg,
.button-banner,
.t858__inner-col {
    clip-path: var(--clip-double);
}

.arrow-banner-right {
    clip-path: var(--clip-right);
}

/* =========================
   Поиск
========================= */

.t985__search-widget-icon {
    display: none;
}

.t-search-widget__overlay_opened .t-search-widget__header,
.t985__inputcontainer {
    height: 84px;
}

.t-search-widget__overlay_opened .t-search-widget__header {
    padding: 10px 0;
}

/* =========================
   Карточки / обёртки
========================= */

.t657__wrapper {
    box-shadow: none !important;
    opacity: 0.92;
}

.t754__mark {
    font-size: 16px !important;
    height: 34px;
}

.t-feed__grid-col:not(.t-slds__item) {
    padding-top: 40px;
}

.t-feed__slider-grid__content {
    padding: 0 !important;
}

/* =========================
   Ссылки документации
========================= */

.t762__descr a[target="_blank"] {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.t762__descr a[target="_blank"]:hover {
    color: var(--accent-color) !important;
    border-bottom-color: var(--accent-color) !important;
}

/* =========================
   Кастомная стрелка меню
========================= */

.t794__arrow::after {
    display: none;
}

.t794__tm_link {
    display: flex;
    align-items: center;
    position: relative;
}

.t794__arrow {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-left: 0;
    transition: transform 0.3s ease;

    background:
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTcuNDEsOC41OEwxMiwxMy4xN0wxNi41OSw4LjU4TDE4LDEwTDEyLDE2TDYsMTBMNy40MSw4LjU4WiIvPjwvc3ZnPg==")
        no-repeat center / contain;
}

.t794__tm_link:hover .t794__arrow {
    transform: rotate(180deg);
}

/* =========================
   Desktop
========================= */

@media (min-width: 980px) {

    .t431 .t-container .t-col_12 {
        max-width: 90%;
    }

    .t977 .t977__wrapper {
        max-width: 100%;
    }

    #rec2243981531 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .t977__col_left {
        margin: 0 20px 20px 40px !important;
    }

    .t754__parent {
        margin-inline: 40px;
        max-width: 98%;
        min-height: 600px;
    }

    /* #allrecords ul.t-card__container {
        max-width: 98%;
    } 
    */

    .t107__widthauto {
        width: 1200px !important;
        max-width: 98%;
        /*margin-left: 40px !important;*/
    }

    .t897__container {
        width: 100% !important;
        max-width: 98% !important;
        margin-left: 40px !important;
    }
    
    .t585 .t-container {
        margin-left: 40px !important;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 680px) {

    .t758 .t-container .t-col,
    .t-text_md {
        padding-left: 0;
        padding-right: 0;
    }

    .t-name_xl {
        font-size: 42px;
    }
}

/* =========================
   Закомментированные блоки
   сохранены для будущего
========================= */

/*

Автовыравнивание по вертикали

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.t-records {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.t-records > *:last-child {
    margin-top: auto;
    justify-content: flex-start;
}

Полупрозрачный blur для шапки

#rec2234993281 .tn-elem[data-elem-id="1777986571732000001"] .tn-atom {
    background-color: #fff0 !important;
}

#rec2234993281 .t396__artboard {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}

*/

html,
body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

#allrecords {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

footer,
.t-footer,
#recFOOTER {
    margin-top: auto;
}