/* Panel de ajustes de lectura — Faro. Con #faro-a11y delante: los estilos del kit de Elementor
   pintan todos los botones del sitio, y un id les gana. */
#faro-a11y {
	position: fixed;
	bottom: 20px;
	z-index: 2147483000;
	font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #1d2327;
}
#faro-a11y.faro-a11y-right {
	right: 20px;
}
#faro-a11y.faro-a11y-left {
	left: 20px;
}
#faro-a11y *,
#faro-a11y *::before,
#faro-a11y *::after {
	box-sizing: border-box;
	letter-spacing: normal;
	text-transform: none;
}
#faro-a11y .faro-a11y-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--faro-a11y-color);
	color: var(--faro-a11y-icon);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}
#faro-a11y .faro-a11y-toggle svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}
#faro-a11y .faro-a11y-dialog {
	position: absolute;
	bottom: 64px;
	right: 0;
	width: 300px;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding: 14px;
	border-radius: 12px;
	background: #fff;
	color: #1d2327;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
	text-align: left;
}
#faro-a11y.faro-a11y-left .faro-a11y-dialog {
	right: auto;
	left: 0;
}
#faro-a11y .faro-a11y-dialog[hidden] {
	display: none;
}
#faro-a11y .faro-a11y-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
#faro-a11y h2 {
	margin: 0;
	padding: 0;
	font: 700 17px/1.3 inherit;
	font-family: inherit;
	color: #1d2327;
}
#faro-a11y button {
	font: inherit;
	line-height: 1.3;
	color: #1d2327;
	box-shadow: none;
	text-decoration: none;
}
#faro-a11y .faro-a11y-close {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	font-size: 24px;
	cursor: pointer;
}
#faro-a11y .faro-a11y-text {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 10px;
}
#faro-a11y .faro-a11y-text span {
	flex: 1;
}
#faro-a11y .faro-a11y-text button {
	min-width: 44px;
	min-height: 40px;
	padding: 4px 8px;
	border: 2px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	font-weight: 700;
	cursor: pointer;
}
#faro-a11y .faro-a11y-text button:disabled {
	opacity: 0.4;
	cursor: default;
}
#faro-a11y output {
	min-width: 48px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
#faro-a11y .faro-a11y-opt {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 6px 0;
	padding: 10px 12px 10px 38px;
	border: 2px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	position: relative;
}
#faro-a11y .faro-a11y-opt::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
}
#faro-a11y .faro-a11y-opt[aria-pressed="true"] {
	border-color: var(--faro-a11y-color);
	font-weight: 600;
}
#faro-a11y .faro-a11y-opt[aria-pressed="true"]::before {
	border-color: var(--faro-a11y-color);
	background: var(--faro-a11y-color);
	box-shadow: inset 0 0 0 3px #fff;
}
#faro-a11y .faro-a11y-reset {
	width: 100%;
	min-height: 44px;
	margin: 10px 0 4px;
	padding: 10px 12px;
	border: 2px solid var(--faro-a11y-color);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#faro-a11y .faro-a11y-statement {
	display: block;
	margin: 8px 0 4px;
	color: #1d4ed8;
	text-decoration: underline;
}
#faro-a11y .faro-a11y-note {
	margin: 6px 0 0;
	font-size: 12px;
	color: #50575e;
}
#faro-a11y button:focus-visible,
#faro-a11y a:focus-visible,
#faro-a11y h2:focus-visible {
	outline: 3px solid var(--faro-a11y-color) !important;
	outline-offset: 2px !important;
}
@media print {
	#faro-a11y {
		display: none;
	}
}

/* ---- Los ajustes: una clase en <html> cada uno ---- */

html.faro-a11y-contrast,
html.faro-a11y-contrast body {
	background: #000 !important;
}
html.faro-a11y-contrast body *:not(#faro-a11y):not(#faro-a11y *) {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.faro-a11y-contrast body a:not(#faro-a11y *),
html.faro-a11y-contrast body a:not(#faro-a11y *) * {
	color: #ffeb3b !important;
}
html.faro-a11y-contrast body svg:not(#faro-a11y *) {
	fill: currentColor;
}

html.faro-a11y-links body a:not(#faro-a11y *) {
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
}

html.faro-a11y-font body *:not(#faro-a11y *):not(i):not(.dashicons):not([class*="icon"]):not([class*="fa-"]):not([class^="fa"]) {
	font-family: Verdana, Tahoma, Arial, sans-serif !important;
}

html.faro-a11y-spacing body *:not(#faro-a11y *) {
	line-height: 1.8 !important;
	letter-spacing: 0.04em !important;
	word-spacing: 0.1em !important;
}
html.faro-a11y-spacing body p:not(#faro-a11y *) {
	margin-bottom: 1.5em !important;
}

html.faro-a11y-still *,
html.faro-a11y-still *::before,
html.faro-a11y-still *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}
html.faro-a11y-still .elementor-invisible {
	visibility: visible !important;
}

html.faro-a11y-focus body *:focus {
	outline: 3px solid #f59e0b !important;
	outline-offset: 3px !important;
}
