/* Glow Events — play / video stories section (Elementor video widgets) */

@keyframes glow-play-pulse {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

/* ── Section header ── */
.elementor-element.glow-play-section .elementor-element-f45149d {
	align-items: flex-end !important;
	gap: 32px !important;
	margin-bottom: 56px !important;
}

.elementor-element.glow-play-section .elementor-element-9295e47 .elementor-widget-container {
	font-family: var(--e-global-typography-text-font-family, "Mulish", sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.4;
}

.elementor-element.glow-play-section .elementor-element-09fe51d .elementor-heading-title {
	font-family: var(--e-global-typography-875c6c2-font-family, "Libre Baskerville", serif);
	font-size: clamp(38px, 4.5vw, 60px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #fff;
	margin: 14px 0 0;
	text-wrap: balance;
}

.elementor-element.glow-play-section .elementor-element-09fe51d .elementor-heading-title i {
	font-style: italic;
	opacity: 0.85;
}

.elementor-element.glow-play-section .elementor-element-1e72677 {
	max-width: 620px;
}

.elementor-element.glow-play-section .elementor-element-68c2989 .elementor-widget-container {
	font-family: var(--e-global-typography-text-font-family, "Mulish", sans-serif);
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	max-width: 360px;
}

.elementor-element.glow-play-section {
	position: relative;
	overflow: hidden;
}

.elementor-element.glow-play-section::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	background: var(--e-global-color-primary, #abb48e);
	opacity: 0.18;
	transform: rotate(45deg);
	pointer-events: none;
	z-index: 0;
}

.elementor-element.glow-play-section > .e-con-inner {
	position: relative;
	z-index: 1;
}

/* ── Video grid ── */
.elementor-element.glow-video-grid {
	/* grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) !important; */
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
}

/* ── Video card: stack video + overlays in one grid cell ── */
.elementor-element.glow-video-card {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-template-rows: 1fr !important;
	border-radius: 2px;
	overflow: hidden;
	--display: grid !important;
}

.elementor-element.glow-video-card:not(:first-child) {
	max-height: 400px;
}

.elementor-element.glow-video-card > .elementor-element {
	grid-column: 1 / 2 !important;
	grid-row: 1 / 2 !important;
	min-width: 0 !important;
}

.elementor-element.glow-video-card > .elementor-widget-video {
	position: relative !important;
	z-index: 1 !important;
	width: 100% !important;
	--container-widget-width: 100% !important;
	--container-widget-flex-grow: 0 !important;
	align-self: stretch !important;
}

.elementor-element.glow-video-card > .elementor-widget-video .elementor-widget-container {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #000;
}

.elementor-element.glow-video-card .elementor-widget-video .elementor-wrapper {
	--video-aspect-ratio: 0.8 !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	overflow: hidden;
}

.elementor-element.glow-video-card .elementor-widget-video .elementor-video,
.elementor-element.glow-video-card .elementor-widget-video .elementor-video iframe {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	transform: translate(-50%, -50%) !important;
	border: 0 !important;
}

/* YouTube 16:9 — scale to cover the 4:5 frame */
.elementor-element.glow-video-card .elementor-widget-video .elementor-video iframe {
	width: 178% !important;
	max-width: none !important;
}

.elementor-element.glow-video-card .elementor-custom-embed-image-overlay {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-size: cover !important;
	background-position: center !important;
}

.elementor-element.glow-video-card .elementor-custom-embed-image-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
	pointer-events: none;
	z-index: 1;
}

.elementor-element.glow-video-card .elementor-custom-embed-image-overlay img,
.elementor-element.glow-video-card .elementor-custom-embed-image-overlay {
	filter: brightness(0.7);
	transition: filter 0.6s ease, transform 0.6s ease;
}

.elementor-element.glow-video-card:hover .elementor-custom-embed-image-overlay img {
	filter: brightness(0.85);
	transform: scale(1.05);
}

/* ── Custom play button ── */
.elementor-element.glow-play-section .elementor-custom-embed-play {
	width: var(--glow-play-size, 52px) !important;
	height: var(--glow-play-size, 52px) !important;
	z-index: 3 !important;
}

.elementor-element.glow-play-section .elementor-custom-embed-play i,
.elementor-element.glow-play-section .elementor-custom-embed-play svg {
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden;
	position: absolute;
}

.elementor-element.glow-play-section .elementor-custom-embed-play::before {
	content: "";
	display: block;
	width: var(--glow-play-size, 52px);
	height: var(--glow-play-size, 52px);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	position: relative;
	z-index: 1;
}

.elementor-element.glow-play-section .elementor-custom-embed-play::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-34%, -50%);
	border-style: solid;
	border-width: calc(var(--glow-play-size, 52px) * 0.15) 0 calc(var(--glow-play-size, 52px) * 0.15) calc(var(--glow-play-size, 52px) * 0.26);
	border-color: transparent transparent transparent var(--e-global-color-primary, #abb48e);
	z-index: 2;
	pointer-events: none;
}

.elementor-element.glow-video-card.glow-video-card--hero .elementor-custom-embed-play {
	--glow-play-size: 80px;
	inset: auto !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) .elementor-custom-embed-play {
	--glow-play-size: 52px;
	inset: auto !important;
	top: auto !important;
	left: 18px !important;
	bottom: 18px !important;
	right: auto !important;
	transform: none !important;
}

.elementor-element.glow-video-card.glow-video-card--hero .elementor-custom-embed-play::before {
	animation: glow-play-pulse 2s ease-out infinite;
}

/* ── Overlay labels (on top of video) ── */
.elementor-element.glow-video-card > .elementor-element.glow-video-runtime,
.elementor-element.glow-video-card > .elementor-element.glow-video-sub,
.elementor-element.glow-video-card > .elementor-element.glow-video-title {
	position: absolute !important;
	z-index: 5 !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: calc(100% - 36px) !important;
	--container-widget-width: auto !important;
	--container-widget-flex-grow: 0 !important;
	flex-grow: 0 !important;
	align-self: auto !important;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-runtime .elementor-widget-container,
.elementor-element.glow-video-card > .elementor-element.glow-video-sub .elementor-widget-container,
.elementor-element.glow-video-card > .elementor-element.glow-video-title .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-runtime {
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	bottom: auto !important;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-runtime p {
	margin: 0;
	padding: 4px 10px;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-family: var(--e-global-typography-text-font-family, "Mulish", sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.2;
}

.elementor-element.glow-video-card {
	--glow-title-bottom: 22px;
	--glow-subtitle-gap: 6px;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) {
	--glow-title-bottom: 18px;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-sub {
	left: 18px !important;
	right: 18px !important;
	top: auto !important;
	bottom: var(
		--glow-sub-bottom,
		calc(var(--glow-title-bottom) + 32px * 1.15 + var(--glow-subtitle-gap))
	) !important;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-sub p {
	margin: 0;
	font-family: var(--e-global-typography-text-font-family, "Mulish", sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.2;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-title {
	left: 18px !important;
	right: 18px !important;
	bottom: var(--glow-title-bottom) !important;
	top: auto !important;
}

.elementor-element.glow-video-card > .elementor-element.glow-video-title .elementor-heading-title {
	margin: 0;
	font-family: "Libre Baskerville", serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.15;
	color: #fff;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-sub,
.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-title {
	padding-left: 64px !important;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-title .elementor-heading-title {
	font-size: 22px;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-sub {
	bottom: var(
		--glow-sub-bottom,
		calc(var(--glow-title-bottom) + 22px * 1.15 + var(--glow-subtitle-gap))
	) !important;
}

.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-title {
	bottom: var(--glow-title-bottom) !important;
}

/* Hide labels when video is playing */
.elementor-element.glow-video-card.is-playing > .elementor-element.glow-video-runtime,
.elementor-element.glow-video-card.is-playing > .elementor-element.glow-video-sub,
.elementor-element.glow-video-card.is-playing > .elementor-element.glow-video-title {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (max-width: 1024px) {
	.elementor-element.glow-play-section .elementor-element-f45149d {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 14px !important;
		margin-bottom: 32px !important;
	}

	.elementor-element.glow-play-section .elementor-element-09fe51d .elementor-heading-title {
		font-size: 38px;
	}

	.elementor-element.glow-video-grid {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	.elementor-element.glow-video-card > .elementor-widget-video .elementor-widget-container {
		aspect-ratio: 16 / 10;
	}

	.elementor-element.glow-video-card .elementor-widget-video .elementor-wrapper {
		--video-aspect-ratio: 0.625 !important;
	}

	.elementor-element.glow-video-card.glow-video-card--hero .elementor-custom-embed-play {
		--glow-play-size: 64px;
	}

	.elementor-element.glow-video-card > .elementor-element.glow-video-sub {
		bottom: var(
			--glow-sub-bottom,
			calc(var(--glow-title-bottom) + 26px * 1.15 + var(--glow-subtitle-gap))
		) !important;
	}

	.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-sub {
		bottom: var(
			--glow-sub-bottom,
			calc(var(--glow-title-bottom) + 20px * 1.15 + var(--glow-subtitle-gap))
		) !important;
	}

	.elementor-element.glow-video-card > .elementor-element.glow-video-title .elementor-heading-title {
		font-size: 26px;
	}

	.elementor-element.glow-video-card:not(.glow-video-card--hero) > .elementor-element.glow-video-title .elementor-heading-title {
		font-size: 20px;
	}
}