/* =============================================================
   Charlène Douessin — design tokens
   ============================================================= */
:root {
	--chd-green-dark: #1e3d2f;
	--chd-green: #3f5c3a;
	--chd-green-light: #7c8f5a;
	--chd-cream: #faf6ec;
	--chd-cream-2: #f3ecd9;
	--chd-card: #f8f4e9;
	--chd-panel: #efe6d0;
	--chd-white: #ffffff;
	--chd-text: #1f2d3d;
	--chd-text-muted: #4b5a6b;
	--chd-border: #e4dcc7;
	--chd-yellow: #fbf3d0;
	--chd-yellow-border: #ead9a0;

	--chd-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--chd-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--chd-radius-sm: 10px;
	--chd-radius-md: 16px;
	--chd-radius-lg: 24px;
	--chd-shadow: 0 10px 30px -18px rgba(30, 61, 47, 0.35);
	--chd-container: 1240px;
}

/* =============================================================
   Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--chd-font-body);
	color: var(--chd-text);
	background: var(--chd-cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--chd-font-heading); color: var(--chd-green-dark); margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.chd-skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--chd-green-dark); color: #fff; padding: .75em 1.25em;
	border-radius: 0 0 8px 0;
}
.chd-skip-link:focus { left: 0; }

.chd-container {
	max-width: var(--chd-container);
	margin: 0 auto;
	padding: 0 24px;
}

.chd-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* =============================================================
   Header / nav
   ============================================================= */
