/* Accessibility helpers
----------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: var(--wp--preset--spacing--20);
	left: var(--wp--preset--spacing--20);
	display: block;
	width: auto;
	height: auto;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	clip-path: none;
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
	text-decoration: none;
	white-space: normal;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 3px;
}
