/*
 * Block: cy/redesign-vp-hero
 * Source: Figma o7TW9TI14xVpo4cvpexryD node 449:146.
 *
 * White outer band with a 70px inset and a 2-column layout. Left column
 * is a dark-navy panel wrapping the copy and CTA. Right column is a
 * wide video bento with a centered play button.
 */

/* Top padding uses --cy-header-h (defined in redesign-theme.css) so the
 * hero clears whatever the live navbar height is — 72px on its own,
 * 112px when the promo banner is on. The admin-bar adds another 32/46px
 * which WP handles via html{margin-top}, so no double-counting here. */
.vph {
	background: #fcfcfb;
	padding: calc(var(--cy-header-h, 72px) + 28px) 40px 30px;
	box-sizing: border-box;
}

/* Matches the vp-intelligence nested panel width (1376px at 40px inset)
   so the hero and the section below line up edge-to-edge on the page. */
.vph__inner {
	max-width: 1376px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 529px minmax(0, 1fr);
	gap: 19px;
}

/* ─── Left: dark panel wrapping info and CTA ───────────────────── */

.vph__left {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px;
	border-radius: 16px;
	background: var(--brand-dark-navy, #093055);
	box-shadow: 0 20px 48px rgba(20, 47, 82, 0.14);
}

.vph__info {
	flex: 1 1 auto;
	background: transparent;
	border-radius: 10px 10px 6px 6px;
	padding: 38px 24px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 0;
	box-sizing: border-box;
}

.vph__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #c8feb6;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: -0.14px;
	line-height: 1.25;
	text-transform: uppercase;
	width: fit-content;
}

.vph__eyebrow-icon {
	display: block;
	flex-shrink: 0;
}

.vph__heading {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 56px;
	line-height: 1.05;
	letter-spacing: -1.12px;
	color: #eae9e3;
	margin: 0;
}

.vph__sub {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.36;
	letter-spacing: 0;
	color: rgba(234, 233, 227, 0.8);
	margin: 18px 0 0;
}

.vph__cta {
	background: #2191ff;
	border-radius: 8px;
	padding: 14px 24px;
	margin: 0 24px 24px;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fcfcfb;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(33, 145, 255, 0.16);
	transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

/* Legacy main.min.css sets a:visited to a purple — win specificity
   here so the CTA stays white after a click. */
.vph__cta,
.vph__cta:link,
.vph__cta:visited,
.vph__cta:hover,
.vph__cta:active,
.vph__cta:focus,
.vph__cta:visited .vph__cta-arrow,
.vph__cta .vph__cta-arrow {
	color: #fcfcfb;
	text-decoration: none;
}

.vph__cta:hover {
	cursor: pointer;
}

.vph__cta:hover,
.vph__cta:focus {
	background: #0f7ce6;
	box-shadow: 0 24px 44px rgba(0, 99, 218, 0.24);
	transform: translateY(-1px);
}

.vph__cta-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.1px;
	line-height: 1;
}

.vph__cta-arrow {
	flex: 0 0 auto;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 1;
	transition: transform 180ms ease;
}

.vph__cta:hover .vph__cta-arrow,
.vph__cta:focus .vph__cta-arrow {
	transform: translateX(4px);
}

/* ─── Right: video bento ────────────────────────────────────────── */

.vph__bento {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-dark-navy, #142f56);
	box-shadow: 0 20px 48px rgba(0, 99, 218, 0.18);

	aspect-ratio: 16/9;
	align-self: center;
}

.vph__bento-img,
.vph__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: var(--color-dark-navy, #142f56);
}

.vph__video-play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 86px;
	height: 86px;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	cursor: pointer;
	transform: translate(-50%, -50%);
	filter: drop-shadow(0 16px 30px rgba(9, 48, 85, 0.24));
	transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.vph__video-play img {
	width: 100%;
	height: 100%;
	display: block;
}

.vph__video-play:hover,
.vph__video-play:focus {
	transform: translate(-50%, -50%) scale(1.04);
	filter: drop-shadow(0 20px 36px rgba(9, 48, 85, 0.3));
}

.vph__video-play.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.94);
}

.vph__video:focus-visible,
.vph__video-play:focus-visible {
	outline: 3px solid var(--color-mint, #baff9d);
	outline-offset: -6px;
}

.vph__bento-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 72px;
	display: block;
	z-index: 2;
	pointer-events: none;
	transform: translate(-50%, -50%);
}


/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 1100px) {
	.vph { padding: calc(var(--cy-header-h, 72px) + 16px) 24px 48px; }
	.vph__inner { grid-template-columns: 1fr; gap: 20px; }
	.vph__info { padding: 36px 28px; min-height: 0; }
	.vph__heading { font-size: 44px; letter-spacing: -0.88px; }
}

@media (max-width: 640px) {
	.vph { padding: calc(var(--cy-header-h, 72px) + 12px) 16px 32px; }
	.vph__info { padding: 28px 22px; border-radius: 14px; }
	.vph__heading { font-size: 32px; letter-spacing: -0.64px; }
	.vph__sub { font-size: 16px; }
	.vph__cta { margin: 0 16px 16px; padding: 12px 20px; }
	.vph__video-play,
	.vph__bento-play { width: 56px; height: 56px; }
}
