/* ═══════════════════════════════════════════════════════════════════════════
   SEND PAGE — CHALLENGES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ce-send-challenges {
	background: #fff;
	padding: 5rem 0;
	position: relative;
	overflow: clip;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
}

/* Large diamond — top-left, partially cropped off edge */
.ce-send-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-send-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-send-challenges .site-container {
	position: relative;
	z-index: 1;
}

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

.ce-send-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-send-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-send-challenges__grid {
	grid-template-columns: repeat(2, 1fr);
}

/* Paragraphs line up across each row automatically — feature-list.css matches
   this card's header-plus-paragraph shape. Misaligned between 768 and 900
   without it. The 16px gap below is the item default, which that rule leaves
   alone on purpose. */
.ce-send-challenges .ce-feature-list__item {
	padding: 1.25rem 1.5rem;
	min-height: auto !important;
}

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

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

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

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


/* ═══════════════════════════════════════════════════════════════════════════
   SEND PAGE — WE HELP SECTION (2×2 grid)
   ═══════════════════════════════════════════════════════════════════════════ */

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

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

.ce-send-we-help .ce-feature-list__heading {
	color: #ffffff;
}

/* Same light cards as the "What you get" section below (which gets its pastel
   tints for free from feature-list.css, unmodified) — not a translucent tint
   boosted in opacity, which just reads as dark and muddy over navy. These are
   the same brand tints pre-composited over white as an opaque colour, so the
   card itself is genuinely light regardless of the dark section behind it. */
.ce-send-we-help .ce-feature-list__item:nth-child(4n+1) {
	background: rgb(254, 242, 228);
}
.ce-send-we-help .ce-feature-list__item:nth-child(4n+2) {
	background: rgb(246, 235, 240);
}
.ce-send-we-help .ce-feature-list__item:nth-child(4n+3) {
	background: rgb(233, 240, 244);
}
.ce-send-we-help .ce-feature-list__item:nth-child(4n+4) {
	background: rgb(237, 241, 238);
}

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

.ce-send-we-help .ce-feature-list__header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.ce-send-we-help .ce-feature-list__badge {
	font-size: 1.75rem;
	flex-shrink: 0;
}

.ce-send-we-help__grid {
	grid-template-columns: repeat(2, 1fr);
}

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


/* ═══════════════════════════════════════════════════════════════════════════
   SEND PAGE — WHAT YOU GET SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

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

.ce-send-what-you-get__grid {
	grid-template-columns: repeat(2, 1fr);
}

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

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

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

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

/* Full-width Maestro card.
   Layout lives in components/maestro-card.css, shared with the single subject,
   EYFS and mixed-age pages. All this page contributes is which colour it is —
   the same accent EYFS uses, which is what its ~100 lines of duplicated layout
   amounted to. */
.ce-send-maestro-card {
	--ce-maestro-accent: var(--ci-color-innovate);
	--ce-maestro-accent-hover: #3a6e87;
}

/* Body copy runs the card's full width here, unlike the shared Maestro card.

   components/maestro-card.css caps .ce-feature-list__desc at 40rem, because
   when the link moved from a right-hand column to under the paragraph the
   paragraph inherited that column's width and ran to 117 characters a line.
   The cap put it back to about 74.

   This page asks for the full width instead, so the cap is lifted for this
   card only — the other three pages using .ce-maestro-card keep it. Equal
   specificity to the rule it overrides (0,2,0), winning on source order
   because send.css is a per-template stylesheet and loads after the global
   component. */
.ce-send-maestro-card .ce-feature-list__desc {
	max-width: none;
}
