/* The fonts of the "Font" setting, from the theme's own files (fonts/LICENSE-*.txt, SIL OFL 1.1).
   The browser downloads a face only when the page uses it. */
@font-face { font-family: 'Noto Sans'; src: url('fonts/noto-sans-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Sans'; src: url('fonts/noto-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Regular.woff2') format('woff2'); font-weight: 100 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Italic.woff2') format('woff2'); font-weight: 100 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Bold.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }

/* "System" = the device's own font (no file). "locl" 0 - the pages are lang="bg";
   without it Plex and Noto switch to the handwriting-like Bulgarian letters. */
:root {
  --ov-system: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ov-font: var(--ov-system);
  --ov-font-features: normal;
  --ov-admin-font: var(--ov-system);
  --ov-admin-font-features: normal;
}
.ovemo-site-font-noto    { --ov-font: 'Noto Sans', var(--ov-system);     --ov-font-features: "locl" 0; }
.ovemo-site-font-plex    { --ov-font: 'IBM Plex Sans', var(--ov-system); --ov-font-features: "locl" 0; }
.ovemo-site-font-manrope { --ov-font: 'Manrope', var(--ov-system); }
.ovemo-admin-font-noto    { --ov-admin-font: 'Noto Sans', var(--ov-system);     --ov-admin-font-features: "locl" 0; }
.ovemo-admin-font-plex    { --ov-admin-font: 'IBM Plex Sans', var(--ov-system); --ov-admin-font-features: "locl" 0; }
.ovemo-admin-font-manrope { --ov-admin-font: 'Manrope', var(--ov-system); }

/* The administration font: wp-admin, the login page, the toolbar (also on the site). Icons keep dashicons. */
body.wp-admin,
body.login,
.wp-core-ui,
.wp-core-ui input,
.wp-core-ui textarea,
.wp-core-ui select,
.wp-core-ui button,
.wp-core-ui .button,
#wpadminbar *:not(.ab-icon):not(.dashicons) {
  font-family: var(--ov-admin-font);
  font-feature-settings: var(--ov-admin-font-features);
}
