/*
 * Section pages (template-sections.php) — the ONLY place their look is set.
 *
 * Editors fill in content fields; they cannot pick colours, backgrounds,
 * alignment or layout. Each section type has one fixed design:
 *
 *   hero            red band, centred white H1
 *   text            white, heading left + text right
 *   numbered-cards  pink band, numbered cards in 2 columns
 *   team            white, leadership directory
 *   text-image      white, image beside text, side alternates
 *
 * Homepage blocks (hero-split, news, events, registration, centres,
 * audiences, rentals, jobs, cta-band), the summer camps list (camps) and the
 * job postings grid (job-listings) are under "Homepage blocks".
 *
 * Centre pages (single-centre.php) use the same sections inside the centre's
 * column, in the centre colour; their own blocks (activities, hours, …) are
 * styled in single-centre.css. Two consecutive "Demi-largeur" sections share
 * a row (.cjdng-sec-pair).
 *
 * Heading fonts and sizes come from the site's global heading styles.
 */

.cjdng-sec {
	--sec-red: var(--cjndg-red, #dd183b);
	--sec-heading: #333;
	--sec-text: #666;
	--sec-band: #ffede6;
	--sec-band-line: #ffd1bf;
	--sec-line: #eadfda;
}

/* Let the bands run edge to edge: neutralise Astra's content container on
 * this template (and the news listing, home.php) only, then each band fills
 * the full width. */
.page-template-template-sections .site-content > .ast-container,
.blog .site-content > .ast-container {
	display: block;
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.cjdng-sec-band {
	width: 100%;
}

.cjdng-sec-inner {
	max-width: var(--cjndg-frame);
	margin: 0 auto;
	padding: 0 var(--cjndg-gutter);
}

.cjdng-sec-split {
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: 3.5rem;
	align-items: start;
}

.cjdng-sec-split > * {
	min-width: 0;
}

.cjdng-sec .cjdng-sec-title {
	margin: 0;
	color: var(--sec-heading);
}

.cjdng-sec-rule {
	width: 56px;
	height: 3px;
	border: 0;
	margin: 1.1rem 0 0;
	background: var(--sec-red);
}

/* --- Hero ------------------------------------------------------------- */
.cjdng-sec--hero {
	background: var(--sec-red);
	padding: 4rem 0;
	text-align: center;
}

.cjdng-sec .cjdng-sec-hero-title {
	margin: 0;
	color: #fff;
}

/* --- Texte ------------------------------------------------------------ */
.cjdng-sec--text {
	padding: 5rem 0;
	background: #fff;
}

.cjdng-sec-text {
	border-left: 3px solid var(--sec-red);
	padding-left: 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #3a3a3a;
}

.cjdng-sec-text p {
	margin: 0 0 1rem;
}

.cjdng-sec-text p:last-child {
	margin-bottom: 0;
}

/* --- Cartes numérotées ------------------------------------------------- */
.cjdng-sec--numbered-cards {
	padding: 5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-cards-head {
	position: sticky;
	top: 2rem;
}

.cjdng-sec-cards-intro {
	margin: 1.5rem 0 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--sec-heading);
}

.cjdng-sec-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: sec-card;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.cjdng-sec-card {
	counter-increment: sec-card;
	position: relative;
	margin: 0;
	padding: 1.6rem 1.6rem 1.75rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 0 var(--sec-band-line);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cjdng-sec-card::before {
	content: counter(sec-card, decimal-leading-zero);
	display: block;
	margin-bottom: 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--sec-band-line);
	font-family: "Noto Serif", Georgia, serif;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	color: var(--sec-red);
}

.cjdng-sec-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -14px rgba(221, 24, 59, 0.45);
}

.cjdng-sec-card p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--sec-heading);
}

/* A lone last card (odd count) spans both columns. */
.cjdng-sec-card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

/* --- Équipe (leadership directory, restyled) ---------------------------- */
.cjdng-sec--team {
	padding: 5rem 0 4rem;
	background: #fff;
}

.cjdng-sec .cjdng-leadership-directory {
	margin: 3rem 0 0;
	display: grid;
	gap: 3.5rem;
}

.cjdng-sec .cjdng-ldr-section {
	margin: 0;
}

.cjdng-sec .cjdng-ldr-heading {
	margin: 0 0 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--sec-line);
	color: var(--sec-heading);
}

.cjdng-sec .cjdng-ldr-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.cjdng-sec .cjdng-ldr-card {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.6rem;
	text-align: left;
	border: 1px solid var(--sec-line);
	border-radius: 10px;
}

.cjdng-sec .cjdng-ldr-photo {
	width: 80px;
	height: 80px;
	margin: 0;
	flex: none;
}

.cjdng-sec .cjdng-ldr-body {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.cjdng-sec .cjdng-ldr-name {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--sec-heading);
}

.cjdng-sec .cjdng-ldr-role {
	margin: 0;
	font-size: 0.9rem;
}

.cjdng-sec .cjdng-ldr-centre {
	margin: 0.2rem 0 0;
	font-size: 0.95rem;
}

.cjdng-sec .cjdng-ldr-centre a {
	color: var(--sec-heading);
	text-decoration: none;
	border-bottom: 1px solid var(--sec-red);
}

