@font-face {
    font-family: "Eventhacker Display";
    src: url("/assets/fonts/eventhacker-display-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url("/assets/fonts/montserrat-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Standalone pages retain their layout while sharing the NATO-Check font mapping. */
:root {
    --font-display: "Eventhacker Display", Montserrat, Arial, sans-serif;
    --font-body: Montserrat, Arial, Helvetica, sans-serif;
    --font-sans: Montserrat, Arial, Helvetica, sans-serif;
}

body,
body :where(p, a, li, dt, dd, label, input, button, select, textarea, table, th, td,
    figcaption, blockquote, summary, small, nav, .lead, .meta, .eyebrow) {
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
}

body :is(h1, h2, h3, h4, h5, h6, .brand, .wordmark),
body :is(h1, h2, h3, h4, h5, h6, .wordmark) :where(a, span, strong, em, b) {
    font-family: "Eventhacker Display", Montserrat, Arial, sans-serif !important;
    font-weight: 700;
    font-synthesis: none;
    overflow-wrap: anywhere;
}

/* Keep technical examples and compact brand subtitles readable. */
body :is(pre, code, kbd, samp),
body :is(pre, code, kbd, samp) * {
    font-family: ui-monospace, monospace !important;
}

body .brand small {
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
}
