/* Overrides and helpers for static version (no Tilda platform) */

.t-tildalabel,
#tildacopy {
  display: none !important;
}

.t-records {
  opacity: 1 !important;
}

.t456__list_item .t-active {
  opacity: 0.7;
}

.t232__titlebox {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-right: 46px;
}

.t232__titlebox::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d195f;
  line-height: 1;
  pointer-events: none;
}

.t232__titlebox.accordion-open::after {
  content: "−";
}

@media screen and (min-width: 981px) {
  .t456__list_item {
    position: relative;
  }

  .t456,
  .t456__maincontainer,
  .t456__rightwrapper {
    overflow: visible !important;
  }

  .t456__list_item > .t-menu__link-item {
    white-space: nowrap;
  }

  [data-record-type="456"] .t-menusub__menu:not(.t-menusub__menu_relative) {
    width: var(--menusub-width, 623px) !important;
    max-width: var(--menusub-width, 623px) !important;
  }

  [data-record-type="456"] .t-menusub,
  [data-record-type="456"] .t-menusub__menu,
  [data-record-type="456"] .t-menusub__link-item {
    white-space: normal;
  }
}

html {
  scroll-padding-top: 10vh;
}

@media screen and (min-width: 981px) {
  #rec1200516116 .t456,
  #rec1200516116 .t456__maincontainer {
    height: 10vh !important;
    max-height: 10vh;
    min-height: 10vh;
    box-sizing: border-box;
  }

  /* Оригинальная table-вёрстка Tilda — вертикальное центрирование */
  #rec1200516116 .t456__maincontainer {
    display: table !important;
    width: 100%;
  }

  #rec1200516116 .t456__leftwrapper,
  #rec1200516116 .t456__rightwrapper {
    display: table-cell !important;
    vertical-align: middle !important;
  }

  #rec1200516116 .t456__rightwrapper {
    width: 100%;
  }

  /* Логотип — квадрат 90×90, без сжатия по высоте */
  #rec1200516116 .t456__imglogo {
    display: block;
    width: 90px;
    max-width: 90px;
    height: auto;
  }
}