.cjdng-sec .cjdng-ldr-centre a:hover,
.cjdng-sec .cjdng-ldr-centre a:focus-visible {
	color: var(--sec-red);
}

.cjdng-sec .cjdng-ldr-bio {
	margin-top: 0.6rem;
	padding-top: 0;
	border-top: 0;
	color: var(--sec-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
}

.cjdng-sec .cjdng-ldr-card.is-open .cjdng-ldr-bio {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
	overflow: visible;
}

.cjdng-sec-more {
	justify-self: start;
	margin-top: 0.35rem;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--sec-red);
	cursor: pointer;
}

.cjdng-sec-more:hover,
.cjdng-sec-more:focus {
	background: none;
	color: var(--sec-red);
	text-decoration: underline;
}

/* Direction + centre directors: two wide cards with the photo beside the text. */
.cjdng-sec .cjdng-ldr-section--organization_director .cjdng-ldr-grid,
.cjdng-sec .cjdng-ldr-section--director .cjdng-ldr-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cjdng-sec .cjdng-ldr-section--organization_director .cjdng-ldr-card,
.cjdng-sec .cjdng-ldr-section--director .cjdng-ldr-card {
	flex-direction: row;
	gap: 1.4rem;
}

.cjdng-sec .cjdng-ldr-section--organization_director .cjdng-ldr-photo,
.cjdng-sec .cjdng-ldr-section--director .cjdng-ldr-photo {
	width: 96px;
	height: 96px;
}

/* --- Bandeau titre: subtitle ------------------------------------------ */
.cjdng-sec-hero-subtitle {
	margin: 0.85rem auto 0;
	max-width: 44rem;
	font-size: 1.15rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

/* --- Rich text (Texte, Texte + image) ---------------------------------- */
.cjdng-sec-text ul,
.cjdng-sec-text ol {
	margin: 0 0 1rem 1.25rem;
}

.cjdng-sec-text a {
	color: var(--sec-red);
}

/* --- Texte + image ----------------------------------------------------- */
.cjdng-sec--text-image {
	padding: 5rem 0;
	background: #fff;
}

.cjdng-sec-media {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 3.5rem;
	align-items: center;
}

.cjdng-sec-media > * {
	min-width: 0;
}

.cjdng-sec-media-img {
	margin: 0;
}

.cjdng-sec-media-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.cjdng-sec--text-image.is-flipped .cjdng-sec-media {
	grid-template-columns: 7fr 5fr;
}

.cjdng-sec--text-image.is-flipped .cjdng-sec-media-img {
	order: 2;
}

.cjdng-sec-media-body .cjdng-sec-text {
	margin-top: 1.5rem;
	border-left: 0;
	padding-left: 0;
	font-family: inherit;
	font-size: 1rem;
	color: var(--sec-text);
}

/* --- Rhythm ------------------------------------------------------------- */
/* Two touching sections with the same background read as one block: drop
 * the second one's top padding. */
:is(.cjdng-sec--text, .cjdng-sec--team, .cjdng-sec--text-image) + :is(.cjdng-sec--text, .cjdng-sec--team, .cjdng-sec--text-image),
.cjdng-sec--numbered-cards + .cjdng-sec--numbered-cards {
	padding-top: 0;
}

/* --- Homepage blocks ---------------------------------------------------- */
/* Shared pieces: section head with a "view all" link, buttons, card grids. */
.cjdng-sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-bottom: 2rem;
}

.cjdng-sec-eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sec-red);
}

.cjdng-sec-lead {
	margin: 1.1rem 0 0;
	max-width: 40em;
	color: var(--sec-text);
}

.cjdng-sec-more-link {
	font-weight: 600;
	color: var(--sec-red);
	text-decoration: none;
}

.cjdng-sec-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2rem;
}

.cjdng-sec .cjdng-sec-btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 1.6rem;
	box-sizing: border-box;
	border: 2px solid var(--sec-red);
	border-radius: 4px;
	background: var(--sec-red);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.cjdng-sec .cjdng-sec-btn:hover,
.cjdng-sec .cjdng-sec-btn:focus-visible {
	filter: brightness(0.92);
	color: #fff;
}

.cjdng-sec .cjdng-sec-btn--ghost {
	background: transparent;
	color: var(--sec-red);
}

.cjdng-sec .cjdng-sec-btn--ghost:hover,
.cjdng-sec .cjdng-sec-btn--ghost:focus-visible {
	filter: none;
	background: var(--sec-red);
	color: #fff;
}

.cjdng-sec .cjdng-sec-btn--light {
	border-color: #fff;
	background: #fff;
	color: #140609;
}

.cjdng-sec .cjdng-sec-btn--light:hover,
.cjdng-sec .cjdng-sec-btn--light:focus-visible {
	color: #140609;
}

/* Registration link not filled in yet: editors only (registration.php). */
.cjdng-sec .cjdng-sec-btn.is-missing {
	border-style: dashed;
	background: transparent;
	color: var(--sec-red);
	white-space: normal;
}

.cjdng-sec-cards3,
.cjdng-sec-cards2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.cjdng-sec-cards2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2rem;
}

