/**
 * programme.css — CPT-specific styles for single-programme and archive-programme.
 *
 * Loaded only on programme templates (see fizzics_enqueue_programme_assets()
 * in theme/functions.php). Depends on design tokens from theme/style.css
 * (5a lane): --navy, --green, --green-050, --green-900, --orange, --paper,
 * --ink, --ink-soft, --s-1..9, --step-0..6, --radius-*.
 *
 * 3-green palette discipline: only --green, --green-050, --green-900 are
 * used here — no new green tokens introduced.
 */

/* ========================================================================
 * Layout — desktop two-column (article + sticky rail)
 * ======================================================================== */

.programme-single {
	padding-block: var(--s-6);
}

.programme-single .container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--s-4);
}

.programme-crumbs {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin-bottom: var(--s-4);
}

.programme-crumbs a {
	color: var(--ink-soft);
	text-decoration: none;
}

.programme-crumbs a:hover {
	color: var(--navy);
	text-decoration: underline;
}

/* Desktop two-column — article + sticky rail.
 * minmax(0, 1fr) + min-width: 0 on the child prevents the rail from
 * overshooting the viewport at 1366px+ (round-4 §3.3 responsive fix).
 *
 * The single-column track below 1024px is ALSO minmax(0, 1fr), and min-width: 0
 * on .programme-article is now unconditional. Both were previously scoped to the
 * >=1024px query only, so on mobile the item kept min-width: auto and the 1fr
 * track resolved to its min-content width — 840px inside a 375px viewport.
 * session-theme-publish-blockers, measured on live ID 113 kitchen-chemistry. */
.programme-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--s-6);
	align-items: start;
}

.programme-article {
	min-width: 0;
}

/* Desktop tracks and the sticky rail: rail-layout.css (.fz-rail-layout). */

/* ========================================================================
 * Hero
 * ======================================================================== */

.programme-hero {
	margin-bottom: var(--s-5);
}

.programme-hero__figure {
	position: relative;
	margin: 0 0 var(--s-4);
	border-radius: 0.75rem;
	overflow: hidden;
	aspect-ratio: 21 / 9;
}

.programme-hero__figure .programme-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Navy (#1B1464) gradient overlay per ACF hero_image instructions + round-3 §6.9. */
.programme-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(27 20 100 / 0%) 0%, rgb(27 20 100 / 12%) 60%, rgb(27 20 100 / 38%) 100%);
	pointer-events: none;
}

.programme-hero__title {
	font-size: var(--step-4);
	line-height: 1.1;
	color: var(--navy);
	margin: 0 0 var(--s-3);
}

.aeo-lede {
	background: var(--green-050);
	border-left: 4px solid var(--green);
	padding: var(--s-3) var(--s-4);
	border-radius: 0 0.375rem 0.375rem 0;
	margin-bottom: var(--s-4);
}

.aeo-lede__tag {
	display: inline-block;
	font-size: var(--step--2);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--green-900);
	margin-bottom: var(--s-1);
}

.aeo-lede p {
	margin: 0;
	font-size: var(--step-0);
	color: var(--ink);
}

/* ========================================================================
 * CTA row under hero
 * ======================================================================== */

.programme-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-bottom: var(--s-6);
}

.programme-hero__cta-row p {
	margin: 0;
}

/* ========================================================================
 * Top row — overview tick-list + Trustpilot mini
 * ======================================================================== */

.programme-toprow {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-4);
	margin-bottom: var(--s-6);
	padding: var(--s-4);
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.75rem;
}

@media (min-width: 768px) {
	.programme-toprow {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

.programme-overview {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--s-2);
}

.programme-overview li {
	position: relative;
	padding-left: 1.75rem;
	color: var(--ink);
}

.programme-overview li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1rem;
	height: 1rem;
	background: var(--green);
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.2 11.4 2.8 8l1.4-1.4 2 2 4-4L11.6 6l-5.4 5.4Z'/></svg>");
	mask-repeat: no-repeat;
	mask-size: contain;
}

.trustpilot-mini-slot {
	display: flex;
	flex-direction: column;
	gap: var(--s-1);
	padding: var(--s-3);
	background: var(--green-050);
	border-radius: 0.375rem;
	min-width: 200px;
}

.trustpilot-mini-slot__label {
	font-size: var(--step--2);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--green-900);
}

.trustpilot-mini-slot__stars {
	font-size: var(--step-1);
	color: var(--green);
	letter-spacing: 0.1em;
}

/* ========================================================================
 * Leadership section — pairs with fizzics/author-byline pattern
 * ======================================================================== */

.programme-leadership {
	padding: var(--s-5) 0;
	border-top: 1px solid #e4e2ea;
	border-bottom: 1px solid #e4e2ea;
	margin-block: var(--s-6);
}

.programme-leadership__heading {
	font-size: var(--step-2);
	color: var(--navy);
	margin: 0 0 var(--s-3);
}

.programme-leadership__bio {
	font-size: var(--step-0);
	color: var(--ink);
	max-width: 62ch;
}

.programme-leadership__bio p:last-child {
	margin-bottom: 0;
}

/* ========================================================================
 * Programme body (post-content)
 * ======================================================================== */

.programme-body {
	margin-block: var(--s-6);
}

/* ========================================================================
 * Gallery
 * ======================================================================== */

.programme-gallery {
	margin-block: var(--s-6);
}

.programme-gallery__scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	gap: var(--s-3);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: var(--s-2);
}

.programme-gallery__tile {
	scroll-snap-align: start;
	border-radius: 0.5rem;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid #e4e2ea;
}

.programme-gallery__tile img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.programme-gallery__caption {
	padding: var(--s-2) var(--s-3);
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin: 0;
}

/* ========================================================================
 * Above-cost stack (6 blocks in Ben round-5 §3.4 order)
 * ======================================================================== */

.programme-above-cost {
	display: grid;
	gap: var(--s-5);
	margin-block: var(--s-6);
}

.above-cost__block {
	padding: var(--s-4);
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.5rem;
}

.above-cost__block h3 {
	font-size: var(--step-1);
	color: var(--navy);
	margin: 0 0 var(--s-3);
}

.above-cost__block--reviews {
	background: var(--green-050);
	border-color: var(--green);
}

.above-cost__block--reviews h3 {
	color: var(--green-900);
}

.above-cost__conditions {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--s-2);
}

.above-cost__conditions li {
	position: relative;
	padding-left: 1.75rem;
}

.above-cost__conditions li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--green);
	font-weight: 700;
}

.fb-social-proof-slot {
	padding: var(--s-3);
	background: var(--paper);
	border: 1px dashed var(--ink-soft);
	border-radius: 0.375rem;
}

.fb-social-proof-slot__note {
	margin: 0;
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.trustpilot-slot {
	padding: var(--s-3);
	background: var(--paper);
	border: 1px dashed var(--green);
	border-radius: 0.375rem;
	min-height: 3rem;
}

/* ========================================================================
 * Cost box (mirrors fizzics/cost-box pattern markup)
 * ======================================================================== */

.programme-cost {
	margin-block: var(--s-6);
}

.cost-box {
	padding: var(--s-5);
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.75rem;
	max-width: 520px;
}

.cost-box__total {
	font-size: var(--step-5);
	font-weight: 800;
	color: var(--ink);
	line-height: 1;
	margin: 0 0 var(--s-1);
}

.cost-box__gst {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin: 0 0 var(--s-4);
}

/* Maximum capacity line (Ben, Cliq 25 Oct 2026: "maximum capacity should be
 * on every outreach program page"). fizzics_programme_capacity_html(). */
.cost-box__capacity {
	margin: 0 0 var(--s-4);
	font-size: var(--step-0);
	font-weight: 700;
	color: var(--navy-900);
}

.cost-box__capacity-label {
	display: block;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cost-box__per-student {
	display: flex;
	align-items: flex-start;
	gap: var(--s-3);
	padding: var(--s-3);
	background: var(--green-050);
	border: 1px solid var(--green);
	border-radius: 0.5rem;
	margin-bottom: var(--s-3);
}

.cost-box__star {
	font-size: var(--step-2);
	color: var(--green);
	line-height: 1;
	margin: 0;
	flex: 0 0 auto;
}

.cost-box__per-student-amount {
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--green-900);
	margin: 0;
}

.cost-box__per-student-label {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin: 0;
}

.cost-box__bracket {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin: 0;
}

.early-bird-note {
	display: inline-block;
	margin: var(--s-3) 0 0;
	padding: var(--s-2) var(--s-3);
	background: var(--green-050);
	border-left: 4px solid var(--green);
	border-radius: 0 0.375rem 0.375rem 0;
	font-size: var(--step--1);
	color: var(--green-900);
}

.early-bird-note strong {
	color: var(--green-900);
}

/* ========================================================================
 * FAQs
 * ======================================================================== */

.programme-faqs {
	margin-block: var(--s-6);
}

.programme-faqs h2 {
	font-size: var(--step-2);
	color: var(--navy);
	margin: 0 0 var(--s-4);
}

.programme-faqs__list {
	display: grid;
	gap: var(--s-2);
}

.programme-faqs__item {
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.375rem;
	padding: var(--s-3);
}

.programme-faqs__item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--navy);
	list-style: none;
}

