/* Back-to-top button — end of publication pages (client request 2026-09-01).
 *
 * A static end-of-content button rather than a floating overlay: the pages
 * already carry a sticky section nav at the top, and a second persistent
 * floating control would compete with it on mobile.
 *
 * Accent matches the publication nav's active pill (#006FE6). White on that
 * blue is ~4.76:1, clearing WCAG AA for this 0.95rem bold label.
 */

.back-to-top {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.back-to-top__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background-color: #006FE6;
	color: #fff;
	font-family: "proxima-nova", "Open Sans", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.back-to-top__button:hover,
.back-to-top__button:focus-visible {
	background-color: #005FC4;
	color: #fff;
}

.back-to-top__button:focus-visible {
	outline: 2px solid #0075F2;
	outline-offset: 2px;
}

.back-to-top__icon {
	width: 0.75rem;
	height: 0.5rem;
	display: block;
}

/* The site-wide `.entry-content > *` body-column cap would clamp this if the
 * button is ever rendered inside the article rather than after it. */
.entry-content--resource > .back-to-top {
	max-width: none;
}
