/**
 * WCAG-Uniguajira — estilo visual tipo UserWay, paleta Uniguajira.
 */

:root {
	--ug-wcag-primary: #62a9b6;
	--ug-wcag-primary-dark: #4f95a2;
	--ug-wcag-primary-soft: #e8f4f6;
	--ug-wcag-header: #62a9b6;
	--ug-wcag-secondary: #cc5e50;
	--ug-wcag-text: #03090f;
	--ug-wcag-muted: #4a5560;
	--ug-wcag-surface: #eef3f4;
	--ug-wcag-card: #ffffff;
	--ug-wcag-border: rgba(3, 9, 15, 0.08);
	--ug-wcag-shadow: 0 16px 48px rgba(3, 9, 15, 0.22);
	--ug-wcag-z: 99980;
	--ug-wcag-font-readable: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

/* ── Contenedor flotante ─────────────────────────────────────── */

.ug-wcag-root {
	position: fixed;
	z-index: var(--ug-wcag-z);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.35;
	color: var(--ug-wcag-text);
	isolation: isolate;
	filter: none !important;
}

/* El tema WP/GP pinta button[aria-pressed=true] en blanco — forzar legibilidad */
.ug-wcag-root .ug-wcag-card,
.ug-wcag-root .ug-wcag-card__label {
	color: var(--ug-wcag-text) !important;
}

.ug-wcag-root .ug-wcag-card__icon,
.ug-wcag-root .ug-wcag-card__svg {
	color: var(--ug-wcag-text) !important;
}

.ug-wcag-root .ug-wcag-card:hover,
.ug-wcag-root .ug-wcag-card:focus,
.ug-wcag-root .ug-wcag-card--active,
.ug-wcag-root .ug-wcag-card[aria-pressed="true"] {
	color: var(--ug-wcag-text) !important;
}

.ug-wcag-root .ug-wcag-card--active .ug-wcag-card__label,
.ug-wcag-root .ug-wcag-card[aria-pressed="true"] .ug-wcag-card__label {
	color: var(--ug-wcag-text) !important;
}

.ug-wcag-root--bottom-left {
	left: var(--ug-wcag-offset, 20px);
	bottom: var(--ug-wcag-offset, 20px);
}

.ug-wcag-root--bottom-right {
	right: var(--ug-wcag-offset, 20px);
	bottom: var(--ug-wcag-offset, 20px);
}

.ug-wcag-root--hidden .ug-wcag-trigger {
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
}

.ug-wcag-root--hidden .ug-wcag-panel {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
}

/* Botón flotante (círculo teal como UserWay) */
.ug-wcag-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ug-wcag-primary);
	color: #fff;
	box-shadow: var(--ug-wcag-shadow);
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

.ug-wcag-trigger:hover {
	background: var(--ug-wcag-primary-dark);
	transform: scale(1.04);
}

.ug-wcag-trigger:focus-visible {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 3px;
}

.ug-wcag-trigger__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ug-wcag-trigger__icon {
	display: flex;
	line-height: 0;
}

/* ── Panel principal ─────────────────────────────────────────── */

.ug-wcag-panel {
	position: absolute;
	bottom: calc(100% + 0.85rem);
	width: min(22.5rem, calc(100vw - 1.5rem));
	max-height: min(78vh, 36rem);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: var(--ug-wcag-surface);
	box-shadow: var(--ug-wcag-shadow);
}

.ug-wcag-panel--large {
	width: min(26rem, calc(100vw - 1rem));
	max-height: min(86vh, 42rem);
}

.ug-wcag-root--bottom-left .ug-wcag-panel {
	left: 0;
}

.ug-wcag-root--bottom-right .ug-wcag-panel {
	right: 0;
}

.ug-wcag-panel[hidden] {
	display: none !important;
}

/* Cabecera teal con título negro (UserWay) */
.ug-wcag-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.85rem 0.85rem 1rem;
	background: var(--ug-wcag-header);
	border-radius: 16px 16px 0 0;
}

.ug-wcag-panel__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--ug-wcag-text);
}

.ug-wcag-panel__shortcut {
	font-weight: 700;
}

.ug-wcag-panel__close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 3px solid rgba(255, 255, 255, 0.65);
	border-radius: 999px;
	background: #1a2830;
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.ug-wcag-panel__close:focus-visible {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 2px;
}

/* Barra toggle “widget grande” */
.ug-wcag-panel__toolbar {
	padding: 0.65rem 0.85rem 0;
}

