/**
 * CDA — Fira Sans site-wide
 *
 * Loaded last on front and in the block editor so Bootstrap / Understrap
 * system stacks (-apple-system, Roboto, Arial…) do not win.
 */

:root {
	--cda-font-sans: "Fira Sans", sans-serif;
	--wp--preset--font-family--fira-sans: "Fira Sans", sans-serif;
}

html,
body,
button,
input,
select,
optgroup,
textarea,
.btn,
.form-control,
.custom-select,
.dropdown-menu,
.navbar,
.nav,
.card,
.modal,
.alert,
.tooltip,
.popover,
.list-group,
.breadcrumb,
.pagination,
.table,
.wp-site-blocks,
.wp-block-post-content,
.entry-content,
.site-main,
.wp-block-button__link,
.wp-element-button,
.editor-styles-wrapper,
.editor-styles-wrapper body,
.block-editor-iframe__body,
.block-editor-block-list__layout {
	font-family: var(--cda-font-sans);
}

/* Headings inherit Fira (theme.json + legacy Bootstrap resets). */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
	font-family: var(--cda-font-sans);
}

/* Keep monospace stacks intact (do not force Fira on code). */
code,
kbd,
pre,
samp,
.wp-block-code,
.wp-block-preformatted {
	font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