.cjdng-sec-tile,
.cjdng-sec-event {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--sec-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cjdng-sec-tile:hover,
.cjdng-sec-tile:focus-visible,
.cjdng-sec-event:hover,
.cjdng-sec-event:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -18px rgba(20, 6, 9, 0.35);
	color: inherit;
}

.cjdng-sec-tile-img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	object-position: top;
}

.cjdng-sec-tile-img.is-tall {
	height: 240px;
	object-position: center;
}

.cjdng-sec-tile-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.4rem 1.5rem 1.6rem;
}

.cjdng-sec-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sec-red);
}

.cjdng-sec-tile-title {
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sec-heading);
}

.cjdng-sec-tile-title.is-large {
	font-size: 1.45rem;
}

.cjdng-sec-tile-text {
	font-size: 0.95rem;
	color: var(--sec-text);
}

.cjdng-sec-tile-more {
	margin-top: auto;
	padding-top: 0.4rem;
	font-weight: 600;
	color: var(--sec-red);
}

/* Ouverture avec photo */
.cjdng-sec--hero-split {
	padding: 4.5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-hs {
	display: flex;
	align-items: center;
	gap: 3.5rem;
}

.cjdng-sec-hs > * {
	flex: 1 1 0;
	min-width: 0;
}

.cjdng-sec .cjdng-sec-hs-title {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	font-size: clamp(2.4rem, 4.4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.12;
	color: #140609;
}

.cjdng-sec-hs-intro {
	margin: 1.25rem 0 0;
	max-width: 30em;
	font-size: 1.2rem;
	line-height: 1.6;
	color: #3a3a3a;
}

.cjdng-sec-hs-img {
	margin: 0;
}

.cjdng-sec-hs-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

/* The opening's second button is a dark outline. */
.cjdng-sec .cjdng-sec-hs .cjdng-sec-btn--ghost {
	border-color: #140609;
	color: #140609;
}

.cjdng-sec .cjdng-sec-hs .cjdng-sec-btn--ghost:hover,
.cjdng-sec .cjdng-sec-hs .cjdng-sec-btn--ghost:focus-visible {
	background: #140609;
	color: #fff;
}

/* Nos centres, Nouvelles, Découvrez nos activités */
.cjdng-sec--centres,
.cjdng-sec--news,
.cjdng-sec--audiences {
	padding: 4.5rem 0;
	background: #fff;
}

.cjdng-sec-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	color: var(--sec-text);
}

.cjdng-sec-info svg {
	flex: none;
	color: var(--sec-red);
}

.cjdng-sec-info.is-strong {
	color: #3a3a3a;
}

.cjdng-sec-tile-more.is-underlined {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.cjdng-sec-aud {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.cjdng-sec .cjdng-sec-aud-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 104px;
	padding: 1rem;
	border-radius: 10px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.cjdng-sec .cjdng-sec-aud-tile:hover,
.cjdng-sec .cjdng-sec-aud-tile:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.06);
	color: #fff;
}

.cjdng-sec-aud-tile--c0 { background: var(--sec-red); }
.cjdng-sec-aud-tile--c1 { background: #0f766e; }
.cjdng-sec-aud-tile--c2 { background: #b45309; }
.cjdng-sec-aud-tile--c3 { background: #4338ca; }
.cjdng-sec-aud-tile--c4 { background: #be123c; }
.cjdng-sec-aud-tile--c5 { background: #166534; }

/* Nouvelles: two-column grid of cards, "Toutes les nouvelles" below */
.cjdng-sec--news {
	padding-bottom: 3.5rem;
}

.cjdng-sec-news-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.cjdng-sec-news-all {
	margin: 1.75rem 0 0;
	text-align: center;
}

@media (max-width: 860px) {
	.cjdng-sec-news-grid {
		grid-template-columns: 1fr;
	}
}

/* Strip arrows (used by the "Photos" strip layout) */
.cjdng-sec .cjdng-sec-strip-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--sec-line);
	border-radius: 50%;
	background: #fff;
	color: #3a3a3a;
	cursor: pointer;
}

.cjdng-sec .cjdng-sec-strip-btn:hover,
.cjdng-sec .cjdng-sec-strip-btn:focus-visible {
	border-color: var(--sec-red);
	background: #fff;
	color: var(--sec-red);
}

.cjdng-sec-news {
	display: flex;
	min-height: 210px;
	border: 1px solid var(--sec-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.cjdng-sec-news:hover .cjdng-sec-tile-title,
.cjdng-sec-news:focus-visible .cjdng-sec-tile-title {
	color: var(--sec-red);
}

.cjdng-sec-news-img {
	display: block;
	flex: 0 0 190px;
	width: 190px;
	height: auto;
	object-fit: cover;
	object-position: top;
}

.cjdng-sec-news-body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 0;
	padding: 1.3rem 1.5rem;
}

/* Prochains événements: peach band, image cards with a date badge */
.cjdng-sec--events {
	padding: 4.5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-event {
	border: 0;
	box-shadow: 0 1px 0 var(--sec-band-line);
}

.cjdng-sec-event-media {
	position: relative;
	display: block;
	height: 200px;
	background: var(--sec-band);
}

.cjdng-sec-event-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

/* No real image (none, or the site logo): branded placeholder. */
.cjdng-sec-event-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 100%;
	color: #c9a99e;
}

.cjdng-sec-event-ph img {
	width: 54px;
	height: auto;
	opacity: 0.9;
}

.cjdng-sec-event-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	min-width: 64px;
	padding: 0.5rem 0.65rem;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 6px 16px -10px rgba(20, 6, 9, 0.5);
	text-align: center;
	line-height: 1.1;
}

.cjdng-sec-event-day {
	display: block;
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--sec-red);
}

.cjdng-sec-event-month {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3a3a3a;
}

.cjdng-sec-event-badge.is-tba .cjdng-sec-event-month {
	color: var(--sec-red);
}

.cjdng-sec-event-title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sec-heading);
}

/* Inscriptions: red panel + program downloads */
.cjdng-sec--registration {
	padding: 1.5rem 0 3rem;
	background: #fff;
}

.cjdng-sec-reg {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--sec-line);
	border-radius: 14px;
	overflow: hidden;
}

