/* Locale text can be longer; retain the existing responsive product layout. */
.language-nav,.language-bar,.jorl-languages{display:flex;flex-wrap:wrap;gap:.7rem 1.15rem;align-items:center}
.jorl-languages{padding:.65rem max(1rem,calc((100vw - 1440px)/2));font:500 .85rem/1.5 system-ui,sans-serif;background:#f4f0e7;color:#193c32}
.jorl-languages a{color:inherit;text-decoration:none}
.language-nav a,.language-bar a,.jorl-languages a{white-space:nowrap}
html:lang(ru) .header-actions,html:lang(pt-BR) .header-actions{min-width:0}
html:lang(ru) .language-picker select,html:lang(pt-BR) .language-picker select{max-width:100%;min-width:0}
html:lang(ru) h1,html:lang(ru) h2,html:lang(pt-BR) h1,html:lang(pt-BR) h2{overflow-wrap:break-word}
html:lang(ru) .card-body,html:lang(pt-BR) .card-body{min-width:0}
html:lang(ru) .category-card small,html:lang(pt-BR) .category-card small{white-space:normal;overflow-wrap:anywhere}
@media(min-width:761px) and (max-width:1100px){
html:lang(ru) .header-inner,html:lang(pt-BR) .header-inner{flex-wrap:wrap;gap:12px 20px}
html:lang(ru) .header-inner nav,html:lang(pt-BR) .header-inner nav{flex:1 1 420px;min-width:0}
html:lang(ru) .header-inner .header-actions,html:lang(pt-BR) .header-inner .header-actions{margin-left:auto}
html:lang(ru) header:has(.fs-v9-language),html:lang(pt-BR) header:has(.fs-v9-language){flex-wrap:wrap;gap:12px 18px}
html:lang(ru) header:has(.fs-v9-language) #main-nav,html:lang(pt-BR) header:has(.fs-v9-language) #main-nav{flex:1 1 540px;min-width:0;flex-wrap:wrap}
html:lang(ru) header:has(.fs-v9-language)>.btn,html:lang(pt-BR) header:has(.fs-v9-language)>.btn{margin-left:auto}
}
@media(max-width:760px){.language-nav,.language-bar{font-size:.78rem;gap:.45rem .8rem}.jorl-languages{font-size:.75rem;padding:.5rem 1rem}.jorl-languages a{padding:.25rem 0}}
@media(min-width:1101px) and (max-width:1400px){
html:lang(ru) header:has(.fs-v9-language),html:lang(pt-BR) header:has(.fs-v9-language){flex-wrap:wrap;gap:12px 18px}
html:lang(ru) header:has(.fs-v9-language) #main-nav,html:lang(pt-BR) header:has(.fs-v9-language) #main-nav{flex:1 1 540px;min-width:0;flex-wrap:wrap}
html:lang(ru) header:has(.fs-v9-language)>.btn,html:lang(pt-BR) header:has(.fs-v9-language)>.btn{margin-left:auto}
}
