.video-plus-content-section {
	background: var(--wp--preset--color--primary-50);
	padding: 96px 24px;
}

.video-plus-content-inner {
	width: min(1400px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr);
	gap: 64px;
	align-items: start;
	max-width: calc(var(--wp--style--global--wide-size) - 40px) !important;
}

.video-plus-content-media {
	position: relative;
	margin: 0;
}

.video-plus-content-poster-wrap {
	position: relative;
	aspect-ratio: 760 / 430;
	min-height: unset !important;
	padding: 0 !important;
	overflow: hidden;
	border-radius: 2px;
}

.video-plus-content-poster-wrap .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-plus-content-play-wrap {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	pointer-events: none;
}

.video-plus-content-play {
	position: static;
	width: auto;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
	transform: none;
	pointer-events: auto;
}

.video-plus-content-play .wp-block-button__link {
	position: relative;
	width: 80px;
	height: 80px;
	min-width: 64px;
	min-height: 64px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.8) !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.video-plus-content-play .wp-block-button__link::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	background-image: url("/wp-content/uploads/2026/06/Play.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-left: 2px;
	border: 0;
}

/* Frontend: hide embed until play is clicked */
body:not(.wp-admin) .video-plus-content-embed {
	display: none;
}

/* Editor: keep embed visible/editable */
.editor-styles-wrapper .video-plus-content-embed {
	display: block !important;
	margin-top: 16px !important;
}

.video-plus-content-embed {
	width: 100%;
	aspect-ratio: 760 / 430;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 2px;
	background: #000;
}

.video-plus-content-embed .wp-video {
	width: 100% !important;
}

.video-plus-content-embed .wp-block-embed__wrapper {
	width: 100%;
	height: 100%;
}

.video-plus-content-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 760 / 430;
	border: 0;
}

body:not(.wp-admin) .video-plus-content-media.is-playing .video-plus-content-poster-wrap {
	display: none !important;
}

body:not(.wp-admin) .video-plus-content-media.is-playing .video-plus-content-embed {
	display: block !important;
}

.video-plus-content-copy {
	max-width: 480px;
	align-self: start;
	margin-top: 0 !important;
}

.video-plus-content-title {
	margin: 0 0 16px !important;
	color: var(--wp--preset--color--black);
	font-size: 34px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: -0.68px;
	text-transform: capitalize;
	background: transparent;
}

.video-plus-content-text {
	margin: 0 0 40px !important;
	color: var(--wp--preset--color--black);
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

.video-plus-content-buttons {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0 !important;
}

.video-plus-content-buttons > * {
	width: auto !important;
	flex: 0 0 auto;
}

.video-plus-content-buttons .wp-block-firsttracks-solid-button,
.video-plus-content-buttons .wp-block-firsttracks-transparent-button {
	width: auto !important;
}

/* Tablet */
@media (max-width: 1024px) {

	.video-plus-content-section {
		padding: 96px 40px;
	}

	.video-plus-content-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.video-plus-content-copy {
		max-width: 100%;
	}

	.video-plus-content-play .wp-block-button__link {
		width: 72px;
		height: 72px;
	}
}

/* Mobile */
@media (max-width: 767px) {

	.video-plus-content-section {
		padding: 48px 16px;
	}

	.video-plus-content-inner {
		gap: 16px;
		max-width: 100%;
	}

	.video-plus-content-poster-wrap,
	.video-plus-content-embed,
	.video-plus-content-embed iframe {
		aspect-ratio: 345 / 193;
	}

	.video-plus-content-play .wp-block-button__link {
		width: 56px;
		height: 56px;
		min-width: 56px;
		min-height: 56px;
	}

	.video-plus-content-play .wp-block-button__link::before {
		width: 24px;
		height: 24px;
	}

	.video-plus-content-title {
		margin-bottom: 8px !important;
		font-size: 22px;
		line-height: 28px;
		letter-spacing: -0.44px;
	}

	.video-plus-content-text {
		margin-bottom: 24px !important;
		font-size: 16px;
		line-height: 24px;
	}

	.video-plus-content-buttons {
		gap: 8px;
		flex-wrap: nowrap;
	}
}

/* ============================
 * Editor styles
 =========================== */
.editor-styles-wrapper .video-plus-content-section {
	background: var(--wp--preset--color--primary-50);
	padding: 96px 24px;
}

.editor-styles-wrapper .video-plus-content-inner {
	width: min(1360px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr);
	gap: 64px;
	align-items: start;
}

.editor-styles-wrapper .video-plus-content-media {
	position: relative;
	margin: 0;
}

.editor-styles-wrapper .video-plus-content-poster-wrap {
	position: relative;
	aspect-ratio: 760 / 430;
	min-height: unset !important;
	padding: 0 !important;
	overflow: hidden;
	border-radius: 2px;
}

.editor-styles-wrapper .video-plus-content-poster-wrap .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.editor-styles-wrapper .video-plus-content-play-wrap {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	pointer-events: none;
}

.editor-styles-wrapper .video-plus-content-play {
	position: static;
	width: auto;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
	transform: none;
	pointer-events: auto;
}

.editor-styles-wrapper .video-plus-content-play .wp-block-button__link {
	position: relative;
	width: 80px;
	height: 80px;
	min-width: 64px;
	min-height: 64px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.8) !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.editor-styles-wrapper .video-plus-content-play .wp-block-button__link::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	background-image: url("/wp-content/uploads/2026/06/Play.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-left: 2px;
	border: 0;
}

.editor-styles-wrapper .video-plus-content-embed {
	display: block !important;
	width: 100%;
	aspect-ratio: 760 / 430;
	margin-top: 16px !important;
	overflow: hidden;
	border-radius: 2px;
	background: #000;
}

.editor-styles-wrapper .video-plus-content-embed .wp-block-embed__wrapper {
	width: 100%;
	height: 100%;
}

.editor-styles-wrapper .video-plus-content-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 760 / 430;
	border: 0;
}

