/* Weierken typography system 1.3.3
   One locally hosted family across headings, body copy, navigation and forms. */

@font-face {
    font-family: "Weierken Sans";
    src: url("../fonts/InterVariable.woff2") format("woff2-variations"),
         url("../fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Weierken Sans";
    src: url("../fonts/InterVariable-Italic.woff2") format("woff2-variations"),
         url("../fonts/InterVariable-Italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --weierken-font: "Weierken Sans", Inter, "Helvetica Neue", Arial, sans-serif;
    --we3-display: var(--weierken-font);
    --we3-body: var(--weierken-font);
}

html {
    font-family: var(--weierken-font);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea,
option,
.site-header,
main,
.site-footer {
    font-family: var(--weierken-font);
}

.site-header :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, em, small, li, label, button),
main :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, em, small, li, dt, dd, th, td, label, button, input, select, textarea, option, summary, figcaption, blockquote, cite, address, time),
.site-footer :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, em, small, li, label, button, input, select, textarea) {
    font-family: var(--weierken-font) !important;
}

input::placeholder,
textarea::placeholder {
    font-family: var(--weierken-font);
}

/* Keep WordPress interface icons intact when an administrator views the site. */
.dashicons,
.dashicons-before::before,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before {
    font-family: dashicons !important;
}
