/*
 * Skrifttype: Inter (SIL OFL 1.1, se fonts/inter/LICENSE.txt), samme som udir.no og core.
 * Hostes selv, så ingen besøkendes IP-adresse sendes til Google Fonts. Én variabel fil
 * per stil dekker vektene 100–900.
 *
 * Fontnavnet brukes bare via --feide-font. Ikke skriv «Inter» direkte i annen CSS.
 * Luma setter Open Sans på body, knapper og skjemafelt, og styles-m/l.css lastes etter
 * denne fila. Derfor har selektorene under litt høyere spesifisitet enn Lumas.
 */

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

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

:root {
    --feide-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html body,
html body button,
html body input[type],
html body input:not([type]),
html body select,
html body textarea,
html body blockquote,
html body h1 small,
html body .action.primary,
html body .cms-content-important,
html body .file-uploader-button,
html body .fieldset > .field .addon .addbefore {
    font-family: var(--feide-font);
}
