/* Russian localization overrides. Load after index.css. */
html[lang="ru"] .navigation > li > a {
  white-space: nowrap;
}

html[lang="ru"] .navigation .nav-dropdown {
  width: max-content;
  min-width: 330px;
  max-width: min(440px, calc(100vw - 32px));
  line-height: 1.35;
}

html[lang="ru"] .nav-dropdown li a {
  justify-content: flex-start;
  padding: 10px 22px;
  text-align: left;
  white-space: normal;
}

html[lang="ru"] .hd-s-tab {
  width: 34%;
}

html[lang="ru"] .hd-s-tab a {
  display: block;
  padding: 9px 14px;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

html[lang="ru"] .hd-tab-con {
  width: 62%;
}

html[lang="ru"] .nav-title {
  display: block;
  min-height: 2.7em;
  overflow: visible;
  font-size: 14px;
  line-height: 1.35;
  text-wrap: balance;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

html[lang="ru"] .m1-title,
html[lang="ru"] .p2m1-title,
html[lang="ru"] .a1m3-t-title {
  max-width: 100%;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-wrap: balance;
}

html[lang="ru"] .m1-title {
  font-size: clamp(25px, 2.15vw, 38px);
}

@media screen and (min-width: 1461px) and (max-width: 1600px) {
  html[lang="ru"] .navigation {
    gap: 10px 18px;
    font-size: 15px;
  }

  html[lang="ru"] .hd-r,
  html[lang="ru"] .h-languages {
    margin-left: 16px;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1460px) {
  html[lang="ru"] .snav {
    display: block;
  }

  html[lang="ru"] .head .m-range {
    height: 60px;
    flex-wrap: nowrap;
  }

  html[lang="ru"] .navigation,
  html[lang="ru"] .search {
    display: none;
  }

  html[lang="ru"] .hd-r {
    width: auto;
    margin-left: auto;
    margin-right: 50px;
    padding-top: 0;
    order: initial;
  }
}

@media screen and (max-width: 767px) {
  html[lang="ru"] .m1-title {
    font-size: clamp(23px, 6.5vw, 30px);
  }
}
