/* ==========================================================================
   Local webfonts — migrated from Divi-Child.

   These @font-face rules previously lived in the "Simple Custom CSS & JS"
   plugin (post ID 30) with hardcoded absolute URLs pointing at
   https://www.boydmetals.com/wp-content/themes/Divi-Child/...

   The font files now live inside this child theme and the URLs are relative,
   so deleting the Divi-Child folder will no longer break the fonts.

   NOTE: the original rules declared `format('ttf')`, which is invalid CSS —
   the correct keyword is `truetype`. Fixed here.
   ========================================================================== */

@font-face {
	font-family: 'Karla-Regular';
	src: url('../fonts/Karla-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Karla-Italic';
	src: url('../fonts/Karla-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Karla-Bold';
	src: url('../fonts/Karla-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Karla-BoldItalic';
	src: url('../fonts/Karla-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'plateia';
	src: url('../fonts/Plateia-Bold.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Also register a single "Karla" family. Parts of the legacy CSS reference
   `font-family: Karla` / `'Karla'` without a weight suffix; that used to
   resolve only via the Google Font. This gives it a local fallback too. */
@font-face {
	font-family: 'Karla';
	src: url('../fonts/Karla-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Karla';
	src: url('../fonts/Karla-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Karla';
	src: url('../fonts/Karla-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Karla';
	src: url('../fonts/Karla-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
