/* VID-1: heading and text beside an embedded video */

.wprk-vid-1 .wprk-vid-1__cols {
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
}

/* The gap between the columns spaces the head, stacked or side by side. */
.wprk-vid-1 .wprk-section__head {
	margin-block-end: 0;
}

.wprk-vid-1 .wprk-vid-1__text > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--30);
}

.wprk-vid-1 .wp-block-embed {
	margin: 0;
}

/*
 * The frame: large radius, hairline border, 16 to 9.
 * Core keeps the ratio only when the page carries its "responsive embeds" class,
 * so the ratio is set here as well and holds on the front end and in the editor.
 */
.wprk-vid-1 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
	background-color: var(--wprk-soft);
	border: 1px solid var(--wprk-border);
	border-radius: var(--wprk-picture-radius, var(--wp--custom--radius--lg));
	overflow: hidden;
	position: relative;
}

.wprk-vid-1 .wp-block-embed__wrapper iframe {
	border: 0;
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}
