/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE SUBJECT PAGE — EXPLORE SECTION (subject links grid)
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-ss-we-help {
	background: #fff;
	position: relative;
	overflow: clip;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
}

.ce-ss-we-help::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-ss-we-help::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-ss-we-help .site-container {
	position: relative;
	z-index: 1;
}

.ce-ss-we-help .ce-feature-list__item {
	gap: 0.5rem;
	padding: 1.25rem 1.5rem;
	min-height: auto !important;
}

.ce-ss-we-help__card-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.ce-ss-we-help__card-header .ce-feature-list__title {
	margin: 0;
}

.ce-ss-we-help .ce-feature-list__desc {
	flex: 1;
}

.ce-ss-we-help .ce-cc-card-link-wrap {
	margin-top: 0;
}

.ce-ss-we-help .ce-feature-list__item:nth-child(4n+1) .ce-cc-card-link { color: var(--ci-color-engage); }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+1) .ce-cc-card-link:hover,
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+1) .ce-cc-card-link:active { color: #d97e10; }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+2) .ce-cc-card-link { color: var(--ci-color-develop); }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+2) .ce-cc-card-link:hover,
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+2) .ce-cc-card-link:active { color: #8a3a5c; }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+3) .ce-cc-card-link { color: var(--ci-color-innovate); }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+3) .ce-cc-card-link:hover,
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+3) .ce-cc-card-link:active { color: #3a6e87; }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+4) .ce-cc-card-link { color: #71947e; }
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+4) .ce-cc-card-link:hover,
.ce-ss-we-help .ce-feature-list__item:nth-child(4n+4) .ce-cc-card-link:active { color: #557060; }


/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE SUBJECT PAGE — CHALLENGES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-ss-challenges {
	background: #fff;
	padding: 5rem 0;
	position: relative;
	overflow: clip;
}

/* Large diamond — top-left, partially cropped off edge */
.ce-ss-challenges::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;
}

/* Small diamond — clearly separated below the large one */
.ce-ss-challenges::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-ss-challenges .site-container {
	position: relative;
	z-index: 1;
}

.ce-ss-challenges__title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
}

/* Inline brand emblem SVG standing in for a Font Awesome icon — recoloured
   to the badge's own colour via currentColor (paths carry no fill of their
   own, so this wins over the SVG's UA-default black). */
.ce-ss-challenges__emblem-badge svg {
	width: 2.45rem;
	height: 2.45rem;
}

.ce-ss-challenges__emblem-badge svg path {
	fill: currentColor;
}

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

.ce-ss-challenges__sub {
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-body);
	color: #7a8a9a;
	text-align: center;
	margin: 0 auto 3rem;
	line-height: 1.7;
}

.ce-ss-challenges .ce-ss-challenges__grid {
	grid-template-columns: repeat(2, 1fr);
}

/* Shared min-height keeps all 4 cards the same height regardless of
   copy length, so the two rows read as one consistent 2x2 block. */
.ce-ss-challenges .ce-feature-list__item {
	padding: 1.25rem 1.5rem;
	min-height: 13rem !important;
}

.ce-ss-challenges .ce-feature-list__header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

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

@media (max-width: 680px) {
	.ce-ss-challenges {
		padding: 3rem 0;
	}

	.ce-ss-challenges .ce-ss-challenges__grid {
		grid-template-columns: 1fr;
	}
}


/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE SUBJECT PAGE — WHAT YOU GET — FULL-WIDTH MAESTRO CARD
   ═══════════════════════════════════════════════════════════════════════════ */

/* Same white background + diamond treatment as the Explore section above,
   so the two sections read as one consistent design language. */
.ce-ss-what-you-get {
	background: #fff;
	position: relative;
	overflow: clip;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
}

.ce-ss-what-you-get::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-ss-what-you-get::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-ss-what-you-get .site-container {
	position: relative;
	z-index: 1;
}

/* Layout lives in components/maestro-card.css, shared with the EYFS and
   mixed-age pages. All this page contributes is which colour it is. */
.ce-ss-maestro-card {
	--ce-maestro-accent: #71947e;
	--ce-maestro-accent-hover: #557060;
}

.ce-ss-what-you-get .ce-feature-list__grid .ce-feature-list__item {
	padding: 1.25rem 1.5rem;
	min-height: auto !important;
}

.ce-ss-what-you-get .ce-feature-list__grid .ce-feature-list__header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.ce-ss-what-you-get .ce-feature-list__grid .ce-feature-list__badge {
	font-size: 1.75rem;
	flex-shrink: 0;
}