.chd-site-header {
	background: var(--chd-cream);
	border-bottom: 1px solid var(--chd-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.chd-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}
.chd-logo { display: flex; align-items: center; gap: 12px; }
.chd-logo__mark {
	position: relative;
	display: inline-flex;
	color: var(--chd-green-dark);
}
.chd-logo__mark .chd-icon { width: 34px; height: 34px; }
.chd-logo__leaf {
	position: absolute; right: -6px; bottom: -4px;
	width: 16px !important; height: 16px !important;
	color: var(--chd-green-light);
}
.chd-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.chd-logo__name { font-family: var(--chd-font-heading); font-size: 1.3rem; color: var(--chd-green-dark); }
.chd-logo__tagline { font-size: .75rem; color: var(--chd-text-muted); }

.chd-nav-toggle {
	display: none;
	background: none; border: none; cursor: pointer; color: var(--chd-green-dark);
	padding: 6px;
}
.chd-nav-toggle .chd-icon { width: 26px; height: 26px; }
.chd-nav-toggle__close { display: none; }
.chd-nav-toggle[aria-expanded="true"] .chd-nav-toggle__open { display: none; }
.chd-nav-toggle[aria-expanded="true"] .chd-nav-toggle__close { display: block; }

.chd-nav__list { display: flex; align-items: center; gap: 32px; }
.chd-nav__list a {
	font-size: .95rem;
	color: var(--chd-text);
	position: relative;
	padding-bottom: 4px;
}
.chd-nav__list a::after {
	content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
	background: var(--chd-green-light);
	transition: right .2s ease;
}
.chd-nav__list a:hover::after,
.chd-nav__list .current-menu-item > a::after,
.chd-nav__list .current_page_item > a::after { right: 0; }
.chd-nav__list .current-menu-item > a,
.chd-nav__list .current_page_item > a { color: var(--chd-green-dark); font-weight: 600; }

/* =============================================================
   Buttons
   ============================================================= */
.chd-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	border: 1.5px solid transparent;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.chd-btn:hover { transform: translateY(-1px); }
.chd-btn--solid { background: var(--chd-green-dark); color: #fff; }
.chd-btn--solid:hover { background: var(--chd-green); }
.chd-btn--outline { background: transparent; color: var(--chd-green-dark); border-color: var(--chd-green-dark); }
.chd-btn--outline:hover { background: var(--chd-green-dark); color: #fff; }
.chd-btn--on-dark { background: var(--chd-cream); color: var(--chd-green-dark); }
.chd-btn--on-dark:hover { background: #fff; }
.chd-btn__arrow { width: 18px; height: 18px; }

/* =============================================================
   Hero variants
   ============================================================= */
.chd-hero { padding: 64px 0 24px; }
.chd-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.chd-h1 {
	font-size: clamp(2.1rem, 3.2vw, 3rem);
	line-height: 1.15;
	letter-spacing: .01em;
}
.chd-hero__subtitle {
	color: var(--chd-green);
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: .75em;
}
.chd-hero__desc { color: var(--chd-text-muted); font-size: 1.05rem; max-width: 46ch; }

.chd-hero--home .chd-hero__media--home { position: relative; display: flex; gap: 20px; align-items: center; }
.chd-hero--home .chd-illustration-placeholder,
.chd-hero--home .chd-illustration__img { flex: 1; }

.chd-feature-list { display: flex; flex-direction: column; gap: 18px; flex-shrink: 0; }
.chd-feature-list__item {
	display: flex; align-items: center; gap: 10px;
	font-size: .85rem; color: var(--chd-text);
	white-space: nowrap;
}
.chd-feature-list__item .chd-icon { color: var(--chd-green); width: 20px; height: 20px; }

.chd-hero--split .chd-hero__text { display: flex; flex-direction: column; justify-content: center; }

.chd-hero--centered { text-align: center; padding-top: 56px; }
.chd-hero__subtitle--centered { text-align: center; }
.chd-lead { max-width: 60ch; margin: 0 auto 1em; text-align: center; color: var(--chd-text-muted); }
.chd-lead--centered { text-align: center; }

/* Illustration placeholder (soft frame shown until real photos are uploaded) */
.chd-illustration-placeholder {
	aspect-ratio: 400 / 300;
	border-radius: var(--chd-radius-lg);
	background: linear-gradient(160deg, var(--chd-cream-2), var(--chd-panel));
	border: 1px solid var(--chd-border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 6px;
}
.chd-illustration-svg { width: 100%; height: 100%; display: block; }
.chd-illustration__img {
	border-radius: var(--chd-radius-lg);
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* =============================================================
   Sections & titles
   ============================================================= */
.chd-section { padding: 40px 0; }
.chd-section--tight { padding: 20px 0; }

.chd-section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	margin: 0 0 32px;
}
.chd-flourish { display: inline-flex; color: var(--chd-green-light); }
.chd-flourish__icon { width: 16px; height: 16px; }

.chd-section-title--branch { gap: 16px; }
.chd-flourish-img { height: 34px; width: auto; display: block; }

.chd-h2 { font-size: 1.6rem; }
.chd-eyebrow {
	display: block; text-transform: uppercase; letter-spacing: .06em;
	font-size: .75rem; color: var(--chd-text-muted); margin-bottom: 6px;
}

/* =============================================================
   Grids & cards
   ============================================================= */
.chd-grid { display: grid; gap: 24px; }
.chd-grid--2 { grid-template-columns: repeat(2, 1fr); }
.chd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.chd-grid--4 { grid-template-columns: repeat(4, 1fr); }

.chd-card {
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 28px 24px;
}
.chd-card__title { font-size: 1.15rem; margin-bottom: .4em; }
.chd-card__text { color: var(--chd-text-muted); font-size: .95rem; margin-bottom: 0; }
.chd-card__link {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
	color: var(--chd-green-dark); font-weight: 600; font-size: .9rem;
}
.chd-card__link .chd-icon { width: 16px; height: 16px; }

.chd-icon-circle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--chd-cream-2);
	color: var(--chd-green-dark);
	margin-bottom: 16px;
}
.chd-icon-circle .chd-icon { width: 30px; height: 30px; }
.chd-icon-circle--sm { width: 44px; height: 44px; margin-bottom: 0; }
.chd-icon-circle--sm .chd-icon { width: 24px; height: 24px; }

/* =============================================================
   Banner (home "vous êtes un professionnel")
   ============================================================= */
.chd-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	background: var(--chd-panel);
	border: 1px solid var(--chd-yellow-border);
	border-radius: var(--chd-radius-lg);
	padding: 28px 32px;
}
.chd-banner__text { display: flex; align-items: center; gap: 20px; }
.chd-banner__text .chd-icon-circle { margin-bottom: 0; background: var(--chd-white); }
.chd-banner__title { font-size: 1.25rem; margin-bottom: .2em; }
.chd-banner__desc { color: var(--chd-text-muted); margin: 0; }

/* =============================================================
   About (Accueil / À propos)
   ============================================================= */
.chd-about__grid {
	display: grid;
	grid-template-columns: .8fr 1.4fr 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 24px;
}
.chd-about__grid--simple { grid-template-columns: .8fr 1.6fr; }
.chd-about__photo { position: relative; }
.chd-about__photo img {
	border-radius: var(--chd-radius-lg);
	width: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	box-shadow: var(--chd-shadow);
}
.chd-about__photo-placeholder {
	width: 100%; aspect-ratio: 3/4; border-radius: var(--chd-radius-lg);
	background: var(--chd-cream-2);
	display: flex; align-items: center; justify-content: center;
}
.chd-about__photo-placeholder .chd-icon {
	width: 34%; height: 34%; color: var(--chd-green-light);
}
.chd-about__leaf {
	position: absolute; bottom: -14px; right: -14px; width: 40px !important; height: 40px !important;
	color: var(--chd-green-light); background: var(--chd-cream); border-radius: 50%; padding: 8px;
}
.chd-about__text p { color: var(--chd-text-muted); }
.chd-about__coop {
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 20px;
}
.chd-about__coop-name {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--chd-font-heading); font-size: 1.15rem; color: var(--chd-green-dark);
	margin-bottom: 8px;
}
.chd-about__coop-name .chd-icon { color: var(--chd-green-light); }
.chd-about__coop-desc { color: var(--chd-text-muted); font-size: .9rem; margin: 0; }

.chd-zone {
	display: flex; align-items: center; gap: 8px;
	color: var(--chd-text-muted); font-size: .95rem;
}
.chd-zone .chd-icon { color: var(--chd-green); }

/* =============================================================
   Conseil — triptych (questions / illustration / questions)
   ============================================================= */
.chd-triptych {
	display: grid;
	grid-template-columns: 1fr 1.1fr 1fr;
	gap: 24px;
	align-items: center;
	margin-bottom: 32px;
}
.chd-triptych__col { display: flex; flex-direction: column; gap: 16px; }
.chd-bubble {
	display: flex; align-items: center; gap: 16px;
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 16px 20px;
}
.chd-bubble p { margin: 0; font-size: .95rem; }
.chd-bubble--compact { padding: 14px 16px; gap: 12px; }
.chd-bubble--compact p { font-size: .88rem; }

.chd-triptych--aides { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; }

/* =============================================================
   Steps (numbered process rows, reused across pages)
   ============================================================= */
.chd-steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
.chd-step {
	position: relative;
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 28px 20px 20px;
	text-align: center;
	flex: 1 1 220px;
	max-width: 260px;
}
.chd-step__badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
}
.chd-step__number {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--chd-green-dark); color: #fff;
	font-size: .85rem; font-weight: 700;
}
.chd-step .chd-icon-circle { margin: 0 auto 14px; }
.chd-step__title { font-size: 1.05rem; margin-bottom: .3em; }
.chd-step__text { color: var(--chd-text-muted); font-size: .9rem; margin: 0; }

