/* Shared profile typography for the public site and Gutenberg's content canvas. */
:root,
.editor-styles-wrapper {
	--fremia-font-heading: "lemonde-journal", "Palatino Linotype", Palatino, serif;
	--fremia-font-body: "trade-gothic-next", Arial, sans-serif;
	--fremia-caps-spacing: .02em;
	--bs-font-sans-serif: var(--fremia-font-body);
	--bs-body-font-family: var(--fremia-font-body);
}

body:not(.wp-admin),
.editor-styles-wrapper {
	font-family: var(--fremia-font-body);
	font-kerning: normal;
	line-height: 1.4;
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :is(button, input, select, textarea, .btn, .wp-block-button__link, .pagination, .lead, .fc-intro) {
	font-family: var(--fremia-font-body);
}

/* Fixed brand rules take precedence over older component font shorthands. */
:is(body:not(.wp-admin), .editor-styles-wrapper) :is(
	h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
	.fas-hero__subtitle, .fremia-live-result__title,
	.fremia-member-benefits-editor__title, .fremia-agreement-facts-editor__title
) {
	font-family: var(--fremia-font-heading) !important;
	font-style: normal !important;
	font-weight: 700 !important;
	font-kerning: normal;
	font-variant-numeric: oldstyle-nums tabular-nums;
	letter-spacing: normal;
	/* Slightly reduce the font's space glyph, leaving the letters themselves untracked. */
	word-spacing: -.03em;
	line-height: 1.15;
}
