/* Mobile-only language list. Loaded only when navigation uses a drawer/menu. */
.language-switcher--desktop {
  display: none !important;
}

.language-switcher-mobile {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 18px 0 4px;
  border-top: 1px solid #d9e1ea;
  direction: ltr;
}

.language-switcher-mobile__heading {
  margin: 0 0 10px;
  color: #6f8798;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.language-switcher-mobile__list {
  display: grid;
  gap: 6px;
}

.language-switcher-mobile__option {
  display: grid;
  width: 100%;
  min-height: 50px;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #334754;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  touch-action: manipulation;
}

.language-switcher-mobile__flag {
  width: 24px;
  height: 18px;
  flex-basis: 24px;
}

.language-switcher-mobile__name {
  min-width: 0;
  font-weight: 600;
  unicode-bidi: plaintext;
}

.language-switcher-mobile__check {
  width: 17px;
  height: 17px;
  color: #25465f;
  opacity: 0;
}

.language-switcher-mobile__option:hover,
.language-switcher-mobile__option:focus-visible,
.language-switcher-mobile__option:active {
  border-color: #d9e1ea;
  background: #f4f6f8;
  color: #152d3f;
  outline: none;
}

.language-switcher-mobile__option[aria-current="page"] {
  border-color: #c6d3dc;
  background: #edf2f5;
  color: #152d3f;
}

.language-switcher-mobile__option[aria-current="page"] .language-switcher-mobile__check {
  opacity: 1;
}

html[lang="ar"] .language-switcher-mobile__option {
  text-align: left;
}
