.lwh-video-block {
	margin: 0;
}

.lwh-video-block__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg-2);
	position: relative;
}

.lwh-video-block__video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	background: var(--bg-2);
}

.lwh-video-block--empty {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-2);
	border: 1px dashed var(--line);
	color: var(--fg-3);
}

/* Background video mode — full-bleed looping video filling the section.
   The section is the positioning context; the container is neutralised so the
   absolutely-positioned figure fills the whole section instead of the
   zero-height, max-width-constrained container. (Reveal is already disabled
   via data-no-reveal on the block wrapper — see video.php.) */
.video--background-mode {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
}

.video--background-mode .lwh-container {
	position: static;
	max-width: none;
	padding: 0;
}

.video--background-mode .lwh-video-block {
	position: absolute;
	inset: 0;
	margin: 0;
}

.video--background-mode .lwh-video-block__frame {
	aspect-ratio: auto;
	width: 100%;
	height: 100%;
}

