/**
 * Theme font definitions.
 *
 * GeneratePress Premium's Font Library writes these rules to
 * uploads/generatepress/fonts/fonts.css, but that generated file can end up
 * empty on production (WEB-691), which turns form fields serif. Defining the
 * fonts here, with fallbacks, keeps the site's fonts working either way.
 *
 * The font files stay in uploads, where the Font Library put them.
 */

:root {
	--gp-font--open-sans: "Open Sans", Arial, sans-serif;
	--gp-font--copyright-c-h-co-typography-com: "Ideal San SS", "Open Sans", Arial, sans-serif;
}

/* Open Sans (variable font). */
@font-face {
	font-display: swap;
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	src: url('/app/uploads/generatepress/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2') format('woff2');
}

/* "Ideal San SS": same weights and files as the GeneratePress Font Library. */
@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: normal;
	font-weight: 400;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-Bold_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: normal;
	font-weight: 300;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-Light_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 400;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-BoldItalic_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 375;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-SemiboldItalic_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 350;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-MediumItalic_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 325;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-BookItalic_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 300;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-LightItalic_Web.woff') format('woff');
}

@font-face {
	font-display: swap;
	font-family: "Ideal San SS";
	font-style: italic;
	font-weight: 275;
	src: url('/app/uploads/generatepress/fonts/copyright-c-h-co-typography-com/IdealSansSSm-XLightItalic_Web.woff') format('woff');
}

/*
 * "HCo Ideal Sans SSm", the family the theme CSS uses, is registered with all
 * its weights in assets/css/footer.css. Don't redefine it here.
 */
