/**
 * SIA Accessibility — shared front-end base.
 *
 * Rule 10 container guard for any sia-* root, plus the remediation helper
 * styles (skip link + restored focus ring) that the Remediator opts into.
 * Scoped to sia-* classes; never collides with .ct-* / .wd-* / .elementor-*.
 */

[class^="sia-a11y-"],
[class*=" sia-a11y-"] {
	max-width: 100%;
	box-sizing: border-box;
}
[class^="sia-a11y-"] img,
[class*=" sia-a11y-"] img {
	max-width: 100%;
}

/* Skip-to-content link — visually hidden until focused, then pinned top-left. */
.sia-a11y-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 10px 18px;
	background: #0f0a1e;
	color: #fff;
	border-radius: 0 0 8px 0;
	font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-decoration: none;
}
.sia-a11y-skip-link:focus {
	left: 0;
	outline: 3px solid #7c3aed;
	outline-offset: -3px;
}

/* Restored, visible keyboard focus ring (many themes strip :focus styles). */
html.sia-a11y-focus :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid #7c3aed !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}

/* Accessibility statement link appended at the very bottom of every page.
 * Inherits the theme's colors so it blends with any footer. */
.sia-a11y-footer-link {
	text-align: center;
	padding: 10px 16px 14px;
	font-size: 13px;
	line-height: 1.5;
}
.sia-a11y-footer-link a {
	color: inherit;
	opacity: .75;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.sia-a11y-footer-link a:hover,
.sia-a11y-footer-link a:focus-visible { opacity: 1; }
