/*
 * Accessibility additions for the replica pages. Neither changes how a page
 * looks by default: the focus ring shows only for keyboard navigation, and the
 * motion rule only for visitors who have asked their OS for reduced motion.
 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #c8102e;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Hello's "Skip to content" link: visually hidden until focused, the standard
   pattern. (Elementor's and Hello's stylesheets, which normally hide it, are
   not loaded on replica pages; without this it shows as a line of text.) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 5px;
	top: 5px;
	z-index: 100000;
	display: block;
	padding: 15px 23px 14px;
	background-color: #f1f1f1;
	color: #21759b;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
}
