/* =============================================
   Video Hero Block v2 — Front-End Styles
   ============================================= */

/* ── Wrapper ── */
.vhb-hero {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	display: flex;
	align-items: flex-start;
	overflow: hidden;
	background: #111;
	box-sizing: border-box;
}

/* ── Video / poster ── */
.vhb-video,
.vhb-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	pointer-events: none;
}
.vhb-poster {
	background-size: cover;
	background-position: center;
}

/* ── Heading wrap — top left ── */
.vhb-heading-wrap {
	position: relative;
	z-index: 3;
	padding: clamp(100px, 14vw, 160px) clamp(24px, 6vw, 80px) clamp(80px, 10vw, 140px);
	max-width: 55%;
	align-self: flex-start;
}

/* ── Small subheading above title ── */
.vhb-subheading {
	margin: 0 0 12px 0;
	font-size: clamp(.75rem, 1.2vw, .95rem);
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--vhb-sh-color, #ffffff);
	opacity: .9;
	text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ── Main heading ── */
.vhb-heading {
	margin: 0;
	font-size: clamp(2.8rem, 6.5vw, 5.5rem);
	font-weight: 700;
	line-height: 1.08;
	color: var(--vhb-h-color, #ffffff);
	text-shadow: 0 2px 24px rgba(0,0,0,.3);
	letter-spacing: -0.01em;
}

/* ── Italic last line ── */
.vhb-italic {
	display: block;
	font-style: italic;
	font-weight: 400;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.1em;
	margin-top: 4px;
}

/* ── Play button — centered ── */
.vhb-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -58%);
	z-index: 4;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: clamp(72px, 10vw, 110px);
	height: clamp(72px, 10vw, 110px);
	transition: transform .2s, opacity .2s;
}
.vhb-play-btn:hover,
.vhb-play-btn:focus-visible {
	transform: translate(-50%, -58%) scale(1.08);
	opacity: .9;
}
.vhb-play-btn:focus-visible {
	outline: 3px solid rgba(255,255,255,.7);
	outline-offset: 4px;
	border-radius: 50%;
}
.vhb-play-btn svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

/* ══════════════════════════════════════════
   BOTTOM CTA BAR
   Desktop : right-anchored, auto width
   Mobile  : full-width, centered
══════════════════════════════════════════ */
.vhb-bar {
	position: absolute;
	bottom: 0;
	right: 0;
	left: auto;
	z-index: 5;
	background: var(--vhb-bar, rgba(90,61,92,.82));
	display: inline-flex;
	align-items: center;
	gap: clamp(12px, 2.5vw, 32px);
	padding: clamp(16px, 2.5vw, 26px) clamp(20px, 4vw, 60px);
}

.vhb-bar-text {
	color: var(--vhb-bar-txt, #ffffff);
	font-size: clamp(.95rem, 1.8vw, 1.3rem);
	font-weight: 400;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

/* ── Bar button ── */
.vhb-bar-btn {
	display: inline-block;
	padding: clamp(10px, 1.4vw, 15px) clamp(18px, 2.5vw, 40px);
	background: var(--vhb-btn-bg, #5bbfb5);
	color: var(--vhb-btn-txt, #ffffff);
	font-size: clamp(.75rem, 1.1vw, .95rem);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: opacity .18s, transform .18s;
}
.vhb-bar-btn:hover,
.vhb-bar-btn:focus-visible {
	opacity: .85;
	transform: translateY(-1px);
	text-decoration: none;
	color: var(--vhb-btn-txt, #ffffff);
}
.vhb-bar-btn:focus-visible {
	outline: 3px solid var(--vhb-btn-bg, #5bbfb5);
	outline-offset: 3px;
}

/* ── Lightbox ── */
.vhb-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0,0,0,.88);
	align-items: center;
	justify-content: center;
}
.vhb-lightbox.active { display: flex; }
.vhb-lb-video {
	width: 90vw;
	max-width: 960px;
	max-height: 85vh;
	outline: none;
	box-shadow: 0 8px 60px rgba(0,0,0,.6);
}
.vhb-lb-close {
	position: fixed;
	top: 20px;
	right: 28px;
	background: none;
	border: 2px solid rgba(255,255,255,.6);
	color: #fff;
	font-size: 22px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
	z-index: 100000;
}
.vhb-lb-close:hover { background: rgba(255,255,255,.15); }

/* ══════════════════════════════════════════
   MOBILE — bar full-width, centered
══════════════════════════════════════════ */
@media (max-width: 768px) {
	.vhb-heading-wrap {
		max-width: 85%;
		padding-top: clamp(80px, 18vw, 120px);
		padding-bottom: clamp(120px, 26vw, 180px);
	}
	.vhb-play-btn { transform: translate(-50%, -70%); }
	.vhb-play-btn:hover { transform: translate(-50%, -70%) scale(1.06); }

	.vhb-bar {
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 18px 24px;
		text-align: center;
	}
	.vhb-bar-text { white-space: normal; text-align: center; }
	.vhb-bar-btn  { width: auto; text-align: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.vhb-video { display: none; }
	.vhb-play-btn, .vhb-bar-btn { transition: none; }
}
