/*
 * Phosphor Line custom font + Divi 5 icon-picker integration.
 *
 * Codepoints: U+F4200-F47E7 — Supplementary PUA-A (1512 icons, spans several 0x200
 * blocks contiguously). THREE-WEIGHT FAMILY (200/400/700), same codepoints per
 * weight; font-weight selects the file for the standalone `phosphor-line` family and
 * the composed `ETmodules` family. JSON carries one picker entry per (icon,
 * weight). Sources normalised from the Phosphor 256-viewBox set to our 180 box
 * + 2/4/6 stroke; generated from src/fonts/phosphor-line/{thin,regular,bold}/ by
 * scripts/regen-font.py. slug `phosphor-line` (kebab) -> internal Divi type `phosphor_line`.
 *
 * No FontAwesome redeclaration — see sibling CSS.
 */

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

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

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

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

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

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

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

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

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

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

.ds-divi-icon-phosphor-line {
	font-family: 'phosphor-line' !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;
}
