/*
 * Typography for the State Analysis CPT's single template
 * (templates/pages/page-vrl_state_analysis.twig). Self-contained: the fonts
 * and custom properties it needs are defined here rather than relying on
 * the active theme to define them, so this page's look doesn't depend on
 * which theme (or theme version) is active.
 *
 * Font files are the same "GT Super" family already used site-wide for
 * editorial body text (see votingrightslab.org's theme), copied into this
 * plugin's own assets/fonts/.
 */

@font-face {
	font-family: "GT Super Book";
	src: url("../fonts/GT-Super-Text-Book.woff2") format("woff2");
	font-style: normal;
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Super Book Italic";
	src: url("../fonts/GT-Super-Text-Book-Italic.woff2") format("woff2");
	font-style: normal;
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Super Bold";
	src: url("../fonts/GT-Super-Text-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Super Bold Italic";
	src: url("../fonts/GT-Super-Text-Bold-Italic.woff2") format("woff2");
	font-style: normal;
	font-weight: normal;
	font-display: swap;
}

.post-type-vrl_state_analysis__content {
	--ff-headings-serif: "GT Super Book", ui-serif, serif;
	--ff-headings-serif-italic: "GT Super Book Italic", ui-serif, serif;
	--ff-headings-serif-bold: "GT Super Bold", ui-serif, serif;
	--ff-headings-serif-bold-italic: "GT Super Bold Italic", ui-serif, serif;
	--editorial-body-line-height: 1.75;
}

.post-type-vrl_state_analysis__content em,
.post-type-vrl_state_analysis__content i:not(.mce-ico):not(.fa) {
	font-family: var(--ff-headings-serif-italic) !important;
	font-style: normal;
}

.post-type-vrl_state_analysis__content strong em,
.post-type-vrl_state_analysis__content strong i:not(.mce-ico):not(.fa),
.post-type-vrl_state_analysis__content b em,
.post-type-vrl_state_analysis__content b i:not(.mce-ico):not(.fa) {
	font-family: var(--ff-headings-serif-bold-italic) !important;
	font-style: normal;
	font-weight: normal;
}
