.cmath-approach {
	background: var(--color-brand-light-blue);
	padding: var(--block-padding-m) var(--grid-margins);
}

.cmath-approach__inner {
	max-width: var(--max-width-content);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--grid-gutter);
	align-items: center;
}

.cmath-approach__title {
	margin: 0 0 var(--space-150);
	font-family: var(--font-family-headers);
	font-weight: var(--font-h2-weight);
	font-size: var(--font-h2-size);
	line-height: 1.15;
	color: var(--color-text-alt);
}

.cmath-approach__body {
	min-height: 8em;
}

.cmath-approach__subtitle {
	margin: 0 0 var(--space-100);
	font-family: var(--font-family-paragraph);
	font-weight: 600;
	font-size: var(--space-113);
	line-height: 1.35;
	color: var(--color-text-default);
}

.cmath-approach__instruction,
.cmath-approach__desc {
	margin: 0;
	font-family: var(--font-family-paragraph);
	font-size: var(--font-body-size);
	line-height: 1.45;
	color: var(--color-text-default);
}

.cmath-approach__instruction {
	opacity: 0.7;
}

/* Mandala */
.cmath-approach__figure {
	display: flex;
	justify-content: center;
}

.cmath-approach__svg {
	display: block;
	width: 100%;
	max-width: 460px;
	height: auto;
	overflow: visible;
}

.cmath-mandala__region {
	cursor: pointer;
	transition: fill 0.15s ease, fill-opacity 0.15s ease;
}

.cmath-mandala__region:focus-visible {
	outline: none;
}

/* Center: exported SVG comes with teal center; restore olive base. */
.cmath-mandala__region[data-set="hmep"] {
	fill: var(--color-brand-greenish-gold);
}

/* Highlight: teal, with greater transparency on larger intersections (gradient). */
.cmath-mandala__region.is-hot {
	fill: var(--color-brand-teal-original);
	fill-opacity: 1;
}

.cmath-mandala__region.is-hot[data-depth="2"] { fill-opacity: 0.82; }
.cmath-mandala__region.is-hot[data-depth="3"] { fill-opacity: 0.68; }
.cmath-mandala__region.is-hot[data-depth="4"] { fill-opacity: 0.58; }

.cmath-approach__label {
	font-family: var(--font-family-paragraph);
	font-weight: 700;
	font-size: var(--font-body-size);
	fill: var(--color-text-accent);
	cursor: pointer;
	transition: fill 0.15s ease;
}

.cmath-approach__label:focus-visible {
	outline: none;
	text-decoration: underline;
}

.cmath-approach__label.is-active {
	fill: var(--color-text-white);
}

@media (max-width: 768px) {
	.cmath-approach__inner {
		grid-template-columns: 1fr;
		gap: var(--space-300);
	}

	/* On mobile the mandala comes first, then text (design order). */
	.cmath-approach__figure {
		order: -1;
	}

	.cmath-approach__body {
		min-height: 0;
	}

	.cmath-approach__svg {
		max-width: 360px;
	}
}
