/* CTWC Theme 1.2.1 accessibility and reflow refinements. */

/*
 * Override the earlier global clipping rule. Genuine overflow must remain
 * detectable so individual components can be corrected instead of hidden.
 */
.wp-site-blocks {
	overflow: visible;
}

/* The one theme skip link is the first item in the repeated header part. */
.ctwc-skip-link {
	position: fixed;
	z-index: 100000;
	top: .75rem;
	left: .75rem;
	max-width: calc(100vw - 1.5rem);
	padding: .8rem 1rem;
	color: #fff;
	background: #182033;
	border: 3px solid #f1c536;
	border-radius: .35rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	transform: translateY(calc(-100% - 1rem));
	transition: transform .15s ease;
}

.ctwc-skip-link:focus,
.ctwc-skip-link:focus-visible {
	transform: translateY(0);
	outline: 4px solid #fff;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ctwc-skip-link {
		transition: none;
	}
}
