/* Video Block (.ms-vidblk) */
body.template-block-builder .wp-block-acf-video-block,
body.template-page .wp-block-acf-video-block,
body.template-component-demo .wp-block-acf-video-block,
.editor-styles-wrapper .wp-block-acf-video-block {
	border: 0;
	border-top: 0;
	border-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}

body.template-block-builder .ms-vidblk,
body.template-page .ms-vidblk,
body.template-component-demo .ms-vidblk,
.editor-styles-wrapper .ms-vidblk {
	--ms-vidblk-bg: #e9e1d0;
	--ms-vidblk-title: #2d1d06;
	--ms-vidblk-placeholder: #d4cbb8;
	--ms-vidblk-max: 1200px;
	background: var(--ms-vidblk-bg);
	box-sizing: border-box;
	border: 0;
	margin: 0;
	padding: 100px 72px 100px;
	width: 100%;
}

body.template-block-builder .ms-vidblk__inner,
body.template-page .ms-vidblk__inner,
body.template-component-demo .ms-vidblk__inner,
.editor-styles-wrapper .ms-vidblk__inner {
	max-width: var(--ms-vidblk-max);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding: 0;
}

body.template-block-builder .ms-vidblk__title,
body.template-page .ms-vidblk__title,
body.template-component-demo .ms-vidblk__title,
.editor-styles-wrapper .ms-vidblk__title {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-align: center;
	text-transform: uppercase;
	color: var(--ms-vidblk-title);
	margin: 0 0 48px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__media,
body.template-page .ms-vidblk__media,
body.template-component-demo .ms-vidblk__media,
.editor-styles-wrapper .ms-vidblk__media {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__poster,
body.template-page .ms-vidblk__poster,
body.template-component-demo .ms-vidblk__poster,
.editor-styles-wrapper .ms-vidblk__poster,
.ms-vidblk__poster {
	position: relative;
	width: 100%;
	max-height: var(--ms-rebrand-hero-max-height, 550px);
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__poster-img,
body.template-page .ms-vidblk__poster-img,
body.template-component-demo .ms-vidblk__poster-img,
.editor-styles-wrapper .ms-vidblk__poster-img,
body.template-block-builder .ms-vidblk__poster-placeholder,
body.template-page .ms-vidblk__poster-placeholder,
body.template-component-demo .ms-vidblk__poster-placeholder,
.editor-styles-wrapper .ms-vidblk__poster-placeholder,
.ms-vidblk__poster-img,
.ms-vidblk__poster-placeholder {
	display: block;
	width: 100%;
	max-height: var(--ms-rebrand-hero-max-height, 550px);
	aspect-ratio: 1200 / 560;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__poster-placeholder,
body.template-page .ms-vidblk__poster-placeholder,
body.template-component-demo .ms-vidblk__poster-placeholder,
.editor-styles-wrapper .ms-vidblk__poster-placeholder {
	background: var(--ms-vidblk-placeholder);
}

body.template-block-builder .ms-vidblk__overlay,
body.template-page .ms-vidblk__overlay,
body.template-component-demo .ms-vidblk__overlay,
.editor-styles-wrapper .ms-vidblk__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90.03deg, rgba(36, 31, 33, 0.48) 0.03%, rgba(36, 31, 33, 0.12) 99.97%);
	pointer-events: none;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__play,
body.template-page .ms-vidblk__play,
body.template-component-demo .ms-vidblk__play,
.editor-styles-wrapper .ms-vidblk__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body.template-block-builder .ms-vidblk__play--static,
body.template-page .ms-vidblk__play--static,
body.template-component-demo .ms-vidblk__play--static,
.editor-styles-wrapper .ms-vidblk__play--static {
	pointer-events: none;
}

body.template-block-builder .ms-vidblk__play:hover,
body.template-page .ms-vidblk__play:hover,
body.template-component-demo .ms-vidblk__play:hover,
.editor-styles-wrapper .ms-vidblk__play:hover,
body.template-block-builder .ms-vidblk__play:focus-visible,
body.template-page .ms-vidblk__play:focus-visible,
body.template-component-demo .ms-vidblk__play:focus-visible,
.editor-styles-wrapper .ms-vidblk__play:focus-visible {
	transform: translate(-50%, -50%) scale(1.05);
	outline: none;
}

body.template-block-builder .ms-vidblk__play-icon,
body.template-page .ms-vidblk__play-icon,
body.template-component-demo .ms-vidblk__play-icon,
.editor-styles-wrapper .ms-vidblk__play-icon {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0;
	padding: 0;
}

body.template-block-builder .ms-vidblk__embed,
body.template-page .ms-vidblk__embed,
body.template-component-demo .ms-vidblk__embed,
.editor-styles-wrapper .ms-vidblk__embed,
.ms-vidblk__embed {
	position: relative;
	width: 100%;
	max-height: var(--ms-rebrand-hero-max-height, 550px);
	aspect-ratio: 1200 / 560;
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
}

body.template-block-builder .ms-vidblk__embed iframe,
body.template-page .ms-vidblk__embed iframe,
body.template-component-demo .ms-vidblk__embed iframe,
.editor-styles-wrapper .ms-vidblk__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-vidblk__media.is-playing .ms-vidblk__poster,
body.template-page .ms-vidblk__media.is-playing .ms-vidblk__poster,
body.template-component-demo .ms-vidblk__media.is-playing .ms-vidblk__poster,
.editor-styles-wrapper .ms-vidblk__media.is-playing .ms-vidblk__poster {
	display: none;
}

body.template-block-builder .ms-vidblk__media.is-playing .ms-vidblk__embed,
body.template-page .ms-vidblk__media.is-playing .ms-vidblk__embed,
body.template-component-demo .ms-vidblk__media.is-playing .ms-vidblk__embed,
.editor-styles-wrapper .ms-vidblk__media.is-playing .ms-vidblk__embed {
	display: block;
}

@media (max-width: 1024px) {
	body.template-block-builder .ms-vidblk,
	body.template-page .ms-vidblk,
	body.template-component-demo .ms-vidblk,
	.editor-styles-wrapper .ms-vidblk {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 600px) {
	body.template-block-builder .ms-vidblk,
	body.template-page .ms-vidblk,
	body.template-component-demo .ms-vidblk,
	.editor-styles-wrapper .ms-vidblk {
		padding: 60px 24px 120px;
	}

	body.template-block-builder .ms-vidblk__title,
	body.template-page .ms-vidblk__title,
	body.template-component-demo .ms-vidblk__title,
	.editor-styles-wrapper .ms-vidblk__title {
		margin-bottom: 32px;
		font-size: 20px;
	}

	body.template-block-builder .ms-vidblk__play,
	body.template-page .ms-vidblk__play,
	body.template-component-demo .ms-vidblk__play,
	.editor-styles-wrapper .ms-vidblk__play,
	body.template-block-builder .ms-vidblk__play-icon,
	body.template-page .ms-vidblk__play-icon,
	body.template-component-demo .ms-vidblk__play-icon,
	.editor-styles-wrapper .ms-vidblk__play-icon {
		width: 56px;
		height: 56px;
	}
}
