/* MDUI names these font families in its icon shadow DOM. They share one font file. */
@font-face {
	font-family: "Material Icons Outlined";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-display: block;
}

@font-face {
	font-family: "Material Icons Round";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-display: block;
}

@font-face {
	font-family: "Material Icons Sharp";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-display: block;
}

@font-face {
	font-family: "Material Icons Two Tone";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-display: block;
}

@font-face {
	font-family: "Material Icons";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-display: block;
}

@font-face {
	font-family: "Material Symbols Outlined";
	src: url("fonts/MaterialSymbolsOutlined-FILL.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: block;
}

:where(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, .material-icons-outlined, .material-icons-round, .material-icons-sharp, .material-icons-two-tone) {
	display: inline-block;
	font: normal 24px/1 "Material Symbols Outlined";
	font-feature-settings: "liga";
	letter-spacing: normal;
	text-transform: none;
	direction: ltr;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-font-smoothing: antialiased;
}

.main-menu :is(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, .material-icons-outlined, .material-icons-round, .material-icons-sharp, .material-icons-two-tone) {
	font-size: 19px;
}

:where(.desktop-nav, #navigation) .main-menu a :where(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, .material-icons-outlined, .material-icons-round, .material-icons-sharp, .material-icons-two-tone) {
	font-variation-settings: "FILL" var(--nav-icon-fill, 0);
}

:where(.desktop-nav, #navigation) .main-menu :is(
	li:is(.current-menu-item, .current_page_item, .current-menu-parent, .current_page_parent, .current-menu-ancestor, .current_page_ancestor) > a,
	a[aria-current="page"]
) {
	--nav-icon-fill: 1;
}

@media (prefers-reduced-motion: no-preference) {
	:where(.desktop-nav, #navigation) .main-menu a :where(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, .material-icons-outlined, .material-icons-round, .material-icons-sharp, .material-icons-two-tone) {
		transition: font-variation-settings 180ms var(--motion-standard);
	}
}
