.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline,
.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline-accent,
.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline-chunk,
.ortega-video-hero.is-entrance-pending .ortega-video-hero__description,
.ortega-video-hero.is-entrance-pending .ortega-video-hero__cta,
.ortega-video-hero.is-entrance-pending .ortega-video-hero__cta--static {
	visibility: hidden;
}

.ortega-video-hero {
	--ortega-video-hero-cta-bg: #ffe400;
	--ortega-video-hero-cta-bg-hover: #ffd000;
	--ortega-video-hero-cta-text: #0058a4;
	--ortega-video-hero-fallback-bg: #0058a4;
	overflow: hidden;
	position: relative;
}

.ortega-video-hero__media-wrap {
	background-color: var(--ortega-video-hero-fallback-bg);
	min-height: clamp(420px, 64vw, 900px);
	overflow: hidden;
	position: relative;
}

.ortega-video-hero__poster,
.ortega-video-hero__media {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.ortega-video-hero__poster {
	z-index: 0;
}

.ortega-video-hero__media {
	opacity: 0;
	transition: opacity 0.45s ease;
	z-index: 1;
}

.ortega-video-hero__media.is-ready {
	opacity: 1;
}

.ortega-video-hero.is-poster-only .ortega-video-hero__media,
.ortega-video-hero.is-poster-only .ortega-video-hero__controls {
	display: none;
}

.ortega-video-hero__content {
	align-items: flex-start;
	bottom: clamp(100px, 14vw, 180px);
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2.5vw, 28px);
	left: clamp(20px, 4.5vw, 64px);
	max-width: min(720px, 88vw);
	position: absolute;
	z-index: 2;
}

.ortega-video-hero__headline {
	color: #ffe400;
	font-family: var(--ortega-font-display);
	font-size: var(--ortega-type-hero-video-lg);
	font-weight: 700;
	line-height: 0.92;
	text-transform: uppercase;
}

.ortega-video-hero__headline :is(p, h1, h2, h3) {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

.ortega-video-hero__headline :is(p, h1, h2, h3) + :is(p, h1, h2, h3) {
	margin-top: 0.08em;
}

/* WYSIWYG: wrap lead-in copy in span → small white; default text → large yellow. */
.ortega-video-hero__headline :is(span, .ortega-video-hero__headline-accent):not(.ortega-video-hero__headline-chunk) {
	color: #fff;
	display: inline-block;
	font-size: var(--ortega-type-hero-video-sm);
	line-height: 1.05;
}

.ortega-video-hero__headline-chunk {
	color: inherit;
	display: inline-block;
	font-size: inherit;
	line-height: inherit;
}

.ortega-video-hero__description {
	color: #fff;
	font-family: var(--ortega-font-body);
	font-size: var(--ortega-type-body-lg);
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	max-width: 24ch;
}

.ortega-video-hero__cta,
.ortega-video-hero__cta--static {
	align-items: center;
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: var(--ortega-video-hero-cta-text);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--ortega-font-display);
	font-size: var(--ortega-type-cta-display);
	font-weight: 700;
	height: 63px;
	line-height: 1;
	padding: 0 28px 0 24px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
	width: auto;
}

.ortega-video-hero__cta-bg {
	background-color: var(--ortega-video-hero-cta-bg);
	inset: 0;
	mask-image: url("../images/video-hero-cta-bg.svg");
	mask-mode: alpha;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
	pointer-events: none;
	position: absolute;
	transition: background-color 0.2s ease;
	-webkit-mask-image: url("../images/video-hero-cta-bg.svg");
	-webkit-mask-mode: alpha;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
}

/* Override global button:hover background (style.css) — color lives on the masked SVG layer only. */
.ortega-video-hero__cta:hover,
.ortega-video-hero__cta:focus-visible {
	background-color: transparent;
}

.ortega-video-hero__cta:hover .ortega-video-hero__cta-bg,
.ortega-video-hero__cta:focus-visible .ortega-video-hero__cta-bg {
	background-color: var(--ortega-video-hero-cta-bg-hover);
}

.ortega-video-hero__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.ortega-video-hero__cta-inner {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 12px;
	position: relative;
	white-space: nowrap;
	z-index: 1;
}

.ortega-video-hero__cta-play {
	display: inline-flex;
	flex-shrink: 0;
}

.ortega-video-hero__cta-play svg {
	display: block;
	height: 16px;
	width: 14px;
}

.ortega-video-hero__cta--static {
	cursor: default;
}

