/**
 * Shared Impact styles used across blocks and patterns.
 * Ported from the retired child theme's _sections.scss / _a11y.scss with
 * variables inlined ($uw_red:#c5050c, $uw_red_dk:#ad070d, white:#fff,
 * display font 'Red Hat Display', text font 'Red Hat Text').
 */

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Section wrappers */
.uw-section-outer {
	padding: 4rem 1rem;
	text-align: center;
}

/* No max-width here: the legacy theme capped .uw-section-outer, not the
   inner wrapper, and the alt-hero's full-bleed container carries this class.
   Width constraints now come from the theme's constrained group layout. */
.uw-section-inner {
	margin: 0 auto;
	position: relative;
}

/* .uw-section-inner > p {
	max-width: 58rem;
	margin: 0 auto 2rem auto;
	padding: 0 2rem;
	font-family: 'Red Hat Text', sans-serif;
	font-size: 1.125rem;
} */

/* .uw-section-inner > h2 {
	font-family: 'Red Hat Display', sans-serif;
	font-size: 1.5rem;
	font-weight: 650;
	position: relative;
	margin: 0;
	padding-bottom: 1.6rem;
} */

/* .uw-section-inner > h2:before {
	content: '';
	position: absolute;
	left: 0;
	background-color: #c5050c;
	right: 0;
	margin: 0 auto;
	height: 6px;
	width: 3rem;
	top: -16px;
} */

.uw-section-inner.uw-section-inner-dark > h2:before {
	content: inherit;
}

/* @media (min-width: 40rem) {
	.uw-section-inner > h2 {
		font-size: 1.75rem;
	}

	.uw-section-inner > p {
		font-size: 1.25rem;
	}
} */

/* Flex columns */
.uw-flex-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.uw-flex-wrapper .uw-equal-column {
	display: block;
}

.video-embed-section .two-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 50rem) {
	.video-embed-section .two-columns {
		grid-template-columns: 1fr 1fr;
	}
}

.responsive-embed {
	position: relative;
	height: 0;
	overflow: hidden;
	padding-bottom: 75%;
}

.responsive-embed.widescreen {
	padding-bottom: 56.25%;
}

.responsive-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

#header {
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 100;
	box-shadow: 0px 2px 15px 6px rgba(0,0,0,.2);

	.wp-block-button {
		.wp-element-button {
			text-wrap: nowrap;

			@media (max-width: 50rem) {
				font-size: .875rem;
			}
		}
	}
}

.site-title-wrapper.is-layout-constrained > .alignwide {
	max-width: 100%;
}

#uw-alt-carousel-heading {
	margin-bottom: 0;
}

