.child-eventer-stream-gate {
	--stream-gate-primary: var(--e-global-color-primary, #1A2E4E);
	--stream-gate-secondary: var(--e-global-color-secondary, #333333);
	--stream-gate-text: var(--e-global-color-text, #565656);
	--stream-gate-accent: var(--e-global-color-accent, #83B1D4);
	--stream-gate-highlight: var(--e-global-color-30cea7d, #E9C542);
	--stream-gate-black: var(--e-global-color-1d3f59b, #000000);
	--stream-gate-burgundy: var(--e-global-color-b7bf0a4, #8A0F2E);
	--stream-gate-surface: var(--e-global-color-700f767, #F8F8F8);
	--stream-gate-surface-alt: var(--e-global-color-e8f0134, #EFEFEF);
	--stream-gate-border: var(--e-global-color-1d2a157, #979797);
	--stream-gate-font: var(--e-global-typography-primary-font-family, "Roboto"), sans-serif;
	max-width: 1080px;
	margin: 0 auto;
	padding: 40px 20px 64px;
	font-family: var(--stream-gate-font);
	color: var(--stream-gate-text);
}

.child-eventer-stream-gate__header {
	margin-bottom: 26px;
	padding: 0;
	text-align: center;
	background: transparent;
	box-shadow: none;
}

.child-eventer-stream-gate__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--stream-gate-burgundy);
}

.child-eventer-stream-gate__event-title {
	margin: 0;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1;
	font-family: var(--stream-gate-font);
	font-weight: 400;
	color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__event-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.child-eventer-stream-gate__event-date,
.child-eventer-stream-gate__event-status {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
}

.child-eventer-stream-gate__event-date {
	color: var(--stream-gate-secondary);
}

.child-eventer-stream-gate__event-status {
	padding: 8px 14px;
	border: 1px solid rgba(131, 177, 212, 0.45);
	background: rgba(131, 177, 212, 0.14);
	color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__event-status.is-live {
	border-color: rgba(233, 197, 66, 0.6);
	background: rgba(233, 197, 66, 0.18);
	color: var(--stream-gate-burgundy);
}

.child-eventer-stream-gate__stage {
	position: relative;
	overflow: hidden;
	min-height: 600px;
	border: 1px solid rgba(151, 151, 151, 0.28);
	background: var(--stream-gate-black);
}

.child-eventer-stream-gate__locked-content {
	position: absolute;
	inset: 0;
}

.child-eventer-stream-gate__panel--content-locked {
	height: 100%;
	margin-top: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.child-eventer-stream-gate__panel--content-live[hidden] {
	display: none !important;
}

.child-eventer-stream-gate__preview {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.child-eventer-stream-gate__preview::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 19, 33, 0.08), rgba(10, 19, 33, 0.48)),
		linear-gradient(0deg, rgba(26, 46, 78, 0.42), rgba(26, 46, 78, 0.42));
}

.child-eventer-stream-gate__preview img,
.child-eventer-stream-gate__preview-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.child-eventer-stream-gate__preview-fallback {
	background:
		radial-gradient(circle at top left, rgba(233, 197, 66, 0.38), transparent 34%),
		radial-gradient(circle at bottom right, rgba(131, 177, 212, 0.42), transparent 42%),
		linear-gradient(135deg, #10213b 0%, #1a2e4e 58%, #24466f 100%);
}

.child-eventer-stream-gate__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: linear-gradient(180deg, rgba(26, 46, 78, 0.18), rgba(26, 46, 78, 0.72));
}

.child-eventer-stream-gate__stage--preview-only .child-eventer-stream-gate__preview::after {
	display: none;
}

.child-eventer-stream-gate__panel {
	padding: 28px;
	border: 1px solid rgba(151, 151, 151, 0.3);
	background: #ffffff;
	box-shadow: 0 16px 45px rgba(26, 46, 78, 0.08);
}

.child-eventer-stream-gate__content-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 24px;
}

.child-eventer-stream-gate__content-placeholder--locked {
	min-height: 600px;
	background: rgba(0, 0, 0, 0.22);
}

.child-eventer-stream-gate__content-placeholder--live {
	min-height: 360px;
	background: var(--stream-gate-surface);
}

.child-eventer-stream-gate__content-loaded {
	display: block;
	min-height: 0;
	padding: 0;
	background: transparent;
}

.child-eventer-stream-gate__content-loaded--locked {
	min-height: 600px;
	height: 100%;
}

.child-eventer-stream-gate__content-loaded--live {
	min-height: 600px;
}

.child-eventer-stream-gate__content-placeholder.is-error {
	padding: 28px;
}

.child-eventer-stream-gate__content-spinner {
	display: inline-flex;
	width: 32px;
	height: 32px;
	border: 3px solid rgba(255, 255, 255, 0.28);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: child-eventer-stream-gate-spin 0.8s linear infinite;
}

.child-eventer-stream-gate__content-placeholder--live .child-eventer-stream-gate__content-spinner {
	border-color: rgba(26, 46, 78, 0.18);
	border-top-color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__guidelines {
	display: grid;
	grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2.05fr);
	gap: 18px;
	align-items: center;
	margin: 0 0 18px;
	padding: 20px 22px;
	border: 1px solid rgba(131, 177, 212, 0.28);
	background:
		linear-gradient(135deg, rgba(131, 177, 212, 0.14), rgba(248, 248, 248, 0.98) 34%, rgba(239, 239, 239, 0.96) 100%);
	box-shadow: 0 12px 28px rgba(26, 46, 78, 0.08);
	color: var(--stream-gate-secondary);
}

.child-eventer-stream-gate__guidelines-intro {
	display: grid;
	gap: 8px;
	justify-items: start;
	text-align: left;
}

.child-eventer-stream-gate__guidelines-kicker {
	margin: 0;
	padding: 4px 10px;
	border: 1px solid rgba(138, 15, 46, 0.16);
	background: rgba(138, 15, 46, 0.08);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--stream-gate-burgundy);
}

.child-eventer-stream-gate__guidelines h2 {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.08;
	color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__guidelines-lead {
	max-width: 360px;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--stream-gate-text);
}

.child-eventer-stream-gate__guidelines-actions {
	margin: 0;
}

.child-eventer-stream-gate__guidelines-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border: 0 !important;
	background: var(--e-global-color-accent, var(--stream-gate-accent)) !important;
	color: var(--e-global-color-primary, var(--stream-gate-primary)) !important;
	box-shadow: none !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.child-eventer-stream-gate__guidelines-link:hover {
	background: var(--e-global-color-primary, var(--stream-gate-primary)) !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.child-eventer-stream-gate__guidelines-grid {
	display: grid;
	gap: 10px;
}

.child-eventer-stream-gate__guidelines-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 14px;
	border-left: 4px solid var(--stream-gate-highlight);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 20px rgba(26, 46, 78, 0.06);
}

.child-eventer-stream-gate__guidelines-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: var(--stream-gate-primary);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.child-eventer-stream-gate__guidelines-item h3 {
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.2;
	color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__guidelines-item p {
	margin: 0;
	margin-bottom: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: var(--stream-gate-text);
}

.child-eventer-stream-gate__panel--form {
	width: min(100%, 460px);
}

.child-eventer-stream-gate__panel--content {
	margin-top: 20px;
	border-radius: 0;
}

.child-eventer-stream-gate__panel--content-live {
	padding: 0;
	overflow: hidden;
	background: var(--stream-gate-black);
}

.child-eventer-stream-gate__panel--empty {
	text-align: center;
}

.child-eventer-stream-gate__panel h2 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 30px;
	line-height: 1.1;
	font-family: var(--stream-gate-font);
	font-weight: 400;
	color: var(--stream-gate-primary);
	text-align: center;
}

.child-eventer-stream-gate__panel p {
	margin-top: 0;
	margin-bottom: 0 !important;
	color: var(--stream-gate-text);
}

.child-eventer-stream-gate__form {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.child-eventer-stream-gate__form label {
	display: grid;
	gap: 8px;
	font-weight: 600;
	color: var(--stream-gate-secondary);
}

.child-eventer-stream-gate__form input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(151, 151, 151, 0.46);
	border-radius: 0;
	font-size: 16px;
	line-height: 1.2;
	background: var(--stream-gate-surface);
	color: var(--stream-gate-secondary);
	font-family: var(--stream-gate-font);
}

.child-eventer-stream-gate__form input:focus {
	outline: 2px solid rgba(131, 177, 212, 0.24);
	outline-offset: 0;
	border-color: var(--stream-gate-accent);
}

.child-eventer-stream-gate__form button,
.child-eventer-stream-gate-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border: 0;
	background: var(--stream-gate-burgundy);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	font-family: var(--stream-gate-font);
}

.child-eventer-stream-gate__form button:hover,
.child-eventer-stream-gate-link:hover {
	background: var(--stream-gate-primary);
	color: #ffffff;
}

.child-eventer-stream-gate__form button:disabled {
	cursor: wait;
	opacity: 1;
}

.child-eventer-stream-gate__form button.is-loading::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: child-eventer-stream-gate-spin 0.8s linear infinite;
}

.child-eventer-stream-gate__error,
.child-eventer-stream-gate__warning,
.child-eventer-stream-gate__notice {
	margin: 0 0 16px;
	padding: 12px 14px;
}

.child-eventer-stream-gate__error {
	background: rgba(138, 15, 46, 0.1);
	color: var(--stream-gate-burgundy);
}

.child-eventer-stream-gate__warning {
	border-left: 4px solid var(--stream-gate-burgundy);
	background: rgba(138, 15, 46, 0.12);
	color: var(--stream-gate-burgundy);
}

.child-eventer-stream-gate__notice {
	background: rgba(131, 177, 212, 0.16);
	color: var(--stream-gate-primary);
}

.child-eventer-stream-gate__panel--content iframe,
.child-eventer-stream-gate__panel--content video,
.child-eventer-stream-gate__panel--content embed {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 360px;
	border: 0;
	border-radius: 0;
	background: var(--stream-gate-black);
}

.child-eventer-stream-gate__panel--content-locked iframe,
.child-eventer-stream-gate__panel--content-locked video,
.child-eventer-stream-gate__panel--content-locked embed {
	min-height: 360px;
	filter: saturate(0.92);
}

.child-eventer-stream-gate__panel--content-live iframe,
.child-eventer-stream-gate__panel--content-live video,
.child-eventer-stream-gate__panel--content-live embed {
	min-height: 600px;
}

.child-eventer-stream-gate__panel--content .wp-block-embed,
.child-eventer-stream-gate__panel--content .wp-block-embed__wrapper,
.child-eventer-stream-gate__panel--content .fluid-width-video-wrapper {
	overflow: hidden;
	border-radius: 0;
}

.child-eventer-stream-gate__panel--content .wp-block-group,
.child-eventer-stream-gate__panel--content .wp-block-cover,
.child-eventer-stream-gate__panel--content .wp-block-columns {
	margin-bottom: 0;
}

.child-eventer-stream-gate-link img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

@keyframes child-eventer-stream-gate-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 782px) {
	.child-eventer-stream-gate {
		padding: 28px 16px 48px;
	}

	.child-eventer-stream-gate__stage {
		min-height: 460px;
	}

	.child-eventer-stream-gate__overlay {
		padding: 18px;
	}

	.child-eventer-stream-gate__panel {
		padding: 22px 18px;
	}

	.child-eventer-stream-gate__guidelines {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 16px 14px;
	}

	.child-eventer-stream-gate__guidelines-intro {
		justify-items: start;
		text-align: left;
	}

	.child-eventer-stream-gate__guidelines-grid {
		gap: 8px;
	}

	.child-eventer-stream-gate__guidelines-item {
		padding: 10px 12px;
	}

	.child-eventer-stream-gate__guidelines-lead {
		max-width: none;
	}
}
