/* CORRECCION A11Y-BLUR 2026-11-19 · Modo de accesibilidad y desenfoque de fondo, tomados de publiconnect.com.mx
   Por qué: el mismo comportamiento en todo el ecosistema (texto más grande, contraste, sin animaciones,
   lectura en voz alta) y legibilidad del texto sobre fotos y videos. */

/* --- Desenfoque leve del fondo (fotos y videos) ---------------------
   Se quita con transición lenta al pasar el mouse, al enfocar con teclado o al tocar en móvil (.is-clear). */
.vt-blur-host{position:relative;isolation:isolate}
.tile-blur{position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:-webkit-backdrop-filter 1.4s ease,backdrop-filter 1.4s ease}
@media (hover:hover){.vt-blur-host:hover>.tile-blur{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}
.vt-blur-host:focus-within>.tile-blur,.vt-blur-host.is-clear>.tile-blur{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}

/* --- Botón de accesibilidad en la barra (todas las páginas) ---------- */
.a11y-toggle{width:44px;height:44px;margin:0 6px;flex:none;border:0;border-radius:50%;background:none;cursor:pointer;
  display:inline-grid;place-items:center;color:#a1a1a6;vertical-align:middle;padding:0}
.a11y-toggle svg{width:22px;height:22px}
.a11y-toggle:hover,.a11y-toggle[aria-pressed="true"]{color:#ffd8a6}
.a11y-toggle[aria-pressed="true"]{background:rgba(255,216,166,.16)}
.veler-m-xico.blanco .a11y-toggle{color:#515154}
.veler-m-xico.blanco .a11y-toggle:hover,.veler-m-xico.blanco .a11y-toggle[aria-pressed="true"]{color:#141414}
.a11y-toggle.is-floating{position:fixed;right:16px;bottom:16px;z-index:10001;background:rgba(22,22,23,.85);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 4px 18px rgba(0,0,0,.35)}

.a11y-toast{position:fixed;left:50%;bottom:24px;z-index:10002;transform:translate(-50%,20px);max-width:min(560px,calc(100vw - 40px));
  padding:14px 20px;border-radius:18px;background:rgba(29,29,31,.94);color:#f5f5f7;font-size:15px;line-height:1.4;opacity:0;pointer-events:none;
  font-family:var(--font);transition:opacity .3s ease,transform .3s ease}
.a11y-toast.is-on{opacity:1;transform:translate(-50%,0)}

/* --- Barra de lectura (visible solo en modo accesibilidad) ----------- */
.vt-reader{display:none;position:fixed;left:16px;bottom:16px;z-index:10001;gap:8px;align-items:center;padding:8px;border-radius:999px;
  background:rgba(22,22,23,.85);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  box-shadow:0 4px 18px rgba(0,0,0,.35);font-family:var(--font)}
.vt-reader button{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid #ffd8a6;
  background:none;color:#f5f5f7;font:inherit;font-size:16px;cursor:pointer}
.vt-reader button svg{width:18px;height:18px}
.vt-reader button[aria-pressed="true"]{background:#ff9f0a;border-color:#ff9f0a;color:#000}
html.a11y .vt-reader{display:flex}

/* --- Modo de accesibilidad (html.a11y) --------------------------------
   Se activa con el botón de la barra y se recuerda entre páginas y entre sitios del ecosistema del mismo dominio.
   Texto más grande, mayor contraste, sin animaciones, enlaces subrayados, foco visible y lectura en voz alta. */
html.a11y body p,html.a11y body li,html.a11y body .w-richtext,html.a11y body [class*="paragraph"],html.a11y body [class*="text-block"]{font-size:max(19px,1em) !important;line-height:1.55 !important}
html.a11y body p,html.a11y body li{color:inherit;opacity:1 !important}
html.a11y main a,html.a11y footer a,html.a11y .w-richtext a,html.a11y p a{text-decoration:underline !important}
html.a11y :focus-visible{outline:3px solid #ff9f0a !important;outline-offset:4px}
html.a11y *,html.a11y *::before,html.a11y *::after{animation-duration:.001s !important;animation-iteration-count:1 !important;transition-duration:.001s !important;scroll-behavior:auto !important}
html.a11y [data-w-id]{opacity:1 !important;transform:none !important}
html.a11y .w-background-video::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.55);z-index:-1;pointer-events:none}
html.a11y .tile-blur{-webkit-backdrop-filter:blur(0) !important;backdrop-filter:blur(0) !important}
html.a11y .is-reading{outline:3px solid #ff9f0a !important;outline-offset:6px;border-radius:6px}
html.a11y .vt-readable{cursor:pointer}

@media (prefers-reduced-motion:reduce){.tile-blur{transition:none}}
html.a11y .a11y-toast{bottom:88px}
