/**
 * "Be A Part of This Blessing" CTA banner.
 */

.cta-banner-section {
	background-color: var(--color-white);
	padding: 60px 2.5rem;
}

.cta-banner {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	min-height: 320px;
	background-color: var(--color-primary);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.cta-banner__content {
	position: relative;
	z-index: 1;
	flex: 1 1 380px;
	padding: 3rem;
	color: var(--color-white);
}

.cta-banner__icon {
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
}

.cta-banner__icon svg {
	width: 100%;
	height: 100%;
}

.cta-banner__heading {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--color-white);
	font-size: clamp(1.875rem, 3.5vw, 2.5rem);
	margin: 0 0 0.75rem;
}

.cta-banner__text {
	font-family: var(--font-body);
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.0625rem;
	margin: 0;
}

/* Media: once a real photo replaces the placeholder, this gradient makes
   it bleed into the navy content area on the left. */

.cta-banner__media {
	position: relative;
	flex: 1 1 360px;
	align-self: stretch;
	min-height: 320px;
}

.cta-banner__media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to right,
		var(--color-primary) 0%,
		rgba(var(--color-primary-rgb), 0.35) 35%,
		rgba(var(--color-primary-rgb), 0) 65%
	);
	pointer-events: none;
}

.cta-banner__media-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The building sits near the right edge of the source photo — anchor
	   the crop there so a narrower box doesn't crop it away, it just
	   reveals less of the plain navy sky on the left instead. */
	object-position: right center;
}

.cta-banner__media-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.06);
	border: 2px dashed rgba(255, 255, 255, 0.3);
	color: var(--color-white);
	text-align: center;
	padding: 1.5rem;
}

.cta-banner__media-placeholder svg {
	width: 40px;
	height: 40px;
	opacity: 0.6;
}

.cta-banner__media-placeholder span {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	opacity: 0.8;
}

@media (max-width: 720px) {
	.cta-banner-section {
		padding: 2rem 1.25rem;
	}

	.cta-banner__content {
		padding: 2.5rem 1.75rem;
	}

	.cta-banner__media {
		min-height: 220px;
	}
}
