/* CSP Program page — single event/activity. Same language as hero + cards: Oswald titles, Fjalla labels, red + offset shadow. */
.cspp {
	--red: var(--e-global-color-primary, #ed1c24);
	--red-d: var(--e-global-color-ad04950, #ba0f2f);
	--ink: #25282a;
	--line: #e3e3e0;
	--muted: #4a4f53;
	--display: "Oswald", sans-serif;
	--label: "Fjalla One", sans-serif;
	--text: "Open Sans", sans-serif;
	--g: 16px;                                   /* side gutter = same as the cards carousel */
	--wrap: calc(100% - 2 * var(--g));           /* one width for visual, text and "À voir aussi" */
	width: 100%;
	color: var(--ink);
	font-family: var(--text);
	background: #fff;
}
.cspp *, .cspp *::before, .cspp *::after { box-sizing: border-box; }
.cspp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (min-width: 600px) { .cspp { --g: 24px; } }
@media (min-width: 1024px) { .cspp { --wrap: min(1240px, calc(100% - 64px)); } }

/* Visual: same width as the text and the carousel below; banner ratio, never cropped (square images get a blurred fill). */
.cspp-visual { position: relative; overflow: hidden; background: #0b0c0d; width: var(--wrap); margin: 28px auto 0; aspect-ratio: 4000 / 2094; display: flex; justify-content: center; }
.cspp .cspp-fill { position: absolute; inset: -10%; background: center / cover; filter: blur(40px) saturate(1.3) brightness(.8); }
.cspp .cspp-img { position: relative; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; }

/* Layout */
.cspp-wrap { width: var(--wrap); margin: 0 auto; padding: 40px 0 56px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.cspp-back { margin: 0 0 18px; font: 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.cspp-back a { color: var(--muted) !important; text-decoration: none !important; }
.cspp-back a:hover { color: var(--red) !important; }
.cspp-chip { display: inline-block; margin: 0 0 12px; padding: 5px 10px; background: var(--red); color: #fff; font: 13px/1.15 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.cspp h1.cspp-title { margin: 0 0 8px; font-family: var(--display) !important; font-weight: 700 !important; font-size: clamp(34px, 4.4vw, 58px) !important; line-height: 1 !important; text-transform: uppercase; color: var(--ink) !important; text-wrap: balance; }
.cspp-sub { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--muted); }
.cspp-when { margin: 0 0 22px; font: 17px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.cspp-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 6px 6px 0; }
.cspp .cspp-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--red); color: #fff !important; font: 18px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; box-shadow: 5px 5px 0 0 var(--ink); transition: background-color .2s, box-shadow .2s, transform .2s; }
.cspp .cspp-btn:hover { background: var(--red-d); transform: translate(-1px, -1px); box-shadow: 7px 7px 0 0 var(--ink); }
.cspp a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cspp-note { margin: 22px 0 0; padding: 14px 18px; border-left: 4px solid var(--red); background: #fdf0f0; font-weight: 600; }
.cspp-body { margin-top: 30px; font-size: 17px; line-height: 1.7; color: var(--ink); max-width: 68ch; }
.cspp-body p { margin: 0 0 1em; }
.cspp-lead { font-size: 19px; font-weight: 600; }

/* Info card */
.cspp-facts { position: sticky; top: 110px; background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 0 var(--red); padding: 24px 24px 26px; }
.cspp-facts h2 { margin: 0 0 14px; font: 700 22px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.cspp-facts dl { margin: 0 0 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; }
.cspp-facts dt { font: 13px/1.5 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.cspp-facts dd { margin: 0; font-weight: 600; line-height: 1.45; }
.cspp-facts .cspp-btn { width: 100%; justify-content: center; }

/* More */
.cspp-more { background: #2781bb; padding: 56px 0 60px; }
.cspp-more h2 { width: var(--wrap); margin: 0 auto 26px; padding: 0; font: 700 clamp(28px, 3vw, 40px)/1 var(--display); text-transform: uppercase; color: #fff; }
.cspp-more .cspc { --gutter: var(--g); }
@media (min-width: 1024px) {
	.cspp-more .cspc { width: var(--wrap); max-width: none; margin: 0 auto; padding: 0; }
	.cspp-more .cspc--carousel .cspc-track { margin: 0 -4px; } /* the track's 4px shadow room sits outside the edges */
}

@media (max-width: 960px) {
	.cspp-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 28px; }
	.cspp-facts { position: static; }
	.cspp-actions .cspp-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cspp * { transition: none !important; } }