.chd-step-arrow {
	display: flex; align-items: center; color: var(--chd-green-light);
	align-self: center;
	padding-top: 24px;
}

.chd-steps--compact .chd-step,
.chd-step--compact { max-width: 170px; padding: 24px 12px 16px; }
.chd-steps--compact .chd-icon-circle { width: 52px; height: 52px; }
.chd-steps--compact .chd-icon-circle .chd-icon { width: 26px; height: 26px; }
.chd-steps--compact .chd-step__text { font-size: .82rem; }

.chd-steps--4 .chd-step { flex-basis: 210px; }

.chd-steps-frame {
	border: 1.5px dashed var(--chd-green-light);
	border-radius: var(--chd-radius-lg);
	padding: 32px 24px;
}
.chd-steps-frame .chd-steps { justify-content: space-between; }
.chd-step--row { text-align: left; display: flex; align-items: center; gap: 16px; max-width: none; flex: 1 1 260px; padding: 12px; border: none; background: none; }
.chd-step--row .chd-step__badge { position: static; transform: none; flex-shrink: 0; }
.chd-step--row .chd-icon-circle { margin: 0; flex-shrink: 0; }
.chd-step--row .chd-step__text { text-align: left; }

/* =============================================================
   List panel (Audit — two columns of icon+text)
   ============================================================= */