.editor-styles-wrapper .video-plus-content-copy {
	max-width: 480px;
	align-self: start;
	margin-top: 0 !important;
}

.editor-styles-wrapper .video-plus-content-title {
	margin: 0 0 16px !important;
	color: var(--wp--preset--color--black);
	font-size: 34px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: -0.68px;
	text-transform: capitalize;
	background: transparent;
}

.editor-styles-wrapper .video-plus-content-text {
	margin: 0 0 40px !important;
	color: var(--wp--preset--color--black);
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

.editor-styles-wrapper .video-plus-content-buttons {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0 !important;
}

.editor-styles-wrapper .video-plus-content-buttons > * {
	width: auto !important;
	flex: 0 0 auto;
}

@media (max-width: 1024px) {
	.editor-styles-wrapper .video-plus-content-section {
		padding: 96px 40px;
	}

	.editor-styles-wrapper .video-plus-content-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.editor-styles-wrapper .video-plus-content-copy {
		max-width: 100%;
	}

	.editor-styles-wrapper .video-plus-content-play .wp-block-button__link {
		width: 72px;
		height: 72px;
	}
}

@media (max-width: 767px) {
	.editor-styles-wrapper .video-plus-content-section {
		padding: 48px 16px;
	}

	.editor-styles-wrapper .video-plus-content-inner {
		gap: 16px;
		max-width: 100%;
	}

	.editor-styles-wrapper .video-plus-content-poster-wrap,
	.editor-styles-wrapper .video-plus-content-embed,
	.editor-styles-wrapper .video-plus-content-embed iframe {
		aspect-ratio: 345 / 193;
	}

	.editor-styles-wrapper .video-plus-content-play .wp-block-button__link {
		width: 56px;
		height: 56px;
		min-width: 56px;
		min-height: 56px;
	}

	.editor-styles-wrapper .video-plus-content-play .wp-block-button__link::before {
		width: 24px;
		height: 24px;
	}

	.editor-styles-wrapper .video-plus-content-title {
		margin-bottom: 8px !important;
		font-size: 22px;
		line-height: 28px;
		letter-spacing: -0.44px;
	}

	.editor-styles-wrapper .video-plus-content-text {
		margin-bottom: 24px !important;
		font-size: 16px;
		line-height: 24px;
	}

	.editor-styles-wrapper .video-plus-content-buttons {
		gap: 8px;
		flex-wrap: nowrap;
	}
}