/* Accessibility fixes (Silktide review, Oct 2026). Loaded after bundle.css. */

/* Screen-reader-only 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;
}

/* Skip to main content: hidden until focused */
.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100000;
	padding: 12px 18px;
	background: #ffffff;
	color: #003a70;
	font-weight: 700;
	text-decoration: underline;
	border: 2px solid #003a70;
}
.skip-link:focus {
	top: 8px;
}
#content:focus {
	outline: none;
}

/* Visible focus state for every interactive control */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
[role="button"]:focus-visible {
	outline: 3px solid #1a73e8 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #ffffff !important;
}

/* Community center name in the hero: was forced dark by a sitewide h4 rule */
.community-single-hero .community-single-hero-title {
	color: #ffffff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.6);
}

/* Small-screen overflow: let long words, URLs and headings wrap instead of pushing the page sideways */
h1, h2, h3, h4, h5, h6, p, li, dd, dt, td, th, blockquote, figcaption, label, a,
.acf-50-heading, .search-post {
	overflow-wrap: break-word;
	word-wrap: break-word;
}
@media (max-width: 600px) {
	h1, h2, .acf-50-heading {
		overflow-wrap: anywhere;
		hyphens: auto;
	}
	.search-results a, .facetwp-template a {
		overflow-wrap: anywhere;
	}
}

/* Media and embeds never wider than their container */
.site-content img,
.site-content video,
.site-content iframe,
.site-content embed,
.site-content object {
	max-width: 100%;
}

/* Wide tables scroll inside themselves instead of widening the page */
@media (max-width: 782px) {
	.site-content table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
