/* Additions to the old site's app.css (which stays as it was built), for
   accessibility. None changes how the site looks with a mouse. */

/* A focus ring for keyboard users; app.css removes it from every link. */
body#main a:focus-visible,
body#main button:focus-visible {
	outline: 2px solid #47758c;
	outline-offset: 2px;
}

/* "Skip to content", shown when it gets the focus. */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 16px;
	background: #fff;
	color: #47758c;
	transition: none !important;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}

/* Read by screen readers, not shown. */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* The closed phone menu is out of the keyboard's way (it was only slid
   off screen); it stays visible while it slides closed. */
body#main .side-nav:not(.opened) {
	visibility: hidden;
}

/* The menu button: 32×20 px drawn, 44×44 px to tap. */
body#main .burger_icon::after {
	content: "";
	position: absolute;
	inset: -12px -6px;
}

/* Cards' titles are h2 now (were h3, after the page's h1): the same look. */
body#main .article-col h2,
body#main .article-col h2 a {
	font-size: 24px;
	font-family: averta_stdbold, serif;
	line-height: 1.2;
	z-index: 10;
	position: relative;
}
body#main .article-col h2 a:hover {
	color: #f4858a;
}
