/* Font scaling - handled by JavaScript */

body.wcag-high-contrast {
	background: #000 !important;
	color: #fff !important;
}

body.wcag-high-contrast * {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
}

body.wcag-high-contrast a {
	color: #ffff00 !important;
	text-decoration: underline !important;
}

body.wcag-high-contrast img {
	filter: contrast(1.5) brightness(1.2);
}

body.wcag-increased-spacing {
	letter-spacing: 0.12em !important;
	word-spacing: 0.16em !important;
}

body.wcag-increased-spacing * {
	line-height: 2 !important;
	letter-spacing: 0.12em !important;
	word-spacing: 0.16em !important;
}

body.wcag-increased-spacing p {
	margin-bottom: 1.5em !important;
}

body.wcag-underline-links a {
	text-decoration: underline !important;
}

body.wcag-readable-font,
body.wcag-readable-font * {
	font-family: 'Arial', 'Helvetica', sans-serif !important;
}

body.wcag-stop-animations *,
body.wcag-stop-animations *::before,
body.wcag-stop-animations *::after {
	animation: none !important;
	transition: none !important;
	animation-play-state: paused !important;
	animation-duration: 0s !important;
	animation-delay: 0s !important;
	transition-duration: 0s !important;
	transition-delay: 0s !important;
	transform: none !important;
}

body.wcag-stop-animations *:hover,
body.wcag-stop-animations *:focus,
body.wcag-stop-animations *:active {
	animation: none !important;
	transition: none !important;
	transform: none !important;
}

body.wcag-stop-animations video,
body.wcag-stop-animations iframe {
	animation: none !important;
	transition: none !important;
}

body.wcag-stop-animations img[src$=".gif"] {
	opacity: 0.7;
	filter: grayscale(100%);
}

body.wcag-stop-animations .animated,
body.wcag-stop-animations [class*="animate"],
body.wcag-stop-animations [class*="fade"],
body.wcag-stop-animations [class*="slide"],
body.wcag-stop-animations [class*="bounce"],
body.wcag-stop-animations [class*="zoom"],
body.wcag-stop-animations [class*="rotate"],
body.wcag-stop-animations [class*="flip"],
body.wcag-stop-animations .elementor-invisible,
body.wcag-stop-animations [data-settings*="animation"] {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

body.wcag-highlight-links a {
	background: #ffff00 !important;
	color: #000 !important;
	padding: 2px 4px !important;
	border-radius: 3px !important;
}

.wcag-enhanced *:focus-visible {
	outline: 3px solid var(--wcag-focus-color, #0066cc) !important;
	outline-offset: 2px !important;
}
