.sdc-groundwork-video-embed {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: #111827;
}

.sdc-groundwork-video-embed iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	border: 0;
}

.sdc-groundwork-video-embed .sdc-gw-consent-embed-wrap {
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.sdc-groundwork-video-embed-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sdc-groundwork-video-embed-block__field .components-base-control {
	margin-bottom: 0;
}

.sdc-groundwork-video-embed-block__preview {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(180deg, #7a7f87 0%, #4c525b 100%);
	isolation: isolate;
}

.sdc-groundwork-video-embed-block__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(122, 127, 135, 0.55) 0%, rgba(76, 82, 91, 0.65) 100%);
	pointer-events: none;
}

.sdc-gw-media-cover-center {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: 50% 50%;
	border: 0;
	margin: 0;
	padding: 0;
}

.sdc-groundwork-video-embed-block__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
	z-index: 2;
	display: block;
	border: 0;
}

.editor-styles-wrapper .sdc-groundwork-video-embed-block__preview > .sdc-groundwork-video-embed-block__thumb {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center center;
}

.sdc-groundwork-video-embed-block__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	z-index: 3;
	pointer-events: none;
	border: 3px solid #ffffff;
	background: rgba(0, 0, 0, 0.55);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.sdc-groundwork-video-embed-block__play-triangle {
	display: block;
	width: 24px;
	height: 28px;
	margin-left: 4px;
	background: #ffffff;
	clip-path: polygon(0 0, 0 100%, 100% 50%);
}
