/* Russian-only presentation. Official Inter v4.1 tag, unmodified variable font.
 * Internal version 4.001; git-9221beed3. SIL OFL 1.1; self-hosted, no CDN. */
@font-face {
  font-family: "Inter Variable";
  src: url("../fonts/inter-v4.1/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html[lang="ru-RU"] .miri-gate4-home {
  --miri-font-display: "Inter Variable", "Be Vietnam Pro", sans-serif;
  --miri-font-body: "Inter Variable", "Be Vietnam Pro", sans-serif;
  --miri-type-heading-family: var(--miri-font-display);
  --miri-type-copy-family: var(--miri-font-body);
  --miri-type-heading-weight: 500;
  --miri-type-copy-weight: 400;
  --miri-type-display-h1-line-height: 1.15;
  --miri-type-page-h1-line-height: 1.15;
  --miri-type-section-h2-line-height: 1.25;
  --miri-type-display-h1-letter-spacing: -0.02em;
  --miri-type-page-h1-letter-spacing: -0.02em;
  --miri-type-section-h2-letter-spacing: -0.015em;
  --miri-type-eyebrow-letter-spacing: 0.08em;
  --miri-type-navigation-size: 0.8125rem;
  font-family: var(--miri-font-body);
  font-weight: 400;
  font-synthesis: none;
  word-break: normal;
  line-break: auto;
  overflow-wrap: normal;
}

html[lang="ru-RU"] .miri-gate4-home :where(h1, h2, h3, h4, h5, h6, p, a, button, span, li, dt, dd, label, summary, text, figcaption, blockquote) {
  font-family: "Inter Variable", "Be Vietnam Pro", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  word-break: normal;
  line-break: auto;
  overflow-wrap: normal;
}

html[lang="ru-RU"] .miri-gate4-home :is(h1, h2, h3, h4, h5, h6) {
  font-family: "Inter Variable", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-wrap: balance;
}

html[lang="ru-RU"] .miri-gate4-home :is(strong, b, em, i) {
  font-family: "Inter Variable", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-style: normal;
}

html[lang="ru-RU"] .miri-gate4-home :is(p, figcaption, dd, li) {
  font-weight: 400 !important;
}

html[lang="ru-RU"] .miri-gate4-home :is(a, button, summary, dt) {
  font-weight: 500;
}

html[lang="ru-RU"] .miri-gate4-home [class*="eyebrow"] {
  font-weight: 500 !important;
}

html[lang="ru-RU"] .miri-gate4-home a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

/* CSS-generated controls must use this locale's font, not legacy Alexandria. */
html[lang="ru-RU"] .miri-gate4-menu-add-ons > summary::after {
  font-family: var(--miri-font-display);
  font-weight: 400;
  font-synthesis: none;
}

/* Compact the entire navigation as a unit before Russian labels get crowded. */
@media (max-width: 1439px) {
  html[lang="ru-RU"] .miri-gate4-desktop-nav {
    display: none;
  }
  html[lang="ru-RU"] .miri-gate4-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

html[lang="ru-RU"] .miri-gate4-desktop-nav {
  gap: clamp(16px, 1.5vw, 28px);
}

html[lang="ru-RU"] .miri-gate4-home :is(h1, h2) > span {
  display: inline;
  font-weight: inherit;
}

html[lang="ru-RU"] .miri-gate4-home :is(h1, h2) > span + span::before {
  content: " ";
}
