/*
 * Latin identifier face for member profile certificate codes.
 *
 * Montserrat (SIL OFL 1.1 — see ../fonts/Montserrat-OFL.txt) is subset to Basic
 * Latin and self-hosted. Only the profile template links this stylesheet, so no
 * other page requests these faces. Do not move these faces into css/fonts.css.
 *
 * The Persian UI face (YekanBakhFaNum) draws ASCII digits with Persian numeral
 * glyphs. A certificate identifier is a literal Latin code, so it stays on the
 * Latin face while the surrounding Persian prose keeps the body face.
 * The monospace fallback is deliberate: it also renders ASCII digits literally,
 * so a failed font request never reintroduces Persian numeral glyphs.
 * See docs/architecture/typography-policy.md.
 */
@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Regular.d3a0ee9df37f.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-SemiBold.9d282bed3817.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* The identifier sits inside a link, which renders at weight 600. */
.certificate-code {
    font-family: 'Montserrat', var(--font-mono);
}

.certificate-grade {
    font-family: 'Montserrat', var(--font-mono);
}
