/* Consent Hero Accessibility Tools: page adjustments.
 * Every rule hangs off a class on <html> (hcm-a11y-*), so "Reset" is just
 * removing those classes. Our own elements carry .hcm-a11y-ui and are excluded. */

:root { --hcm-a11y-accent: #1a56db; }

/* Text: weight and spacing */
html.hcm-a11y-bold body :not(.hcm-a11y-ui) { font-weight: 700 !important; }

html.hcm-a11y-lh-1 body :not(.hcm-a11y-ui) { line-height: 1.6 !important; }
html.hcm-a11y-lh-2 body :not(.hcm-a11y-ui) { line-height: 1.9 !important; }
html.hcm-a11y-lh-3 body :not(.hcm-a11y-ui) { line-height: 2.2 !important; }

html.hcm-a11y-ls-1 body :not(.hcm-a11y-ui) { letter-spacing: .05em !important; }
html.hcm-a11y-ls-2 body :not(.hcm-a11y-ui) { letter-spacing: .1em !important; }
html.hcm-a11y-ls-3 body :not(.hcm-a11y-ui) { letter-spacing: .16em !important; }

html.hcm-a11y-ws-1 body :not(.hcm-a11y-ui) { word-spacing: .12em !important; }
html.hcm-a11y-ws-2 body :not(.hcm-a11y-ui) { word-spacing: .24em !important; }
html.hcm-a11y-ws-3 body :not(.hcm-a11y-ui) { word-spacing: .4em !important; }

html.hcm-a11y-al-left body :not(.hcm-a11y-ui) { text-align: left !important; }
html.hcm-a11y-al-center body :not(.hcm-a11y-ui) { text-align: center !important; }
html.hcm-a11y-al-right body :not(.hcm-a11y-ui) { text-align: right !important; }

/* Fonts. Icon fonts are left alone: they are set on <i>, *icon* classes
 * or on ::before, which these selectors never reach. */
html.hcm-a11y-dys body :not(.hcm-a11y-ui):not(i):not([class*="icon"]):not([class^="fa"]):not([class*=" fa"]):not([class*="dashicons"]):not(.material-icons) {
	font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Verdana", sans-serif !important;
}
html.hcm-a11y-readable body :not(.hcm-a11y-ui):not(i):not([class*="icon"]):not([class^="fa"]):not([class*=" fa"]):not([class*="dashicons"]):not(.material-icons) {
	font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important;
}

/* Highlights */
html.hcm-a11y-links body a:not(.hcm-a11y-ui),
html.hcm-a11y-links body button:not(.hcm-a11y-ui),
html.hcm-a11y-links body [role="button"]:not(.hcm-a11y-ui) {
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	outline: 2px solid #ffb400 !important;
	outline-offset: 2px !important;
}
html.hcm-a11y-heads body h1, html.hcm-a11y-heads body h2, html.hcm-a11y-heads body h3,
html.hcm-a11y-heads body h4, html.hcm-a11y-heads body h5, html.hcm-a11y-heads body h6,
html.hcm-a11y-heads body [role="heading"] {
	outline: 3px solid var(--hcm-a11y-accent) !important;
	outline-offset: 4px !important;
}
html.hcm-a11y-focus body :focus:not(.hcm-a11y-ui) {
	outline: 4px solid #ffb400 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 7px #0b0c0c !important;
}

/* Contrast themes (CSS only, no filter: a filter on html/body breaks
 * every position:fixed element such as sticky headers). */
html.hcm-a11y-c-dark, html.hcm-a11y-c-dark body,
html.hcm-a11y-c-dark body :not(.hcm-a11y-ui) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
}
html.hcm-a11y-c-dark body a:not(.hcm-a11y-ui), html.hcm-a11y-c-dark body a * { color: #ffe14d !important; }
html.hcm-a11y-c-dark body h1, html.hcm-a11y-c-dark body h2, html.hcm-a11y-c-dark body h3 { color: #7fd3ff !important; }

html.hcm-a11y-c-light, html.hcm-a11y-c-light body,
html.hcm-a11y-c-light body :not(.hcm-a11y-ui) {
	background-color: #fff !important;
	color: #111 !important;
	border-color: #111 !important;
}
html.hcm-a11y-c-light body a:not(.hcm-a11y-ui), html.hcm-a11y-c-light body a * { color: #0a3cbd !important; }

/* Big cursor */
html.hcm-a11y-cursor-dark, html.hcm-a11y-cursor-dark * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3v31l8-8 6 13 6-3-6-12h11z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}
html.hcm-a11y-cursor-light, html.hcm-a11y-cursor-light * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3v31l8-8 6 13 6-3-6-12h11z' fill='%23fff' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}

/* Stop motion. Durations go to almost zero (not "none"), so elements that
 * fade in still reach their final, visible state. */
html.hcm-a11y-anim *, html.hcm-a11y-anim *::before, html.hcm-a11y-anim *::after {
	animation-duration: .001ms !important;
	animation-delay: 0s !important;
	animation-iteration-count: 1 !important;
	transition-duration: .001ms !important;
	transition-delay: 0s !important;
	scroll-behavior: auto !important;
}
html.hcm-a11y-anim .elementor-invisible { visibility: visible !important; opacity: 1 !important; }
html.hcm-a11y-anim [data-aos] { opacity: 1 !important; transform: none !important; }

/* Hide images (space is kept, so the layout does not jump) */
html.hcm-a11y-img body img:not(.hcm-a11y-ui),
html.hcm-a11y-img body picture,
html.hcm-a11y-img body video,
html.hcm-a11y-img body [role="img"]:not(svg) { visibility: hidden !important; }
html.hcm-a11y-img body :not(.hcm-a11y-ui) { background-image: none !important; }

/* Our helpers that live in the page (outside the shadow root) */
.hcm-a11y-reading {
	outline: 3px solid #ffb400 !important;
	outline-offset: 2px !important;
	background-color: rgba(255, 180, 0, .18) !important;
}
#hcm-a11y-filter {
	position: fixed; inset: 0; pointer-events: none; z-index: 2147483600;
	background: transparent;
}
#hcm-a11y-guide {
	position: fixed; left: 0; right: 0; height: 12px; margin-top: -6px;
	background: rgba(255, 180, 0, .55); border-top: 2px solid #000; border-bottom: 2px solid #000;
	pointer-events: none; z-index: 2147483601;
}
.hcm-a11y-mask {
	position: fixed; left: 0; right: 0; background: rgba(0, 0, 0, .62);
	pointer-events: none; z-index: 2147483601;
}
#hcm-a11y-mag {
	position: fixed; max-width: min(520px, 90vw); padding: 12px 16px; border-radius: 10px;
	background: #111; color: #fff; font: 600 26px/1.35 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35); pointer-events: none; z-index: 2147483602;
	letter-spacing: normal; word-spacing: normal; text-align: left;
}
