/**
 * Strater child theme — accessibility styles
 * Loaded after the main child stylesheet. Safe to review/port to production.
 */

/* --- Color contrast (WCAG AA) ---
 * Body/subtitle gray was #9A9A9A (~2.8:1 on white).
 * #6E6E6E is ~5.5:1 on white while staying in the same cool-gray family.
 */
html body {
	color: #6e6e6e;
}

.subtitle,
.heading_group_sc .subtitle,
.heading_group_sc h3,
.heading_group_sc .title,
.white_section .subtitle,
.white_section .heading_group_sc h3,
.white_section .heading_group_sc .subtitle,
.boxed_plus .subtitle,
.boxed_plus .heading_group_sc h3,
.boxed_plus .heading_group_sc .subtitle,
.wpb_wrapper > .subtitle,
.wpb_text_column .wpb_wrapper {
	color: #6e6e6e;
}

/* Keep intentionally dark/brand colors as designed */
h1, .h1 { color: #008293; }
h2, .h2 { color: #1a2744; }
.white_section.footer_bar { color: #323232; }

/* --- Skip link --- */
.strater-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.75em 1.25em;
	background: #1a2744;
	color: #fff !important;
	text-decoration: none;
	font-family: 'Fjalla One', sans-serif;
	font-size: 16px;
	border-radius: 0 0 4px 0;
}
.strater-skip-link:focus,
.strater-skip-link:focus-visible {
	left: 0;
	outline: 3px solid #008293;
	outline-offset: 2px;
}

/* --- Visible keyboard focus --- */
:focus-visible {
	outline: 3px solid #008293;
	outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
	outline: none;
}

/* --- Screen-reader-only text (for new-tab notice, etc.) --- */
.screen-reader-text,
.strater-sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus,
.strater-sr-only:focus {
	background-color: #1a2744;
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 0.75em 1.25em;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Room nav icons: #752936 on near-black #111118 fails (~1.9:1). Lighten for AA. */
.previous_icon,
.next_icon,
.room_nav .previous_icon,
.room_nav .next_icon {
	color: #f0c9cf;
}
