.ui-modal.--home-hero-video {
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.ui-modal.--home-hero-video .ui-modal__dialog {
	width: 100%;
	max-width: 68.75rem;
	max-height: calc(100dvh - 2rem);
}

.ui-modal.--home-hero-video .ui-modal__close.home-hero-video-modal__close {
	top: -1.75rem;
	right: -2.5rem;
}

.home-hero-video-modal__frame {
	position: relative;
	width: 100%;
	height: 38.75rem;
	overflow: hidden;
	border-radius: 1.25rem;
	background-color: var(--color-base-white-100);
}

.home-hero-video-modal__poster,
.home-hero-video-modal__video,
.home-hero-video-modal__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.home-hero-video-modal__shade {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.home-hero-video-modal__control {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 2.916875rem;
	border: none;
	border-radius: 62.5rem;
	background-color: var(--color-base-white-20);
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: background-color 0.24s ease;
}

.home-hero-video-modal__control:hover,
.home-hero-video-modal__control:focus-visible {
	background-color: rgba(255, 255, 255, 0.28);
}

.home-hero-video-modal__control:focus-visible {
	outline: 0.125rem solid var(--color-primary-300);
	outline-offset: 0.125rem;
}

.home-hero-video-modal__control-graphic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.916875rem;
	height: 2.916875rem;
}

.home-hero-video-modal__control-graphic svg {
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero-video-modal__control-graphic svg path {
	transition: fill 0.24s ease, stroke 0.24s ease;
}

@media screen and (max-width: 63.99875rem) {
	.ui-modal.--home-hero-video {
		padding: 0;
	}

	.ui-modal.--home-hero-video .ui-modal__dialog {
		max-width: 100%;
		width: 100%;
	}

	.ui-modal.--home-hero-video .ui-modal__close.home-hero-video-modal__close {
		top: -1.75rem;
		right: 1rem;
		color: var(--color-base-white-100);
	}

	.ui-modal.--home-hero-video .ui-modal__close-graphic {
		color: var(--color-base-white-100);
	}

	.home-hero-video-modal__frame {
		height: 11.5625rem;
		border-radius: 0;
	}

	.home-hero-video-modal__control {
		padding: 1.5rem;
	}

	.home-hero-video-modal__control-graphic {
		width: 1.5rem;
		height: 1.5rem;
	}
}