.programme-faqs__item summary::-webkit-details-marker {
	display: none;
}

.programme-faqs__item summary::after {
	content: "▸";
	margin-left: var(--s-2);
	color: var(--ink-soft);
	transition: transform 150ms ease;
	display: inline-block;
}

.programme-faqs__item[open] summary::after {
	transform: rotate(90deg);
}

.programme-faqs__answer {
	padding-top: var(--s-2);
	color: var(--ink);
}

/* ========================================================================
 * Workshop-list details block
 * ======================================================================== */

.programme-workshop-list {
	margin-block: var(--s-6);
}

.programme-workshop-list .wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--navy);
	font-size: var(--step-0);
	padding: var(--s-3);
	background: var(--green-050);
	border-radius: 0.375rem;
	list-style: none;
}

.programme-workshop-list .wp-block-details summary::after {
	content: "▸";
	margin-left: var(--s-2);
	color: var(--green);
	display: inline-block;
	transition: transform 150ms ease;
}

.programme-workshop-list .wp-block-details[open] summary::after {
	transform: rotate(90deg);
}

/* ========================================================================
 * Sticky booking rail (per-programme accent on TOP BORDER only)
 * ======================================================================== */

.booking-rail {
	display: grid;
	gap: var(--s-4);
	padding: var(--s-4);
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.5rem;
	/* Default top border when no accent colour set. The inline style from
	 * [fizzics_prog_sticky_rail] overrides this per-programme. */
	border-top: 4px solid var(--green);
}

.booking-rail__box {
	display: grid;
	gap: var(--s-2);
}

.booking-rail__box h3,
.booking-rail__box .intl-teaching-cta h2 {
	font-size: var(--step-0);
	color: var(--navy);
	margin: 0;
}

.booking-rail__box p {
	font-size: var(--step--1);
	color: var(--ink);
	margin: 0;
}

.booking-rail__box--intl {
	padding-bottom: var(--s-4);
	border-bottom: 1px solid #e4e2ea;
}

.booking-rail__box--trustpilot .trustpilot-slot {
	min-height: 3rem;
	padding: var(--s-2);
	font-size: var(--step--1);
}

/* ========================================================================
 * Floating after-20s CTA — REMOVED 2026-09-18 (Ben, 2026-09-04 13:42:42)
 *
 * The desktop reveal rules are deleted, not just disabled. This single hide
 * rule is retained deliberately: pages served from an edge cache may still
 * carry the old <a class="programme-float-cta"> markup for a while, and
 * without it that stale HTML would render as a stray unstyled link in the
 * middle of the page instead of nothing.
 * Safe to delete once the cache has fully turned over.
 * ======================================================================== */

.programme-float-cta {
	display: none !important;
}

/* ========================================================================
 * Archive — grid of programme cards with per-programme accent line
 * ======================================================================== */

.programme-archive {
	padding-block: var(--s-6);
}

.programme-archive__title {
	font-size: var(--step-4);
	color: var(--navy);
	margin: 0 0 var(--s-3);
}

.programme-archive__lede {
	max-width: 62ch;
	color: var(--ink);
	font-size: var(--step-0);
	margin-bottom: var(--s-6);
}

