.cta {
	position: relative;
	overflow: hidden;
	height: 397px;
	display: flex;
	align-items: center;
}

.cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cta__bg .aspegon-media,
.cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: #00000080;
}

.cta__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-inline: var(--space-8);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-10);
}

.cta__copy {
	max-width: 680px;
}

.cta__title {
	color: var(--color-white);
	font-size: 40px;
	font-weight: 400;
	line-height: 105%;
	letter-spacing: 0%;
}

.cta__subtitle {
	color: var(--color-white);
	margin-top: var(--space-2);
	font-weight: 400;
	font-size: 15px;
	line-height: 105%;
	letter-spacing: 0%;
}

.cta__actions {
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
	flex-direction: column;
}

.cta__actions .btn {
	border-radius: 0;
	border-width: 1px;
	border-color: rgba(255, 255, 255, 0.7);
	font-weight: 400;
	padding: var(--space-3) var(--space-6);
	font-size: 16px;
	line-height: 105%;
	letter-spacing: -3%;

}

/* $args['layout'] === 'centered' — heading, subtitle and button stacked in
   one centered column instead of the default text-left/buttons-right row. */
.cta--centered .cta__inner {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: var(--space-5);
}

.cta--centered .cta__copy {
	max-width: 900px;
}

@media (max-width: 768px) {
	/* .cta--centered is currently only used by /bulk-ingredients/
	   (page-bulk-ingredients.php's layout:'centered' call) — hidden on
	   mobile there specifically, not the default row-layout .cta used
	   elsewhere (e.g. the homepage). */
	.cta--centered {
		display: none;
	}

	.cta {
		height: auto;
		padding-block: var(--space-7);
	}

	.cta__inner {
		flex-direction: column;
		align-items: flex-start;
		padding-inline: var(--container-pad);
		gap: var(--space-6);
	}

	.cta__title {
		font-size: 32px;
	}
}