/* Russian mobile adjustments only. Desktop, tablet and LV retain their styles. */
@media (max-width: 767px) {
  html[lang="ru"]:has(.page-nav-active[href="/ru/sotrudnichestvo/"]) .page-intro h1 {
    font-size: clamp(28px, 8.5vw, 42px);
    line-height: 1.15;
    letter-spacing: -1px;
    white-space: nowrap;
  }
  html[lang="ru"] .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  html[lang="ru"] .footer-grid > div { min-width: 0; }
  html[lang="ru"] .footer-grid > div:nth-child(1) { order: 1; }
  html[lang="ru"] .footer-grid > div:nth-child(3) { order: 2; }
  html[lang="ru"] .footer-grid > div:nth-child(2) { order: 3; }
  html[lang="ru"] .footer-grid > div:nth-child(4) { order: 4; }
  html[lang="ru"] .footer-description { max-width: none; }
  html[lang="ru"] .footer-grid nav { gap: 0; }
  html[lang="ru"] .footer-grid a:not(.wordmark) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
    margin-bottom: 0;
  }
  html[lang="ru"] .footer-bottom,
  html[lang="ru"] .footer-bottom > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  html[lang="ru"] .footer-bottom a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
}
@media (max-width: 360px) {
  html[lang="ru"] .hero-grid > * { min-width: 0; }
  html[lang="ru"] .hero h1 { font-size: clamp(32px, 10vw, 36px); }
}