.programme-archive__grid {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.programme-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.programme-archive__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.programme-card {
	position: relative;
	background: var(--paper);
	border: 1px solid #e4e2ea;
	border-radius: 0.5rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.programme-card__accent {
	display: block;
	height: 4px;
	width: 100%;
	/* Inline style from [fizzics_prog_card_accent] overrides background. */
}

.programme-card__image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.programme-card__body {
	padding: var(--s-3) var(--s-4) var(--s-4);
	display: grid;
	gap: var(--s-2);
}

.programme-card__topics {
	color: var(--ink-soft);
}

.programme-card__title a {
	color: var(--navy);
	text-decoration: none;
}

.programme-card__title a:hover {
	text-decoration: underline;
}

/* Short description under the title, as on the old site (Ben, 22 Oct 2026): about 3 lines. */
.programme-card__excerpt {
	color: var(--ink);
	font-size: var(--step--1);
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.programme-card__excerpt:empty {
	display: none;
}

.programme-archive__pagination {
	margin-top: var(--s-6);
}

/*
 * Programme-type boxes (Ben Newsome, 22 Oct 2026): /programmes/ landing and type pages.
 * FCA-I358 (Sean, 19 Nov 2026): three across on desktop, the same as the programme card
 * grid on /category/holiday-programs/vacation-care/ (.cat-post-grid), so the first row
 * sits above the fold; was 2 x 2 with 4:3 photos that made each box over 600px tall.
 * Two across on tablet and one on phone come from .programme-archive__grid above.
 */
.programme-types {
	list-style: none;
	margin: 0 0 var(--s-6);
	padding: 0;
}

@media (min-width: 1024px) {
	.programme-archive__grid.programme-types {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Holiday categories (Ben, 20 Nov 2026, FCA-I314): four boxes, four across on wide desktop. */
@media (min-width: 1100px) {
	.programme-archive__grid.programme-types.programme-types--four {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Science-party cards (FCA-I314): the "Ages · min · kids · From $" line. */
.programme-card__facts {
	margin: var(--s-2, 0.5rem) 0 0;
	font-size: var(--step--1, 0.875rem);
	font-weight: 600;
	color: var(--navy, #1f2a5a);
}

/* Same photo proportion as the programme cards (.cat-post-card__media). */
.programme-types:not(.programme-types--landing) .programme-type-card__image {
	aspect-ratio: 16 / 10;
}

/*
 * /programmes/ landing (Ben Newsome, 23 Oct 2026): the five type boxes in one
 * row on wide desktop, 3 + 2 on laptop, 2 + 2 + 1 on tablet, stacked on phone.
 * Flex rather than grid so a short last row sits centred. The list carries
 * alignwide so it uses the 1440px wide size, not the 840px text column.
 */
.programme-archive__grid.programme-types--landing {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	--ptl-cols: 1;
}

.programme-types--landing > .programme-type-card {
	flex: 0 0 calc((100% - (var(--ptl-cols) - 1) * var(--s-4)) / var(--ptl-cols));
	min-width: 0;
}

@media (min-width: 640px) {
	.programme-archive__grid.programme-types--landing {
		--ptl-cols: 2;
	}
}

@media (min-width: 1024px) {
	.programme-archive__grid.programme-types--landing {
		--ptl-cols: 3;
	}
}

@media (min-width: 1280px) {
	.programme-archive__grid.programme-types--landing {
		--ptl-cols: 5;
	}

	.programme-types--landing .programme-type-card__title {
		font-size: var(--step-1);
	}
}

.programme-type-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.18s, transform 0.18s;
}

.programme-type-card__link:hover,
.programme-type-card__link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(27, 20, 100, 0.12);
}

.programme-type-card .programme-card__accent {
	background: var(--green);
}

.programme-type-card__image {
	aspect-ratio: 4 / 3;
	background: #ece8f5;
	overflow: hidden;
}

.programme-type-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.programme-type-card__title {
	color: var(--navy);
	font-size: var(--step-2);
	margin: 0;
}

.programme-type-card__link:hover .programme-type-card__title {
	text-decoration: underline;
}

.programme-type-card__cta {
	color: var(--navy);
	font-weight: 700;
	margin-top: auto;
}

.programme-type-listing {
	margin: 0 0 var(--s-6);
}

.programme-type-listing .programme-archive__grid {
	list-style: none;
	margin: 0 0 var(--s-6);
	padding: 0;
}

.programme-type-listing__more {
	color: var(--navy);
	margin: 0 0 var(--s-3);
}

/*
 * /experiments/ category boxes (Ben Newsome, 23 Oct 2026): up to 19 boxes, so
 * 3 across on laptop and 4 on wide desktop, in the 1440px wide size.
 */
@media (min-width: 1024px) {
	.programme-archive__grid.programme-types.experiment-categories {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1280px) {
	.programme-archive__grid.programme-types.experiment-categories {
		grid-template-columns: repeat(4, 1fr);
	}
}

.experiment-categories .programme-type-card__title {
	font-size: var(--step-1);
}

.experiment-category-list {
	list-style: none;
	margin: 0 0 var(--s-6);
	padding: 0;
}

/* ========================================================================
 * 18 · Booking-rail requirements-and-cost box (C1 · Ben 2026-09-04 13:42:42)
 *
 * "We keep on getting emails from people saying, what's the price?" The cost
 * box sits between the teaching-units CTA and Trustpilot in the right rail,
 * replacing the after-20s floating pop-up that was removed above.
 *
 * .cost-box's own styling is inherited from section 5a; these rules only
 * shrink it to rail width and give the box its separator, matching
 * .booking-rail__box--intl.
 * ======================================================================== */

.booking-rail__box--cost {
	padding-bottom: var(--s-4);
	border-bottom: 1px solid #e4e2ea;
}

.booking-rail__box--cost .cost-box {
	padding: var(--s-3);
	margin: 0;
}

/* The rail is roughly a third of the main column; the full-size total would
 * overflow it on a 1024px viewport. */
.booking-rail__box--cost .cost-box__total {
	font-size: var(--step-3);
	line-height: 1.1;
}

.booking-rail__box--cost .cost-box__gst,
.booking-rail__box--cost .cost-box__bracket {
	font-size: var(--step--2);
}

.booking-rail__box--cost .cost-box__per-student-amount {
	font-size: var(--step-0);
}

.booking-rail__box--cost .cost-box__capacity {
	margin: var(--s-3) 0 0;
	font-size: var(--step--1);
}

.booking-rail__box--cost .cost-box__capacity-label {
	font-size: var(--step--2);
}

/* "See full requirements" + "See cost options" (Ben, Cliq 26 Oct 2026). Side by
 * side when the rail is wide enough, otherwise stacked; small buttons so the
 * sticky rail still fits the viewport (#343). */
.booking-rail__jumps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	justify-self: start;
}

/* "Book Now" by the cost table and at the top of the rail (Ben, Cliq 17 Nov 2026),
 * inc/programme-book-now.php. Same button as the hero. */
.programme-book-now {
	margin: var(--s-4) 0 0;
}

.programme-book-now--right-rail {
	margin: 0;
}

.programme-book-now--right-rail .btn {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: var(--s-3) var(--s-4);
	font-size: var(--step-0);
}

/* Stacked layout: the rail sits under the page, right after the cost-table button, so the
 * rail one is hidden rather than show Book Now three times in a run. */
@media (max-width: 1024px) {
	.programme-book-now--right-rail {
		display: none;
	}
}

/* In-page targets clear the sticky header through html scroll-padding-top
 * (style.css 19.2); they add no offset of their own. */
html body #requirements {
	scroll-margin-top: 0 !important;
}

/* ========================================================================
 * Outreach programme template — Ben Newsome, Cliq 22 Oct 2026
 * Applies to every single-programme page.
 * ======================================================================== */

/* 1 · Width. Every level from .container down is `is-layout-constrained`, so
 * .programme-layout inherited theme.json contentSize (840px) and the article
 * column was left with ~488px at 1440. Lift the clamp on the layout chain and
 * size the page to the design-system container token (style.css --container:
 * clamp(1200px, 90vw, 1600px)), the same move 12.1 made for the home page. Body
 * copy inside post-content keeps its 840px reading width. */
.programme-single > .container {
	max-width: min(var(--container), calc(100vw - 2rem));
}

.programme-single > .container.is-layout-constrained > *:not(.alignfull),
.programme-single .programme-article.is-layout-constrained > *:not(.alignfull) {
	max-width: none;
}

/* 1a · Column split (Ben, 22 Oct 2026): content 3/4, sticky booking rail 1/4.
 * Moved to the shared rail-layout.css (.fz-rail-layout) so every template with
 * a fixed right-hand column follows the same split. */

/* 1b · Key facts. At >=768px programme.css set the top row to `1fr auto`; the
 * auto track took the Trustpilot iframe's width and squeezed the facts list
 * into ~128px, so each fact wrapped one or two words per line. The list now
 * takes the space and runs in two columns on wide screens; the Trustpilot mini
 * gets a fixed track. */
.programme-single .programme-toprow {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 768px) {
	.programme-single .programme-toprow {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	}
}

@media (min-width: 1200px) {
	.programme-single .granular-tags {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--s-5);
	}
}

.programme-single .trustpilot-mini {
	min-width: 0;
	overflow: hidden;
}

.programme-single .trustpilot-mini .trustpilot-widget {
	min-height: 150px;
}

/* 3 · Hero. The figure forced 21:9 with object-fit: cover, which cut the top
 * and bottom off the square 500x500 programme photos. Show the whole image at
 * up to its natural size, centred on the paper surface. */
.programme-single .programme-hero__figure {
	aspect-ratio: auto;
	display: flex;
	justify-content: center;
	background: var(--surface, #f5f5f7);
}

.programme-single .programme-hero__figure .programme-hero__img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 560px;
	object-fit: contain;
}

.programme-single .programme-hero__overlay {
	display: none;
}

/* 4 · Gallery. Old-site slider photos are mostly square; show them square
 * rather than cropping to 4:3. */
.programme-single .gallery-tile {
	margin: 0;
}

.programme-single .programme-gallery__scroll {
	grid-auto-columns: minmax(220px, 280px);
}

.programme-single .gallery-tile__img {
	aspect-ratio: 1 / 1;
	height: auto;
}

/* 5 · Reviews. Hidden until Trustpilot injects its iframe, so a blocked or
 * empty widget leaves no gap. The bootstrap script still finds the element
 * while it is hidden. */
.programme-single .trustpilot-programme-reviews:not(:has(iframe)) {
	display: none;
}

/* ============================================================================
 * Science party single (templates/single-programme-party.html,
 * inc/party-template.php). Ben, 22 Oct 2026: conversion order, title first.
 * ========================================================================= */
.programme-single--party .party-hero-block {
	margin-bottom: var(--s-6);
}

.programme-single--party .party-hero__promise {
	font-size: var(--step-1);
	color: var(--ink);
	margin: 0 0 var(--s-4);
	max-width: 60ch;
}

.programme-single--party .party-hero__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-3) var(--s-5);
	margin-bottom: var(--s-5);
}

.programme-single--party .party-hero__price {
	margin: 0;
	color: var(--navy);
	line-height: 1.2;
}

.programme-single--party .party-hero__price strong {
	font-size: var(--step-3);
	font-weight: 800;
}

.programme-single--party .party-hero__from,
.programme-single--party .party-hero__gst {
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.programme-single--party .party-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin: 0;
}

.programme-single--party .party-happens,
.programme-single--party .party-suits,
.programme-single--party .programme-cost,
.programme-single--party .programme-faqs,
.programme-single--party .party-final-cta {
	margin-block: 0 var(--s-6);
}

.programme-single--party .party-suits__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--s-3);
	margin: 0 0 var(--s-5);
}

.programme-single--party .party-suits__facts > div {
	background: var(--navy-050);
	border-radius: 12px;
	padding: var(--s-3) var(--s-4);
}

.programme-single--party .party-suits__facts dt {
	font-size: var(--step--2);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.programme-single--party .party-suits__facts dd {
	margin: var(--s-1) 0 0;
	color: var(--navy);
	font-weight: 700;
}

.programme-single--party .party-suits__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--s-5);
}

.programme-single--party .party-suits__cols h3 {
	margin: 0 0 var(--s-2);
}

.programme-single--party .party-final-cta {
	background: var(--orange-050);
	border: 2px solid var(--orange);
	border-radius: 16px;
	padding: var(--s-5);
	text-align: center;
}

.programme-single--party .party-final-cta h2 {
	margin-top: 0;
}

.programme-single--party .party-final-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
	margin-bottom: 0;
}

/* ============================================================================
 * Vibrancy pass (Ben, 22 Oct 2026): "the old site had more contrasting
 * colours and used images more." Applies to the school programme template
 * and the science party template (section order unchanged on both).
 * Audit + contrast table: docs/audits/programme-vibrancy-2026-10-22/README.md
 *
 * Contrast (WCAG AA), all from locked tokens:
 *   white on --navy 15.8 · --navy-900 on --orange 6.5 · --green-900 on
 *   --green-050 11.3 · --navy on --green-050 14.1 · --navy on --orange-050 13.9
 *   · --navy on --navy-050 13.6 · --orange on --navy 5.5 (eyebrow only).
 * The site-wide .btn--primary (white on --orange) is 2.88:1 and fails AA; on
 * programme pages the label is --navy-900 instead (6.5:1).
 * ========================================================================= */

/* 0 · Headings. Tailwind's preflight (main.css, loaded after style.css) resets
 * h1-h6 to font-size: inherit, so the programme h1 rendered at 18px (16px on
 * mobile) and section h2s at body size. Restore the design-system scale. */
