.videopronto-background {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--vp-min-height, 520px);
	color: #fff;
	background: #111;
}

.videopronto-bg-video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.videopronto-bg-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--vp-overlay, #000);
	opacity: calc(var(--vp-overlay-opacity, 35) / 100);
	pointer-events: none;
}

.videopronto-bg-content {
	position: relative;
	width: 100%;
	max-width: 1100px;
	padding: 3rem 1.5rem;
	box-sizing: border-box;
}

.videopronto-bg-content :where(h1, h2, h3, h4, p, li) {
	color: inherit;
}

.videopronto-bg-toggle {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

.videopronto-bg-toggle[hidden] {
	display: none;
}

.videopronto-bg-toggle:hover,
.videopronto-bg-toggle:focus-visible {
	background: rgba(0, 0, 0, 0.7);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Two bars (pause); a triangle when paused */
.videopronto-bg-toggle span::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 14px;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;
	box-sizing: border-box;
	vertical-align: middle;
}

.videopronto-bg-toggle.is-paused span::before {
	width: 0;
	height: 0;
	border-left: 12px solid currentColor;
	border-right: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	margin-left: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.videopronto-bg-toggle {
		display: none;
	}
}
