/**
 * Pavestone Accessibility Fixes – stylesheet
 * ------------------------------------------
 * Only visually-neutral, accessibility-supporting styles live here:
 *  - a screen-reader-text utility (used if we inject a skip link and the theme
 *    doesn't already define one)
 *  - a properly visible skip link on keyboard focus (SC 2.4.1)
 *  - a visible focus indicator so keyboard users can see where they are (SC 2.4.7)
 *
 * These do NOT change the look of the site for mouse users.
 */

/* Visually hidden but available to assistive tech. Scoped to our own classes so
   we never override the theme's existing .screen-reader-text rules. */
.pa11y-skip-link.screen-reader-text,
.pa11y-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Skip link becomes visible when focused via keyboard. */
.pa11y-skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	margin: 0;
	clip: auto;
	overflow: visible;
	background: #ffffff;
	color: #0a0a0a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: underline;
	border: 2px solid #0a0a0a;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Visible keyboard focus indicator.
   :focus-visible only targets keyboard focus, so mouse clicks are unaffected. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[role="link"]:focus-visible,
[role="tab"]:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.eael-accordion-header:focus-visible,
.elementor-tab-title:focus-visible {
	outline: 2px solid #1a73e8 !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}