.cjdng-sec-reg-main {
	flex: 1 1 420px;
	min-width: 0;
	padding: 2.5rem;
	background: var(--sec-red);
	color: #fff;
}

.cjdng-sec-reg-main .cjdng-sec-eyebrow {
	color: var(--sec-band-line);
}

.cjdng-sec .cjdng-sec-reg-title {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	color: #fff;
}

.cjdng-sec-reg-intro {
	margin: 0.85rem 0 0;
	color: #fff;
}

.cjdng-sec-reg-main .cjdng-sec-btn {
	margin-top: 1.6rem;
}

.cjdng-sec-reg-main .cjdng-sec-btn.is-missing {
	border-color: #fff;
	color: #fff;
}

.cjdng-sec-reg-files {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	padding: 2.5rem;
	background: #fff;
}

.cjdng-sec-reg-files-title {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #3a3a3a;
}

.cjdng-sec-reg-file {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 72px;
	padding: 0 1.25rem;
	border: 1px solid var(--sec-line);
	border-radius: 10px;
	color: var(--sec-red);
	text-decoration: none;
}

.cjdng-sec-reg-file:hover,
.cjdng-sec-reg-file:focus-visible {
	border-color: var(--sec-red);
	color: var(--sec-red);
}

.cjdng-sec-reg-file-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	color: var(--sec-heading);
}

.cjdng-sec-reg-file-text span {
	font-size: 0.9rem;
	color: var(--sec-text);
}

.cjdng-sec-reg-file-cta {
	font-size: 0.9rem;
	font-weight: 600;
}

/* Camps d'été: peach band, camps as white cards (2 per row by default; the
 * editor's "Camps par rangée" sets 1/2/3 on desktop, phones always 1). */
.cjdng-sec--camps {
	padding: 5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-camps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
}

.cjdng-sec-camps--cols-1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: 760px;
}

.cjdng-sec-camps--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.cjdng-sec-camp {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 0 var(--sec-band-line);
}

.cjdng-sec-camp-media {
	display: block;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.06);
	aspect-ratio: 16 / 10;
}

.cjdng-sec-camp-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cjdng-sec-camp:hover .cjdng-sec-camp-img {
	transform: scale(1.04);
}

.cjdng-sec-camp-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.4rem 1.5rem 1.5rem;
}

.cjdng-sec .cjdng-sec-camp-title {
	margin: 0 0 0.8rem;
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.25;
}

.cjdng-sec-camp-title a {
	color: var(--sec-heading);
	text-decoration: none;
}

.cjdng-sec-camp-title a:hover {
	color: var(--sec-red);
}

.cjdng-sec-camp-blurb {
	margin: 0 0 0.9rem;
	line-height: 1.6;
	color: var(--sec-text);
}

.cjdng-sec-camp-facts {
	display: grid;
	gap: 0.3rem;
	margin: 0 0 1.25rem;
}

.cjdng-sec-camp-facts > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 0.93rem;
	line-height: 1.45;
}

.cjdng-sec-camp-facts dt {
	margin: 0;
	font-weight: 700;
	color: var(--sec-heading);
}

.cjdng-sec-camp-facts dt::after {
	content: ":";
}

/* French typography puts a space before the colon. */
.cjdng-sec[lang^="fr"] .cjdng-sec-camp-facts dt::after {
	content: "\00a0:";
}

.cjdng-sec-camp-facts dd {
	margin: 0;
	color: var(--sec-text);
}

.cjdng-sec-camp-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--sec-line);
}

.cjdng-sec .cjdng-sec-camp-price {
	margin: 0;
	font-family: var(--cjndg-font-heading, "Noto Serif", Georgia, serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--sec-heading);
}

.cjdng-sec-camp-price span {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--cjndg-font-text, "Open Sans", Arial, sans-serif);
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--sec-text);
}

.cjdng-sec .cjdng-sec-camp-cta {
	min-height: 44px;
	margin-left: auto;
}

.cjdng-sec .cjdng-sec-camp-cta:hover,
.cjdng-sec .cjdng-sec-camp-cta:focus-visible {
	background: #fff;
	color: var(--sec-red);
}

.cjdng-sec-camps-empty {
	margin: 2rem 0 0;
	color: var(--sec-text);
}

