.hb-wrap {
	--hb-accent: #8a3324;
	--hb-text-muted: #555;
	/* Match this to the theme's global row/content width (Customizer > Layout). */
	--hb-content-width: 1200px;
	--hb-content-padding: 40px;

	/* Break out of the (possibly fixed-width) row wrapper to full viewport width. */
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	min-height: 420px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
}

.hb-container {
	position: relative;
	z-index: 2;
	max-width: 1350px;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.hb-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 50%;
	min-height: 420px;
	box-sizing: border-box;
}

.hb-wrap--no-image .hb-content {
	width: 100%;
	max-width: 720px;
	padding-right: 0;
}

.hb-wrap--image-left .hb-content {
	margin-left: auto;
	padding-right: 0;
	padding-left: var(--hb-content-padding);
}

.hb-heading {
	margin: 0;
	font-weight: 800;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #1a1a1a;
}

.hb-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--hb-text-muted);
}

.hb-text p {
	margin: 0 0 12px;
}

.hb-text p:last-child {
	margin-bottom: 0;
}

.hb-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
}

.hb-btn {
	display: inline-block;
	border-radius: 999px;
	padding: 14px 32px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hb-btn--primary {
	background: var(--hb-accent);
	color: #fff !important;
	border: 1px solid var(--hb-accent);
}

.hb-btn--primary:hover {
	opacity: 0.85;
}

.hb-btn--outline {
	background: transparent;
	color: var(--hb-accent) !important;
	border: 1px solid var(--hb-accent);
}

.hb-btn--outline:hover {
	background: var(--hb-accent);
	color: #fff !important;
}

/*
 * The content column always occupies the left (or right) half of the
 * centered .hb-container, which places its outer edge exactly on the
 * viewport's horizontal center. So the image simply fills the other
 * 50% of the viewport, bleeding from the center to the screen edge.
 */
.hb-image {
	position: absolute;
	top: 0;
	right: 0;
	width: 50vw;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.hb-wrap--image-left .hb-image {
	right: auto;
	left: 0;
}

.hb-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 30%);
}

.hb-wrap--image-left .hb-image::before {
	background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 30%);
}

@media (max-width: 991px) {
	.hb-wrap {
		min-height: 0;
	}

	.hb-container {
		display: flex;
		flex-direction: column;
	}

	.hb-content,
	.hb-wrap--no-image .hb-content {
		width: 100%;
		max-width: none;
		min-height: 0;
		margin-left: 0;
		padding: 40px 0;
	}

	.hb-image,
	.hb-wrap--image-left .hb-image {
		position: relative;
		left: auto;
		right: auto;
		width: 100%;
		height: 260px;
		order: -1;
	}

	.hb-image::before,
	.hb-wrap--image-left .hb-image::before {
		background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 20%);
	}

	.hb-heading {
		font-size: 30px;
	}
}

@media (max-width: 600px) {
	.hb-wrap {
		--hb-content-padding: 24px;
	}

	.hb-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.hb-btn {
		text-align: center;
	}
}
