/**
 * Minimal Font Awesome replacement for the front end: only the ~19 icons
 * actually used anywhere in Glansco content (grep every `icon="fa fa-*"` /
 * `badge_icon="fa fa-*"` across inc/, demo-content/content.php, and the live
 * DB to get the exact list — see class-shared-fields.php's
 * enqueue_icon_font()). Same @font-face files as WPBakery's bundled Font
 * Awesome Free 6 (not duplicated, referenced directly), same class names/
 * codepoints (extracted straight from all.min.css/v4-shims.min.css so
 * rendering is pixel-identical) — just without the ~2,000 unused icons'
 * worth of CSS rules. Confirmed via Lighthouse's "Reduce unused CSS" audit:
 * this cut ~92KB down to under 2KB.
 *
 * If a new icon is ever used that isn't in the list below, either add its
 * rule here (copy it from all.min.css/v4-shims.min.css) or temporarily swap
 * enqueue_icon_font() back to the full vendor files.
 */
@font-face {
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url( "../../../../../plugins/js_composer/assets/lib/vendor/dist/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2" ) format( "woff2" );
}

@font-face {
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url( "../../../../../plugins/js_composer/assets/lib/vendor/dist/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2" ) format( "woff2" );
}

.fa {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.fa:before {
	content: var( --fa );
}

/* Solid style (default weight 900, inherited from .fa above). */
.fa-briefcase { --fa: "\f0b1"; }
.fa-building { --fa: "\f1ad"; }
.fa-calendar { --fa: "\f073"; }
.fa-check-circle { --fa: "\f058"; }
.fa-comments { --fa: "\f086"; }
.fa-envelope { --fa: "\f0e0"; }
.fa-flask { --fa: "\f0c3"; }
.fa-heart { --fa: "\f004"; }
.fa-home { --fa: "\f015"; }
.fa-magic { --fa: "\e2ca"; }
.fa-map-marker { --fa: "\f3c5"; }
.fa-phone { --fa: "\f095"; }
.fa-shield { --fa: "\f132"; }
.fa-star { --fa: "\f005"; }
.fa-users { --fa: "\f0c0"; }

/* Regular/"outline" style (FA4 "-o" suffix), needs the 400-weight font. */
.fa-clock-o,
.fa-file-text-o,
.fa-handshake-o,
.fa-thumbs-o-up {
	font-weight: 400;
}
.fa-clock-o { --fa: "\f017"; }
.fa-file-text-o { --fa: "\f15c"; }
.fa-handshake-o { --fa: "\f2b5"; }
.fa-thumbs-o-up { --fa: "\f164"; }
