/**
 * Widget: HL Full-Bleed About Split
 *
 * Strictly uses CSS Custom Properties from assets/css/variables.css.
 *
 * @package HarrisLieberman
 */

.hl-why {
	display: flex;
	min-height: 480px;
	background-color: var(--hl-color-primary);
}

.hl-why--reverse {
	flex-direction: row-reverse;
}

.hl-why__image {
	width: 45%;
	flex: 0 0 45%;
	min-height: 480px;
	background-size: cover;
	background-position: 50%;
	background-color: var(--hl-color-primary-dark);
}

.hl-why__content {
	width: 55%;
	flex: 0 0 55%;
	background-color: var(--hl-color-primary);
	padding: var(--hl-space-20) 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hl-why__tag {
	font-family: var(--hl-font-body);
	font-size: var(--hl-fs-xs);
	font-weight: var(--hl-fw-semibold);
	letter-spacing: 2px;
	color: var(--hl-color-accent);
	text-transform: uppercase;
	margin-bottom: var(--hl-space-4);
}

.hl-why__title {
	font-family: var(--hl-font-heading);
	font-size: 2.25rem;
	font-weight: var(--hl-fw-regular);
	color: var(--hl-color-white);
	line-height: 1.2;
	margin: 0 0 var(--hl-space-5);
}

.hl-why__title em {
	font-style: italic;
	color: var(--hl-color-text-on-dark-muted);
}

.hl-why__text {
	font-family: var(--hl-font-body);
	font-size: 0.9375rem;
	color: var(--hl-color-text-on-dark-soft);
	line-height: 1.7;
	max-width: 520px;
	margin-bottom: 28px;
}

.hl-why__text p {
	margin: 0;
}

.hl-why__text p + p {
	margin-top: var(--hl-space-4);
}

.hl-why a.hl-why__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--hl-space-2);
	background-color: var(--hl-color-accent);
	color: var(--hl-color-white);
	padding: 14px var(--hl-space-8);
	border-radius: var(--hl-radius-sm);
	font-family: var(--hl-font-body);
	font-size: var(--hl-fs-sm);
	font-weight: var(--hl-fw-semibold);
	align-self: flex-start;
	text-decoration: none;
	transition: background-color var(--hl-transition-fast);
}

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

/* Mobile */
@media (max-width: 768px) {
	.hl-why,
	.hl-why--reverse {
		flex-direction: column;
	}

	.hl-why__image {
		width: 100%;
		flex: 0 0 auto;
		min-height: 280px;
		height: 280px;
	}

	.hl-why__content {
		width: 100%;
		flex: 0 0 auto;
		padding: var(--hl-space-12) 20px;
	}
}
