.locale-switch { position: relative; display: inline-block; text-align: start; z-index: 20; }
.locale-switch summary { min-block-size: 36px; display: flex; align-items: center; gap: .45rem; padding: .3rem .65rem; list-style: none; cursor: pointer; border: 1px solid currentColor; border-radius: 7px; }
.locale-switch summary::-webkit-details-marker { display: none; }
.locale-switch summary::after { content: '⌄'; }
.locale-switch[open] summary::after { content: '⌃'; }
.locale-switch ul {
  position: absolute; z-index: 25; inset-inline-end: 0; top: 100%; width: min(65vw, 260px);
  max-height: min(52vh, 360px); overflow: auto; margin: .35rem 0 0; padding: .35rem;
  list-style: none; background: #fff; color: #242a2d; border: 1px solid #a6b5bb; border-radius: 8px;
  box-shadow: 0 8px 24px #0002;
}
.locale-switch li { margin: 0; }
.locale-switch li a { color: #242a2d; display: block; padding: .42rem .65rem; border-radius: 4px; text-decoration: none; }
.locale-switch a:hover, .locale-switch a:focus-visible, .locale-switch [aria-current="page"] { background: #e7f1f5; }
.demo-locales { display: flex; width: 100%; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem .9rem; }
.demo-locales > .locale-switch { flex: none; }
.policy .locale-switch { align-self: start; }
.home-localized .quick-contact { margin-top: 1.25rem; }
.home-localized .field-row > label { min-width: 0; overflow-wrap: anywhere; }
.home-localized[dir="rtl"] .contact-card input[type="email"] { direction: ltr; text-align: start; }
@media (max-width: 420px) {
  .locale-switch ul { inset-inline-end: auto; inset-inline-start: 0; }
}