.ug-wcag-large-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ug-wcag-text);
	cursor: pointer;
}

.ug-wcag-large-toggle input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ug-wcag-large-toggle__track {
	position: relative;
	width: 2.75rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #1a2830;
	transition: background 0.15s ease;
}

.ug-wcag-large-toggle__track::after {
	content: "";
	position: absolute;
	top: 0.15rem;
	left: 0.15rem;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 999px;
	background: #fff;
	transition: transform 0.15s ease;
}

.ug-wcag-large-toggle input:checked + .ug-wcag-large-toggle__track {
	background: var(--ug-wcag-primary-dark);
}

.ug-wcag-large-toggle input:checked + .ug-wcag-large-toggle__track::after {
	transform: translateX(1.25rem);
}

.ug-wcag-large-toggle input:focus-visible + .ug-wcag-large-toggle__track {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 2px;
}

/* Cuerpo scrollable con cuadrícula 2 columnas */
.ug-wcag-panel__body {
	flex: 1 1 auto;
	overflow: auto;
	padding: 0.65rem 0.85rem 0.85rem;
}

.ug-wcag-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.ug-wcag-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 6.5rem;
	padding: 0.65rem 0.45rem;
	border: 0;
	border-radius: 12px;
	background: var(--ug-wcag-card);
	box-shadow: 0 2px 8px rgba(3, 9, 15, 0.06);
	color: var(--ug-wcag-text);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.12s ease, transform 0.12s ease, background 0.12s ease;
}

.ug-wcag-card:hover {
	box-shadow: 0 4px 14px rgba(3, 9, 15, 0.1);
	transform: translateY(-1px);
}

.ug-wcag-card:focus-visible {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 2px;
}

.ug-wcag-card--active,
.ug-wcag-card[aria-pressed="true"] {
	background: var(--ug-wcag-primary-soft);
	color: var(--ug-wcag-text) !important;
	box-shadow: inset 0 0 0 2px var(--ug-wcag-primary);
}

.ug-wcag-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--ug-wcag-text);
}

.ug-wcag-card__svg {
	display: block;
}

.ug-wcag-card__label {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.ug-wcag-card__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	width: 100%;
	max-width: 4.25rem;
	min-height: 0.35rem;
	margin-top: 0.1rem;
}

.ug-wcag-card__bar {
	flex: 1 1 0;
	max-width: 1.35rem;
	height: 0.28rem;
	border-radius: 999px;
	background: rgba(3, 9, 15, 0.14);
	transition: background 0.15s ease, transform 0.15s ease;
}

.ug-wcag-card__bar.is-filled {
	background: var(--ug-wcag-primary);
}

.ug-wcag-card--active .ug-wcag-card__bar.is-filled,
.ug-wcag-card[aria-pressed="true"] .ug-wcag-card__bar.is-filled {
	background: var(--ug-wcag-primary-dark);
}

.ug-wcag-card--link {
	color: inherit;
}

/* UserWay s12 — tooltips de información */
.ug-wcag-s12-tooltip {
	position: absolute;
	z-index: 2147483645;
	max-width: min(33vw, 320px);
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	background: var(--ug-wcag-text);
	color: #fff;
	font: 500 0.875rem/1.35 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	box-shadow: 0 8px 24px rgba(3, 9, 15, 0.28);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.1s ease-in-out;
}

.ug-wcag-s12-tooltip.is-visible {
	opacity: 1;
}

.ug-wcag-panel__footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	margin-top: 0.65rem;
}

.ug-wcag-panel__footer-link {
	color: var(--ug-wcag-primary-dark);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.ug-wcag-panel__footer-link:hover,
.ug-wcag-panel__footer-link:focus-visible {
	color: var(--ug-wcag-secondary);
}

/* Botón restablecer ancho completo (UserWay) */
.ug-wcag-reset-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	margin-top: 0.65rem;
	padding: 0.85rem 1rem;
	border: 0;
	border-radius: 12px;
	background: var(--ug-wcag-primary);
	color: var(--ug-wcag-text);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(3, 9, 15, 0.08);
}

.ug-wcag-reset-all:hover {
	background: #7eb9c4;
}

.ug-wcag-reset-all:focus-visible {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 2px;
}

.ug-wcag-reset-all__icon {
	display: flex;
	flex-shrink: 0;
	line-height: 0;
}

.ug-wcag-reset-all__label {
	flex: 1 1 auto;
}

/* Toast confirmación restablecer (UserWay / Toastify) */
.ug-wcag-panel__body {
	position: relative;
}

