/**
 * KnowYourMobile typography roles.
 * Display/interface: Hanken Grotesk. Reading copy: Source Serif 4.
 * Technical text: platform monospace.
 */
:root,
body,
.editor-styles-wrapper {
	--kym-font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--kym-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--kym-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	--wp--preset--font-family--primary: var(--kym-font-sans);
	--wp--preset--font-family--condensed: var(--kym-font-sans);
	--wp--preset--font-family--expanded: var(--kym-font-sans);
	--wp--preset--font-family--narrow: var(--kym-font-sans);
	--wp--preset--font-family--roboto-serif: var(--kym-font-serif);
	--wp--preset--font-family--monospace: var(--kym-font-mono);
}

body,
.editor-styles-wrapper {
	font-family: var(--kym-font-sans);
}

:where(h1, h2, h3, h4, h5, h6),
:where(header, nav, button, input, select, textarea, label),
:where(.wp-element-button, .wp-block-button__link, .wp-block-navigation, .wp-block-post-title),
:where([class*="button"], [class*="btn"], [class*="label"], [class*="badge"], [class*="kicker"], [class*="eyebrow"]) {
	font-family: var(--kym-font-sans) !important;
}

:where(.kym-post-content, .entry-content, .wp-block-post-content) :where(p, blockquote, figcaption, td),
:where(.kym-post-content, .entry-content, .wp-block-post-content) .wp-block-list li,
.rrs-article-body :where(p, blockquote, figcaption, li, td),
.kym-editorial-page :where(.prose, .article-copy, blockquote) :where(p, li, figcaption),
.kym-mobile-hub :where(.lede, .why-copy p, .founder-note blockquote, .ownership > div > p, .ranked-copy > p:not(.ranked-mark), .grade-note) {
	font-family: var(--kym-font-serif) !important;
}

:where(code, pre, kbd, samp, var),
.wp-block-code,
.wp-block-preformatted {
	font-family: var(--kym-font-mono) !important;
}
