/* Shared language selector: local flag assets, native-language names for AT. */
.locale-switch{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;width:100%;min-height:60px;padding:8px 4.3%;margin:0;background:#fff9ed;color:#502235;font:600 13px/1.4 system-ui,sans-serif;box-sizing:border-box;position:relative;z-index:10;grid-column:1/-1;border-bottom:1px solid #d8cbd0}
.locale-switch a{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:3px;box-sizing:border-box;border:1px solid #d8cbd0;border-radius:11px;background:#fffdf7;color:inherit;text-decoration:none;box-shadow:0 1px 2px #35202a0d;transition:background .15s,border-color .15s,transform .15s}
.locale-switch img{display:block;width:36px;height:24px;max-width:none;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px #35202a1a;pointer-events:none}
.locale-switch a[aria-current=true]{background:#f3e1e4;border-color:#502235;box-shadow:0 0 0 1px #502235}
.locale-switch a[aria-current=true]::after{content:"";position:absolute;bottom:3px;left:15px;width:12px;height:2px;border-radius:2px;background:#502235}
.locale-switch a:hover{background:#f3e1e4;border-color:#96566c;transform:translateY(-1px)}
.locale-switch a:focus-visible{outline:3px solid #2d6174;outline-offset:4px}
body>nav.locale-switch{position:relative;display:flex;flex-direction:row;max-height:none;overflow:visible}
.brand,.logo{flex-shrink:0}
html[lang=ru] h1{overflow-wrap:anywhere}html[lang=ru] .site-nav{gap:1rem}pre{overflow-wrap:anywhere}
html[lang=ru] .logo{font-size:33px;letter-spacing:-.055em}html[lang=ru] .logo span{font-size:21px;letter-spacing:-.035em}
html[lang=ru] footer .logo{font-size:40px}html[lang=ru] footer .logo span{font-size:25px}
@media(max-width:600px){body>nav.locale-switch{padding:8px 5%;justify-content:center}.logo{font-size:40px}.logo span{font-size:16px}html[lang=ru] .logo{font-size:26px}html[lang=ru] .logo span{font-size:18px}html[lang=ru] footer .logo{font-size:33px}html[lang=ru] footer .logo span{font-size:22px}}
html[lang=en] .hero-copy h1,html[lang=ru] .hero-copy h1{max-width:100%;overflow-wrap:normal}html[lang=en] .hero h1 span,html[lang=ru] .hero h1 span{white-space:normal;font-size:.72em}.hero-copy{min-width:0}
html[lang=ru] .round-note{font-size:clamp(12px,1.2vw,18px)}
@media(prefers-reduced-motion:reduce){.locale-switch a{transition:none}.locale-switch a:hover{transform:none}}
@media print{.locale-switch{display:none!important}}
