.zoomers-back-to-top {
	display: none;
}

/* Match the theme's desktop navigation breakpoint. */
@media (min-width: 1101px) {
	.zoomers-back-to-top:not([hidden]) {
		position: fixed;
		inset-inline-end: 1.5rem;
		inset-block-end: 1.5rem;
		z-index: 30;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: .45rem;
		min-height: 3rem;
		padding: .55rem 1rem;
		border: 1px solid var(--wp--preset--color--white, #fff);
		border-radius: 999px;
		background: var(--wp--preset--color--ink-blue, #215992);
		color: var(--wp--preset--color--white, #fff);
		box-shadow: 0 .25rem 1rem rgb(21 59 99 / 20%);
		font-family: inherit;
		font-size: .9rem;
		font-weight: 650;
		line-height: 1;
		cursor: pointer;
	}

	.zoomers-back-to-top__arrow {
		font-size: 1.4rem;
		line-height: 1;
	}

	.zoomers-back-to-top:is(:hover, :focus-visible) {
		background: var(--wp--preset--color--deep-blue, #153b63);
	}

	.zoomers-back-to-top:focus-visible {
		outline: 3px solid var(--wp--preset--color--deep-blue, #153b63);
		outline-offset: 3px;
		box-shadow: 0 0 0 3px var(--wp--preset--color--white, #fff);
	}
}

@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
	.zoomers-back-to-top {
		transition: background-color .2s ease, transform .2s ease;
	}

	.zoomers-back-to-top:hover {
		transform: translateY(-2px);
	}
}

@media print {
	.zoomers-back-to-top:not([hidden]) {
		display: none;
	}
}
