/* Only the new language control; the existing page design is unchanged. */
.language-picker { position: relative; margin-left: 16px; flex: 0 0 auto; }
.site-header nav .language-picker { margin-left: 0; text-transform: none; letter-spacing: normal; }
.language-picker summary { cursor: pointer; color: var(--cream, #f5eee5); font: inherit; min-height: 44px; display: flex; gap: 7px; align-items: center; }
.language-picker summary::after { content: '▾'; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-options { position: absolute; z-index: 30; right: 0; top: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(420px, calc(100vw - 40px)); max-height: 65vh; overflow-y: auto; padding: 12px; background: var(--bg, #1b2330); border: 1px solid var(--gold, #e8a096); border-radius: 8px; box-shadow: 0 8px 24px #0004; }
.language-options a { display: flex; align-items: center; min-height: 44px; padding: 8px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.language-options a:hover, .language-options a[aria-current] { color: var(--gold, #e8a096); }
.language-picker summary:focus-visible, .language-options a:focus-visible { outline: 2px solid var(--gold, #e8a096); outline-offset: 2px; }
/* Translated compounds may be longer than their English headings. */
html:not([lang="en"]) :is(.page-intro h1, .press-story h2, .section-heading h2, .facts dt, .facts dd, .prose h1, .prose h2, .error-page h1) { overflow-wrap: anywhere; hyphens: auto; }
@media(max-width: 1000px) and (min-width: 641px) { .nav-wrap:has(.language-picker) { flex-wrap: wrap; } .nav-wrap > .language-picker { margin-left: auto; } }
@media(max-width: 640px) { .nav-wrap > .language-picker { margin-left: auto; } .site-header nav .language-picker { width: 100%; } .language-options { position: fixed; left: 20px; right: 20px; top: 74px; width: auto; } }
