/*
 * Self-hosted fonts and icon fonts (latin subset, woff2, font-display: swap).
 *
 * Replaces the Google Fonts @imports that used to sit at the top of custom.css,
 * the parent theme's Montserrat / Open Sans request, the Line Awesome CDN
 * stylesheet and the SiteOrigin Ionicons stylesheet.
 *
 * Icon fonts are cut down to the glyphs the site uses. Adding a new Line Awesome
 * icon to the markup needs its class rule below and a rebuilt subset font
 * (see the client CLAUDE.md). Ionicons fall back to the full font for any glyph
 * outside the subset, so new SiteOrigin icons keep working.
 */

/* Text fonts */
@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/work-sans-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/poppins-400-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/poppins-600-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/poppins-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/roboto-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/roboto-italic-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/montserrat-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Line Awesome 1.3.0: only the icons used on the site */
@font-face {
	font-family: 'Line Awesome Free';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url(../fonts/la-solid-900-subset.woff2) format('woff2');
}
@font-face {
	font-family: 'Line Awesome Brands';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(../fonts/la-brands-400-subset.woff2) format('woff2');
}
.la, .lab, .las {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}
.la, .las { font-family: 'Line Awesome Free'; font-weight: 900; }
.lab { font-family: 'Line Awesome Brands'; font-weight: 400; }
.la-envelope:before { content: '\f0e0'; }
.la-facebook:before { content: '\f09a'; }
.la-map-marked:before { content: '\f59f'; }
.la-phone:before { content: '\f095'; }
.la-phone-volume:before { content: '\f2a0'; }

/* SiteOrigin Ionicons: accordion plus/minus from the subset, anything else from the full font */
@font-face {
	font-family: 'sow-ionicons';
	font-style: normal;
	font-weight: normal;
	font-display: block;
	src: url(/wp-content/plugins/so-widgets-bundle/icons/ionicons/font/ionicons.woff) format('woff');
	unicode-range: U+F100-F208, U+F20A-F217, U+F219-F4FF;
}
@font-face {
	font-family: 'sow-ionicons';
	font-style: normal;
	font-weight: normal;
	font-display: block;
	src: url(../fonts/ionicons-subset.woff2) format('woff2');
	unicode-range: U+F209, U+F218;
}
.sow-icon-ionicons {
	display: inline-block;
	font-family: 'sow-ionicons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	text-rendering: auto;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.sow-icon-ionicons[data-sow-icon]:before {
	content: attr(data-sow-icon);
}
