/*
 * Education custom font + Divi 5 icon-picker integration.
 *
 * Codepoints: U+F3800-F381D — Supplementary PUA-A. THREE-WEIGHT FAMILY (200/400/700),
 * same codepoints per weight. font-weight selects the file for both the
 * standalone `education` family and the composed `ETmodules` family. JSON carries
 * one picker entry per (icon, weight). Generated from
 * src/fonts/education/{thin,regular,bold}/ by scripts/regen-font.py.
 *
 * No FontAwesome redeclaration — see sibling CSS.
 */

@font-face {
	font-family: 'education';
	src: url('../fonts/education-thin.woff2?v=1') format('woff2'),
		url('../fonts/education-thin.woff?v=1') format('woff'),
		url('../fonts/education-thin.ttf?v=1') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'education';
	src: url('../fonts/education.woff2?v=1') format('woff2'),
		url('../fonts/education.woff?v=1') format('woff'),
		url('../fonts/education.ttf?v=1') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'education';
	src: url('../fonts/education-bold.woff2?v=1') format('woff2'),
		url('../fonts/education-bold.woff?v=1') format('woff'),
		url('../fonts/education-bold.ttf?v=1') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/education-thin.woff2?v=1') format('woff2'),
		url('../fonts/education-thin.woff?v=1') format('woff'),
		url('../fonts/education-thin.ttf?v=1') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: block;
	unicode-range: U+20, U+F3800-F381D;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/education.woff2?v=1') format('woff2'),
		url('../fonts/education.woff?v=1') format('woff'),
		url('../fonts/education.ttf?v=1') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: block;
	unicode-range: U+F3800-F381D;
}

@font-face {
	font-family: 'ETmodules';
	src: url('../fonts/education-bold.woff2?v=1') format('woff2'),
		url('../fonts/education-bold.woff?v=1') format('woff'),
		url('../fonts/education-bold.ttf?v=1') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: block;
	unicode-range: U+20, U+F3800-F381D;
}

.et-vb-icon-picker-list button[data-type="education"]::after,
.et-vb-icon-picker-list button[data-type="education"]::before {
	font-family: 'education' !important;
}

.et-vb-icon-picker-list button[data-type="education"][data-font-weight="200"]::after,
.et-vb-icon-picker-list button[data-type="education"][data-font-weight="200"]::before {
	font-weight: 200 !important;
}

.et-vb-icon-picker-list button[data-type="education"][data-font-weight="400"]::after,
.et-vb-icon-picker-list button[data-type="education"][data-font-weight="400"]::before {
	font-weight: 400 !important;
}

.et-vb-icon-picker-list button[data-type="education"][data-font-weight="700"]::after,
.et-vb-icon-picker-list button[data-type="education"][data-font-weight="700"]::before {
	font-weight: 700 !important;
}

.ds-divi-icon-education {
	font-family: 'education' !important;
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