.chd-list-panel {
	background: var(--chd-white);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-lg);
	padding: 32px;
}
.chd-list-panel__title { font-size: 1.3rem; margin-bottom: 20px; }
.chd-list-panel__items li {
	display: flex; align-items: center; gap: 16px;
	padding: 12px 0;
	border-top: 1px dashed var(--chd-border);
	font-size: .95rem;
}
.chd-list-panel__items li:first-child { border-top: none; }

.chd-footnote {
	text-align: center;
	color: var(--chd-text-muted);
	font-size: .85rem;
	font-style: italic;
	margin-top: 32px;
}

/* =============================================================
   Devices panel (Aides — center dark-headed panel)
   ============================================================= */
.chd-devices-panel {
	background: var(--chd-white);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-lg);
	overflow: hidden;
	align-self: start;
}
.chd-devices-panel__title {
	background: var(--chd-green-dark);
	color: #fff;
	text-align: center;
	font-family: var(--chd-font-body);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: .85rem;
	font-weight: 600;
	padding: 16px 20px;
	margin: 0;
}
.chd-devices-panel__items { padding: 8px 24px 20px; }
.chd-devices-panel__items li {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 0;
	border-top: 1px dashed var(--chd-border);
	font-size: .92rem;
}
.chd-devices-panel__items li:first-child { border-top: none; }
.chd-devices-panel__items .chd-icon { color: var(--chd-green); width: 20px; height: 20px; }

/* =============================================================
   Tip box & CTA row (Aides)
   ============================================================= */
.chd-tip {
	display: flex; align-items: flex-start; gap: 14px;
	background: var(--chd-yellow);
	border: 1px solid var(--chd-yellow-border);
	border-radius: var(--chd-radius-md);
	padding: 20px 24px;
	margin: 36px 0 24px;
}
.chd-tip .chd-icon { color: #a9821b; }
.chd-tip p { margin: 0; font-style: italic; }
.chd-cta-row { display: flex; justify-content: center; margin: 24px 0; }

/* =============================================================
   Flex panel (Professionnels — "une intervention souple")
   ============================================================= */
.chd-flex-panel {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	background: var(--chd-panel);
	border-radius: var(--chd-radius-lg);
	padding: 28px 32px;
}
.chd-flex-panel__item { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.chd-flex-panel__item .chd-icon-circle { background: var(--chd-white); }

/* =============================================================
   Credentials (À propos)
   ============================================================= */
.chd-credentials {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 32px;
}
.chd-credentials li {
	display: flex; align-items: center; gap: 12px;
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 16px 18px;
	font-size: .92rem;
}
.chd-credentials .chd-icon { color: var(--chd-green); }

/* =============================================================
   Contact page
   ============================================================= */
.chd-contact-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 40px;
	align-items: start;
}
.chd-contact-info { display: flex; flex-direction: column; gap: 20px; }
.chd-contact-info__item {
	display: flex; align-items: center; gap: 16px;
	background: var(--chd-card);
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md);
	padding: 18px 20px;
	font-size: .95rem;
}
.chd-form { display: flex; flex-direction: column; gap: 18px; }
.chd-form__row { display: flex; flex-direction: column; gap: 6px; }
.chd-form__row label { font-size: .85rem; font-weight: 600; color: var(--chd-green-dark); }
.chd-form__row input,
.chd-form__row textarea {
	font-family: var(--chd-font-body);
	font-size: .95rem;
	padding: 12px 16px;
	border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-sm);
	background: var(--chd-white);
	color: var(--chd-text);
	resize: vertical;
}
.chd-form__row input:focus,
.chd-form__row textarea:focus { outline: 2px solid var(--chd-green-light); outline-offset: 1px; }
.chd-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chd-form .chd-btn { align-self: flex-start; border: none; cursor: pointer; }

