/*
 * troj-icons @font-face — enqueued site-wide, NON-lazy (see functions.php: 'troj-icons' style handle).
 * Hand-written (NOT compiled from src/scss) so the icon font never depends on the gulp/main.scss build.
 * Lives at assets/ root (NOT assets/css/, which is gitignored) so it is git-tracked, deploys, and
 * survives a fresh checkout — the durable, self-sufficient tofu guard.
 * Font files: wp-content/uploads/avia_fonts/troj-icons/ (installed once, gitignored).
 * URL is relative to THIS file: assets/ -> up 3 to wp-content -> uploads/avia_fonts/troj-icons.
 * Enfold ALSO emits this @font-face via avia_font_manager::load_font() (wp_head prio 2000); this file
 * is the belt-and-suspenders guarantee against the tofu trap (missing / lazy-only font CSS).
 */
@font-face {
	font-family: 'troj-icons';
	font-weight: normal;
	font-style: normal;
	font-display: block;
	src: url('../../../uploads/avia_fonts/troj-icons/troj-icons.woff2') format('woff2'),
	     url('../../../uploads/avia_fonts/troj-icons/troj-icons.woff') format('woff'),
	     url('../../../uploads/avia_fonts/troj-icons/troj-icons.ttf') format('truetype');
}

/* Enfold binds font-family on icon elements via these selectors (mirrors load_font() output). */
#top .avia-font-troj-icons,
body .avia-font-troj-icons,
html body [data-av_iconfont='troj-icons']:before {
	font-family: 'troj-icons';
}

/* Plain utility: put a glyph anywhere without the ALB, e.g. <span class="troj-icon">&#xE80B;</span> */
.troj-icon {
	font-family: 'troj-icons' !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
