/* Site-wide responsive hardening */
html,
body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

.t-text,
.t-title,
.t-descr,
.t-heading,
.t396__elem[data-elem-type="text"] .tn-atom {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media screen and (max-width: 960px) {
  .t-popup__container {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .t450__container {
    width: min(360px, calc(100vw - 40px)) !important;
  }
}

@media screen and (max-width: 640px) {
  .t-container {
    box-sizing: border-box;
    max-width: 100%;
  }

  .t-form input,
  .t-form textarea,
  .t-form select,
  .t-input,
  .t-select,
  .t-textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
    font-size: 16px !important;
  }

  .t-submit,
  .t-form__submit button {
    min-height: 48px;
  }

  .t-popup__container {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .t-popup__close {
    min-width: 44px;
    min-height: 44px;
  }
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}