/*---*\
Half and Half w/ Bottom Grid Block
Two-column image and content layout with a feature grid below.

KEY FEATURES:
- Image left or right via ACF layout toggle
- WYSIWYG body supports inline links
- Bottom grid of feature highlights with divider

RESPONSIVE BEHAVIOR:
- Mobile: stacked image above content, single-column grid
- Tablet: stacked top section, 2-column grid
- Desktop: side-by-side half layout, 4-column grid

IMPLEMENTATION NOTES:
- Typography scoped under .half-and-half-bottom-grid
- Reuses .btn-secondary from global.css for CTA
\*---*/

.half-and-half-bottom-grid {
	padding: 60px 20px;
}

.half-and-half-bottom-grid .container-fluid {
	max-width: 1780px;
}

.half-and-half-bottom-grid__top {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-bottom: 40px;
}

.half-and-half-bottom-grid__media {
	width: 100%;
}

.half-and-half-bottom-grid__media-frame {
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 21px;
	min-height: 240px;
}

.half-and-half-bottom-grid__image {
	width: 100%;
	height: auto;
	object-fit: contain;
	font-family: 'object-fit: contain;';
}

.half-and-half-bottom-grid__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.half-and-half-bottom-grid__heading {
	color: #353535;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	padding-bottom: 0;
	text-transform: none;
}

.half-and-half-bottom-grid__body {
	color: #353535;
	font-size: 16px;
	line-height: 1.78;
}

.half-and-half-bottom-grid__body p {
	margin: 0 0 22px;
}

.half-and-half-bottom-grid__body p:last-child {
	margin-bottom: 0;
}

.half-and-half-bottom-grid__body a {
	color: #014937;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.half-and-half-bottom-grid__body a:hover,
.half-and-half-bottom-grid__body a:focus-visible {
	color: #01916d;
}

.half-and-half-bottom-grid__actions {
	margin-top: 4px;
}

.half-and-half-bottom-grid__actions .btn {
	margin: 0;
}

.half-and-half-bottom-grid__grid {
	border-top: 1px solid #d9d9d9;
	padding-top: 40px;
}

.half-and-half-bottom-grid__grid-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.half-and-half-bottom-grid__grid-item {
	margin: 0;
}

.half-and-half-bottom-grid__grid-item::before {
	display: none;
}

.half-and-half-bottom-grid__grid-title {
	color: #353535;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.78;
	margin: 0 0 0;
	text-transform: uppercase;
}

.half-and-half-bottom-grid__grid-description {
	color: #353535;
	font-size: 16px;
	line-height: 1.78;
	margin: 0;
}

@media (min-width: 768px) {
	.half-and-half-bottom-grid {
		padding: 80px 30px;
	}

	.half-and-half-bottom-grid__top {
		padding-bottom: 50px;
	}

	.half-and-half-bottom-grid__media-frame {
		min-height: 300px;
		padding: 24px;
	}

	.half-and-half-bottom-grid__heading {
		font-size: 36px;
		line-height: 1.25;
	}

	.half-and-half-bottom-grid__body,
	.half-and-half-bottom-grid__grid-title,
	.half-and-half-bottom-grid__grid-description {
		font-size: 18px;
	}

	.half-and-half-bottom-grid__grid {
		padding-top: 50px;
	}

	.half-and-half-bottom-grid__grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.half-and-half-bottom-grid {
		padding: 130px 55px;
	}

	.half-and-half-bottom-grid__top {
		align-items: center;
		flex-direction: row;
		gap: 80px;
		padding-bottom: 65px;
	}

	.half-and-half-bottom-grid__top--image-right {
		flex-direction: row-reverse;
	}

	.half-and-half-bottom-grid__media {
		flex: 0 0 49%;
		max-width: 869px;
	}

	.half-and-half-bottom-grid__media-frame {
		min-height: 417px;
		padding: 34px 21px;
	}

	.half-and-half-bottom-grid__content {
		flex: 1 1 0;
		max-width: 724px;
	}

	.half-and-half-bottom-grid__heading {
		font-size: 42px;
		line-height: 1.07;
	}

	.half-and-half-bottom-grid__actions .btn-secondary {
		font-size: 17px;
		letter-spacing: 0.1em;
		line-height: 1.2;
		padding: 15px 34px 16px;
	}

	.half-and-half-bottom-grid__grid {
		padding-top: 64px;
	}

	.half-and-half-bottom-grid__grid-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