.chd-form-notice {
	display: flex; align-items: center; gap: 12px;
	border-radius: var(--chd-radius-md);
	padding: 16px 20px;
	margin-bottom: 20px;
	font-size: .92rem;
}
.chd-form-notice--success { background: #e6f0e2; color: var(--chd-green-dark); border: 1px solid #bfd8b4; }
.chd-form-notice--error { background: #f7e6e2; color: #8a3b2a; border: 1px solid #e5b7a8; }

/* =============================================================
   Block system — generic icon-list (chd/icon-list) and step
   counters/connectors (chd/steps), used by the native blocks.
   ============================================================= */
.chd-icon-list-item { display: flex; align-items: center; gap: 14px; }
.chd-icon-list-item__title { font-weight: 600; margin: 0 0 2px; }
.chd-icon-list-item__text { margin: 0; font-size: .95rem; }

.chd-icon-list--stacked .chd-icon-list__items { display: flex; flex-direction: column; gap: 16px; }
.chd-icon-list--stacked .chd-icon-list-item {
	background: var(--chd-card); border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-md); padding: 16px 20px;
}

.chd-icon-list--panel {
	background: var(--chd-white); border: 1px solid var(--chd-border);
	border-radius: var(--chd-radius-lg); overflow: hidden;
}
.chd-icon-list__title {
	margin: 0; padding: 24px 32px 0;
	font-size: 1.3rem;
}
.chd-icon-list__title--dark {
	background: var(--chd-green-dark); color: #fff;
	font-family: var(--chd-font-body); text-transform: uppercase; letter-spacing: .04em;
	font-size: .85rem; font-weight: 600; text-align: center;
	padding: 16px 20px; margin: 0;
}
.chd-icon-list--panel .chd-icon-list__items { padding: 12px 32px 24px; }
.chd-icon-list__title--dark ~ .chd-icon-list__items { padding: 8px 24px 20px; }
.chd-icon-list--panel .chd-icon-list-item { padding: 12px 0; border-top: 1px dashed var(--chd-border); }
.chd-icon-list--panel .chd-icon-list-item:first-child { border-top: none; }
.chd-icon-list__title--dark ~ .chd-icon-list__items .chd-icon-list-item .chd-icon-circle--sm {
	background: none; width: auto; height: auto;
}
.chd-icon-list__title--dark ~ .chd-icon-list__items .chd-icon-list-item .chd-icon { color: var(--chd-green); width: 20px; height: 20px; }

.chd-icon-list--row {
	position: relative;
	background: var(--chd-panel); border-radius: var(--chd-radius-lg); padding: 28px 32px;
	overflow: hidden;
}
.chd-icon-list--row .chd-icon-list__items {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px;
	position: relative; z-index: 1;
}
.chd-icon-list--row .chd-icon-list-item { font-weight: 600; }
.chd-icon-list--row .chd-icon-circle--sm { background: var(--chd-white); }
.chd-icon-list--row::after {
	content: '';
	position: absolute; right: 12px; bottom: -6px;
	width: 90px; height: 90px;
	background: url('../images/flourish-right.png') no-repeat center / contain;
	opacity: .9;
	pointer-events: none;
}
@media (max-width: 640px) {
	.chd-icon-list--row::after { display: none; }
}

.chd-steps { counter-reset: chdstep; }
.chd-step__badge { counter-increment: chdstep; }
.chd-step__number::before { content: counter(chdstep); }

.chd-steps--cards { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 16px; }
.chd-steps .chd-step:not(:last-child) { position: relative; }
.chd-steps .chd-step:not(:last-child)::after {
	content: '→';
	position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
	color: var(--chd-green-light); font-size: 1.3rem; font-weight: 600;
}
.chd-steps .chd-step--row:not(:last-child)::after { right: -18px; }
@media (max-width: 860px) {
	.chd-steps .chd-step:not(:last-child)::after { content: none; }
}

.chd-image-block { max-width: 640px; margin: 0 auto; }

/* =============================================================
   Prose fallback (page.php / index.php)
   ============================================================= */
.chd-prose { max-width: 760px; margin: 0 auto; }
.chd-prose h2 { margin-top: 1.4em; }
.chd-post-summary { margin-bottom: 2em; padding-bottom: 2em; border-bottom: 1px solid var(--chd-border); }
.chd-post-summary h2 { margin-bottom: .3em; }

/* =============================================================
   Footer contact bar (dark green, repeated on every page)
   ============================================================= */
.chd-footer-bar { background: var(--chd-green-dark); color: var(--chd-cream); margin-top: 40px; }
.chd-footer-bar__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 22px 24px;
}
.chd-footer-bar__sep { width: 1px; height: 24px; background: rgba(250, 246, 236, .25); }
.chd-footer-bar__item {
	display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--chd-cream);
}
.chd-footer-bar__item .chd-icon { width: 18px; height: 18px; color: var(--chd-green-light); }
.chd-footer-bar__note { margin-left: auto; font-size: .85rem; color: rgba(250, 246, 236, .75); }

