
.wp-block-sep-video-feature {
	--video-feature-arc: hsla(0, 0%, 100%, .9);
	--video-feature-border: #fff;
	--video-feature-label-bg: rgba(0, 0, 0, .7);
	--video-feature-label-color: #fff;
	--video-feature-play-bg: #fff;
	--video-feature-play-color: var(--icon-icon-fill-primary);
	--py: clamp(40px, 5.33333vw, 80px);
	--pl: clamp(20px, 2.66667vw, 40px);
	border: 0;
	box-sizing: border-box;
	overflow: visible;
	padding: var(--py, 0) var(--pl, 0);
	position: relative;
}

.wp-block-sep-video-feature.hide-brand-elements {
	--py: 0;
	--px: 0;
}

.wp-block-sep-video-feature.hide-brand-elements .video-feature__bg, .wp-block-sep-video-feature.hide-brand-elements .video-feature__fg {
	display: none;
}

.video-feature__bg, .video-feature__fg {
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.video-feature__fg {
	pointer-events: none;
	z-index: 3;
}

.video-feature__arc {
	bottom: calc(var(--py, 0px) * -1);
	height: auto;
	left: calc(var(--pl, 0px) * -1);
	position: absolute;
	width: clamp(175px, 23.3333333333vw, 350px);
}

.video-feature__wrapper {
	margin: 0 auto;
	max-width: 900px;
	position: relative;
}

.video-feature__decor {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.video-feature__pentagon {
	position: absolute;
}

.video-feature__pentagon-bg {
	height: calc(100% + var(--py) + var(--py));
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: auto;
}

.video-feature__pentagon--top-right-small {
	right: 0;
	top: 0;
	transform: translateY(-75%) translateX(5%);
}

.video-feature__container {
	aspect-ratio: var(--aspect-ratio, 16 / 9);
	background: var(--border-color, #fff);
	border-radius: 0;
	overflow: hidden;
	padding: var(--border-width, 4px);
	position: relative;
	z-index: 1;
}

.video-feature__thumbnail {
	background: #1a1a1a;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	display: block;
	height: 100%;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.video-feature__thumbnail:focus-visible {
	outline: 3px solid var(--video-feature-decor-medium);
	outline-offset: 2px;
}

.video-feature__thumbnail:hover .video-feature__play {
	transform: scale(1.1);
}

.video-feature__thumbnail:hover .video-feature__thumbnail-img {
	transform: scale(1.02);
}

.video-feature__thumbnail-img {
	height: 100%;
	inset: 0;
	-o-object-fit: cover;
	object-fit: cover;
	position: absolute;
	transition: transform .3s ease;
	width: 100%;
}

.video-feature__label {
	background: var(--video-feature-label-bg);
	border-radius: 2px;
	color: var(--video-feature-label-color);
	font-size: clamp(14px, 2vw, 20px);
	font-weight: 600;
	left: clamp(16px, 3vw, 32px);
	letter-spacing: .02em;
	padding: 8px 20px;
	text-transform: capitalize;
}

.video-feature__label, .video-feature__play {
	bottom: clamp(16px, 3vw, 32px);
	position: absolute;
}

.video-feature__play {
	align-items: center;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	color: var(--button-btn-tertiary-text-icon-initial);
	display: flex;
	height: clamp(40px, 6vw, 60px);
	justify-content: center;
	right: clamp(16px, 3vw, 32px);
	transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease;
	width: clamp(40px, 6vw, 60px);
}

.video-feature__play:hover {
	background: var(--button-btn-secondary-fill-hover);
	color: var(--button-btn-secondary-text-icon-hover);
}

.video-feature__play svg {
	height: 50%;
	width: 50%;
}

.video-feature__embed {
	inset: 0;
	padding: inherit;
	position: absolute;
}

.video-feature__embed iframe {
	border-radius: 2px;
	height: 100%;
	width: 100%;
}

.video-feature__embed[hidden] {
	display: none;
}

.editor-styles-wrapper .wp-block-sep-video-feature .video-feature__thumbnail {
	cursor: default;
}

.editor-styles-wrapper .wp-block-sep-video-feature .video-feature__thumbnail:hover .video-feature__play {
	transform: translate(-50%, -50%);
}

.editor-styles-wrapper .wp-block-sep-video-feature .video-feature__thumbnail img {
	height: auto;
	max-width: 100%;
}

.editor-styles-wrapper .wp-block-sep-video-feature .components-placeholder {
	background: rgba(0, 0, 0, .05);
	min-height: 200px;
}
