.cpm-cf {
	background: #ffffff;
	padding-block: var(--cpm-section-gap);
}

.cpm-cf__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: stretch;
}

/* ── Left: image ──────────────────────────────────────────── */
.cpm-cf__media {
	display: flex;
}

.cpm-cf__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	display: block;
}

/* ── Right: content ───────────────────────────────────────── */
.cpm-cf__body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.cpm-cf__badge {
	display: inline-block;
	align-self: flex-start;
	background: rgb(108, 108, 108);
	color: rgb(241, 241, 241);
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 19px;
	padding: .45rem 1rem;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.cpm-cf__heading {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.cpm-cf__heading-dark {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 40px;
	line-height: 44px;
	color: rgb(30, 30, 30);
	text-transform: uppercase;
}

.cpm-cf__heading-red {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 900;
	font-size: 40px;
	line-height: 44px;
	color: rgb(255, 0, 0);
	text-transform: uppercase;
}

.cpm-cf__form {
	margin-top: 2rem;
}

/* ── Social ───────────────────────────────────────────────── */
.cpm-cf__social {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1rem;
}

.cpm-cf__social-label {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: rgb(128, 128, 128);
	white-space: nowrap;
}

.cpm-cf__social-icons {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.cpm-cf__social-link {
	display: flex;
	transition: opacity 180ms ease;
}

.cpm-cf__social-link:hover {
	opacity: .75;
}

.cpm-cf__social-icon {
	width: 40px;
	height: 40px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
	.cpm-cf {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.cpm-cf .cpm-container {
		padding-left: 20px !important;
		padding-right: 20px !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.cpm-cf__inner {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	/* Image on top */
	.cpm-cf__media {
		display: flex;
		order: -1;
	}

	.cpm-cf__img {
		height: 220px;
		object-fit: cover;
	}

	/* Badge + heading centered */
	.cpm-cf__body {
		align-items: center;
		text-align: center;
		gap: .75rem;
	}

	.cpm-cf__form {
		margin-top: 0;
	}

	.cpm-cf__badge {
		align-self: center;
	}

	.cpm-cf__heading-dark,
	.cpm-cf__heading-red {
		font-size: 21px;
		line-height: 27px;
		text-align: center;
	}

	/* Social */
	.cpm-cf__social {
		justify-content: center;
		flex-wrap: wrap;
		gap: .75rem;
	}

	.cpm-cf__social-label {
		font-size: 15px;
		line-height: 22px;
	}

	.cpm-cf__social-icon {
		width: 28px;
		height: 28px;
	}
}
