/* ============================================================
   PT Sans — the typeface for the Russian UI (html[lang="ru"]).

   Bundled locally, never from a CDN (see AGENTS.md, fonts). Two weights (400, 700), each split
   into a Cyrillic and a Latin subset; the browser downloads a subset only when the page uses a
   character in its unicode-range, so a Russian page with a Latin ear tag fetches both, an
   English page that never links this file fetches nothing. PT Sans has no Persian/Arabic digits,
   which is fine: ru keeps Western digits.

   Loaded only when lang == 'ru' (layout/base.html, fragments/theme :: assets for standalone
   pages). The url()s are relative so the content-hash resource chain rewrites them to the
   hashed font names like every other static link.

   PT Sans by ParaType (Alexandra Korolkova, Olga Umpeleva, Vladimir Yefimov), SIL Open Font
   License 1.1 (see fonts/OFL-PTSans.txt).
   ============================================================ */

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/explore/assets/9503de4dcabf36b0a715f1c2.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/explore/assets/5f81586551e5053bf4206d76.woff2") format("woff2");
    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: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/explore/assets/3259cd13d982525292f209bc.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/explore/assets/38d3aa3b6c9ccdc9af1bc44a.woff2") format("woff2");
    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;
}

/* Body text, form controls and the widgets that set a family of their own (same list as rtl.css). Bootstrap's
   own variables too, so components that read --bs-body-font-family follow. */
html[lang="ru"] {
    --font-ru: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-font-sans-serif: var(--font-ru);
    --bs-body-font-family: var(--font-ru);
}

html[lang="ru"],
html[lang="ru"] body,
html[lang="ru"] button,
html[lang="ru"] input,
html[lang="ru"] select,
html[lang="ru"] textarea,
html[lang="ru"] optgroup,
html[lang="ru"] .btn,
html[lang="ru"] .form-control,
html[lang="ru"] .form-select,
html[lang="ru"] .badge,
html[lang="ru"] .tooltip,
html[lang="ru"] .popover,
html[lang="ru"] .toast,
html[lang="ru"] .modal,
html[lang="ru"] table,
html[lang="ru"] .table {
    font-family: var(--font-ru);
}