.ug-wcag-toast {
	position: absolute;
	left: 0.65rem;
	right: 0.65rem;
	bottom: 0.35rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border-radius: 14px;
	background: #2d6b61;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	box-shadow: 0 10px 28px rgba(3, 9, 15, 0.22);
	animation: ug-wcag-toast-in 0.28s ease;
}

.ug-wcag-toast[hidden] {
	display: none !important;
}

.ug-wcag-toast__icon {
	display: flex;
	flex-shrink: 0;
	line-height: 0;
	color: #fff;
}

.ug-wcag-toast__message {
	flex: 1 1 auto;
}

.ug-wcag-toast__close {
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.85;
}

.ug-wcag-toast__close:hover,
.ug-wcag-toast__close:focus-visible {
	opacity: 1;
	outline: 2px solid rgba(255, 255, 255, 0.65);
	outline-offset: 2px;
}

@keyframes ug-wcag-toast-in {
	from {
		opacity: 0;
		transform: translateY(0.65rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Mover / ocultar widget (UserWay) */
.ug-wcag-panel__widget-move {
	padding: 0.55rem 0.85rem 0.75rem;
	background: #fff;
	border-top: 1px solid var(--ug-wcag-border);
}

.ug-wcag-widget-move__toggle {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgba(3, 9, 15, 0.14);
	border-radius: 10px;
	background: #fff;
	color: var(--ug-wcag-text);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.ug-wcag-widget-move__toggle:hover,
.ug-wcag-widget-move__toggle:focus-visible {
	border-color: rgba(3, 9, 15, 0.28);
}

.ug-wcag-widget-move__toggle:focus-visible {
	outline: 3px solid var(--ug-wcag-secondary);
	outline-offset: 2px;
}

.ug-wcag-widget-move__icon {
	display: flex;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #eef1f2;
	color: var(--ug-wcag-text);
	line-height: 0;
}

.ug-wcag-widget-move__label {
	flex: 1 1 auto;
}

.ug-wcag-widget-move__caret {
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -0.15rem;
	transition: transform 0.15s ease;
}

.ug-wcag-widget-move__toggle[aria-expanded="true"] .ug-wcag-widget-move__caret {
	transform: rotate(-135deg);
	margin-top: 0.15rem;
}

.ug-wcag-widget-move__menu {
	margin-top: 0.45rem;
	border: 1px solid rgba(3, 9, 15, 0.1);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.ug-wcag-widget-move__menu[hidden] {
	display: none !important;
}

.ug-wcag-widget-move__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	margin: 0;
	border-top: 1px solid rgba(3, 9, 15, 0.08);
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ug-wcag-text);
}

.ug-wcag-widget-move__option:first-child {
	border-top: 0;
}

.ug-wcag-widget-move__option input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--ug-wcag-text);
	cursor: pointer;
}

/* Pie estilo UserWay */
.ug-wcag-panel__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	background: #fff;
	border-top: 1px solid var(--ug-wcag-border);
	border-radius: 0 0 16px 16px;
}

.ug-wcag-footer-btn {
	display: none;
}

.ug-wcag-brand {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}

.ug-wcag-brand__logo {
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 6px;
	object-fit: contain;
	flex-shrink: 0;
}

.ug-wcag-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.ug-wcag-brand__text strong {
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ug-wcag-text);
}

