/* Intex accessibility tools: floating button + panel. Self-hosted, no third-party code. */
.intex-a11y { position: fixed; right: 16px; bottom: 16px; z-index: 99990; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.4; }
.intex-a11y__toggle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: #D50000; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); padding: 0; }
.intex-a11y__toggle:hover { background: #A30000; }
.intex-a11y__toggle svg { width: 30px; height: 30px; }
.intex-a11y button:focus-visible, .intex-a11y a:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.intex-a11y__panel { position: absolute; right: 0; bottom: 64px; width: 300px; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; color: #1a1a1a; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 16px; border: 1px solid #ccc; }
.intex-a11y__panel[hidden] { display: none; }
.intex-a11y__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.intex-a11y__title { font-size: 18px; font-weight: 700; margin: 0; color: #1a1a1a; }
.intex-a11y__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #1a1a1a; padding: 4px 8px; border-radius: 4px; }
.intex-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.intex-a11y__opt { width: 100%; min-height: 64px; background: #f3f4f6; color: #1a1a1a; border: 2px solid #f3f4f6; border-radius: 8px; padding: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; }
.intex-a11y__opt:hover { border-color: #888; }
.intex-a11y__opt[aria-pressed="true"] { background: #fff1f1; border-color: #D50000; color: #8a0000; }
.intex-a11y__opt small { display: block; font-weight: 400; font-size: 12px; color: #444; }
.intex-a11y__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.intex-a11y__reset { background: #1a1a1a; color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.intex-a11y__foot a { color: #8a0000; text-decoration: underline; }
@media print { .intex-a11y { display: none; } }

/* ---- Effects applied to the page ---- */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 140%; }
html.a11y-contrast .wp-site-blocks { filter: contrast(1.35); }
html.a11y-gray .wp-site-blocks { filter: grayscale(1); }
html.a11y-contrast.a11y-gray .wp-site-blocks { filter: contrast(1.35) grayscale(1); }
html.a11y-links .wp-site-blocks a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font .wp-site-blocks, html.a11y-font .wp-site-blocks * { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .03em; }
html.a11y-spacing .wp-site-blocks p, html.a11y-spacing .wp-site-blocks li { line-height: 1.9 !important; word-spacing: .12em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