/* Photos: gallery section on a white band. Layouts: masonry (columns),
 * grid (squares), strip (one sliding row) and feature (first photo large). */
.cjdng-sec--gallery {
	padding: 5rem 0;
	background: #fff;
}

.cjdng-sec-gal {
	margin-top: 2.5rem;
}

.cjdng-sec-gal-item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.06);
}

.cjdng-sec-gal-link {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

.cjdng-sec-gal-img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.cjdng-sec-gal-link:hover .cjdng-sec-gal-img {
	transform: scale(1.03);
}

.cjdng-sec-gal-item figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.5rem 0.8rem 0.6rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
	color: #fff;
	font-size: 0.85rem;
	line-height: 1.35;
	pointer-events: none;
}

.cjdng-sec-gal--masonry {
	columns: 3 240px;
	column-gap: 1rem;
}

.cjdng-sec-gal--masonry .cjdng-sec-gal-item {
	margin-bottom: 1rem;
	break-inside: avoid;
}

.cjdng-sec-gal--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.cjdng-sec-gal--grid .cjdng-sec-gal-item {
	aspect-ratio: 1;
}

.cjdng-sec-gal--grid .cjdng-sec-gal-img,
.cjdng-sec-gal--feature .cjdng-sec-gal-img,
.cjdng-sec-gal--strip .cjdng-sec-gal-img {
	height: 100%;
	object-fit: cover;
}

.cjdng-sec-gal-nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.6rem;
	margin-top: -1.5rem;
}

.cjdng-sec-gal--strip {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
	padding-bottom: 0.75rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}

.cjdng-sec-gal--strip .cjdng-sec-gal-item {
	flex: 0 0 auto;
	height: 320px;
	scroll-snap-align: start;
}

.cjdng-sec-gal--strip .cjdng-sec-gal-img {
	width: auto;
	max-width: none;
}

.cjdng-sec-gal--feature {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 180px;
	gap: 1rem;
}

.cjdng-sec-gal--feature .cjdng-sec-gal-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* Lightbox (sections.js). */
.cjdng-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 10, 10, 0.92);
	color: #fff;
}

.cjdng-lightbox::backdrop {
	background: rgba(10, 10, 10, 0.92);
}

.cjdng-lightbox-fig {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	height: 100%;
	margin: 0;
	padding: 4rem 4.5rem;
	box-sizing: border-box;
}

.cjdng-lightbox-img {
	max-width: 100%;
	max-height: calc(100% - 2.5rem);
	object-fit: contain;
}

.cjdng-lightbox-cap {
	font-size: 0.95rem;
	text-align: center;
}

.cjdng-lightbox button {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.cjdng-lightbox button:hover,
.cjdng-lightbox button:focus-visible {
	border-color: #fff;
	background: var(--cjndg-red, #dd183b);
}

.cjdng-lightbox [hidden] {
	display: none;
}

.cjdng-lightbox-close {
	top: 1rem;
	right: 1rem;
}

.cjdng-lightbox-prev,
.cjdng-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.cjdng-lightbox-prev {
	left: 1rem;
}

.cjdng-lightbox-next {
	right: 1rem;
}

/* Liste des salles: peach band of room cards (card styles in
 * archive-facility-rental.css). Consecutive lists share one band. */
.cjdng-sec--rental-listings {
	padding: 5rem 0;
	background: var(--sec-band);
}

.cjdng-sec--rental-listings + .cjdng-sec--rental-listings {
	padding-top: 0;
}

.cjdng-sec--rental-listings .cjdng-fra-grid {
	margin-top: 2.5rem;
}

/* Postes à combler: peach band, one card per job posting. The title link
 * stretches over the whole card; the centre link sits above it. */
.cjdng-sec--job-listings {
	padding: 5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-postings {
	margin-top: 2.5rem;
}

.cjdng-sec-posting {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sec-line);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cjdng-sec-posting:hover,
.cjdng-sec-posting:focus-within {
	border-color: var(--sec-red);
	box-shadow: 0 10px 24px -16px rgba(20, 6, 9, 0.45);
}

.cjdng-sec-posting-media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--sec-band-line);
}

.cjdng-sec-posting-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cjdng-sec-posting:hover .cjdng-sec-posting-img {
	transform: scale(1.04);
}

.cjdng-sec-posting-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.25rem 1.4rem 1.4rem;
}

.cjdng-sec-posting-type {
	margin: 0 0 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sec-red);
}

.cjdng-sec .cjdng-sec-posting-title {
	margin: 0 0 0.75rem;
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.cjdng-sec-posting-title a {
	color: var(--sec-heading);
	text-decoration: none;
}

.cjdng-sec-posting-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Lieu / Salaire rows: the camps block's facts list (.cjdng-sec-camp-facts). */
.cjdng-sec .cjdng-sec-posting-facts {
	margin: 0;
}

/* Long centre names wrap under the label instead of dropping below it. */
.cjdng-sec-posting-facts > div {
	display: block;
}

.cjdng-sec-posting-facts :is(dt, dd) {
	display: inline;
}

.cjdng-sec-posting-facts dt {
	margin-right: 0.3rem;
}

.cjdng-sec-posting-place a {
	position: relative;
	z-index: 2;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--sec-band-line);
	text-underline-offset: 3px;
}

