/* Text expansion and narrow displays; keep the existing interaction model. */
.main-navigation,.main-navigation>a,.main-navigation summary,.bs-main-nav,.bs-nav-link{min-width:0}
.main-navigation>a,.main-navigation summary,.bs-nav-link,.button,.parity-button{overflow-wrap:break-word}
.parity-service-card,.parity-offer,.public-price-card,.catalog-card-body,.parity-contact-card{min-width:0}
@media(min-width:961px) and (max-width:1250px){
 .header-inner{flex-wrap:wrap;gap:16px}.menu-toggle{display:block;margin-left:auto}
 .header-inner .main-navigation{display:none;order:4;flex-basis:100%;width:100%;padding:0 0 20px;flex-wrap:wrap;gap:12px 20px}
 .header-inner .main-navigation.is-open{display:flex}html:not(.js) .main-navigation{display:flex}
 .main-navigation>.button{margin-left:0}
}
@media(min-width:1251px){.main-navigation{gap:clamp(12px,1.5vw,24px)}.main-navigation>.button{padding-inline:14px}}
@media(max-width:700px){.public-prices-dialog{width:calc(100% - 24px);max-width:calc(100% - 24px)}.public-prices-header h2{min-width:0}.public-price-card{overflow-wrap:break-word}}

/* UI fonts only. This does not install fonts or enable book rendering. */
html[lang="zh-CN"]{--sans:system-ui,"PingFang SC","Microsoft YaHei",sans-serif;--serif:"Songti SC",SimSun,serif;--font-serif:var(--serif);line-break:strict;overflow-wrap:break-word}
html[lang="zh-CN"] *{text-transform:none!important;letter-spacing:normal!important}
html[lang="zh-CN"] body,html[lang="zh-CN"] button,html[lang="zh-CN"] input,html[lang="zh-CN"] textarea,html[lang="zh-CN"] select{font-family:var(--sans)}
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3{font-family:var(--serif);line-height:1.4!important}
html[lang="zh-CN"] p,html[lang="zh-CN"] li{line-height:1.85}
html[lang="ru"]{--sans:Arial,system-ui,sans-serif;--serif:Georgia,"Times New Roman",serif;--font-serif:var(--serif)}
html[lang="ru"] h1,html[lang="ru"] h2,html[lang="ru"] h3,html[lang="ru"] p{hyphens:auto;overflow-wrap:break-word}
html[lang="ru"] .main-navigation{font-size:.82rem}
.locale-pending{border-left:4px solid #ba4b0c;padding:20px;background:#f6f2e7;margin-block:24px}
@media(max-width:700px){html[lang="zh-CN"] #hero-heading,html[lang="ru"] #hero-heading{font-size:clamp(1.8rem,7vw,2.6rem)!important}.locale-pending{padding:16px}}

/* Narrow Russian home heading: use the available column and complete words. */
@media (max-width:700px) {
  html[lang="ru"] body[data-page="home"] .parity-hero-copy > h1 {
    max-width:100%;
    hyphens:none;
    line-height:1.18;
    letter-spacing:-.015em;
    word-break:normal;
    overflow-wrap:break-word;
  }
}