.ortega-video-hero__controls {
	align-items: center;
	bottom: clamp(100px, 12vw, 160px);
	display: flex;
	position: absolute;
	right: clamp(20px, 3vw, 44px);
	z-index: 3;
}

.ortega-video-hero__control {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	padding: 0;
	width: 28px;
}

.ortega-video-hero__control:hover,
.ortega-video-hero__control:focus-visible {
	background-color: transparent;
}

.ortega-video-hero__control:focus-visible {
	outline: 2px solid #ffe400;
	outline-offset: 2px;
}

.ortega-video-hero__icon-img {
	display: block;
	height: 28px;
	width: 28px;
}

.ortega-video-hero__control[data-video-control="play"] .ortega-video-hero__icon-img--play {
	display: none;
}

.ortega-video-hero__control[data-video-control="play"].is-paused .ortega-video-hero__icon-img--pause {
	display: none;
}

.ortega-video-hero__control[data-video-control="play"].is-paused .ortega-video-hero__icon-img--play {
	display: block;
}

.ortega-video-hero__edge {
	bottom: -1px;
	display: block;
	height: auto;
	left: 50%;
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	width: 110vw;
	z-index: 4;
}

.ortega-video-hero-placeholder {
	background: #f7f7f8;
	border: 1px dashed #0058a4;
	color: #0058a4;
	padding: 24px;
	text-align: center;
}

@media (max-width: 1440px) {
	.ortega-video-hero__content {
		bottom: clamp(88px, 12vw, 140px);
	}

	.ortega-video-hero__controls {
		bottom: clamp(88px, 10vw, 130px);
	}
}

@media (max-width: 781px) {
	.ortega-video-hero__media-wrap {
		min-height: 58vh;
	}

	.ortega-video-hero__content {
		bottom: 72px;
		gap: 14px;
		left: 16px;
		max-width: calc(100% - 32px);
	}

	.ortega-video-hero__headline {
		font-size: var(--ortega-type-hero-video-lg--mobile);
	}

	.ortega-video-hero__headline :is(span, .ortega-video-hero__headline-accent):not(.ortega-video-hero__headline-chunk) {
		font-size: var(--ortega-type-hero-video-sm--mobile);
	}

	.ortega-video-hero__description {
		font-size: var(--ortega-type-body);
		max-width: none;
	}

	.ortega-video-hero__cta,
	.ortega-video-hero__cta--static {
		font-size: var(--ortega-type-body-sm);
		height: 54px;
		padding: 0 22px 0 20px;
	}

	.ortega-video-hero__controls {
		bottom: 30px;
		right: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline,
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline-accent,
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__headline-chunk,
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__description,
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__cta,
	.ortega-video-hero.is-entrance-pending .ortega-video-hero__cta--static {
		visibility: visible;
	}

	.ortega-video-hero__cta-bg,
	.ortega-video-hero__media {
		transition: none;
	}

	.ortega-video-hero__media.is-ready {
		opacity: 1;
	}
}

.ortega-video-hero-lightbox {
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.ortega-video-hero-lightbox[hidden] {
	display: none;
}

.ortega-video-hero-lightbox.is-open {
	display: block;
}

.ortega-video-hero-lightbox__backdrop {
	background: rgb(0 0 0 / 88%);
	inset: 0;
	position: absolute;
}

.ortega-video-hero-lightbox__dialog {
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	padding: clamp(16px, 4vw, 48px);
	position: absolute;
}

.ortega-video-hero-lightbox__close {
	align-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	line-height: 0;
	margin: 0 0 12px auto;
	outline: none;
	padding: 0;
	width: 36px;
}

.ortega-video-hero-lightbox__close:hover,
.ortega-video-hero-lightbox__close:focus-visible,
.ortega-video-hero-lightbox__close:active {
	background-color: transparent;
	color: #ffe400;
	outline: none;
}

.ortega-video-hero-lightbox__close-icon {
	display: block;
	height: 36px;
	width: 36px;
}

.ortega-video-hero-lightbox__dialog:focus {
	outline: none;
}

@media (min-width: 782px) {
	.ortega-video-hero-lightbox__close,
	.ortega-video-hero-lightbox__close-icon {
		height: 48px;
		width: 48px;
	}
}

.ortega-video-hero-lightbox__player {
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	max-height: calc(100vh - 96px);
	max-width: min(1200px, 100%);
	position: relative;
	width: 100%;
}

.ortega-video-hero-lightbox__player iframe {
	border: 0;
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

body.ortega-video-hero-lightbox-open {
	overflow: hidden;
}
