/* ═══════════════════════════════════════════════════════════════════════════
   MATs PAGE — BENEFIT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-mats-benefits {
	background-color: #fff;
	padding: 4.5rem 0 5rem;
	position: relative;
	overflow: clip;
}

.ce-mats-benefits::before {
	content: '';
	position: absolute;
	width: 450px;
	height: 450px;
	background: #f9f9f9;
	border-radius: 2.75rem;
	transform: rotate(45deg);
	top: -80px;
	left: -90px;
	pointer-events: none;
	z-index: 0;
}

.ce-mats-benefits::after {
	content: '';
	position: absolute;
	width: 260px;
	height: 260px;
	background: #f9f9f9;
	border-radius: 2rem;
	transform: rotate(45deg);
	top: 420px;
	left: 178px;
	pointer-events: none;
	z-index: 0;
}

.ce-mats-benefits .site-container {
	position: relative;
	z-index: 1;
}

.ce-mats-benefits__title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 0.6rem;
}

.ce-mats-benefits__heading {
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-h2);
	font-weight: 700;
	color: #646464;
	margin: 0;
	line-height: 1.2;
}

.ce-mats-benefits__sub {
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-body);
	color: #4a5a6a;
	margin: 0 auto 2.5rem;
	max-width: 640px;
	text-align: center;
}

/* Icon + title on same row */
.ce-mats-benefits .ce-feature-list__header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.ce-mats-benefits .ce-feature-list__badge {
	font-size: 1.75rem;
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MATs PAGE — TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Same diamond-backdrop treatment as .cc-testimonial-slider/.testimonials
   (testimonials.css) — this page uses its own section class rather than the
   shared default, so it didn't inherit that decoration automatically. */
.ce-mats-testimonials {
	padding: 4rem 0 5rem;
	position: relative;
	overflow: clip;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ce-mats-testimonials::before {
	content: '';
	position: absolute;
	width: 450px;
	height: 450px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 2.75rem;
	transform: rotate(45deg);
	top: -80px;
	left: -90px;
	pointer-events: none;
	z-index: 0;
}
.ce-mats-testimonials::after {
	content: '';
	position: absolute;
	width: 260px;
	height: 260px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 2rem;
	transform: rotate(45deg);
	top: 420px;
	left: 178px;
	pointer-events: none;
	z-index: 0;
}

.ce-mats-testimonials .site-container {
	position: relative;
	z-index: 1;
}

/* Flex, not grid — see the matching note on .testimonials__grid in
   testimonials.css. Currently 3 testimonials on this page, so this is
   visually identical to the grid it replaces; it only matters if the count
   ever drops below 3. */
.ce-mats-testimonials__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 2rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
	.ce-mats-testimonials__grid > .cc-ts-item {
		flex-basis: 100%;
	}
}
