/* Language selector at the right of the desktop header and inside the mobile menu. */
.pneumo-language {
  width: 58px;
  min-height: 44px;
  flex: 0 0 58px;
  border: 0;
  padding: 6px 2px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pneumo-language:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.menu-language { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.menu-language .pneumo-language { width: 140px; flex-basis: 140px; font-size: 15px; border: 1px solid var(--line); padding: 8px 12px; }
.pneumo-languages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; padding: 12px 5% 24px; }
.pneumo-languages a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.pneumo-languages [aria-current="page"] { font-weight: 700; }
@media (max-width: 1320px) {
  header > nav.desktop, header > .header-actions { display: none; }
  header > .menu-toggle { display: block; }
}
@media (min-width: 1321px) and (max-width: 1550px) {
  header { gap: 12px; padding-left: 3%; padding-right: 3%; }
  nav.desktop { gap: 13px; font-size: 12px; }
}

/* Compact native language control with a consistent, nearby chevron. */
.pneumo-language {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 44px;
  flex: 0 0 44px;
  padding: 6px 18px 6px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23374854' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
  border-radius: 0;
  text-align: left;
}
header > .mobile-language { display: none; }
.menu-language .pneumo-language { width: 140px; flex-basis: 140px; padding: 8px 28px 8px 12px; background-position: right 12px center; }
@media (max-width: 1320px) {
  header { gap: 8px; }
  header > .mobile-language { display: block; margin: 0 0 0 auto; flex-shrink: 0; color: var(--ink); }
  header > .brand { width: min(334px, calc(100% - 162px)); min-width: 0; max-width: none; }
  header > .mobile-call-shortcut { margin-left: 0; }
  header > .menu-toggle { flex-shrink: 0; margin-left: 0; }
}
