/* Virtual Tour — Gallery-like sticky tabs + embed panels */

.svt-page {
	background: #fff;
}

.svt-page__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 85px 80px;
}

.svt {
	font-family: "Tenor Sans", sans-serif;
	color: var(--e-global-color-primary, #003c77);
}

.svt__chrome {
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 24px 0 12px;
	margin-bottom: 28px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.svt__title {
	margin: 0 0 12px;
	text-align: center;
	font-family: "Tenor Sans", sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 5vw, 48px);
	letter-spacing: 0.02em;
	color: var(--e-global-color-primary, #003c77);
	text-transform: none;
}

.svt__intro {
	margin: 0 auto 20px;
	max-width: 720px;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
	color: var(--e-global-color-text, #333);
}

.svt__tabs.tab-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.svt__tab.tab-btn {
	color: var(--e-global-color-primary, #003c77);
	padding: 6px 30px !important;
	border-radius: 0;
	border: 1px solid var(--e-global-color-primary, #003c77);
	background-color: transparent !important;
	font-family: "Tenor Sans", sans-serif;
	font-size: 22px !important;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.svt__tab.tab-btn:hover,
.svt__tab.tab-btn.active {
	color: var(--e-global-color-b8082ea, #ffffff) !important;
	border-color: var(--e-global-color-primary, #003c77) !important;
	background: var(--e-global-color-primary, #003c77) !important;
}

.svt__panel {
	display: none;
}

.svt__panel.active {
	display: block;
}

.svt__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.svt__grid--single {
	grid-template-columns: 1fr;
}

.svt__grid--multi {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px 24px;
	justify-items: center;
}

.svt__card--thumb {
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.svt__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0b1220;
	overflow: hidden;
}

.svt__embed--thumb .svt__media {
	pointer-events: none;
}

.svt__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 0 !important;
	cursor: pointer;
	background: transparent !important;
	background-color: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
	width: 100% !important;
	height: 100% !important;
	display: block !important;
	appearance: none;
	-webkit-appearance: none;
}

.svt__hit:hover,
.svt__hit:focus,
.svt__hit:focus-visible,
.svt__hit:active {
	background: transparent !important;
	background-color: transparent !important;
	color: inherit !important;
	border: 0 !important;
	outline: none;
	box-shadow: none !important;
	text-decoration: none;
}

.svt__hit--poster {
	background: rgba(0, 0, 0, 0.15) !important;
	background-color: rgba(0, 0, 0, 0.15) !important;
}

.svt__hit--poster:hover,
.svt__hit--poster:focus,
.svt__hit--poster:active {
	background: rgba(0, 0, 0, 0.22) !important;
	background-color: rgba(0, 0, 0, 0.22) !important;
}

.svt__hit--poster:hover ~ .svt__poster,
.svt__embed:hover > .svt__poster {
	transform: scale(1.03);
}

.svt__card-label {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	font-family: "Tenor Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	color: var(--e-global-color-primary, #003c77) !important;
	transition: color 0.2s ease;
}

.svt__card-label:hover,
.svt__card-label:focus,
.svt__card-label:focus-visible,
.svt__card-label:active {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	color: var(--e-global-color-primary, #275996) !important;
	text-decoration: none;
	outline: none;
	box-shadow: none !important;
}

.svt__media,
.svt__embed iframe,
.svt__embed video,
.svt-lightbox__stage iframe,
.svt-lightbox__stage video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #000;
	object-fit: contain;
}

.svt__play {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: #000;
}

.svt__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.92;
	transition: transform 0.3s ease;
}

.svt__poster--blank {
	background: linear-gradient(145deg, #1a2a44 0%, #0b1220 100%);
}

.svt__play-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: rgba(0, 60, 119, 0.92);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.svt__play-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
}

.svt__empty {
	text-align: center;
	padding: 40px 16px;
	color: #555;
}

/* Lightbox popup */
html.svt-lightbox-open,
html.svt-lightbox-open body {
	overflow: hidden;
}

.svt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.svt-lightbox[hidden] {
	display: none !important;
}

.svt-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 32, 0.82);
	cursor: pointer;
}

.svt-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(1100px, 94vw);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.svt-lightbox__title {
	margin: 0;
	max-width: 100%;
	text-align: center;
	font-family: "Buenard", "Tenor Sans", serif;
	font-weight: 400;
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
	line-height: 1.2;
}

.svt-lightbox__title[hidden] {
	display: none !important;
}

.svt-lightbox__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.svt-lightbox__close {
	position: absolute;
	top: -8px;
	right: -8px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: var(--e-global-color-primary, #003c77);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 1024px) {
	.svt-page__inner {
		padding: 28px 40px 60px;
	}

	.svt__tab.tab-btn {
		font-size: 18px !important;
		padding: 6px 18px !important;
	}
}

@media (max-width: 767px) {
	.svt-page__inner {
		padding: 20px 20px 48px;
	}

	.svt__chrome {
		top: 0;
	}

	.svt__tabs.tab-buttons {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.svt__tabs.tab-buttons::-webkit-scrollbar {
		display: none;
	}

	.svt__tab.tab-btn {
		flex: 0 0 auto;
		white-space: nowrap;
		font-size: 16px !important;
	}

	.svt__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.svt-lightbox {
		padding: 16px;
	}

	.svt-lightbox__close {
		top: -4px;
		right: 0;
	}

	.svt-lightbox__title {
		font-size: 24px;
	}
}
