#sideNav button i { font-style: normal; }
.eyebrow [data-i18n] { display: inline; width: auto; height: auto; margin: 0; border-radius: 0; background: none; box-shadow: none; }
.language-dialog { width: min(720px, calc(100vw - 28px)); max-width: calc(100vw - 28px); overflow-x: hidden; }
.language-dialog h2 { margin: 0 0 18px; }
.language-search { margin-bottom: 13px; }
.language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; max-height: min(65vh, 620px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.language-grid button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 12px; text-align: left; border: 1px solid #244139; border-radius: 10px; background: #0a1713; color: #dbe8e3; cursor: pointer; }
.language-grid button[hidden] { display: none; }
.language-grid.has-single-result { grid-template-columns: 1fr; overflow: visible; }
.language-grid.has-single-result button { min-height: 54px; }
.language-grid button:hover, .language-grid button.active { border-color: var(--green); background: #173329; }
.language-grid button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.language-grid b { width: 28px; flex: 0 0 28px; color: var(--green); }
.language-grid span { min-width: 0; overflow-wrap: anywhere; }
.language-grid small { flex: 0 0 auto; }
.language-flag { width: 26px; height: 19px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #ffffff24; }
.current-language-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; vertical-align: -3px; box-shadow: 0 0 0 1px #ffffff24; }
html[dir="rtl"] .sidebar { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .data-row, html[dir="rtl"] .page-head { text-align: right; }
@media (max-width: 620px) {
  #sideNav button i { font-size: 0; }
  .language-dialog { width: 100vw; max-width: none; flex-direction: column; }
  .language-dialog[open] { display: flex; }
  .language-dialog h2 { flex: 0 0 auto; padding-right: 34px; }
  .language-search { flex: 0 0 auto; }
  .language-grid { flex: 1 1 auto; min-height: 0; max-height: none; grid-template-columns: 1fr; align-content: start; }
  .language-grid button { width: 100%; min-height: 52px; padding: 12px 14px; }
}