.programme-single .programme-title {
	font-size: var(--step-5);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-weight: 800;
	margin: 0 0 var(--s-4);
	/* Core's .wp-block-post-title sets word-break: break-word, which split
	 * "Grandparent / s" mid-word at 1280px. Wrap at spaces only; break inside
	 * a word only as a last resort so nothing overflows. (Ben, 26 Oct) */
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: manual;
}

/* In the hero the title shares the band with the photo, so cap its size to
 * its own column: 13cqi fits the longest word in any programme title
 * ("Mathematically:") on one line from 390px to 1440px. */
.programme-single .programme-hero-band__text {
	container-type: inline-size;
}

.programme-single .programme-hero-band .programme-title {
	font-size: min(var(--step-5), 13cqi);
}

.programme-single .programme-article h2 {
	font-size: var(--step-3);
	line-height: 1.15;
	color: var(--navy);
	font-weight: 800;
	margin: 0 0 var(--s-4);
}

/* Migrated post content keeps its own heading styling: smaller h2, no bar. */
.programme-single .programme-article .wp-block-post-content h2 {
	font-size: var(--step-2);
}

.programme-single .programme-article h2:not(.wp-block-post-content h2)::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: var(--s-2);
	border-radius: 2px;
	background: var(--orange);
}

.programme-single .programme-article h3 {
	font-size: var(--step-1);
	line-height: 1.25;
	color: var(--navy);
}

/* Gallery heading is an h2 for the outline (26 Oct 2026) but keeps its old h3 look, no orange bar. */
.programme-single .programme-article .programme-gallery h2 {
	font-size: var(--step-1);
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 var(--s-2);
}

.programme-single .programme-article .programme-gallery h2::after {
	content: none;
}

/* 1 · Primary CTA: AA-safe label on the brand orange. */
.programme-single .btn--primary {
	color: var(--navy-900);
	background: var(--orange);
	border-color: var(--orange);
}

.programme-single .btn--primary:hover,
.programme-single .btn--primary:focus-visible {
	color: var(--navy-900);
	background: var(--paper);
	border-color: var(--orange);
}

/* 2 · Hero band: navy panel, title + promise + CTAs left, photo right. */
.programme-single .programme-hero-band {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0 0 var(--s-4);
	border-radius: 20px;
	overflow: hidden;
	background: var(--navy);
	color: var(--paper);
	isolation: isolate;
}

/* Brand cube device (assets/branding/cube-design-white.png) as a faint
 * watermark, the way the old site layered its beaker pattern. */
.programme-single .programme-hero-band::before {
	content: "";
	position: absolute;
	left: -40px;
	bottom: -50px;
	width: 220px;
	height: 220px;
	background: url("../branding/cube-design-white.png") no-repeat center / contain;
	opacity: 0.08;
	pointer-events: none;
	z-index: -1;
}

@media (min-width: 900px) {
	.programme-single .programme-hero-band {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		min-height: 420px;
	}
}

.programme-single .programme-hero-band__text {
	padding: var(--s-5);
	align-self: center;
}

@media (min-width: 900px) {
	.programme-single .programme-hero-band__text {
		padding: var(--s-6);
	}
}

.programme-single .programme-hero-band .programme-title,
.programme-single .programme-hero-band .party-hero__promise,
.programme-single .programme-hero-band .party-hero__price {
	color: var(--paper);
}

.programme-single .programme-hero-band .party-hero__from,
.programme-single .programme-hero-band .party-hero__gst {
	color: var(--navy-050);
}

.programme-single .programme-hero-band .tag-row {
	margin-top: 0;
}

.programme-single .programme-hero-band .pill {
	background: var(--paper);
	color: var(--navy);
	border-color: var(--paper);
}

.programme-single .programme-hero-band .pill--green {
	background: var(--green-050);
	color: var(--green-900);
	border-color: var(--green-050);
}

.programme-single .programme-hero-band .pill--solid {
	background: var(--orange);
	color: var(--navy-900);
	border-color: var(--orange);
}

.programme-single .programme-hero-band .aeo-lede {
	background: rgb(255 255 255 / 8%);
	border-left-color: var(--orange);
}

.programme-single .programme-hero-band .aeo-lede__tag {
	color: var(--orange);
}

.programme-single .programme-hero-band .aeo-lede p {
	color: var(--paper);
	font-size: var(--step-1);
}

.programme-single .programme-hero-band .programme-hero__cta-row {
	margin-bottom: 0;
}

.programme-single .programme-hero-band .btn {
	text-decoration: none;
}

.programme-single .programme-hero-band .btn:not(.btn--primary) {
	color: var(--paper);
	background: transparent;
	border-color: var(--paper);
}

.programme-single .programme-hero-band .btn:not(.btn--primary):hover {
	background: rgb(255 255 255 / 14%);
}

/* Photo fills its half of the band (stacked under the text on mobile). */
.programme-single .programme-hero-band .programme-hero__figure {
	display: block;
	margin: 0;
	border-radius: 0;
	background: var(--navy-900);
	min-height: 260px;
}

.programme-single .programme-hero-band .programme-hero__figure .programme-hero__img {
	width: 100%;
	height: 100%;
	max-height: none;
	min-height: 260px;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 900px) {
	.programme-single .programme-hero-band .programme-hero__figure {
		position: relative;
		height: 100%;
	}

	.programme-single .programme-hero-band .programme-hero__figure .programme-hero__img {
		position: absolute;
		inset: 0;
	}
}

@media (max-width: 899px) {
	.programme-single .programme-hero-band .programme-hero__figure,
	.programme-single .programme-hero-band .programme-hero__figure .programme-hero__img {
		height: 300px;
	}
}

/* 3 · Key-facts strip with icons (inc/programme-vibrancy.php). */
.programme-single .key-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: var(--s-3);
	margin: 0 0 var(--s-6);
	padding: var(--s-4);
	border-radius: 20px;
	background: var(--green-050);
	border: 2px solid var(--green);
}

.programme-single .key-facts__item {
	position: relative;
	min-height: 44px;
	padding-left: 56px;
	align-self: center;
}

.programme-single .key-facts__icon {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 8px;
	border-radius: 50%;
	background: var(--green);
	color: var(--paper);
}

.programme-single .key-facts__item--price .key-facts__icon {
	background: var(--orange);
	color: var(--navy-900);
}

.programme-single .key-facts dt {
	font-size: var(--step--2);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--green-900);
}

.programme-single .key-facts dd {
	margin: 0;
	font-weight: 800;
	color: var(--navy);
	line-height: 1.3;
}

.programme-single .key-facts dd a {
	color: var(--navy);
	text-decoration-color: var(--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* 4 · Tinted section bands, alternating navy / green / orange tints. */
.programme-single .programme-gallery,
.programme-single .workshop-phases,
.programme-single .what-we-bring,
.programme-single .programme-cost,
.programme-single .programme-faqs,
.programme-single--party .party-suits {
	padding: var(--s-5);
	border-radius: 20px;
	margin-block: 0 var(--s-6);
}

.programme-single .programme-gallery,
.programme-single .programme-faqs {
	background: var(--navy-050);
}

.programme-single .workshop-phases,
.programme-single--party .party-suits {
	background: var(--green-050);
}

.programme-single .what-we-bring {
	background: var(--surface);
	border: 1px solid var(--line-soft);
}

.programme-single .programme-cost {
	background: var(--orange-050);
	border-top: 6px solid var(--orange);
}

/* 5 · Gallery larger: a wrapping grid of big square tiles, not a strip of
 * 220-280px thumbnails. Swipe strip kept on phones. */
@media (min-width: 640px) {
	.programme-single .programme-gallery__scroll {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		overflow: visible;
	}
}

.programme-single .programme-gallery .gallery-tile {
	border-radius: 14px;
	overflow: hidden;
	background: var(--paper);
	box-shadow: 0 2px 10px rgb(27 20 100 / 10%);
}

.programme-single .programme-gallery .gallery-tile__caption {
	padding: var(--s-2) var(--s-3);
	color: var(--ink-soft);
}

/* 6 · "What we bring" / "what you need": illustrated tick icons in brand
 * green instead of text bullets. */
.programme-single .provides-col li,
.programme-single--party .party-suits__col li {
	position: relative;
	list-style: none;
	padding-left: 2.1em;
	margin-bottom: var(--s-2);
}

.programme-single--party .party-suits__col ul {
	padding: 0;
	margin: 0;
}

.programme-single .provides-col li::before,
.programme-single--party .party-suits__col li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 1.4em;
	height: 1.4em;
	border-radius: 50%;
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 70%;
}

/* 7 · Party closing call to action: a navy band to bookend the hero. */
.programme-single--party .party-final-cta {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--paper);
	border-radius: 20px;
}

.programme-single--party .party-final-cta h2 {
	color: var(--paper);
}

