.hcs-home-hero {
	--hcs-home-hero-overlay: .48;
	position: relative;
	color: #fff;
}

.hcs-home-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg,
			rgb(3 16 22 / calc(var(--hcs-home-hero-overlay) * 1.15)) 0%,
			rgb(3 16 22 / var(--hcs-home-hero-overlay)) 42%,
			rgb(3 16 22 / calc(var(--hcs-home-hero-overlay) * .58)) 72%,
			rgb(3 16 22 / calc(var(--hcs-home-hero-overlay) * .30)) 100%);
}

.hcs-home-hero__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: clamp(76px, 8vw, 136px) clamp(28px, 7vw, 118px) clamp(38px, 5vw, 82px);
	pointer-events: none;
}

.hcs-home-hero__copy {
	width: min(58%, 820px);
	pointer-events: auto;
}

.hcs-home-hero__eyebrow {
	margin: 0 0 clamp(12px, 1.5vw, 22px);
	color: rgb(255 255 255 / .9);
	font-size: clamp(14px, 1.25vw, 19px);
	line-height: 1.3;
}

.hcs-home-hero__title {
	margin: 0 0 clamp(20px, 2.6vw, 36px) !important;
	max-width: 780px;
	color: #fff !important;
	font-size: clamp(48px, 5.8vw, 92px) !important;
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: .98 !important;
	text-wrap: balance;
}

.hcs-home-hero__description {
	max-width: 690px;
	color: rgb(255 255 255 / .94) !important;
	font-size: clamp(16px, 1.45vw, 22px);
	line-height: 1.6;
}

.hcs-home-hero__description p {
	margin: 0;
	color: inherit !important;
}

.hcs-home-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 34px);
	max-width: 900px;
	margin-top: clamp(28px, 3.5vw, 50px);
}

.hcs-home-hero__stat {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: clamp(9px, 1vw, 14px);
	color: #fff;
	line-height: 1;
}

.hcs-home-hero__stat-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: clamp(42px, 3.8vw, 56px);
	height: clamp(46px, 4.2vw, 62px);
	color: #fff;
}

.hcs-home-hero__stat-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hcs-home-hero__stat-icon svg {
	display: block;
	width: 76%;
	height: 76%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hcs-home-hero__stat-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.hcs-home-hero__stat-number {
	display: block;
	color: #fff !important;
	font-size: clamp(27px, 2.25vw, 38px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: .95;
}

.hcs-home-hero__stat-label {
	display: block;
	color: rgb(255 255 255 / .92);
	font-size: clamp(10px, .83vw, 13px);
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.hcs-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 26px;
	margin-top: clamp(24px, 3vw, 42px);
}

.hcs-home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.hcs-home-hero__button--primary {
	background: #315b46;
	color: #fff !important;
}

.hcs-home-hero__button--secondary {
	padding-left: 0;
	padding-right: 0;
	background: transparent;
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

.hcs-home-hero__button:hover,
.hcs-home-hero__button:focus-visible {
	opacity: .82;
}

.hcs-home-hero--missing {
	padding: 32px;
	border: 1px dashed #949494;
	background: #f3f4f5;
	color: #1e1e1e;
}

/* Gutenberg editor */
.hcs-home-hero--editor {
	min-height: 420px;
}

.hcs-home-hero--editor .hcs-home-hero__image {
	min-height: 420px;
	object-fit: cover !important;
	opacity: .92;
}

.hcs-home-hero--editor .hcs-home-hero__content {
	padding-top: 52px;
}

.hcs-home-hero--editor .hcs-home-hero__eyebrow,
.hcs-home-hero--editor .hcs-home-hero__title,
.hcs-home-hero--editor .hcs-home-hero__description {
	cursor: text;
}

.hcs-home-hero-editor__empty {
	min-height: 420px;
	display: grid;
	place-items: center;
	padding: 30px;
	background: #10232b;
	color: #fff;
}

.hcs-home-hero-editor__media-control {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 14px;
}

.hcs-home-hero-editor__thumb {
	width: 100%;
	max-height: 150px;
	object-fit: contain;
	background: #f0f0f0;
}

@media (max-width: 900px) {
	.hcs-home-hero__content {
		padding: 70px 28px 34px;
	}
	.hcs-home-hero__copy {
		width: min(68%, 680px);
	}
	.hcs-home-hero__title {
		font-size: clamp(42px, 8vw, 72px) !important;
	}
}

@media (max-width: 767px) {
	.hcs-home-hero__copy {
		width: 86%;
	}
	.hcs-home-hero__content {
		align-items: flex-end;
		padding: 58px 22px 24px;
	}
	.hcs-home-hero__eyebrow {
		margin-bottom: 8px;
		font-size: 12px;
	}
	.hcs-home-hero__title {
		margin-bottom: 14px !important;
		font-size: clamp(34px, 11vw, 54px) !important;
	}
	.hcs-home-hero__description {
		font-size: 13px;
		line-height: 1.45;
	}
	.hcs-home-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 18px;
		margin-top: 18px;
	}
	.hcs-home-hero__stat {
		gap: 8px;
	}
	.hcs-home-hero__stat-icon {
		width: 34px;
		height: 38px;
	}
	.hcs-home-hero__stat-copy {
		gap: 2px;
	}
	.hcs-home-hero__stat-number {
		font-size: 23px;
	}
	.hcs-home-hero__stat-label {
		font-size: 9px;
	}
	.hcs-home-hero__actions {
		gap: 12px 18px;
		margin-top: 16px;
	}
	.hcs-home-hero__button {
		min-height: 36px;
		padding: 8px 12px;
		font-size: 10px;
	}
	.hcs-home-hero__button--secondary {
		padding-left: 0;
		padding-right: 0;
	}
}
