/* Overrides for the Blount Partnership theme.
 *
 * This theme had no override stylesheet, unlike its siblings, so fixes were
 * going into style.min.css. That file is a build artifact and a gulp run would
 * silently drop them. Anything hand written belongs here instead.
 *
 * Linked from header.php with a cache busting query string.
 */

/* Text meant only for screen readers, plus the focus state a skip link needs.
   scss/modules/_accessibility.scss defines this but was never imported into
   style.scss, so the labels in the search form, pagination and comments were
   rendering as visible text. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ADA audit (Partnership #7) — links in editorial copy. The link colour sits at
   roughly 1:1 against the body text and a { text-decoration: none } is set
   globally, so a link inside a paragraph is indistinguishable from the text
   around it. WCAG 1.4.1 wants 3:1 before colour can carry that alone.

   Scoped to p and li inside the content wrappers, and to a:not([class]). Links
   typed in the editor carry no class, while every component link in this theme
   has one, so buttons, cards and navigation are left alone. */
.inner-content p a:not([class]),
.inner-content li a:not([class]),
.entry-content p a:not([class]),
.entry-content li a:not([class]),
.content-wrapper p a:not([class]),
.content-wrapper li a:not([class]) {
	text-decoration: underline;
}