.programme-single--party .party-final-cta h2::after {
	margin-inline: auto;
}

.programme-single--party .party-final-cta .btn:not(.btn--primary) {
	color: var(--paper);
	background: transparent;
	border-color: var(--paper);
}

/* No-price programmes (Ben 15A, 23 Oct 2026): "Enquire for a quote" + enquiry button. */
.cost-box--quote .cost-box__total {
	font-size: 1.5rem;
}
.cost-box--quote .cost-box__cta {
	margin-top: 0.75rem;
}

/*
 * Restored old-site content (Ben, Cliq 22 Oct 2026; markup from inc/programme-content-layout.php).
 * Review tiles: reviewer on top, wide enough to read. Curriculum: three titled sections of cards.
 */
.fz-review-tiles {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 360px);
	gap: 1.25rem;
	overflow-x: auto;
	padding: 0.5rem 0.25rem 1.25rem;
	margin-bottom: 2.5rem;
	scroll-snap-type: x mandatory;
}

/*
 * Phones: the restored section's inline 30px padding left about 234px for a slider of
 * 240px tiles, so it scrolled sideways inside its box. Stack the tiles full width instead.
 */
@media (max-width: 600px) {

	.experience-section:has(.fz-review-tiles) {
		box-sizing: border-box !important;
		max-width: 100% !important;
		padding: 1rem !important;
	}

	.experience-section:has(.fz-review-tiles) > * {
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.fz-review-tiles {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: minmax(0, 1fr);
		width: 100% !important;
		min-width: 0;
		max-width: 100%;
		overflow-x: visible;
		padding: 0.25rem 0 0.5rem;
		scroll-snap-type: none;
	}

	.fz-review-tile {
		width: auto !important;
		max-width: 100% !important;
	}

	.fz-review-tile * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
	}
}

.fz-review-tile {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--paper, #fff);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgb(15 23 42 / 6%);
	overflow: hidden;
	scroll-snap-align: start;
}

.fz-review-tile__who {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem 0.75rem !important;
	border-bottom: 1px solid #f0f2f5;
}

.fz-review-tile__avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--navy, #036);
	color: #fff;
	font-weight: 700;
}

.fz-review-tile__names {
	display: flex;
	min-width: 0;
	flex-direction: column;
	line-height: 1.3;
}

.fz-review-tile__programme {
	font-size: 0.85rem;
	color: #64748b;
}

.fz-review-tile__text {
	flex: 1 1 auto;
	margin: 0;
	padding: 1rem 1.5rem 1.25rem !important;
	line-height: 1.55;
}

.fz-review-tile__link {
	padding: 0.75rem 1.5rem !important;
	background: #f8fafc;
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
}

.fz-curr {
	margin: 1rem 0;
}

/* Accordion (Ben, 17 Nov 2026): one native <details> per curriculum, closed by default.
   The <summary> is the whole header: logo, title, chevron. */