.cjdng-sec-posting-place a:hover {
	color: var(--sec-red);
}

/* Space above the button, whether the title or the meta list comes last. */
.cjdng-sec .cjdng-sec-posting-body > :nth-last-child(2) {
	margin-bottom: 1.25rem;
}

.cjdng-sec-posting-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding: 0.55rem 0.9rem;
	border-radius: 8px;
	background: var(--sec-red);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: opacity 0.15s ease;
}

.cjdng-sec-posting:hover .cjdng-sec-posting-cta,
.cjdng-sec-posting:focus-within .cjdng-sec-posting-cta {
	opacity: 0.88;
}

.cjdng-sec-postings-empty {
	margin: 2rem 0 0;
	color: var(--sec-text);
}

/* Pourquoi nous joindre + candidature spontanée (Emplois, under the
 * postings): white band; peach "why" block (photo + checklist) beside a red
 * spontaneous-application block. Stacks below 860px. */
.cjdng-sec--join-band {
	padding: 4.5rem 0;
	background: #fff;
}

.cjdng-sec-join {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.cjdng-sec-join-why {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 1.75rem;
	align-items: center;
	padding: 2.5rem 2.25rem;
	background: var(--sec-band);
}

.cjdng-sec-join-why.no-image {
	grid-template-columns: 1fr;
}

.cjdng-sec-join-img {
	margin: 0;
}

.cjdng-sec-join-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.cjdng-sec .cjdng-sec-join-title {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	line-height: 1.25;
	text-wrap: balance;
}

.cjdng-sec-join-why .cjdng-sec-checklist {
	color: var(--sec-text);
}

.cjdng-sec-join-spont {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 2.5rem 2.25rem;
	background: var(--sec-red);
	color: #fff;
}

.cjdng-sec .cjdng-sec-join-spont .cjdng-sec-join-title {
	margin-bottom: 1rem;
	color: #fff;
}

.cjdng-sec-join-spont p {
	margin: 0 0 1.75rem;
	color: #fff;
}

.cjdng-sec-join-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.1rem;
	border-radius: 8px;
	background: #fff;
	color: var(--sec-red);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.cjdng-sec-join-btn:hover,
.cjdng-sec-join-btn:focus-visible {
	color: var(--sec-red);
	opacity: 0.88;
}

.cjdng-sec-join-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.cjdng-sec-join {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.cjdng-sec--join-band {
		padding: 3rem 0;
	}

	.cjdng-sec-join-why {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 2rem 1.5rem;
	}

	.cjdng-sec-join-spont {
		padding: 2rem 1.5rem;
	}
}

/* Location de salles: tall photos, warm filter, name over the photo */
.cjdng-sec--rentals {
	padding: 4.5rem 0;
	background: #fff;
}

.cjdng-sec-room {
	position: relative;
	display: block;
	height: 320px;
	border-radius: 12px;
	overflow: hidden;
	background: #140609;
	text-decoration: none;
}

.cjdng-sec-room-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(0.35) saturate(0.8) contrast(0.95) brightness(1.02);
	transition: transform 0.4s ease;
}

.cjdng-sec-room:hover .cjdng-sec-room-img,
.cjdng-sec-room:focus-visible .cjdng-sec-room-img {
	transform: scale(1.04);
}

.cjdng-sec-room-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	padding: 3.5rem 1.4rem 1.25rem;
	background: linear-gradient(to top, rgba(20, 6, 9, 0.88), rgba(20, 6, 9, 0));
	color: #fff;
}

.cjdng-sec-room-name {
	font-family: "Noto Serif", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 700;
}

.cjdng-sec-room-meta {
	font-size: 0.9rem;
}

/* Emplois et bénévolat: peach band, checklist + postings */
.cjdng-sec--jobs {
	padding: 5rem 0;
	background: var(--sec-band);
}

.cjdng-sec-jobs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3.5rem;
	align-items: start;
}

.cjdng-sec-jobs > * {
	min-width: 0;
}

.cjdng-sec-jobs-why {
	margin: 1.5rem 0 0.75rem;
	font-weight: 700;
	color: var(--sec-heading);
}

.cjdng-sec-checklist {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #3a3a3a;
}

.cjdng-sec-checklist li {
	position: relative;
	padding-left: 2rem;
}

.cjdng-sec-checklist li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0.2rem;
	width: 0.85rem;
	height: 0.45rem;
	border-bottom: 2.5px solid var(--sec-red);
	border-left: 2.5px solid var(--sec-red);
	transform: rotate(-45deg);
}

.cjdng-sec-jobs-open {
	margin: 0 0 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #3a3a3a;
}

.cjdng-sec-job-list {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.cjdng-sec-job {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--sec-line);
	border-radius: 12px;
	background: #fff;
	color: var(--sec-heading);
	text-decoration: none;
}

.cjdng-sec-job:hover,
.cjdng-sec-job:focus-visible {
	border-color: var(--sec-red);
	color: var(--sec-heading);
}

.cjdng-sec-job-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sec-band);
	color: var(--sec-red);
}

.cjdng-sec-job-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.cjdng-sec-job-title {
	font-size: 1.05rem;
	font-weight: 700;
}

