/* Language controls are independent of the collapsible mobile menu. */
header { padding: 16px 0 22px; }
header .header_container { position: relative; }
.site-languages { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin: 0 0 14px; font: 600 13px/1 Arial, sans-serif; }
.site-languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 34px; padding: 8px 10px; border: 1px solid #d6e1e8; border-radius: 5px; background: #fff; color: #243345; text-decoration: none; }
.site-languages a:hover { border-color: #0087bb; color: #006f99; }
.site-languages a.is-current { background: #007eae; border-color: #007eae; color: #fff; }
.site-languages a:focus-visible { outline: 3px solid #f4bb33; outline-offset: 3px; }
.language-note { margin: 16px 0 24px; padding: 12px 16px; background: #f1f7fa; color: #33485a; border-left: 3px solid #007eae; font-size: 15px; line-height: 1.5; }
.news-language { display: inline-block; margin-top: 8px; color: #586775; font: 12px/1.4 Arial, sans-serif; }
html[lang="kk"] body { font-family: Arial, sans-serif; }
html[lang="kk"] h1, html[lang="kk"] h2, html[lang="kk"] h3, html[lang="kk"] h4, html[lang="kk"] .section_title, html[lang="kk"] .modal_title { font-family: Arial, sans-serif; font-weight: 700; line-height: 1.25; }
html[lang="kk"] h1, html[lang="kk"] .slider_title { font-size: clamp(24px, 3vw, 46px); }
html[lang="kk"] .menu a { font-family: Arial, sans-serif; }
@media (min-width: 1024px) and (max-width: 1399px) { .header_flex .menu a { margin-left: 1.4rem; } }
@media (max-width: 1023px) {
    body { padding-top: 104px; }
    header { padding: 12px 0; }
    header .site-languages { margin: 0 0 10px; }
    header .header_flex { position: relative; min-height: 34px; }
    header .logo { top: 50%; }
    .site-languages a { min-height: 36px; }
    html[lang="kk"] .slider_text h2 { font-size: 26px; }
    html[lang="kk"] .section_title { font-size: 25px; }
}
@media (max-width: 380px) { header .logo { width: 10rem; } }