.fz-curr__details {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: var(--paper, #fff);
	box-shadow: 0 2px 10px rgb(15 23 42 / 6%);
}

.fz-curr__summary {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	min-height: 44px;
	border-radius: 14px;
	cursor: pointer;
	list-style: none;
}

.fz-curr__summary::-webkit-details-marker {
	display: none;
}

.fz-curr__summary::after {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	margin: 0 0.4rem 0.25rem 0.25rem;
	border: solid var(--navy, #036);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.fz-curr__details[open] > .fz-curr__summary::after {
	margin-bottom: 0;
	transform: rotate(-135deg);
}

.fz-curr__summary:hover {
	background: #f8fafc;
}

.fz-curr__summary:focus-visible {
	outline: 3px solid var(--navy, #036);
	outline-offset: 2px;
}

.fz-curr__details[open] > .fz-curr__summary {
	border-bottom: 1px solid #e2e8f0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* The logo files are padded to 1200x706; the square Australian Curriculum one is cropped to match. */
.fz-curr__logo {
	flex: none;
	width: 220px;
	height: auto;
	aspect-ratio: 1200 / 706;
	object-fit: cover;
	border-radius: 8px;
}

/* Specific enough to beat ".programme-single .programme-article .wp-block-post-content h2". */
.programme-single .programme-article .fz-curr h2.fz-curr__title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: clamp(1.15rem, 4.2vw, 1.45rem);
	line-height: 1.2;
	margin: 0;
}

.fz-curr__body {
	padding: 1rem 1.25rem 1.25rem;
}

/* Phone: logo on its own row so the title keeps the full width; chevron beside the title. */
@media (max-width: 480px) {
	.fz-curr__summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.4rem 0.6rem;
		padding: 0.6rem 0.8rem;
	}

	.fz-curr__logo {
		grid-column: 1 / -1;
		width: 112px;
	}

	.fz-curr__body {
		padding: 0.75rem 0.8rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fz-curr__summary::after {
		transition: none;
	}
}

.fz-curr__body > div,
.fz-curr__body [id^="fizz-"] {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.fz-curr__body h2 {
	font-size: 1.3rem !important;
	border-bottom: 0 !important;
	margin: 0 0 0.75rem !important;
	padding: 0 !important;
}

.fz-curr .fizz-curriculum-link,
.fz-curr .fizz-state-link {
	display: inline-block;
	margin: 0.25rem 0.5rem 0.25rem 0;
	padding: 0.6rem 1.1rem;
	border-radius: 6px;
	background: var(--navy, #036);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.fz-curr__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
	margin: 1rem 0 1.25rem;
}

.fz-curr__card {
	background: var(--paper, #fff);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 2px 10px rgb(15 23 42 / 6%);
}

.fz-curr__card :is(h3, h4, h5, h6) {
	margin: 0 0 0.75rem !important;
}

.fz-curr__card ul {
	margin: 0 0 0.75rem !important;
	padding-left: 1.1rem !important;
	list-style: disc !important;
}

.fz-curr__card li {
	background: none !important;
	border: 0 !important;
	padding: 0 0 0.4rem !important;
	margin: 0 !important;
	font-size: 0.95rem;
}

.fz-curr__card li::before {
	content: none !important;
}

/* School offers block under the price (Ben, Cliq 22 Oct 2026). */
.cost-box__offers {
	margin-top: 1rem;
	font-size: 0.95rem;
}

/* Leadership-pass callout, replaces the bulk-offers link (Ben, Cliq 26 Oct 2026). */
.lead-callout {
	margin: 0 0 1rem;
	padding: 1rem 1.125rem;
	border: 1px solid var(--line, #d4d9d1);
	border-left: 6px solid var(--orange, #eb7923);
	border-radius: 12px;
	background: var(--navy-050, #eeedf5);
}

.lead-callout__heading {
	margin: 0 0 0.375rem;
	color: var(--navy, #1a1464);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

.lead-callout__text {
	margin: 0 0 0.75rem;
	color: var(--ink, #1c1a26);
	font-size: 0.95rem;
	line-height: 1.5;
}

.lead-callout__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0;
}

.lead-callout__btn {
	min-height: 44px;
}

.lead-callout__email {
	color: var(--navy, #1a1464);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lead-callout__email:hover {
	text-decoration-thickness: 2px;
}

.lead-callout a:focus-visible {
	outline: 3px solid var(--orange, #eb7923);
	outline-offset: 2px;
}

.cost-box__reach {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0;
}

.cost-box__reach li {
	margin: 0 0 0.5rem;
}

/* Facebook school-post cards: no narrower than 280px. */
.fb-iframes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.fb-iframe-placeholder {
	padding: 1.5rem;
}

/*
 * Ben, 23 Oct 2026 (inc/programme-content-fixes.php).
 * Restored "Science Show Demonstrations" / "Science workshop content" as section titles,
 * in the #144 section heading style (navy, step-3, orange bar).
 */
.programme-single .programme-article .wp-block-post-content h2.fz-section-title {
	font-size: var(--step-3);
	line-height: 1.15;
	color: var(--navy);
	font-weight: 800;
	margin: var(--s-6, 2rem) 0 var(--s-4);
}

/*
 * Ben, 24 Oct 2026 (Coding TPL Day and other programme pages): content headings need more
 * space above them. Section 0 above sets h2 margin-top to 0 for the whole article, which also
 * reached the h2s in the post content. Headings in the post content (directly, or one level
 * down inside the restored .pp-restored wrapper) now get 3rem above (h2, h3) or 2rem (h4).
 * A heading that opens its container stays flush, and a heading straight after another
 * heading keeps a small gap.
 */
.programme-single .programme-article .wp-block-post-content > :is(h2, h3):not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3):not(:first-child) {
	margin-top: var(--s-7, 3rem);
}

.programme-single .programme-article .wp-block-post-content > h4:not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > h4:not(:first-child) {
	margin-top: var(--s-6, 2rem);
}

.programme-single .programme-article .wp-block-post-content > :is(h2, h3) + :is(h3, h4):not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3) + :is(h3, h4):not(:first-child) {
	margin-top: var(--s-3, 0.75rem);
}

.programme-single .programme-article .wp-block-post-content h2.fz-section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: var(--s-2);
	border-radius: 2px;
	background: var(--orange);
}

/*
 * Heading order (Ben, 19 Nov 2026). inc/heading-order.php renames a programme body heading that
 * would skip a level (h2 then h4 becomes h2 then h3) and gives it fz-hN, N = the level it was
 * written at. The rules above and in content-typography.css are keyed on the tag, so a renamed
 * heading would pick up its new tag's look (an h4 turned h3 gets the h3 size and line height).
 * These rules give it the look of the old level back: same size, line height, weight and space
 * as the h3, h4 or h5 it was. Inline styles on the heading still win, as before.
 */
.programme-single .programme-article :is(h2, h3, h4).fz-h3 {
	font-size: var(--step-1);
	line-height: 1.25;
	font-weight: 700;
	margin: var(--s-5, 1.5rem) 0 var(--s-3, 0.75rem);
}

.programme-single .programme-article :is(h2, h3, h4).fz-h4 {
	font-size: var(--step-1);
	line-height: 1.15;
	font-weight: 700;
	margin: var(--s-5, 1.5rem) 0 var(--s-2, 0.5rem);
}

.programme-single .programme-article :is(h2, h3, h4).fz-h5 {
	font-size: var(--step-0);
	line-height: 1.15;
	font-weight: 700;
	text-transform: uppercase; /* style.css gives the h5 tag capitals */
	margin: var(--s-4, 1rem) 0 var(--s-2, 0.5rem);
}

/* The extra space above content headings (24 Oct rules above) follows the old level too: 2rem for an old h4, none extra for an old h5. */
.programme-single .programme-article .wp-block-post-content > :is(h2, h3).fz-h4:not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3).fz-h4:not(:first-child) {
	margin-top: var(--s-6, 2rem);
}

.programme-single .programme-article .wp-block-post-content > :is(h2, h3, h4).fz-h5:not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3, h4).fz-h5:not(:first-child) {
	margin-top: var(--s-4, 1rem);
}

/* A renamed heading that opens the content stays flush, as an old one did. */
.programme-single .programme-article .wp-block-post-content > :is(h2, h3, h4):is(.fz-h3, .fz-h4, .fz-h5):first-child {
	margin: 0;
}

/* A heading straight after another keeps the small gap, as for the old levels (h2/h3 then h3/h4). */
.programme-single .programme-article .wp-block-post-content > :is(h2, h3):not(.fz-h4, .fz-h5) + :is(h2, h3).fz-h3:not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3):not(.fz-h4, .fz-h5) + :is(h2, h3).fz-h3:not(:first-child),
.programme-single .programme-article .wp-block-post-content > :is(h2, h3):not(.fz-h4, .fz-h5) + :is(h2, h3).fz-h4:not(:first-child),
.programme-single .programme-article .wp-block-post-content > .pp-restored > :is(h2, h3):not(.fz-h4, .fz-h5) + :is(h2, h3).fz-h4:not(:first-child) {
	margin-top: var(--s-3, 0.75rem);
}

/* No visible image captions in programme galleries or sliders; alt text stays for screen readers. */
.programme-single .gallery-tile__caption,
.programme-single .wp-block-post-content .wp-block-gallery figcaption,
.programme-single .wp-block-post-content .wp-block-image figcaption,
.programme-single .wp-block-post-content .wp-caption-text,
.programme-single .wp-block-post-content .gallery-caption {
	display: none !important;
}

/*
 * Phones: on older pages (Forces, Friction and Movement; Marvellous Mixtures) the review tiles
 * sit two or three padded old-content boxes deep, so they were ~196px wide at 360px. Every box
 * around the tiles drops its side padding, border and width limit, so the tiles use the full
 * content width.
 */
@media (max-width: 600px) {

	/*
	 * Old-content flex cards ("flex: 1 1 500px; padding: 35px") could not shrink below their
	 * content on phones, so Agricultural Show scrolled sideways by ~23px at 360px.
	 */
	.pp-restored div[style*="flex: 1 1"] {
		flex-basis: 100% !important;
		min-width: 0 !important;
		padding: 20px !important;
	}

	.pp-restored div:has(.fz-review-tiles) {
		box-sizing: border-box !important;
		flex: 1 1 100% !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		border-radius: 0 !important;
	}

	.pp-restored div:has(> .fz-review-tiles) {
		background: transparent !important;
	}
}

/* outreach-pages-ben-2026-10-23 */
/*
 * Ben, 23 Oct 2026. (1) In-content images: Tailwind preflight makes <img> display:block, so the
 * old content's text-align:center no longer centred them. Auto side margins centre them again;
 * an inline margin in the content still wins, and floats and aligned images are left alone.
 */
.programme-body .entry-content img:not(.emoji):not(.alignleft):not(.alignright) {
	margin-left: auto;
	margin-right: auto;
}

/*
 * (2) "Site Requirements" block (class added at render time, inc/programme-content-layout.php):
 * centre its cards and text, the way its title already is. Lists keep their markers inside the
 * centred line; long lines still wrap inside the card on phones.
 */
.pp-restored .fz-site-req,
.pp-restored .fz-site-req * {
	text-align: center !important;
}

.pp-restored .fz-site-req div:not([style*="absolute"]) {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Flex headings ("Technical Logistics" with its icon) centre their content too. */
.pp-restored .fz-site-req :is(h2, h3, h4, h5, h6, p, div)[style*="display: flex"]:not([style*="flex-direction: column"]) {
	justify-content: center !important;
}

.pp-restored .fz-site-req ul,
.pp-restored .fz-site-req ol {
	list-style-position: inside !important;
	padding-left: 0 !important;
}

.pp-restored .fz-site-req p,
.pp-restored .fz-site-req li {
	overflow-wrap: anywhere;
}

/* (3) Trustpilot rail: Google review link. */
.booking-rail__google-review {
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.booking-rail__google-review a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ========================================================================
 * Science parties (Ben, Cliq 24 Oct 2026)
 * ======================================================================== */

/* Weekend availability callout under costs & options: the early-bird note's
 * shape in the orange accent (navy-900 on orange-050 passes AA). */
.party-weekend-callout {
	display: block;
	margin: var(--s-3) 0 0;
	padding: var(--s-2) var(--s-3);
	background: var(--orange-050);
	border-left: 4px solid var(--orange);
	border-radius: 0 0.375rem 0.375rem 0;
	font-size: var(--step--1);
	color: var(--navy-900);
}

.party-weekend-callout strong {
	color: var(--navy-900);
}

/* "Duration & Capacity" block in party post content (.fizzics-info-grid).
 * Ben: "The left hand column stacks too long." The content's own grid put the
 * heading, duration text and Group Capacity box in a narrow left column and
 * only the Check Availability button in the right one; its mobile rule and
 * its button style were broken by wpautop (<p> inside <style>), so phones got
 * two cramped columns and a plain link. Now: heading across the top, duration
 * text and capacity box side by side, the button on its own row below, one
 * column on phones. The class only occurs in party content. */
.programme-single .fizzics-info-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--s-4);
	margin-top: var(--s-5);
}

.programme-single .fizzics-info-grid > div:first-child {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: var(--s-5);
	row-gap: var(--s-3);
	align-items: stretch;
}

.programme-single .fizzics-info-grid > div:first-child > h4,
.programme-single .fizzics-info-grid > div:first-child > :is(h2, h3).fz-h4 {
	grid-column: 1 / -1;
	margin-bottom: 0 !important;
}

.programme-single .fizzics-info-grid > div:first-child > p {
	grid-column: 1;
	margin: 0 !important;
}

.programme-single .fizzics-info-grid > div:first-child > div {
	grid-column: 2;
}

/* Ben, Cliq 25 Oct 2026, /programmes/fizz-bang-pop-show/: the block "doesn't
 * look aligned". The layout above put a one- or two-line sentence beside a
 * capacity box of three to five lines, top-aligned in unequal 3fr/2fr
 * columns, so the box hung well below the text; and the box markup differs
 * per party (a "Group Capacity" heading or none, lines split by <br>, by
 * wpautop <p>s or not at all, a blank <br><br> before a <small> or <span>
 * note), so no two boxes had the same spacing. Now the duration text and the
 * capacity box are two equal cards of the same height, and the inside of the
 * box is normalised for every variant. */
.programme-single .fizzics-info-grid > div:first-child > p,
.programme-single .fizzics-info-grid > div:first-child > div {
	box-sizing: border-box;
	margin: 0 !important;
	padding: var(--s-4) var(--s-5) !important;
	border: 1px solid var(--line) !important;
	border-left: 4px solid var(--orange) !important;
	border-radius: 0 var(--r-sm) var(--r-sm) 0 !important;
	background: var(--paper) !important;
	font-size: var(--step-0) !important;
	line-height: 1.6;
	color: var(--ink-soft);
}

.programme-single .fizzics-info-grid > div:first-child > div p {
	margin: 0 !important;
}

.programme-single .fizzics-info-grid > div:first-child > div br + br {
	display: none;
}

.programme-single .fizzics-info-grid > div:first-child > div :is(small, span) {
	display: block;
	margin-top: var(--s-2);
	font-size: var(--step--1) !important;
	color: var(--ink-soft) !important;
}

.programme-single .fizzics-info-grid > div:last-child {
	flex-direction: row !important;
	align-items: center !important;
}

.programme-single .fizzics-btn-book {
	display: inline-flex;
	align-items: center;
	padding: var(--s-3) var(--s-5);
	border: 2px solid var(--orange);
	border-radius: var(--r-pill);
	background: var(--orange);
	color: var(--navy-900);
	font-weight: 700;
	text-decoration: none;
}

.programme-single .fizzics-btn-book:hover,
.programme-single .fizzics-btn-book:focus-visible {
	background: var(--paper);
	color: var(--navy-900);
	box-shadow: var(--shadow-2);
}

@media (max-width: 640px) {
	.programme-single .fizzics-info-grid > div:first-child {
		grid-template-columns: minmax(0, 1fr);
	}

	.programme-single .fizzics-info-grid > div:first-child > div {
		grid-column: 1;
	}
}

/* ========================================================================
 * Party logistics box (Ben, Cliq 25 Oct 2026: "The party logistics box is
 * not laid out well like other outreach programs (check for all parties)").
 *
 * The box is the old content's div#fizz-<party>-requirements ("Party
 * Logistics", "Mission Logistics", … on 11 parties), now printed by
 * [fizzics_party_logistics] inside section#requirements.party-logistics.
 * Its own flex row gave the two columns different widths (350px / 400px
 * bases, 500px / 550px caps, centred), so they sat lopsided with a gap at
 * each side, and only the left column was a card: the FAQ column was bare
 * question boxes. Its inline reset (`#fizz-…-requirements * { padding-left:
 * 0 !important }`) also stripped the left padding from every card, FAQ item
 * and trust tag, so text ran into the card edge.
 *
 * Now the same shape as the school outreach requirements (what-we-bring /
 * "Show Logistics"): one bordered panel, centred heading, two equal cards
 * side by side (one under the other below 720px), trust tags underneath.
 * The #requirements prefix out-ranks the content's ID-based reset.
 * ======================================================================== */
.programme-single--party .party-logistics {
	margin-block: 0 var(--s-6);
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] {
	box-sizing: border-box;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--s-5) !important;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 20px;
}

/* Heading block: no side padding, even space under it. */
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div:has(> h2) {
	margin: 0 0 var(--s-5) !important;
	padding: 0 !important;
}

/* The two columns: equal halves of the panel. */
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-5) !important;
	align-items: stretch !important;
	padding: 0 !important;
}

/*
 * Stray paragraphs out of the grid (Ben, Cliq 25 Oct 2026: "The party
 * requirements box … isn't well aligned (all to the right of the cell)").
 * On some parties (Chem-tastic) wpautop wraps the content's HTML comments
 * ("<!-- Left Column … -->", "<!-- Right Column … -->") in <p> tags that
 * sit as direct children of the column row. As grid items they took the
 * first track of each row, pushing both cards into the right-hand track
 * with an empty left half; on phones they added blank gaps. The row only
 * ever holds the two column divs, so any <p> there is debris.
 */
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] > p {
	display: none !important;
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] > div {
	min-width: 0;
	max-width: none !important;
	padding: 0 !important;
	gap: var(--s-4) !important;
}

/* Every block in a column is a card with the same padding; the FAQ group
 * gets the white card the setup block already has. */
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] > div > div {
	box-sizing: border-box;
	padding: var(--s-5) !important;
	border-radius: 20px !important;
	overflow-wrap: anywhere;
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] div:has(> .fizz-faq-item) {
	flex-grow: 1;
	background: var(--paper);
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 25px rgb(0 0 0 / 5%);
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] .fizz-faq-question,
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] .fizz-faq-answer {
	padding-left: 20px !important;
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] .fizz-faq-item:last-child {
	margin-bottom: 0;
}

/* Trust tags under the cards, their left padding back. */
.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] .fizz-trust-bar {
	margin-top: var(--s-5) !important;
	padding: 0 !important;
}

