/* Event listing hero: 16:9 player + aligned gallery rail */
.vnd-event-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	width: 100%;
	margin: 0 0 18px;
}
.vnd-event-hero__player-wrap {
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
}
.vnd-event-hero.has-gallery .vnd-event-hero__player-wrap {
	flex: 1 1 calc(100% - 150px);
	max-width: calc(100% - 150px);
}
.vnd-event-hero__stage {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 fallback */
	aspect-ratio: 16 / 9;
	background: #0f172a;
	border-radius: 8px;
	overflow: hidden;
}
@supports (aspect-ratio: 16 / 9) {
	.vnd-event-hero__stage {
		height: auto;
		padding-bottom: 0;
	}
}
.vnd-event-hero__stage img,
.vnd-event-hero__stage video,
.vnd-event-hero__stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	display: block;
}
.vnd-event-hero__stage iframe {
	object-fit: unset;
}
.vnd-event-hero__unmute {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.78);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	padding: 10px 14px;
	cursor: pointer;
}
.vnd-event-hero__unmute.is-on {
	background: #e11d48;
}
.vnd-event-hero__rail {
	flex: 0 0 130px;
	width: 130px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: auto;
	align-self: stretch;
}
.vnd-event-hero__open {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}
.vnd-event-hero__open img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.vnd-event-hero__thumb {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #e5e7eb;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	cursor: zoom-in;
}
.vnd-event-hero__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.vnd-event-hero__more {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: rgba(15, 23, 42, 0.62);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}
.vnd-event-hero__more i {
	font-size: 16px;
}

/* Desktop: player fills main column; rail stays height-aligned */
@media (min-width: 992px) {
	.hotel-detail-main .vnd-event-hero.has-gallery .vnd-event-hero__player-wrap {
		max-width: calc(100% - 168px);
		flex: 1 1 calc(100% - 168px);
	}
	.hotel-detail-main .vnd-event-hero__rail {
		width: 156px;
		flex: 0 0 156px;
		gap: 10px;
	}
	.hotel-detail-main .vnd-event-hero__stage,
	.hotel-detail-main .vnd-event-hero__thumb {
		border-radius: 12px;
	}
}

@media (max-width: 991px) {
	.vnd-event-hero,
	.vnd-event-hero.has-gallery {
		flex-direction: column;
	}
	.vnd-event-hero.has-gallery .vnd-event-hero__player-wrap,
	.vnd-event-hero__player-wrap {
		max-width: 100%;
		flex-basis: 100%;
	}
	.vnd-event-hero__rail {
		width: 100%;
		flex-basis: auto;
		flex-direction: row;
		flex-wrap: nowrap;
		height: auto;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		gap: 8px;
		padding-bottom: 4px;
	}
	.vnd-event-hero__rail::-webkit-scrollbar { height: 0; display: none; }
	.vnd-event-hero__thumb {
		flex: 0 0 28%;
		width: 28%;
		aspect-ratio: 1 / 1;
		min-height: 96px;
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.vnd-event-hero__stage {
		border-radius: 10px;
	}
	.vnd-event-hero__thumb {
		flex: 0 0 30%;
		width: 30%;
		min-height: 84px;
	}
}

/* Soften legacy carousel chrome when new hero is present */
.list-about-section .propety-detai-slider.vnd-event-hero-legacy-hidden {
	display: none !important;
}

.vnd-event-lightbox[hidden] { display: none !important; }
.vnd-event-lightbox:not([hidden]) { display: block; }
.vnd-event-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.vnd-event-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.92);
	cursor: pointer;
}
.vnd-event-lightbox__dialog {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 56px 72px 24px;
	pointer-events: none;
	gap: 14px;
}
.vnd-event-lightbox__dialog > * { pointer-events: auto; }
.vnd-event-lightbox__stage {
	margin: 0;
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.vnd-event-lightbox__stage img {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	background: #0f172a;
}
.vnd-event-lightbox__stage figcaption {
	color: #e5e7eb;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}
.vnd-event-lightbox__close,
.vnd-event-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
	z-index: 2;
	pointer-events: auto;
}
.vnd-event-lightbox__close:hover,
.vnd-event-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.28);
}
.vnd-event-lightbox__close {
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	font-size: 28px;
	line-height: 1;
}
.vnd-event-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	font-size: 18px;
}
.vnd-event-lightbox__nav--prev { left: 16px; }
.vnd-event-lightbox__nav--next { right: 16px; }
@media (max-width: 767px) {
	.vnd-event-lightbox__dialog { padding: 52px 12px 16px; }
	.vnd-event-lightbox__nav {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
	.vnd-event-lightbox__nav--prev { left: 8px; }
	.vnd-event-lightbox__nav--next { right: 8px; }
	.vnd-event-lightbox__stage img { max-height: calc(100vh - 160px); }
}
