.hg-wrap {
	max-width: var(--hg-max);
	margin: 0 auto;
	padding: 0 var(--hg-pad);
	width: 100%;
}

.hg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--hg-green-700);
}

.hg-kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.hg-kicker--light {
	color: var(--hg-green-200);
	margin-bottom: 0;
}

.hg-kicker--light::before {
	width: 48px;
	height: 2px;
	background: var(--hg-green-200);
}

.hg-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	color: var(--hg-green-900);
	white-space: nowrap;
}

.hg-text-link::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.hg-main--cases {
	background: var(--hg-paper);
}

.hg-page-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--hg-banner-min);
	padding: 80px 0 48px;
	color: var(--hg-white);
	background-color: #0a1a16;
	background-image:
		linear-gradient(90deg, rgba(1, 38, 31, 0.92) 0%, rgba(1, 38, 31, 0.55) 55%, rgba(1, 38, 31, 0.2) 100%),
		var(--hg-banner-image, none);
	background-size: cover;
	background-position: center;
}

.hg-page-banner h1 {
	margin: 12px 0 0;
	max-width: 720px;
	font-family: var(--hg-display);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.6px;
	color: var(--hg-white);
}

.hg-page-banner__lead {
	max-width: 560px;
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.16px;
	color: var(--hg-mist);
	opacity: 0.9;
}

.hg-cases {
	padding: 56px 0 96px;
}

.hg-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.hg-cases-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: var(--hg-white);
	box-shadow: 0 8px 30px rgba(26, 60, 52, 0.04);
}

.hg-cases-card__media {
	position: relative;
	display: block;
	height: 220px;
	overflow: hidden;
	background-color: #2a3530;
}

.hg-cases-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(1, 38, 31, 0.78) 0%, rgba(1, 38, 31, 0.18) 48%, rgba(1, 38, 31, 0) 100%);
	pointer-events: none;
	transition: background 0.35s ease;
}

.hg-cases-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hg-cases-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.hg-cases-card__title {
	margin: 0 0 10px;
	font-family: var(--hg-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.32px;
	line-height: 1.3;
	color: var(--hg-green-900);
}

.hg-cases-card__title a:hover {
	color: var(--hg-green-700);
}

.hg-cases-card__body p {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--hg-muted);
	flex: 1;
}

.hg-cases__empty {
	margin: 0;
	padding: 40px 32px;
	border: 1px dashed var(--hg-line);
	border-radius: 12px;
	color: var(--hg-muted);
}

.hg-cases .navigation.pagination,
.hg-cases-related .navigation.pagination {
	margin-top: 48px;
}

.hg-cases .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.hg-cases .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hg-line);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hg-muted);
}

.hg-cases .nav-links a.page-numbers:hover {
	border-color: var(--hg-green-900);
	color: var(--hg-green-900);
}

.hg-cases .nav-links .page-numbers.current {
	background: var(--hg-green-900);
	border-color: var(--hg-green-900);
	color: var(--hg-white);
}

.hg-crumbs {
	margin: 0 0 24px;
	font-size: 13px;
}

.hg-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--hg-muted);
}

.hg-crumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	opacity: 0.5;
}

.hg-crumbs a:hover {
	color: var(--hg-green-900);
}

.hg-crumbs [aria-current="page"] {
	color: var(--hg-green-900);
	font-weight: 600;
}

.hg-case__top {
	padding: 32px 0 0;
}

.hg-case__header {
	max-width: 800px;
	margin-bottom: 32px;
}

.hg-case__title {
	margin: 12px 0 0;
	font-family: var(--hg-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.5px;
	color: var(--hg-green-900);
}

.hg-case__media {
	margin: 0 0 8px;
	overflow: hidden;
	border-radius: 16px;
	background: #2a3530;
}

.hg-case__media img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.hg-case__body {
	padding: 48px 0 72px;
}

.hg-case__content.entry-content > * {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.hg-case__content.entry-content > .alignwide {
	max-width: 1152px;
	width: calc(100% - (2 * var(--hg-pad)));
}

.hg-case__content.entry-content > .alignfull {
	max-width: none;
	width: 100%;
}

.hg-cases-related {
	padding: 72px 0 96px;
	background: var(--hg-mist);
}

.hg-cases-related__head {
	margin-bottom: 36px;
}

.hg-cases-related__title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.hg-cases-related__title h2 {
	margin: 0;
	font-family: var(--hg-display);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.28px;
	color: var(--hg-green-900);
}

.hg-case-cta {
	position: relative;
	padding: 88px 0;
	background-color: var(--hg-green-900);
	background-image:
		linear-gradient(90deg, rgba(1, 38, 31, 0.92) 0%, rgba(1, 38, 31, 0.72) 100%),
		var(--hg-banner-image, none);
	background-size: cover;
	background-position: center;
	color: var(--hg-white);
}

.hg-case-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hg-case-cta__copy {
	max-width: 640px;
}

.hg-case-cta__copy h2 {
	margin: 12px 0 16px;
	font-family: var(--hg-display);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.4px;
	color: var(--hg-white);
}

.hg-case-cta__copy p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--hg-mist);
	opacity: 0.92;
}

.hg-case-cta__btn {
	flex-shrink: 0;
	padding: 17px 32px;
	background: var(--hg-green-200);
	color: var(--hg-green-900);
}

.hg-case-cta__btn:hover {
	background: var(--hg-white);
	color: var(--hg-green-900);
}

@media (max-width: 1100px) {
	.hg-cases__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hg-page-banner h1,
	.hg-case__title {
		font-size: 36px;
	}

	.hg-case-cta__copy h2 {
		font-size: 28px;
	}
}

@media (max-width: 800px) {
	.hg-page-banner {
		min-height: var(--hg-banner-min);
		padding: 56px 0 36px;
	}

	.hg-page-banner h1,
	.hg-case__title {
		font-size: 32px;
	}

	.hg-cases {
		padding: 32px 0 72px;
	}

	.hg-cases__grid,
	.hg-cases__grid--related {
		grid-template-columns: 1fr;
	}

	.hg-case__media img {
		max-height: 280px;
	}

	.hg-case__body {
		padding: 32px 0 56px;
	}

	.hg-cases-related {
		padding: 48px 0 64px;
	}

	.hg-cases-related__title {
		flex-direction: column;
		align-items: flex-start;
	}

	.hg-case-cta {
		padding: 64px 0;
	}

	.hg-case-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
