/* Matrixat — enhanced Font Awesome 6 icon system */

body.mx-frontend svg.svg-inline--fa,
body.mx-admin svg.svg-inline--fa {
	display: inline-block;
	height: 1em;
	width: 1em;
	vertical-align: -0.125em;
	overflow: visible;
}

/* Tool cards */
body.mx-frontend .tool-icon-wrapper {
	padding: 0.85rem 0 0.85rem 0.85rem;
	flex-shrink: 0;
}

.mx-category-banner__chevron {
	transition: transform 0.2s ease;
}

body.mx-frontend .mx-tool-card .mx-tool-card__icon svg,
body.mx-frontend .mx-category-banner__icon svg {
	width: 1.3rem;
	height: 1.3rem;
}

body.mx-frontend .tool-icon-wrapper .tool-icon,
body.mx-frontend .mx-tool-icon {
	width: 3.25rem;
	height: 3.25rem;
	min-width: 3.25rem;
	border-radius: 1rem;
	border: 2px solid var(--mx-fa-border);
	box-shadow: var(--mx-shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.mx-frontend .tool-icon-wrapper .tool-icon svg,
body.mx-frontend .mx-tool-icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

body.mx-frontend .card.d-flex.flex-row.h-100:hover .tool-icon {
	transform: scale(1.05);
	box-shadow: var(--mx-shadow);
}

/* Category headers on tools list */
body.mx-frontend .card[data-category] .tool-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.85rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
}

body.mx-frontend .card[data-category] .tool-icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

/* Nav */
body.mx-frontend .mx-nav__links .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

body.mx-frontend .mx-nav__links .nav-link .mx-nav-icon {
	width: 1.1rem;
	text-align: center;
	opacity: 0.85;
}

body.mx-frontend .mx-nav__cta .btn svg {
	width: 0.95rem;
}

/* Stats */
body.mx-frontend .mx-stat__icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.65rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	border: 2px solid var(--mx-fa-navy);
	background: #fff;
	box-shadow: var(--mx-shadow-sm);
}

body.mx-frontend .mx-stat__icon--speed {
	background: rgba(250, 206, 18, 0.2);
	color: #ca8a04;
}

body.mx-frontend .mx-stat__icon--mobile {
	background: rgba(92, 225, 198, 0.25);
	color: #0f9a8a;
}

/* Search */
body.mx-frontend .mx-search__icon svg {
	width: 1.1rem;
	height: 1.1rem;
}

body.mx-frontend .mx-search-hit__icon svg {
	width: 1rem;
	height: 1rem;
}

/* Share */
body.mx-frontend .mx-share__btn svg {
	width: 1rem;
	height: 1rem;
}

/* Footer social */
body.mx-frontend footer .fa-lg {
	font-size: 1.15rem;
}

body.mx-frontend footer a:hover svg {
	transform: scale(1.12);
}

/* Breadcrumbs & tool page headings */
body.mx-tool-page .custom-breadcrumbs svg {
	width: 0.65rem;
	opacity: 0.5;
}

/* Buttons */
body.mx-frontend .btn svg.svg-inline--fa {
	margin-top: -0.1em;
}

/* Dropdown menu icons */
body.mx-frontend .dropdown-item svg,
body.mx-admin .dropdown-item svg {
	width: 0.95rem;
	opacity: 0.9;
}
