@font-face {
	font-family: "SourceSansPro";
	src: url("../fonts/SourceSansPro-ExtraLight.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "SourceSansPro";
	src: url("../fonts/SourceSansPro-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "SourceSansPro";
	src: url("../fonts/SourceSansPro-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "SourceSansPro";
	src: url("../fonts/SourceSansPro-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

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

@font-face {
	font-family: "SourceSansPro";
	src: url("../fonts/SourceSansPro-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "TenorSans";
	src: url("../fonts/TenorSans-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/*
 * thim-core outputs --thim-font_title-font-family empty on this site, so
 * every selector in the parent theme that reads it via var() (nav menu
 * links, LearnPress course/tab titles, comment author line, etc.) silently
 * falls back to the inherited body font instead of the title font. Setting
 * it here makes all of those resolve to TenorSans too, not just h1-h6.
 */
:root {
	--thim-font_title-font-family: "TenorSans", sans-serif;
}

/*
 * Force the self-hosted fonts regardless of the theme_mods_edu-press-child
 * "font_body"/"font_title" customizer values (which may still say the
 * Google-Fonts-downloaded "Source Sans Pro" on a site where that setting
 * wasn't also updated). !important is deliberate here: this must win over
 * thim-core's dynamically generated customizer CSS without depending on
 * stylesheet load order.
 */
body {
	font-family: "SourceSansPro", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "TenorSans", sans-serif !important;
}
