/* ═══════════════════════════════════════════════════════════════════════════
   CE CHECKLIST — Green tick list used inside page sections
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-checklist {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.ce-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-body);
	line-height: 1.6;
	color: var(--ci-color-navy);
}

.ce-checklist__tick {
	color: #71947e;
	font-size: 1.1rem;
	margin-top: 0.1rem;
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CE CHECKLIST SECTION — Full-width 2-column checklist layout
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-checklist-section {
	background: #f9f9f9;
	padding: 5rem 0;
}

.ce-checklist-section__heading {
	font-family: var(--ci-font-primary);
	font-size: clamp(1.6rem, 2.5vw, 2.2rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 3rem;
	line-height: 1.25;
}

/* ── Colour variants — light background ── */
.ce-checklist-section--moss .ce-checklist-section__heading { color: #71947e; }
.ce-checklist-section--slate .ce-checklist-section__heading { color: #6d9fa3; }
.ce-checklist-section--moss .ce-checklist__tick { color: #71947e; }
.ce-checklist-section--slate .ce-checklist__tick { color: #6d9fa3; }

/* ── Filled green variant — coloured background, white text ── */
.ce-checklist-section--filled-moss {
	background: #71947e;
}

.ce-checklist-section--filled-moss .ce-checklist-section__heading {
	color: #ffffff;
}

.ce-checklist-section--filled-moss .ce-checklist--grid li {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.26);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 2px 10px rgba(0, 0, 0, 0.07);
	color: #ffffff;
}

.ce-checklist-section--filled-moss .ce-checklist--grid li:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 5px 18px rgba(0, 0, 0, 0.1);
}

.ce-checklist-section--filled-moss .ce-checklist li {
	color: #ffffff;
}

.ce-checklist-section--filled-moss .ce-checklist__tick {
	color: rgba(255, 255, 255, 0.9);
}

/* ── 2-column grid modifier ── */
.ce-checklist--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.1rem 4rem;
	margin: 0;
}

/* ── Items: green liquid glass bubbles ── */
.ce-checklist--grid li {
	background: rgba(113, 148, 126, 0.1);
	border: 1px solid rgba(113, 148, 126, 0.24);
	border-radius: 0.875rem;
	padding: 1.1rem 1.25rem;
	gap: 0.85rem;
	font-size: var(--ci-text-body);
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 10px rgba(113, 148, 126, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ce-checklist--grid li:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 18px rgba(113, 148, 126, 0.12);
}

/* ── Responsive: single column on smaller screens ── */
@media (max-width: 768px) {
	.ce-checklist-section {
		padding: 3rem 0;
	}

	.ce-checklist--grid {
		grid-template-columns: 1fr;
	}
}


/* ═══════════════════════════════════════════════════════════════════════════
   CE BENEFITS — borderless 2-column tick rows
   Clean, typography-led list — no cards, no shadows
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-benefits {
	background: #f9f9f9;
	padding: 5rem 0;
}

.ce-benefits__heading {
	font-family: var(--ci-font-primary);
	font-size: clamp(1.6rem, 2.5vw, 2.2rem);
	font-weight: 700;
	color: #71947e;
	text-align: center;
	margin: 0 0 3rem;
	line-height: 1.25;
}

/* ── 2-column grid with subtle centre divider ── */
.ce-benefits__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 5rem;
}

/* ── Each row ── */
.ce-benefits__item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 0;
}

/* ── Tick icon ── */
.ce-benefits__tick {
	color: #71947e;
	font-size: 1.3rem;
	flex-shrink: 0;
	margin-top: 0.1rem;
	line-height: 1;
}

/* ── Text ── */
.ce-benefits__content {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ce-benefits__title {
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-card-heading);
	font-weight: 700;
	color: var(--ci-color-navy);
	line-height: 1.35;
	display: block;
}

.ce-benefits__desc {
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-card-body);
	line-height: 1.65;
	color: var(--ci-color-text-muted);
	display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.ce-benefits {
		padding: 3rem 0;
	}

	.ce-benefits__list {
		grid-template-columns: 1fr;
	}
}


/* ═══════════════════════════════════════════════════════════════════════════
   SUBJECT INVENTORY — "what you get" list on every subject page
   Rendered by ce_subject_inventory(). Sits inside the existing .ce-XXX-inside
   section wrapper (white background, grey diamonds, #646464 heading). Four
   groups stack full-width; each group heads a two-item row. Group headings stay
   grey (#646464) — colour lives in the cards, one brand colour per group.
   ═══════════════════════════════════════════════════════════════════════════ */

/* No max-width — the grid uses the full site-container width. The old 1000px
   cap left 216px unused and forced every item onto two lines once body copy
   moved to 20px. */
.ce-inv {
	margin: 0 auto;
}

.ce-inv__group {
	margin: 0 0 2.5rem;
}

.ce-inv__group:last-child {
	margin-bottom: 0;
}

.ce-inv__label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-body);
	font-weight: 700;
	color: #646464;
	margin: 0 0 1rem;
}

.ce-inv__label i {
	font-size: 1.15rem;
	color: #646464;
	--fa-secondary-opacity: 0.35;
}

.ce-inv__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.ce-inv__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-family: var(--ci-font-primary);
	font-size: var(--ci-text-body);
	line-height: 1.55;
	color: var(--ci-color-navy);
	padding: 0.9rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 0.85rem;
}

/* Font Awesome renders the tick as a 1em-tall element, so with align-items:
   flex-start it sits at the TOP of the 20px/1.55 line box and reads ~5px high
   against the text. Nudging it down by half the leading centres the glyph on
   the first line — and because it's a margin, not centring on the li, the tick
   stays with line one when an item wraps. Don't set height/line-height here:
   the FA kit swaps the <i> for an <svg>, which would scale rather than centre. */
.ce-inv__tick {
	font-size: 1rem;
	margin-top: calc((var(--ci-text-body) * 1.55 - 1em) / 2);
	flex-shrink: 0;
}

/* Four-colour group coding — engage orange / develop purple / moss green /
   innovate teal, matching the brand family used across the site. */
.ce-inv__group--a li { background: rgba(249, 157, 49, 0.13); border-color: rgba(249, 157, 49, 0.32); }
.ce-inv__group--b li { background: rgba(175, 77, 118, 0.12); border-color: rgba(175, 77, 118, 0.30); }
.ce-inv__group--c li { background: rgba(113, 148, 126, 0.12); border-color: rgba(113, 148, 126, 0.28); }
.ce-inv__group--d li { background: rgba(83, 141, 169, 0.12);  border-color: rgba(83, 141, 169, 0.30); }

.ce-inv__group--a .ce-inv__tick { color: #b86e10; }
.ce-inv__group--b .ce-inv__tick { color: #af4d76; }
.ce-inv__group--c .ce-inv__tick { color: #71947e; }
.ce-inv__group--d .ce-inv__tick { color: #538da9; }

@media (max-width: 680px) {
	.ce-inv__list {
		grid-template-columns: 1fr;
	}

	.ce-inv__group {
		margin-bottom: 2rem;
	}
}
