/**
 * GCC Currency Symbols Pro
 *
 * unicode-range subsetting means this font only ever substitutes glyphs for
 * the three currency code points below -- every other character in the same
 * element keeps rendering in the site's normal font.
 *
 *   U+20C1  Saudi Riyal (the real, final Unicode code point)
 *   U+E001  UAE Dirham  (private-use placeholder, pending Unicode 18.0 / U+20C3)
 *   U+E900  Omani Rial  (private-use placeholder, pending Unicode 18.0 / U+20C4)
 */

@font-face {
	font-family: 'gcc-currencies';
	src: url('../fonts/gulf-currencies.eot');
	src: url('../fonts/gulf-currencies.eot') format('embedded-opentype'),
		url('../fonts/gulf-currencies.ttf') format('truetype'),
		url('../fonts/gulf-currencies.woff') format('woff'),
		url('../fonts/gulf-currencies.svg') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
	unicode-range: U+20C1, U+E001, U+E900;
}

/* Applied to the parent of any text node containing a Gulf currency symbol. */
.gcsp-currency {
	font-family: 'gcc-currencies', serif !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* wp-admin variant: inherits the admin UI font stack for everything except
   the three currency code points, which unicode-range still substitutes. */
.gcsp-currency-dashboard {
	font-family: 'gcc-currencies', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
