/* Language picker (footer "English ▾"). RTL layout overrides live in rtl.css. */
.site-footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.site-footer-meta p { margin: 0; }
.lang-picker { display: inline-flex; margin: 0; }
.lang-picker-field { position: relative; display: inline-flex; align-items: center; color: inherit; }
.lang-picker select {
    appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; font: inherit;
    padding-block: 2px; padding-inline: 0 16px; cursor: pointer; max-width: 200px;
    field-sizing: content; /* width of the chosen language, so the ▾ sits right after it */
}
.lang-picker select:hover { color: var(--text-secondary); text-decoration: underline; }
.lang-picker select:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }
.lang-picker select option { color: var(--text-primary); background: var(--bg-base); }
.lang-picker-field .icon { position: absolute; inset-inline-end: 0; pointer-events: none; width: 12px; height: 12px; }
.lang-picker-go { margin-inline-start: 6px; font: inherit; color: inherit; text-decoration: underline; background: none; border: 0; }
/* The display face (Unbounded) is Latin-only: headings in other scripts use the UI stack. */
:root:not(:lang(en)):not(:lang(es)):not(:lang(fr)):not(:lang(pt)):not(:lang(id)):not(:lang(tr)):not(:lang(de)):not(:lang(sw)) { --font-display: var(--font-ui); }
