/* Общие настройки сайта */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Ссылки внутри текстовых элементов Zero Block без подчёркивания */
.t396 .tn-atom a { text-decoration: none; }

/* Ссылка в согласии на обработку данных: читаемая на тёмном фоне */
.t396 .t-checkbox__labeltext a { color: #EDEBE6; text-decoration: underline; text-underline-offset: 3px; }
.t396 .t-checkbox__labeltext a:hover { color: #CF8A5E; }

/* Видимый фокус для навигации с клавиатуры */
.t396 a:focus-visible,
.t396 .tn-atom:focus-visible,
.t396 input:focus-visible,
.t396 textarea:focus-visible,
.t396 button:focus-visible {
  outline: 2px solid #CF8A5E;
  outline-offset: 3px;
}

/* Отступ под фиксированную шапку (высота шапки 77-85px) при переходе по якорям */
a[name] { scroll-margin-top: 92px; }

/* Раскрывающиеся списки «Гражданам / Бизнесу / Вопросы» (блоки SV503, класс .t1119):
   у обычных блоков Tilda и у Zero-блоков разные поля по краям.
   Подгоняем ширину контейнера, чтобы края текста совпадали на любом экране. */
@media screen and (min-width: 1201px) {
  .t1119 .t-container { max-width: 1160px; }
  .t1119 .t-col_8 { max-width: 720px; }
}
@media screen and (min-width: 961px) and (max-width: 1200px) {
  .t1119 .t-container { max-width: 916px; }
  .t1119 .t-col_8 { max-width: 576px; }
}
@media screen and (min-width: 640px) and (max-width: 960px) {
  .t1119 .t-container { max-width: 632px; }
}
@media screen and (min-width: 480px) and (max-width: 639px) {
  .t1119 .t-container { max-width: 480px; }
}
@media screen and (max-width: 479px) {
  .t1119 .t-container { max-width: 360px; }
}
