[data-language-picker] { flex: 0 0 auto; }
.language-picker { position: relative; width: max-content; }
.language-picker[open] { z-index: 5; }
.language-toggle, .language-option { touch-action: manipulation; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 9px;
  border: 1px solid #d8e7d0;
  border-radius: 11px;
  background: linear-gradient(115deg, #f6faef, #eaf4df);
  color: #315f39;
  font: 700 11px/1 'Noto Sans Armenian', Arial, sans-serif;
  list-style: none;
  cursor: pointer;
}
.language-toggle::-webkit-details-marker { display: none; }
.language-code { min-width: 2.5em; text-align: center; }
.language-toggle svg { width: 16px; height: 16px; pointer-events: none; }
.language-toggle .language-chevron { width: 11px; height: 11px; stroke-width: 2.3; }
.language-picker[open] .language-toggle { border-color: #a7c99a; background: #e7f2db; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  display: grid;
  gap: 2px;
  width: 100%;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid #d8e7d0;
  border-radius: 13px;
  background: #fbfdf8;
  box-shadow: 0 10px 24px #214a2b24;
}
.language-option {
  display: grid;
  width: 100%;
  min-height: 44px;
  place-items: center;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #244b31;
  font: 700 12px/1.3 'Noto Sans Armenian', Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.language-option:focus-visible { background: #edf5e5; color: #285e32; }
@media (hover: hover) {
  .language-toggle:hover { border-color: #a7c99a; background: #e7f2db; }
  .language-option:hover { background: #edf5e5; color: #285e32; }
}
.language-toggle:focus-visible,
.language-option:focus-visible { outline: 2px solid #448749; outline-offset: 2px; }
html:not(:lang(hy)) .hero h1,
html:not(:lang(hy)) .section-top h2,
html:not(:lang(hy)) .partner-hero h1 { overflow-wrap: break-word; }
@media (min-width: 700px) and (max-width: 1023px) {
  .site-header .language-toggle { gap: 4px; padding-inline: 7px; }
}
@media (max-width: 760px) {
  .language-toggle { min-height: 44px; }
}
@media (max-width: 650px) {
  .section-select { flex-wrap: wrap; }
  .section-select select { max-width: 100%; min-width: 0; }
}
