/**
 * YouTube consent notice. Ported from the CEC theme's youtube-consent.css
 * (flattened: this theme has no CSS build step).
 *
 * gate_youtube_oembed() leaves the iframe without a src until Cookiebot sees
 * marketing consent, so the 16:9 embed box would otherwise sit empty. This
 * notice covers that box. uc.js shows .cookieconsent-optout-marketing until
 * consent is given and hides it afterwards by setting an inline display, so
 * the flex layout lives on the inner wrapper rather than on the notice itself.
 */

.aw-video-consent {
	background: #0a1a4a;
	color: #fff;
	inset: 0;
	position: absolute;
	z-index: 2;
}

.aw-video-consent__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	height: 100%;
	justify-content: center;
	padding: 1.5em;
	text-align: center;
}

.aw-video-consent__inner p {
	margin: 0;
	max-width: 32em;
}

.aw-video-consent__inner a,
.aw-video-consent__inner .aw-video-consent__button {
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
}

.aw-video-consent__inner .aw-video-consent__button {
	background: none;
	border: 0;
	cursor: pointer;
	margin-inline-end: 1.25em;
	padding: 0;
}

.aw-video-consent__inner a:focus-visible,
.aw-video-consent__inner .aw-video-consent__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
