/* Accessibility additions on top of styles.min.css (compiled, no sources in the theme). */

/* Visible keyboard focus (WCAG 2.4.7); styles.min.css resets outline on * */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

/* <main> landmark: the first content section is now main > :first-child instead of
   .site__inner > :nth-child(2), so the spacing rules of styles.min.css move along */
main > [id^="section-text-"]:first-child,
main > [id^="section-sitemap-"]:first-child,
main > [id^="section-tab-"]:first-child {
	padding-top: 70px;
}
main > [id^="section-tab-"]:first-child .module--tab {
	padding-top: 0;
}
main > [id^="section-text-"]:nth-child(2),
main > [id^="section-sitemap-"]:nth-child(2),
main > [id^="section-tab-"]:nth-child(2) {
	padding-top: 0;
}
main > [id^="section-tab-"]:nth-child(2) .module--tab {
	padding-top: 70px;
}

/* Focus ring on dark backgrounds */
.module--footer a:focus-visible {
	outline-color: currentColor;
}
