/* Structural accessibility CSS — core compliance helpers (always loaded). */

/* NOTE: The VUZ theme already supplies its own skip-to-content link (header.php),
   so the plugin does not add one. We only harden focus visibility below. */

/*
 * 2.4.7 Focus Visible — guarantee a strong, visible focus indicator everywhere.
 * Many themes remove outlines; this restores a compliant indicator without
 * overriding themes that already provide a good one (:focus-visible only).
 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
	outline: 3px solid #9333ea !important;
	outline-offset: 2px !important;
}

/* Screen-reader-only utility (for labels we may inject). */
.vuz-a11y-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;
}

/* Admin-only warning shown inside the statement when coordinator data is missing. */
.vuz-a11y-statement-warning {
	background: #fff3cd;
	border: 1px solid #ffe69c;
	padding: 12px;
	border-radius: 8px;
}

.vuz-a11y-statement-date {
	margin-block-start: 24px;
	color: #555;
	font-size: 0.9em;
}

/* 2.2.2 Pause/Stop/Hide — accessible toggle on autoplaying video. */
.vuz-a11y-media-toggle {
	position: absolute;
	inset-block-end: 12px;
	inset-inline-start: 12px;
	z-index: 20;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: rgba(17, 24, 39, 0.75);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vuz-a11y-media-toggle:hover {
	background: rgba(17, 24, 39, 0.95);
}
.vuz-a11y-media-toggle:focus-visible {
	outline: 3px solid #9333ea;
	outline-offset: 2px;
}
