/**
 * Widget: HL Hero Banner Card
 *
 * Strictly uses CSS Custom Properties from assets/css/variables.css.
 *
 * @package HarrisLieberman
 */

.hl-hero {
	position: relative;
	height: 85vh;
	min-height: 600px;
	background-color: var(--hl-color-primary);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hl-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: var(--hl-z-base);
	pointer-events: none;
}

.hl-hero__card {
	position: absolute;
	bottom: 60px;
	left: 60px;
	background-color: var(--hl-color-white-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: var(--hl-space-12) 56px;
	max-width: 640px;
	border-radius: var(--hl-radius-sm);
	z-index: var(--hl-z-content);
}

.hl-hero__headline {
	font-family: var(--hl-font-heading);
	font-size: 2.625rem;
	font-weight: var(--hl-fw-regular);
	color: var(--hl-color-primary);
	line-height: 1.2;
	margin: 0 0 var(--hl-space-4);
}

.hl-hero__headline em {
	font-style: italic;
	color: var(--hl-color-accent);
}

.hl-hero__subtitle {
	font-family: var(--hl-font-body);
	font-size: 0.9375rem;
	color: var(--hl-color-text-body);
	line-height: 1.6;
	margin: 0 0 28px;
}

.hl-hero__buttons {
	display: flex;
	gap: 14px;
}

.hl-hero__btn {
	padding: 14px var(--hl-space-8);
	font-family: var(--hl-font-body);
	font-size: var(--hl-fs-sm);
	font-weight: var(--hl-fw-semibold);
	border-radius: var(--hl-radius-sm);
	border: none;
	cursor: pointer;
	transition: background-color var(--hl-transition-fast), color var(--hl-transition-fast);
	letter-spacing: 0.3px;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}

.hl-hero a.hl-hero__btn--burgundy {
	background-color: var(--hl-color-accent);
	color: var(--hl-color-white);
}

.hl-hero a.hl-hero__btn--burgundy:hover,
.hl-hero a.hl-hero__btn--burgundy:focus {
	background-color: var(--hl-color-accent-hover);
	color: var(--hl-color-white);
	text-decoration: none;
}

.hl-hero a.hl-hero__btn--navy {
	background-color: var(--hl-color-primary);
	color: var(--hl-color-white);
}

.hl-hero a.hl-hero__btn--navy:hover,
.hl-hero a.hl-hero__btn--navy:focus {
	background-color: var(--hl-color-primary-hover);
	color: var(--hl-color-white);
	text-decoration: none;
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
	.hl-hero__card {
		left: var(--hl-space-8);
		padding: 36px 40px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.hl-hero {
		height: auto;
		min-height: 500px;
	}

	.hl-hero__video {
		position: relative;
		height: 400px;
	}

	.hl-hero__card {
		position: relative;
		bottom: auto;
		left: auto;
		max-width: 100%;
		border-radius: 0;
		padding: var(--hl-space-8) 20px;
	}

	.hl-hero__headline {
		font-size: 1.875rem;
	}

	.hl-hero__buttons {
		flex-direction: column;
	}
}
