.emfx-site-embed {
	--emfx-height: 100svh;
	position: relative;
	width: 100%;
	height: var(--emfx-height);
	min-height: 520px;
	overflow: hidden;
	isolation: isolate;
	background: #080e17;
}

.emfx-site-embed--full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.emfx-site-embed__frame {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #080e17;
}

.emfx-site-embed__loader {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #eaf3f8;
	font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: .02em;
	background: #080e17;
	transition: visibility .25s ease, opacity .25s ease;
}

.emfx-site-embed__spinner {
	width: 24px;
	height: 24px;
	border: 3px solid rgba(85, 144, 173, .28);
	border-top-color: #5590ad;
	border-radius: 50%;
	animation: emfx-core-spin .8s linear infinite;
}

.emfx-site-embed.is-loaded .emfx-site-embed__loader {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.emfx-site-embed__fallback {
	position: absolute;
	inset: auto 20px 20px;
	z-index: 3;
	margin: 0;
	padding: 12px 16px;
	text-align: center;
	background: #344056;
}

.emfx-site-embed__fallback a {
	color: #fff;
}

@keyframes emfx-core-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 767px) {
	.emfx-site-embed {
		min-height: 100svh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.emfx-site-embed__loader {
		transition: none;
	}

	.emfx-site-embed__spinner {
		animation-duration: 1.8s;
	}
}

