/*
 * Page « Conseil d'administration du SAHB » (slug conseil-dadministration-du-sahb)
 * Spécifique à cette page ; la base est dans sahb-refonte.css.
 */

/* Le président : seule fiche en grand, texte calé au bas de la photo */
body.sahb-page-ca .sahb-president { margin-bottom: 8px; }
body.sahb-page-ca .sahb-president > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(220px, 360px) 1fr;
	gap: 0 48px;
	align-items: end;
}
body.sahb-page-ca .sahb-president .sahb-fiche { margin: 0; }
body.sahb-page-ca .entry-content .sahb-president .sahb-nom {
	margin-bottom: 8px;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.01em;
}
body.sahb-page-ca .sahb-president .sahb-role { font-size: 1.25rem; }
body.sahb-page-ca .sahb-president .sahb-dossiers { max-width: 24rem; }

/* Contact */
body.sahb-page-ca .sahb-contact {
	max-width: 46rem;
	margin-top: 96px;
	padding: 8px 0 0;
	border-top: 5px dashed var(--magenta);
}
body.sahb-page-ca .sahb-contact h2.sahb-section {
	margin-top: 32px;
	padding-bottom: 0;
	border-bottom: 0;
}
body.sahb-page-ca .sahb-contact .wpcf7 input[type="text"],
body.sahb-page-ca .sahb-contact .wpcf7 input[type="email"],
body.sahb-page-ca .sahb-contact .wpcf7 input[type="tel"],
body.sahb-page-ca .sahb-contact .wpcf7 textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #b9a9c0;
	border-radius: 2px;
	background: #fff;
	font: inherit;
	color: var(--nuit);
}
body.sahb-page-ca .sahb-contact .wpcf7 input[type="submit"] {
	padding: 12px 36px;
	border: 0;
	border-radius: 2px;
	background: var(--prune);
	font: 700 1rem / 1.2 "Open Sans", sans-serif;
	color: #fff;
	cursor: pointer;
}
body.sahb-page-ca .sahb-contact .wpcf7 input[type="submit"]:hover { background: var(--nuit); }

/* Focus clavier visible */
body.sahb-page-ca .sahb-contact input:focus-visible,
body.sahb-page-ca .sahb-contact textarea:focus-visible {
	outline: 3px solid var(--sol);
	outline-offset: 2px;
}

@media (max-width: 700px) {
	body.sahb-page-ca .entry-title { margin-top: 32px; padding-bottom: 36px; }
	body.sahb-page-ca .sahb-intro { margin-bottom: 40px; }
	body.sahb-page-ca .sahb-president > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	body.sahb-page-ca .sahb-president .sahb-fiche { margin-top: 20px; }
	body.sahb-page-ca .entry-content h2.sahb-section { margin-top: 56px; }
	body.sahb-page-ca .sahb-contact { margin-top: 64px; }
}

/* Chapeau : plus grand, pour mieux tenir la largeur sans allonger les lignes */
body.sahb-page-ca .sahb-intro {
	max-width: 52rem;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	line-height: 1.5;
}
