/* Section: video (cover + play button; player loads on click), centered. */

.section-video__heading {
	margin-top: 0;
	text-align: center;
}

/* Centered in the container, like the heading and caption. */
.section-video__figure {
	max-width: 60rem;
	margin: 0 auto;
}

.section-video__link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-card);
	background: var(--color-navy);
}

.section-video__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	width: 72px;
	height: 72px;
	margin: auto;
	border-radius: var(--radius-pill);
	background: var(--color-accent);
	box-shadow: var(--shadow-raised);
	color: var(--color-text-inverse);
	transition: transform var(--duration-fast) var(--ease);
	place-items: center;
}

.section-video__link:hover .section-video__play {
	transform: scale(1.08);
}

.section-video__figure .video-player {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--radius-card);
}

.section-video__caption {
	margin-top: var(--space-3);
	color: var(--color-text-muted);
	font-size: var(--step--1);
	text-align: center;
}
