/* ------------------------------------------------------------------
   overrides.css — the handful of rules the live site got from WordPress
   core / the theme's inline <style>, which main.css does not contain.
   Everything here is transcribed from the live site; nothing invented.
   ------------------------------------------------------------------ */

/* From wp-includes/css/dist/block-library/common.min.css.
   Without this the "Skip to the content" link is permanently visible. */
.screen-reader-text {
	word-wrap: normal !important;
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* WP core's LTR focus variant. The live site never shipped it, so its skip
   link was unreachable for sighted keyboard users; restoring it is the one
   accessibility fix in this file. */
.screen-reader-text:focus {
	background-color: #ddd;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Verbatim from the theme's header.php inline <style>. The fade to
   opacity:0 is driven by components/layout/Preloader.tsx. */
#preloader {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100dvh;
	background-color: #0A0B0D;
	z-index: 9999;
	transition: opacity 0.5s ease-in-out;
}

/* Contact form feedback. Replaces Contact Form 7's .wpcf7-response-output /
   .wpcf7-not-valid-tip, whose stylesheet is no longer loaded. */
.form-response {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #ffb900;
}
.form-response.sent {
	border-color: #46b450;
}
.field-error {
	display: block;
	color: #dc3232;
	font-size: 1em;
	font-weight: 400;
}