.ug-wcag-brand__text small {
	font-size: 0.625rem;
	color: var(--ug-wcag-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* UserWay s10 guía de lectura (barra + reglas) */
.ug-wcag-s10-reading-guide {
	display: none;
	box-sizing: border-box;
	background: #000;
	width: 40vw !important;
	min-width: 200px !important;
	position: absolute !important;
	height: 12px !important;
	border: solid 3px #fff300;
	border-radius: 5px;
	top: 20px;
	z-index: 2147483647;
	transform: translateX(-50%);
	pointer-events: none;
}

.ug-wcag-s10-reading-guide__arrow {
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 0;
	position: absolute;
}

.ug-wcag-s10-reading-guide__arrow::after,
.ug-wcag-s10-reading-guide__arrow::before {
	content: "";
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.ug-wcag-s10-reading-guide__arrow::after {
	border-bottom-color: #000;
	border-width: 14px;
	margin-left: -14px;
}

.ug-wcag-s10-reading-guide__arrow::before {
	border-bottom-color: #fff300;
	border-width: 17px;
	margin-left: -17px;
}

.ug-wcag-s10-left-ruler-guide,
.ug-wcag-s10-right-ruler-guide {
	width: 16px;
	height: 9px;
	display: none;
	position: absolute !important;
	z-index: 2147483647;
	transform: translateY(-50%);
	pointer-events: none;
	border-top: 3px solid #fff300;
	border-left: 3px solid #fff300;
	box-shadow: inset 0 0 0 1px #000;
}

.ug-wcag-s10-right-ruler-guide {
	border-left: none;
	border-right: 3px solid #fff300;
}

.ug-wcag-s10-bottom-ruler-guide {
	width: 36px;
	height: 16px;
	display: none;
	position: absolute !important;
	z-index: 2147483647;
	transform: translateX(-50%);
	pointer-events: none;
	border-left: 3px solid #fff300;
	border-bottom: 3px solid #fff300;
	box-shadow: inset 0 0 0 1px #000;
}

html.ug-wcag-s10 .ug-wcag-s10-bottom-ruler-guide,
html.ug-wcag-s10 .ug-wcag-s10-left-ruler-guide,
html.ug-wcag-s10 .ug-wcag-s10-reading-guide,
html.ug-wcag-s10 .ug-wcag-s10-right-ruler-guide {
	display: block;
	pointer-events: none;
}

/* Fuente dislexia UserWay (s15 / UDF) */
@font-face {
	font-family: "UDF";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("https://cdn.userway.org/widgetapp/bundles/udf/UserwayDyslexiaFont-Medium.woff") format("woff");
}

@font-face {
	font-family: "UDF";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("https://cdn.userway.org/widgetapp/bundles/udf/UserwayDyslexiaFont-Bold.woff") format("woff");
}

html.ug-wcag--contrast-high {
	filter: contrast(1.35) saturate(1.1);
}

html.ug-wcag--contrast-high .ug-wcag-root {
	filter: none !important;
}

/* ── Contraste UserWay (s3-1 inver · s3-2 oscuro · s3-3 luz) ─── */
/* Fuente: cdn.userway.org/.../widget_lazy.css + uw_color_manipulation_service */

html.ug-wcag--invert {
	filter: invert(100%);
	-webkit-filter: invert(100%);
}

html.ug-wcag--invert-white-bg {
	background: #fff !important;
}

html.ug-wcag--invert .ug-wcag-root {
	filter: invert(1) !important;
}

html.ug-wcag--dark input::placeholder,
html.ug-wcag--dark textarea::placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

html.ug-wcag--dark input:-moz-placeholder,
html.ug-wcag--dark input::-moz-placeholder,
html.ug-wcag--dark textarea:-moz-placeholder,
html.ug-wcag--dark textarea::-moz-placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

html.ug-wcag--dark input:-ms-input-placeholder,
html.ug-wcag--dark input::-ms-input-placeholder,
html.ug-wcag--dark textarea:-ms-input-placeholder,
html.ug-wcag--dark textarea::-ms-input-placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

html.ug-wcag--contrast-light input::placeholder,
html.ug-wcag--contrast-light textarea::placeholder {
	color: #000 !important;
	opacity: 1 !important;
}

html.ug-wcag--contrast-light input:-moz-placeholder,
html.ug-wcag--contrast-light input::-moz-placeholder,
html.ug-wcag--contrast-light textarea:-moz-placeholder,
html.ug-wcag--contrast-light textarea::-moz-placeholder {
	color: #000 !important;
	opacity: 1 !important;
}

html.ug-wcag--contrast-light input:-ms-input-placeholder,
html.ug-wcag--contrast-light input::-ms-input-placeholder,
html.ug-wcag--contrast-light textarea:-ms-input-placeholder,
html.ug-wcag--contrast-light textarea::-ms-input-placeholder {
	color: #000 !important;
	opacity: 1 !important;
}

/* UserWay s3-4 escala de grises */
html.ug-wcag--grayscale {
	filter: grayscale(100%) !important;
	-webkit-filter: grayscale(100%) !important;
}

html.ug-wcag--grayscale .ug-wcag-root {
	filter: none !important;
}

/* UserWay s23 saturación (3 niveles) */
html.ug-wcag--sat-1 { filter: saturate(0.5); }
html.ug-wcag--sat-2 { filter: saturate(3); }
html.ug-wcag--sat-3 { filter: saturate(0); }

html.ug-wcag--sat-1 .ug-wcag-root,
html.ug-wcag--sat-2 .ug-wcag-root,
html.ug-wcag--sat-3 .ug-wcag-root {
	filter: none !important;
}

html.ug-wcag--sat-1.ug-wcag--invert {
	filter: saturate(0.5) invert(100%);
	-webkit-filter: saturate(0.5) invert(100%);
}

html.ug-wcag--sat-2.ug-wcag--invert {
	filter: saturate(3) invert(100%);
	-webkit-filter: saturate(3) invert(100%);
}

html.ug-wcag--sat-3.ug-wcag--invert {
	filter: saturate(0) invert(100%);
	-webkit-filter: saturate(0) invert(100%);
}

/* UserWay s14 espaciado de texto */
html.ug-wcag--letter-1 .ug-wcag-s14-active::placeholder {
	word-spacing: 0.16em !important;
	letter-spacing: 0.12em !important;
}

html.ug-wcag--letter-1 .ug-wcag-s14-active {
	word-spacing: 0.16em !important;
	letter-spacing: 0.12em !important;
}

html.ug-wcag--letter-1 .ug-wcag-s14-no-justify {
	text-align: unset !important;
}

html.ug-wcag--letter-2 .ug-wcag-s14-active::placeholder {
	word-spacing: 0.32em !important;
	letter-spacing: 0.24em !important;
}

html.ug-wcag--letter-2 .ug-wcag-s14-active {
	word-spacing: 0.32em !important;
	letter-spacing: 0.24em !important;
}

html.ug-wcag--letter-2 .ug-wcag-s14-no-justify {
	text-align: unset !important;
}

html.ug-wcag--letter-3 .ug-wcag-s14-active::placeholder {
	word-spacing: 0.48em !important;
	letter-spacing: 0.36em !important;
}

html.ug-wcag--letter-3 .ug-wcag-s14-active {
	word-spacing: 0.48em !important;
	letter-spacing: 0.36em !important;
}

html.ug-wcag--letter-3 .ug-wcag-s14-no-justify {
	text-align: unset !important;
}

/* UserWay s15 dislexia (UDF) */
html.ug-wcag-s15 .ug-wcag-s15-active,
html.ug-wcag-s15 .ug-wcag-s15-active::placeholder {
	font-family: UDF, serif !important;
}

/* UserWay s7 fuentes legibles */
html.ug-wcag-s7 .ug-wcag-s7-active,
html.ug-wcag-s7 .ug-wcag-s7-active::placeholder {
	font-family: Arial, serif !important;
}

/* UserWay s2 cursor grande */
html.ug-wcag-s2,
html.ug-wcag-s2 * {
	cursor: url("https://cdn.userway.org/widgetapp/images/arrow_w.svg"), auto !important;
}

html.ug-wcag-s2 .ug-wcag-root,
html.ug-wcag-s2 .ug-wcag-root * {
	cursor: default !important;
}

/* UserWay s6 resaltar enlaces — tarjetas promo sidebar (capas neumórficas + pseudo) */
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-bg,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-splash,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-path {
	display: none !important;
}

html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-bg::before,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-wrap::after {
	display: none !important;
	content: none !important;
	box-shadow: none !important;
}

html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-wrap,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-content {
	background: #000 !important;
	box-shadow: none !important;
	border: 1px solid #ffff00 !important;
	filter: none !important;
	transform: none !important;
}

html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-title,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-eyebrow,
html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-copy {
	color: #ffff00 !important;
	background: #000 !important;
	text-decoration: underline !important;
}

html.ug-wcag-s6 a.ug-news-sidebar__promo[data-ug-wcag-s6-styled] .ug-news-sidebar__promo-icon {
	background: #000 !important;
	box-shadow: none !important;
	color: #ffff00 !important;
}

/* UserWay s13 detener animaciones — clase en body (userway-s13_offtransition) */
body.ug-wcag-s13-offtransition :not(
	[data-ug-wcag-ignore-s13],
	[data-ug-wcag-feature-ignore],
	.swiper-wrapper,
	.splide__list,
	.splide__track,
	.dy-tabbed-recs__slider-wrapper
) {
	transition-timing-function: step-end !important;
	transition-duration: 1ms !important;
	animation-timing-function: step-end !important;
	animation-iteration-count: 1 !important;
	animation-duration: 0s !important;
	animation: none !important;
}

@media (max-width: 480px) {
	.ug-wcag-panel,
	.ug-wcag-panel--large {
		width: min(20rem, calc(100vw - 1rem));
	}

	.ug-wcag-card {
		min-height: 5.75rem;
	}
}
