/*
 * Carlito – self-hosted web font (SIL Open Font License 1.1, see ../fonts/carlito/OFL.txt).
 * Carlito is metric-compatible with Microsoft Calibri, so Calibri is used as the
 * first fallback while the web font loads (Windows/Office machines have it).
 */
@font-face {
	font-family: "Carlito";
	src: url("../fonts/carlito/Carlito-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Carlito";
	src: url("../fonts/carlito/Carlito-Italic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Carlito";
	src: url("../fonts/carlito/Carlito-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Carlito";
	src: url("../fonts/carlito/Carlito-BoldItalic.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--sfbwd-font-family: "Carlito", Calibri, "Segoe UI", Arial, sans-serif;
}

/* Base: everything not styled by the Elementor kit (theme markup, forms, plugins). */
html,
body,
button,
input,
optgroup,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
	font-family: var(--sfbwd-font-family);
}

/* Third-party UI that ships its own font stack: CookieYes banner & WP Go Maps.
   Text elements only, icon-font elements (.fa / fa-*, dashicons) are left alone. */
.cky-consent-container,
.cky-modal,
.cky-btn-revisit-wrapper,
.wpgmza_map,
.wpgmza-standalone-component,
:is(.cky-consent-container, .cky-modal, .wpgmza_map, .wpgmza-standalone-component)
	:is(p, a, span, div, li, button, label, input, select, textarea, h1, h2, h3, h4, h5, h6, strong, em, td, th)
	:not(.fa):not([class*="fa-"]):not([class*="dashicons"]) {
	font-family: var(--sfbwd-font-family) !important;
}
