/* Locale additions; the original visual design remains in styles.min.css. */
:root { --language-bar-height: 49px; }
html { scroll-padding-top: calc(var(--language-bar-height) + var(--site-header-height, 96px) + 16px); }
body { font-family: "Manrope", system-ui, sans-serif; padding-block-start: var(--language-bar-height); }
html[lang="ar"], html[lang="fa"], html[lang="ur"] { --base-ff: "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif; }
html[lang="hi"] { --base-ff: "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif; }
html[lang="ko"] { --base-ff: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html[lang="zh-Hans"] { --base-ff: "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif; }
html[lang="hy"] { --base-ff: "Noto Sans Armenian", "Segoe UI", Sylfaen, sans-serif; }
html[lang="cv"] { --base-ff: "Manrope", "Segoe UI", Arial, sans-serif; }
html[lang="hy"] body { font-family: var(--base-ff); }
html[dir="rtl"] body, html[lang="hi"] body, html[lang="ko"] body, html[lang="zh-Hans"] body { font-family: var(--base-ff); }
button, input, select, summary { font-family: inherit; }
.language-bar { position: fixed; top: 0; inset-inline: 0; z-index: 110; background: #edf2ed; border-block-end: 1px solid #dce4dc; min-height: 48px; color: #204c3c; }
.language-bar__inner { max-width: 1440px; min-height: 48px; margin-inline: auto; padding: 4px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
.language-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.language-bar__label { font-size: 13px; white-space: nowrap; }
.conference-link { display: flex; align-items: center; gap: 12px; justify-self: center; min-width: 0; max-width: 100%; min-height: 40px; padding: 3px 14px 3px 4px; border: 1px solid #e3a348; border-radius: 12px; background: linear-gradient(110deg, #fff0c3, #ffd384); color: #542d12; box-shadow: 0 2px 8px #aa651117; line-height: 1.2; }
.conference-link:hover { border-color: #a75b19; box-shadow: 0 3px 12px #aa65112b; }
.conference-link__date { display: flex; align-items: center; justify-content: center; align-self: stretch; min-width: 48px; min-height: 32px; padding: 4px 6px; border-radius: 8px; background: #804012; color: #fff; font: 700 14px/1.2 system-ui, sans-serif; direction: ltr; unicode-bidi: isolate; }
.conference-link__copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.conference-link__name { font-size: 14px; font-weight: 800; }
.conference-link__topic { font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.conference-link__cta { display: flex; align-items: center; gap: 6px; padding-inline-start: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.conference-link__arrow { font-size: 18px; }
[dir="rtl"] .conference-link { padding: 3px 4px 3px 14px; }
[dir="rtl"] .conference-link__arrow { transform: scaleX(-1); }
.language-menu { position: relative; font-family: system-ui, sans-serif; font-size: 14px; }
.language-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 40px; padding-inline: 12px; border-radius: 6px; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { background: #dce7dc; }
.language-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 4px); min-width: 210px; max-height: min(65vh, 450px); overflow-y: auto; padding: 6px; margin: 0; list-style: none; border: 1px solid #dce4dc; border-radius: 10px; background: #fff; box-shadow: 0 12px 36px #142f2526; }
.language-menu a { display: block; padding: 9px 12px; border-radius: 5px; }
.language-menu a:hover, .language-menu a:focus-visible { background: #edf2ed; }
.language-menu a[aria-current="true"] { background: #2e6a55; color: #fff; }
.language-menu a[lang="ar"], .language-menu a[lang="fa"], .language-menu a[lang="ur"] { direction: rtl; text-align: start; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #658d2e; outline-offset: 4px; }
.header { top: var(--language-bar-height); }
.original-address, .official-name { padding-inline: 24px; margin-block: 16px; line-height: 1.7; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.original-address bdi { display: inline-block; }
.privacy-section { padding-block-start: var(--site-header-height, 96px) !important; }
.privacy-content { padding-block-start: 24px; font-family: inherit; overflow-wrap: anywhere; }
.privacy-content h1 { font-size: clamp(26px, 6vw, 32px); }
.privacy-content p, .privacy-content .official-name { text-align: start; }
.privacy-content .official-name { padding-inline: 0; }
.notFound { padding-block-start: calc(var(--site-header-height, 96px) + 16px); }
.cookie-settings { color: #2e6a55; text-decoration: underline; font-size: 13px; margin: 12px auto; display: block; cursor: pointer; }
.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 100; padding: 18px 24px; background: #fff; border-top: 1px solid #dce4dc; box-shadow: 0 -4px 24px #142f2514; max-height: 60vh; overflow: auto; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__content { max-width: 1200px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-banner__text { margin: 0; font-size: 14px; line-height: 1.65; flex: 1; }
.cookie-banner__text a { color: #2e6a55; text-decoration: underline; }
.cookie-banner__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn { padding: 11px 18px; border-radius: 6px; cursor: pointer; font-size: 14px; min-height: 44px; }
.cookie-btn--accept { background: #2e6a55; color: #fff; }
.cookie-btn--decline { background: #f2f4ef; color: #204c3c; border: 1px solid #dce4dc; }
[dir="rtl"] .intro__title, [dir="rtl"] .intro__subtitle, [dir="rtl"] .section__title { line-height: 1.5; }
[dir="rtl"] .header__phone, [dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .faq-item__left { text-align: start; }
[dir="rtl"] .intro__content::before, [dir="rtl"] .intro__line { transform: scaleX(-1); }
[dir="rtl"] .privacy-content ul, [dir="rtl"] .privacy-content ol { margin-left: 0; margin-inline-start: 20px; }
.btn { white-space: normal; text-align: center; }
.logo__title, .logo__subtitle { overflow-wrap: anywhere; }
html[lang="hy"] .vibe-item__title { overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 1280px) {
  html:is([lang="cv"], [lang="hy"]) .header__logo { max-width: 38%; min-width: 0; }
  html:is([lang="cv"], [lang="hy"]) .header__group { min-width: 0; gap: 16px; }
  html:is([lang="cv"], [lang="hy"]) .header__menu { min-width: 0; }
  html:is([lang="cv"], [lang="hy"]) .menu { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  html:is([lang="cv"], [lang="hy"]) .header__contacts { flex-shrink: 0; }
  html:is([lang="cv"], [lang="hy"]) .header__phone { white-space: nowrap; }
}
/* Translated navigation needs the compact menu at tablet widths too. */
@media (max-width: 1279px) {
  .header__logo { min-width: 0; padding-inline-end: 16px; }
  .header__m-menu { display: block; margin-inline-start: auto; flex-shrink: 0; }
  .header__group { display: none; position: fixed; top: calc(var(--site-header-height, 96px) + var(--language-bar-height)); inset-inline: 0; bottom: 0; overflow: auto; padding: 24px 16px; background: #ffffffed; backdrop-filter: blur(6px); flex-direction: column; align-items: stretch; }
  .header__group.visible { display: flex; }
  .header__menu { order: 0; margin: 0 0 24px; }
  .header__menu-title { display: block; }
  .menu { flex-direction: column; gap: 24px; align-items: flex-start; }
  .header__contacts { margin-block-start: auto; }
  .header__address, .header__address-name { display: block; }
  .header__address { margin-bottom: 20px; }
  .header__address-value span { display: inline; }
}
@media (max-width: 767px) {
  :root { --language-bar-height: 97px; }
  .language-bar__inner { grid-template-columns: minmax(0, 1fr); padding: 4px 16px; gap: 4px; }
  .language-controls { justify-self: end; }
  .conference-link { justify-self: stretch; min-height: 44px; gap: 8px; padding-inline-end: 10px; }
  .conference-link__date { min-width: 44px; }
  .conference-link__copy { flex: 1; }
  .conference-link__cta { padding-inline-start: 0; font-size: 11px; }
  .cookie-banner { padding: 16px; }
  .cookie-banner__content { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner__buttons > button { flex: 1; }
  .header__group { top: calc(var(--site-header-height, 72px) + var(--language-bar-height)); }
  .vk-btn, .tg-btn { left: auto; right: 12px; margin: 0; }
  .vk-btn { bottom: 76px; }
  .tg-btn { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
