/**
 * ADA remediation overrides — Apollo Dental (Allyant HUB audit).
 *
 * Loaded LAST (see inc/scripts.php) so these rules win over the compiled theme
 * stylesheet without editing the Gulp-built style.css/style.min.css. Each rule
 * cites the HUB issue id(s) it addresses.
 */

/* ALLYANT-37 / 39 / 46 / 55 / 74 (WCAG 1.4.1): inline text links inside body content
   must be distinguishable from surrounding paragraph text by more than color, so give
   them an underline. Scoped to prose/content areas and excludes buttons. */
.main-content a:not(.btn):not([class*="btn-"]):not(.custom-logo-link),
.content-section a:not(.btn):not([class*="btn-"]),
.content-with-sidebar a:not(.btn):not([class*="btn-"]),
.panel-wysiwyg a:not(.btn):not([class*="btn-"]) {
	text-decoration: underline;
}

/* ALLYANT-70 (WCAG 1.4.1): the current nav item must not be indicated by color alone.
   Add an underline marker to the active/aria-current link so it's distinguishable
   without relying on color perception. */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ALLYANT-65 (WCAG 2.4.7): Slick carousel dot buttons had no visible keyboard
   focus indicator. This is a functional focus ring, NOT a brand-color change: a
   dark outline with a white halo so it stays visible on any slide background
   (image or solid) without recoloring any brand element. */
.slick-dots li button:focus-visible {
	outline: 2px solid #101010;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #ffffff;
	border-radius: 50%;
}
