/* Shared self-hosted typography for the website, Admin and TinyMCE documents. */
@font-face {
    font-family: "UTM Avo";
    src: url("../fonts/UTM-Avo/UTMAvo.woff2") format("woff2"),
         url("../fonts/UTM-Avo/UTMAvo.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "UTM Avo";
    src: url("../fonts/UTM-Avo/UTMAvoBold.woff2") format("woff2"),
         url("../fonts/UTM-Avo/UTMAvoBold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "UTM Avo";
    src: url("../fonts/UTM-Avo/UTMAvo-Italic.woff2") format("woff2"),
         url("../fonts/UTM-Avo/UTMAvo-Italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "UTM Avo";
    src: url("../fonts/UTM-Avo/UTMAvo-BoldItalic.woff2") format("woff2"),
         url("../fonts/UTM-Avo/UTMAvo-BoldItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --font-brand: "UTM Avo", "Segoe UI", Arial, sans-serif;
    --bs-body-font-family: var(--font-brand);
}

body, button, input, select, textarea {
    font-family: var(--font-brand);
}

/* TinyMCE's UI has its own font declarations; its icons are SVGs. */
.tox.tox-tinymce, .tox :is(button, input, select, textarea, label, span, div, a) {
    font-family: var(--font-brand) !important;
}
