/**
 * Reserve space for media, overlay banners, and hide deferred UI before JS.
 */

img[width][height],
video[width][height] {
	height: auto;
	max-width: 100%;
}

.et_pb_main_blurb_image img:not([width]),
img.et-waypoint:not([width]) {
	width: 32px;
	height: 32px;
	aspect-ratio: 1 / 1;
}

img[src*="hero-line-shape"]:not([width]) {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 1;
	height: auto;
}

.et_pb_video_box,
.et_pb_video iframe,
.et_pb_video video,
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"],
iframe[src*="dailymotion.com"] {
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Consent UI overlays the page; never insert it into document flow. */
#cmplz-cookiebanner-container,
#cmplz-manage-consent {
	position: fixed !important;
	inset: auto 0 0 0;
	width: 100%;
	height: 0;
	overflow: visible;
	pointer-events: none;
	z-index: 99999;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner,
#cmplz-manage-consent .cmplz-manage-consent {
	pointer-events: auto;
}

#cmplz-manage-consent .cmplz-manage-consent {
	animation: none !important;
	bottom: 0 !important;
	transform: translate3d(0, var(--cmplz-manage-consent-offset, -35px), 0);
	transition: transform 0.5s ease;
}

#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus {
	animation: none !important;
	transform: translate3d(0, 0, 0);
}

/* First paint already matches the JS-settled layout. */
#reveal,
#reveal-1,
#reveal-2,
.application,
.yearly-pricing,
.molti-custom-tabs-content-2,
.molti-custom-tabs-content-3,
.molti-custom-tabs-content-4,
.recent,
.molti-comments,
.options,
.info-content,
.the-new-pages-content {
	display: none;
}
