.wp-block-jf-video-embed {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	/*min-height: 320px;*/
	overflow: hidden;
	isolation: isolate;
	background: #000;
}

.wp-block-jf-video-embed .jf-video-embed__media {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: inherit;
}

.wp-block-jf-video-embed .jf-video-embed__iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
}

.wp-block-jf-video-embed .jf-video-embed__placeholder {
	position: absolute;
	inset: 0;
	z-index: 2;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.wp-block-jf-video-embed .jf-video-embed__placeholder img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wp-block-jf-video-embed.is-loaded .jf-video-embed__placeholder {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.wp-block-jf-video-embed .jf-video-embed__overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	padding: inherit;
}

.wp-block-jf-video-embed.has-no-overlay-content .jf-video-embed__overlay {
	pointer-events: none;
}

.wp-block-jf-video-embed .jf-video-embed__overlay-inner {
	position: relative;
	z-index: 1;
	display: flow-root;
	width: 100%;
	margin: auto;
	color: inherit;
}

.wp-block-jf-video-embed .jf-video-embed__overlay-inner > *:first-child {
	margin-top: 0;
}

.wp-block-jf-video-embed .jf-video-embed__overlay-inner > *:last-child {
	margin-bottom: 0;
}

.wp-block-jf-video-embed .jf-video-embed__legacy-content {
	display: grid;
	gap: 1.25rem;
	max-width: 72rem;
	margin: 0 auto;
	text-align: center;
}

.wp-block-jf-video-embed .jf-video-embed__legacy-title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
	text-wrap: balance;
}

.wp-block-jf-video-embed .jf-video-embed__legacy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: center;
}

.wp-block-jf-video-embed .jf-video-embed__legacy-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	backdrop-filter: blur(10px);
}

.wp-block-jf-video-embed .jf-video-embed__legacy-button.is-primary {
	background: rgba(236, 28, 36, 0.92);
}

.wp-block-jf-video-embed .jf-video-embed__legacy-button.is-secondary {
	background: rgba(27, 117, 187, 0.92);
}