.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] .fizz-trust-tag {
	padding-left: 20px !important;
}

@media (max-width: 720px) {

	.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] {
		padding: var(--s-4) !important;
	}

	.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] {
		grid-template-columns: minmax(0, 1fr);
	}

	.programme-single--party #requirements [id^="fizz-"][id$="-requirements"] > div[style*="flex-wrap"] > div > div {
		padding: var(--s-4) !important;
	}
}

/*
 * Events & corporate "Requirements" boxes restored in #281 (Ben, Cliq 25 Oct 2026, End of Year
 * Christmas Show: "not all centre justified"). The wrappers centre their text, but the accent bar
 * under the title and the briefing card are width-limited blocks without auto margins, so they sat
 * left while the heading, list and button were centred. Same treatment as the Site Requirements
 * boxes above: every sized block in the box is centred too.
 */
.pp-restored :is(#fizz-master-centring-wrapper, [id^="fizz-"][id$="-requirements-wrapper"]) div[style*="width"]:not([style*="absolute"]) {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ========================================================================
 * Science Party Loot Bags + Birthday Bonus (#bags), [fizzics_party_bags]
 * (Ben, Cliq 25 Oct 2026, /programmes/space-party/). Same card language as
 * the rest of the party page: a tinted 20px-radius band, white cards with
 * the gallery tile shadow, primary buttons, and the orange-bordered panel
 * of the final call to action for the Birthday Bonus.
 * ======================================================================== */
.programme-single--party .party-bags {
	margin-block: 0 var(--s-6);
	padding: var(--s-5);
	border-radius: 20px;
	background: var(--navy-050);
	scroll-margin-top: 6rem;
}

.programme-single--party .party-bags > h2 {
	margin: 0 0 var(--s-4);
}

.programme-single--party .party-bags__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--s-5);
}

.programme-single--party .party-bags__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: var(--paper);
	box-shadow: 0 2px 10px rgb(27 20 100 / 10%);
}

.programme-single--party .party-bags__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: var(--paper);
}

.programme-single--party .party-bags__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.programme-single--party .party-bags__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--s-4) var(--s-5) var(--s-5);
}

.programme-single--party .party-bags__body h3 {
	margin: 0 0 var(--s-1);
}

.programme-single--party .party-bags__price {
	margin: 0 0 var(--s-3);
	color: var(--navy);
	font-size: 1.25rem;
}

.programme-single--party .party-bags__save {
	color: var(--orange);
	font-size: 0.95rem;
	font-weight: 700;
}

.programme-single--party .party-bags__body ul {
	margin: 0 0 var(--s-4);
	padding-left: 1.2em;
}

.programme-single--party .party-bags__body .party-bags__cta {
	margin: auto 0 0;
}

.programme-single--party .party-bags__bonus {
	margin-top: var(--s-5);
	padding: var(--s-5);
	border: 2px solid var(--orange);
	border-radius: 16px;
	background: var(--orange-050);
	text-align: center;
}

.programme-single--party .party-bags__kicker {
	margin: 0 0 var(--s-1);
	color: var(--ink-soft);
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.programme-single--party .party-bags__bonus h3 {
	margin: 0 0 var(--s-2);
}

.programme-single--party .party-bags__bonus .party-bags__cta {
	margin: var(--s-3) 0 0;
}

/* Party invitations (#invitations), [fizzics_party_invitations]. */
.programme-single--party .party-invites {
	margin-block: 0 var(--s-6);
	padding: var(--s-5);
	border-radius: 20px;
	background: var(--green-050);
	text-align: center;
	scroll-margin-top: 6rem;
}

.programme-single--party .party-invites h2 {
	margin: 0 0 var(--s-2);
}

.programme-single--party .party-invites__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-end;
	gap: var(--s-5);
	margin: var(--s-3) 0 0;
}

/* Invitation previews (Ben, 25 Oct 2026): page 1 of each PDF, 300px high
 * (153-212px wide), button under it; side by side, stacked on phones. */
.programme-single--party .party-invites__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s-3);
}

.programme-single--party .party-invites__preview {
	display: block;
	line-height: 0;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.15);
	overflow: hidden;
	transition: transform 0.15s ease;
}

