/*
 * English pages are set in Univers LT Std.
 *
 * Oron Classic FM is the Hebrew face. The templates name it first in every
 * font stack, so the English pages were drawing their Latin text in it as well.
 * This file puts Univers first for everything on a page whose <html lang> is
 * English, whichever stylesheet set the font and whichever order they load in:
 * the rules are marked !important because the font is declared in many
 * places (landing page, inner pages, forms, language switcher) and the
 * cookie banner, which comes from a plugin.
 *
 * Univers has no Hebrew letters. The stack keeps Oron second, so a Hebrew word
 * on an English page (the language switcher's name for Hebrew) still draws
 * in the brand face and not in a system fallback.
 *
 * Left alone: the admin bar (its icons are a font), and code samples.
 * Hebrew pages are untouched; the selector requires lang="en".
 *
 * Only Univers LT Std 400 is installed in the font library. Anything the
 * design sets bolder is drawn by the browser as synthetic bold.
 */
html[lang^="en"] body > :not(#wpadminbar),
html[lang^="en"] body > :not(#wpadminbar) *,
html[lang^="en"] body > :not(#wpadminbar) *::before,
html[lang^="en"] body > :not(#wpadminbar) *::after,
html[lang^="en"] body > :not(#wpadminbar) *::placeholder {
	font-family: "Univers LT Std", "Oron Classic FM", "Univers", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html[lang^="en"] body > :not(#wpadminbar) :is(pre, code, kbd, samp),
html[lang^="en"] body > :not(#wpadminbar) :is(pre, code, kbd, samp) * {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

/*
 * Email addresses are Latin text, so they are set in Univers on every page,
 * Hebrew pages included (the terms and privacy pages carry one in the body
 * text, inside a Hebrew sentence). Only links are matched: an address typed
 * as plain text cannot be picked out by CSS and would need a link around it.
 *
 * An address is written left to right whatever the page direction, and is
 * isolated so the Hebrew around it cannot reorder its characters or move its
 * dots and hyphens to the wrong side.
 */
body > :not(#wpadminbar) a[href^="mailto:"] {
	font-family: "Univers LT Std", "Univers", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	direction: ltr;
	unicode-bidi: isolate;
}