.cjdng-sec-job-type {
	font-size: 0.9rem;
	color: var(--sec-text);
}

.cjdng-sec-job-cta {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 40px;
	padding: 0 1rem;
	border-radius: 4px;
	background: var(--sec-red);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
}

.cjdng-sec-job.is-volunteer .cjdng-sec-job-icon {
	background: #e7f3ef;
	color: #0f5e57;
}

.cjdng-sec-job.is-volunteer .cjdng-sec-job-cta {
	background: #0f5e57;
}

/* News listing (home.php): card grid + page numbers */
.cjdng-sec--news-list {
	padding: 4rem 0 5rem;
	background: #fff;
}

.cjdng-sec-pagination {
	margin-top: 2.5rem;
}

.cjdng-sec-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.cjdng-sec-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.9rem;
	border: 1px solid var(--sec-line);
	border-radius: 4px;
	color: var(--sec-heading);
	text-decoration: none;
	font-weight: 600;
}

.cjdng-sec-pagination .page-numbers.current,
.cjdng-sec-pagination a.page-numbers:hover,
.cjdng-sec-pagination a.page-numbers:focus-visible {
	border-color: var(--sec-red);
	background: var(--sec-red);
	color: #fff;
}

/* Bandeau d'appel: red band */
.cjdng-sec--cta-band {
	padding: 3.5rem 0;
	background: var(--sec-red);
	color: #fff;
}

.cjdng-sec-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.cjdng-sec .cjdng-sec-cta-title {
	margin: 0;
	color: #fff;
}

.cjdng-sec-cta-text {
	margin: 0.6rem 0 0;
	font-size: 1.05rem;
	color: #fff;
}