.programme-single--party .party-invites__preview:hover,
.programme-single--party .party-invites__preview:focus-visible {
	transform: translateY(-2px);
}

.programme-single--party .party-invites__preview img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 300px;
}

@media (max-width: 480px) {
	.programme-single--party .party-invites__buttons {
		flex-direction: column;
		align-items: center;
	}
}

/* Scientist Lab Coats (#labcoats), [fizzics_party_lab_coats] (Ben, Cliq 25 Oct
 * 2026): one white card, photo beside the text, on a pale orange band. */
.programme-single--party .party-coats {
	margin-block: 0 var(--s-6);
	padding: var(--s-5);
	border-radius: 20px;
	background: var(--orange-050);
	scroll-margin-top: 6rem;
}

.programme-single--party .party-coats__card {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	align-items: center;
	overflow: hidden;
	border-radius: 14px;
	background: var(--paper);
	box-shadow: 0 2px 10px rgb(27 20 100 / 10%);
}

.programme-single--party .party-coats__media {
	aspect-ratio: 1;
}

.programme-single--party .party-coats__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.programme-single--party .party-coats__body {
	padding: var(--s-5);
}

.programme-single--party .party-coats__body h2 {
	margin: 0 0 var(--s-2);
}

.programme-single--party .party-coats__price {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0 0 var(--s-4);
	color: var(--navy);
	font-size: 1.15rem;
}

.programme-single--party .party-coats__sep {
	color: var(--ink-soft);
}

.programme-single--party .party-coats__cta {
	margin: 0;
}

.programme-single--party .party-coats .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 720px) {

	.programme-single--party .party-coats__card {
		grid-template-columns: 1fr;
	}

	.programme-single--party .party-coats__media {
		aspect-ratio: 4 / 3;
	}

	.programme-single--party .party-coats,
	.programme-single--party .party-invites,
	.programme-single--party .party-bags,
	.programme-single--party .party-bags__bonus {
		padding: var(--s-4);
	}
}


/* STEM Accelerator teacher-PD box on preschool programmes (Ben, 26 Oct 2026),
   inc/programme-pd-box.php. Same look as the tile in Science club for preschoolers. */
.programme-pd-box {
	max-width: 420px;
	margin: 2rem auto;
	padding: 25px;
	border-radius: 12px;
	background: #00838f;
	color: #fff;
	text-align: center;
}

.programme-pd-box__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 800;
}

.programme-pd-box__text {
	margin: 0 0 15px;
	color: #fff;
	font-size: 0.85rem;
}

.programme-pd-box__btn {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 6px;
	background: #e0f2f1;
	color: #00838f;
	font-size: 0.85rem;
	font-weight: 800;
	text-decoration: none;
}

.programme-pd-box__btn:hover,
.programme-pd-box__btn:focus-visible {
	background: #fff;
	color: #006064;
}

/* PHOTO CALLOUT. Offers & Discounts banner on the primary and secondary school
 * categories (Ben, 25 Oct 2026; patterns/category-discount-callout.php) and the
 * consultancy callout on the custom outreach and drop-in marquee programmes
 * (Ben, 27 Oct 2026; inc/programme-consultancy-callout.php). Moved here from
 * category.css: programme.css loads on category archives and programme pages. */
.discount-callout {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	overflow: hidden;
	margin: var(--s-4) 0 var(--s-6);
	border: 1px solid var(--line, #d4d9d1);
	border-left: 6px solid var(--orange, #eb7923);
	border-radius: 14px;
	background: var(--navy-050, #eeedf5);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.discount-callout__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	max-height: 260px;
	object-fit: cover;
}
.discount-callout__body {
	align-self: center;
	padding: var(--s-5) var(--s-6);
}
.discount-callout__eyebrow {
	margin: 0 0 var(--s-1);
	color: var(--navy, #1a1464);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.discount-callout__heading {
	margin: 0 0 var(--s-2);
	color: var(--navy, #1a1464);
	font-size: clamp(1.35rem, 2.6vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}
.discount-callout__text {
	margin: 0 0 var(--s-4);
	color: var(--ink, #1c1a26);
}
.discount-callout__btn {
	min-height: 44px;
}
/* Two offers side by side, /category/schools/ (Ben, 19 Nov 2026, patterns/category-hub-offers.php). */
.discount-callout__btns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-3);
}
@media (max-width: 700px) {
	.discount-callout {
		grid-template-columns: 1fr;
	}
	.discount-callout__media img {
		min-height: 0;
		max-height: none;
		aspect-ratio: 16 / 9;
	}
	.discount-callout__body {
		padding: var(--s-4);
	}
}

/* On a programme page the callout sits after the content, before the reviews. */
.programme-body .consult-callout {
	margin: var(--s-6) 0;
}
.programme-body .consult-callout .discount-callout__media img {
	max-height: none;
}

/* ========================================================================
 * Curriculum tables, requirements box, Go further and commitment boxes
 * (Ben, Cliq 27 Oct 2026), inc/programme-boxes.php.
 * ======================================================================== */

/* Curriculum: outcome lines as one table per run (code, what students learn). */
.fz-curr__table-wrap {
	margin: 1rem 0 1.5rem;
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgb(15 23 42 / 6%);
}

.fz-curr__table {
	width: 100%;
	margin: 0 !important;
	border-collapse: collapse;
	background: var(--paper, #fff);
	font-size: 0.95rem;
	line-height: 1.5;
}

.fz-curr__table th,
.fz-curr__table td {
	padding: 0.7rem 1rem !important;
	border: 0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	text-align: left;
	vertical-align: top;
}

.fz-curr__table thead th {
	background: var(--navy, #036);
	color: #fff;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fz-curr__table .fz-curr__group th {
	background: var(--surface, #f7f5fb);
	color: var(--navy, #036);
	font-weight: 700;
}

.fz-curr__table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.fz-curr__table .fz-curr__code {
	width: 9.5rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--green-900, #14532d);
}

@media (width <= 600px) {
	.fz-curr__table .fz-curr__code {
		width: auto;
		white-space: normal;
	}
}

/* Requirements: heading and a ticked list in one box. */
.fz-req {
	margin: 2.5rem 0;
	padding: var(--s-5, 1.5rem);
	background: var(--surface, #f7f5fb);
	border: 1px solid var(--line, #e0dce9);
	border-radius: var(--r-md, 12px);
}

.fz-req > h3 {
	margin: 0 0 1rem !important;
	color: var(--navy, #036);
}

.fz-req__list {
	display: grid;
	gap: 0.6rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.fz-req__list li {
	position: relative;
	margin: 0 !important;
	padding: 0 0 0 1.75em !important;
	background: none !important;
	line-height: 1.5;
}

.fz-req__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--green-900, #14532d);
}

/* Go further and commitment boxes reuse .trust-box (style.css). */
.programme-single .go-further-box,
.programme-single .commitment-box {
	margin: var(--s-7, 2.5rem) 0;
}

.go-further-box {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
}

@media (width >= 900px) {
	.go-further-box:has(.go-further-box__video) {
		grid-template-columns: 1fr 1fr;
	}
}

.go-further-box__text {
	display: flex;
	flex-direction: column;
	gap: var(--s-3, 0.75rem);
}

.go-further-box__text .btn {
	align-self: flex-start;
}

.go-further-box__video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--r-md, 12px);
	overflow: hidden;
}

.go-further-box__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* PRIMARY / HIGH SCHOOL VERSION LINK (Ben, 20 Nov 2026; inc/programme-level-pair.php).
 * Under the hero band and at the top of the #cost section, on programmes that have a
 * paired primary or secondary version. Same palette as the photo callout above: navy
 * text on --navy-050 with the orange edge, so it reads as a callout, with the whole
 * box as one link (44px+ target). */
.level-pair {
	margin: 0 0 var(--s-4);
}
.level-pair--cost {
	margin-top: var(--s-3);
}
.level-pair-group .level-pair--cost:not(:first-child) {
	margin-top: 0;
}
.level-pair__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--s-1) var(--s-3);
	min-height: 44px;
	padding: var(--s-3) var(--s-5);
	border: 1px solid var(--line, #d4d9d1);
	border-left: 6px solid var(--orange, #eb7923);
	border-radius: 14px;
	background: var(--navy-050, #eeedf5);
	color: var(--navy, #1b1464);
	font-size: var(--step-1);
	line-height: 1.3;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
	transition: background var(--dur-quick, 0.15s) ease, box-shadow var(--dur-quick, 0.15s) ease;
}
.level-pair__label {
	font-weight: 800;
}
.level-pair__title {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.level-pair__link:hover,
.level-pair__link:focus-visible {
	background: var(--paper, #fff);
	color: var(--navy-900, #0f0a3a);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
