/* Click-to-load gate for third-party video embeds (see functions.php: bmh_vimeo_click_to_load) */

.bmh-video-gate {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 20px;
	background: #1d2343;
	color: #fff;
	text-align: center;
}

/* Inside core's responsive embed wrapper the wrapper already reserves the aspect ratio. */
.wp-embed-responsive .wp-block-embed.wp-has-aspect-ratio .bmh-video-gate {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.bmh-video-gate__play {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 28px;
	border: 2px solid #af9c64;
	border-radius: 999px;
	background: #af9c64;
	color: #1d2343;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
}

.bmh-video-gate__play:hover,
.bmh-video-gate__play:focus-visible {
	background: #fff;
	border-color: #fff;
	outline: none;
}

.bmh-video-gate__icon {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent currentColor;
}

.bmh-video-gate__notice {
	max-width: 520px;
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #f7f4ef;
}

.bmh-video-gate__notice a {
	color: #af9c64;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.bmh-video-gate {
		padding: 12px;
	}

	.bmh-video-gate__play {
		padding: 10px 20px;
		font-size: 15px;
	}

	.bmh-video-gate__notice {
		margin-top: 10px;
		font-size: 11px;
	}
}