@media (max-width: 1024px) {
	.cjdng-sec-cards3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.cjdng-sec-hs {
		flex-direction: column;
		align-items: stretch;
		gap: 2rem;
	}

	.cjdng-sec-cards2,
	.cjdng-sec-jobs {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.cjdng-sec-camps--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cjdng-sec-gal--feature {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 160px;
	}

	.cjdng-sec--hero-split,
	.cjdng-sec--centres,
	.cjdng-sec--news,
	.cjdng-sec--audiences,
	.cjdng-sec--events,
	.cjdng-sec--rentals,
	.cjdng-sec--jobs,
	.cjdng-sec--camps,
	.cjdng-sec--job-listings,
	.cjdng-sec--rental-listings {
		padding: 3.5rem 0;
	}

	.cjdng-sec--rental-listings + .cjdng-sec--rental-listings {
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	.cjdng-sec-cards3 {
		grid-template-columns: 1fr;
	}

	.cjdng-sec-reg-main,
	.cjdng-sec-reg-files {
		padding: 1.75rem 1.5rem;
	}

	.cjdng-sec-news {
		flex-direction: column;
	}

	.cjdng-sec-news-img {
		flex-basis: auto;
		width: 100%;
		height: 170px;
	}

	.cjdng-sec-job {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cjdng-sec-tile,
	.cjdng-sec-event,
	.cjdng-sec .cjdng-sec-aud-tile {
		transition: none;
	}

	.cjdng-sec-tile:hover,
	.cjdng-sec-event:hover,
	.cjdng-sec .cjdng-sec-aud-tile:hover,
	.cjdng-sec-room:hover .cjdng-sec-room-img,
	.cjdng-sec-camp:hover .cjdng-sec-camp-img,
	.cjdng-sec-posting:hover .cjdng-sec-posting-img {
		transform: none;
	}
}

/* --- Cartes de coordonnées (contact pages) ---------------------------- */
/* One card per organisation; the first (general questions) on peach. */
.cjdng-sec--contact-cards {
	padding: 4rem 0 5rem;
	background: #fff;
}

.cjdng-sec-contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cjdng-sec-contact-card {
	min-width: 0;
	margin: 0;
	padding: 1.75rem;
	border: 1px solid var(--sec-line);
	border-radius: 6px;
	background: #fff;
}

.cjdng-sec-contact-card:first-child {
	border-color: var(--sec-band);
	background: var(--sec-band);
}

.cjdng-sec-contact-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sec-red);
}

.cjdng-sec .cjdng-sec-contact-name {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
	color: var(--sec-heading);
}

.cjdng-sec-contact-list {
	display: grid;
	gap: 0.7rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.cjdng-sec-contact-list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.7rem;
	align-items: start;
	margin: 0;
	line-height: 1.5;
	color: var(--sec-heading);
}

.cjdng-sec-contact-icon {
	margin-top: 0.15rem;
	color: var(--sec-red);
}

.cjdng-sec-contact-list a {
	color: var(--sec-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cjdng-sec-contact-list a:hover,
.cjdng-sec-contact-list a:focus-visible {
	text-decoration-thickness: 2px;
}

.cjdng-sec-contact-email {
	font-size: 0.95rem;
	overflow-wrap: break-word;
}

@media (max-width: 921px) {
	.cjdng-sec--contact-cards {
		padding: 2.5rem 0 3.5rem;
	}
}

/* --- Last section before the footer ---------------------------------- */
/* The footer message form band is always peach (includes/footer-form.css).
   A peach section that ends the page turns white so the two don't merge;
   consecutive room lists ending the page all turn white together. */
.cjdng-sec > .cjdng-sec--jobs:last-child,
.cjdng-sec > .cjdng-sec--job-listings:last-child,
.cjdng-sec > .cjdng-sec--rental-listings:last-child,
.cjdng-sec > .cjdng-sec--rental-listings:has(~ .cjdng-sec--rental-listings:last-child),
.cjdng-sec > .cjdng-sec--events:last-child,
.cjdng-sec > .cjdng-sec--camps:last-child,
.cjdng-sec > .cjdng-sec--numbered-cards:last-child,
.cjdng-sec > .cjdng-news-others:last-child {
	background: #fff;
}

/* --- Two half-width sections side by side ------------------------------ */
.cjdng-sec-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 3.5rem;
	align-items: start;
	max-width: var(--cjndg-frame);
	margin: 0 auto;
	padding: 0 var(--cjndg-gutter);
}

.cjdng-sec-pair > * {
	min-width: 0;
}

.cjdng-sec-pair .cjdng-sec-inner {
	padding: 0;
}

/* Half a row is too narrow for heading-beside-text: stack them. */
.cjdng-sec-pair .cjdng-sec-split {
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

/* Side by side, the red bar beside each text reads as a column divider:
 * drop it while the pair is on one row (it stacks at 860px and below). */
@media (min-width: 861px) {
	.cjdng-sec-pair .cjdng-sec-text {
		border-left: 0;
		padding-left: 0;
	}
}

/* --- Centre pages ------------------------------------------------------- */
.cjdng-centre .cjdng-sec {
	--sec-red: var(--cjdng-c-accent);
	--sec-band: var(--cjdng-c-accent-soft);
	--sec-band-line: color-mix(in srgb, var(--cjdng-c-accent) 22%, transparent);
}

.cjdng-centre .cjdng-sec-inner,
.cjdng-centre .cjdng-sec-pair {
	max-width: none;
	padding: 0;
}

.cjdng-centre .cjdng-sec-pair {
	column-gap: 2rem;
}

.cjdng-centre .cjdng-sec .cjdng-sec-title {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.cjdng-centre :is(.cjdng-sec--text, .cjdng-sec--text-image) {
	margin: 0 0 2.25rem;
	padding: 0;
	background: none;
}

.cjdng-centre .cjdng-sec--numbered-cards {
	margin: 0 0 2.25rem;
	padding: 2.25rem;
	border-radius: 14px;
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
	.cjdng-sec .cjdng-ldr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.cjdng-sec-pair {
		grid-template-columns: 1fr;
	}

	.cjdng-sec-split {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.cjdng-sec-cards-head {
		position: static;
	}

	.cjdng-sec-media,
	.cjdng-sec--text-image.is-flipped .cjdng-sec-media {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.cjdng-sec--text-image.is-flipped .cjdng-sec-media-img {
		order: 0;
	}

	.cjdng-sec--text,
	.cjdng-sec--numbered-cards,
	.cjdng-sec--team,
	.cjdng-sec--text-image {
		padding: 3.5rem 0;
	}

	.cjdng-centre :is(.cjdng-sec--text, .cjdng-sec--text-image) {
		padding: 0;
	}

	.cjdng-centre .cjdng-sec--numbered-cards {
		padding: 1.5rem;
	}
}

@media (max-width: 640px) {
	.cjdng-sec-cards,
	.cjdng-sec .cjdng-ldr-grid,
	.cjdng-sec .cjdng-ldr-section--organization_director .cjdng-ldr-grid,
	.cjdng-sec .cjdng-ldr-section--director .cjdng-ldr-grid {
		grid-template-columns: 1fr;
	}

	.cjdng-sec .cjdng-ldr-section--organization_director .cjdng-ldr-card,
	.cjdng-sec .cjdng-ldr-section--director .cjdng-ldr-card {
		flex-direction: column;
	}

	.cjdng-sec--hero {
		padding: 3rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cjdng-sec-card {
		transition: none;
	}

	.cjdng-sec-card:hover {
		transform: none;
	}
}

/* Camps cards and photo gallery: phones. */
@media (max-width: 640px) {
	.cjdng-sec-camps,
	.cjdng-sec-camps--cols-3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	.cjdng-sec--gallery {
		padding: 3.5rem 0;
	}

	.cjdng-sec-gal--masonry {
		columns: 2;
		column-gap: 0.6rem;
	}

	.cjdng-sec-gal--masonry .cjdng-sec-gal-item {
		margin-bottom: 0.6rem;
	}

	.cjdng-sec-gal--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.cjdng-sec-gal--strip .cjdng-sec-gal-item {
		height: 240px;
	}

	.cjdng-lightbox-fig {
		padding: 4rem 0.75rem 5.5rem;
	}

	.cjdng-lightbox-prev,
	.cjdng-lightbox-next {
		top: auto;
		bottom: 1rem;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cjdng-sec-camp-img,
	.cjdng-sec-gal-img {
		transition: none;
	}

	.cjdng-sec-camp:hover .cjdng-sec-camp-img,
	.cjdng-sec-gal-link:hover .cjdng-sec-gal-img {
		transform: none;
	}

	.cjdng-sec-gal--strip {
		scroll-behavior: auto;
	}
}