.chd-site-footer { background: var(--chd-green-dark); color: rgba(250, 246, 236, .7); border-top: 1px solid rgba(250,246,236,.1); }
.chd-site-footer__inner {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
	padding: 16px 24px; font-size: .8rem;
}
.chd-site-footer__link { text-decoration: underline; text-underline-offset: 2px; }
.chd-site-footer__link:hover { color: var(--chd-cream); }

/* =============================================================
   Desktop — larger pictograms (icon circles read as small dots
   otherwise on wide screens; mobile keeps the more compact sizing)
   ============================================================= */
@media (min-width: 861px) {
	.chd-icon-circle { width: 76px; height: 76px; }
	.chd-icon-circle .chd-icon { width: 38px; height: 38px; }
	.chd-icon-circle--sm { width: 52px; height: 52px; }
	.chd-icon-circle--sm .chd-icon { width: 28px; height: 28px; }
	.chd-steps--compact .chd-icon-circle { width: 60px; height: 60px; }
	.chd-steps--compact .chd-icon-circle .chd-icon { width: 30px; height: 30px; }
	.chd-devices-panel__items .chd-icon { width: 24px; height: 24px; }
	.chd-flourish__icon { width: 18px; height: 18px; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
	.chd-about__grid,
	.chd-about__grid--simple { grid-template-columns: 1fr; }
	.chd-triptych,
	.chd-triptych--aides { grid-template-columns: 1fr; }
	.chd-triptych__media { order: -1; }
	.chd-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.chd-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.chd-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.chd-nav-toggle { display: inline-flex; }
	.chd-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--chd-cream);
		border-bottom: 1px solid var(--chd-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}
	.chd-nav.is-open { max-height: 480px; }
	.chd-nav__list { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; }
	.chd-nav__list li { width: 100%; }
	.chd-nav__list a { display: block; padding: 12px 0; }

	.chd-hero__grid,
	.chd-hero__grid--home { grid-template-columns: 1fr; }
	.chd-hero--home .chd-hero__media--home { flex-direction: column; }
	.chd-feature-list { flex-direction: row; flex-wrap: wrap; }

	.chd-grid--3, .chd-grid--4, .chd-grid--2 { grid-template-columns: 1fr; }
	.chd-banner { flex-direction: column; align-items: flex-start; }
	.chd-footer-bar__note { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
	.chd-h1 { font-size: 1.8rem; }
	.chd-section-title { font-size: 1.15rem; gap: 8px; }
	.chd-steps { flex-direction: column; align-items: stretch; }
	.chd-step { max-width: none; width: 100%; flex: 0 0 auto; }
	.chd-steps--compact .chd-step,
	.chd-step--compact { max-width: none; width: 100%; }
	.chd-steps--4 .chd-step { flex-basis: auto; width: 100%; }
	.chd-step-arrow { display: none; }
}
