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

.cpm-sg__header {
	text-align: center;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.cpm-sg__heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 40px;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	line-height: 44px;
	margin: 0;
}

.cpm-sg__heading-line {
	display: block;
	font-weight: 600;
	color: rgb(30, 30, 30);
}

.cpm-sg__heading-line--red {
	font-weight: 900;
	color: rgb(255, 0, 0);
}

.cpm-sg__lead {
	color: var(--cpm-color-gray);
	font-size: 1.0625rem;
	margin-top: .75rem;
}

/* Slider */
.cpm-sg__slider-outer {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	overflow: hidden;
}

.cpm-sg__swiper {
	overflow: hidden;
	width: 100%;
}

/* Each slide holds a 2-column grid */
.cpm-sg__slide-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(16px, 2vw, 24px);
	align-items: stretch;
}

/* Card: full bg image, content box overlaid */
.cpm-sg__card {
	position: relative;
	height: 400px;
	border-radius: 18px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: stretch;
}

a.cpm-sg__card {
	text-decoration: none;
	cursor: pointer;
}

.cpm-sg__card--right {
	justify-content: flex-end;
}

.cpm-sg__card--left {
	justify-content: flex-start;
}

.cpm-sg__card-body {
	width: 42%;
	margin: 0;
	padding: clamp(1rem, 1.5vw, 1.25rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(255, 255, 255, 0.75);
	border: 2px dashed rgb(30, 30, 30);
	align-self: stretch;
}

.cpm-sg__card--right .cpm-sg__card-body {
	border-radius: 18px 18px 18px 18px;
}

.cpm-sg__card--left .cpm-sg__card-body {
	border-radius: 18px 18px 18px 18px;
}

.cpm-sg__card-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	font-style: normal;
	line-height: 30px;
	color: rgb(30, 30, 30);
	margin: 0 0 .625rem;
}

.cpm-sg__card-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 19px;
	color: rgb(30, 30, 30);
	margin: 0 0 1rem;
}

.cpm-sg__card-cta {
	display: inline-block;
	font-size: .875rem;
	font-weight: 700;
	color: var(--cpm-color-red);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color var(--cpm-transition);
	margin-top: auto;
}

.cpm-sg__card-cta:hover,
.cpm-sg__card-cta:focus-visible {
	border-color: var(--cpm-color-red);
}

/* Nav row */
.cpm-sg__nav-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.cpm-sg__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cpm-color-dark);
	color: var(--cpm-color-white);
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	transition: background var(--cpm-transition);
}

.cpm-sg__nav-btn:hover,
.cpm-sg__nav-btn:focus-visible {
	background: var(--cpm-color-red);
	outline: none;
}

.cpm-sg__nav-btn svg {
	display: block;
	flex-shrink: 0;
}

.cpm-sg__pagination {
	position: static !important;
	width: auto !important;
	bottom: auto !important;
	display: flex;
	gap: 6px;
	align-items: center;
}

.cpm-sg__pagination .swiper-pagination-bullet {
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: var(--cpm-color-border) !important;
	opacity: 1 !important;
	margin: 0 !important;
	transition: background var(--cpm-transition);
}

.cpm-sg__pagination .swiper-pagination-bullet-active {
	background: var(--cpm-color-dark) !important;
}

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

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

	.cpm-sg__header {
		margin-bottom: 1rem;
	}

	.cpm-sg__heading {
		font-size: 20px;
		line-height: 26px;
	}

	.cpm-sg__lead {
		font-size: 13px;
	}

	/* mobile: 1 card per slide — card-body fills full card, bg hidden */
	.cpm-sg__slide-mobile.swiper-slide {
		display: block;
	}

	.cpm-sg__slide-mobile .cpm-sg__card {
		background-image: none !important;
		min-height: unset;
		align-items: stretch;
		justify-content: stretch !important;
	}

	.cpm-sg__slide-mobile .cpm-sg__card-body {
		width: 100%;
		margin: 0;
		border-radius: 18px;
		border: 2px dashed rgb(30, 30, 30);
		background: #ffffff;
		padding: 1.5rem 1.25rem;
	}

	.cpm-sg__card-title {
		font-size: 16px;
		line-height: 22px;
	}

	.cpm-sg__card-desc {
		font-size: 13px;
		line-height: 18px;
	}
}
