/* Accessibility enhancements layered on top of theme styles */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: .75rem;
	left: .75rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
	z-index: 9999;
	background: #fff;
	color: #111;
	font-size: .95rem;
	font-weight: 700;
	outline: 3px solid #111;
	outline-offset: 2px;
}

.skip-link {
	text-decoration: none;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--color-secondary, #1f6f8b);
	outline-offset: 2px;
}

#search-activate {
	background: transparent;
	border: 0;
	padding: 0;
	line-height: 1;
}

#menu-icon {
	background: transparent;
	border: 0;
	line-height: 1;
}

#search-activate svg,
#menu-icon span,
#menu-icon span::before,
#menu-icon span::after {
	pointer-events: none;
}

#search-box[aria-hidden="true"] {
	visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}