/* ==========================================================================
   ADNSP — Correctifs de mise en page (v1.0.0)
   Complète « ADNSP – Contenus éditables » sans le modifier.
   ========================================================================== */

/* ---------- 1. Bandeau de tête : texte aligné à gauche, partout ----------
   Pages, articles et archives : le titre et le chapô partent du même bord
   gauche que le contenu, quelle que soit la mise en page du bloc Groupe.
   (Bandeau à deux colonnes de la page Partenaires laissé tel quel.) */
body.adnsp-inner .adn-pagehead:not(.adnp-hero){
	display:flex!important;flex-direction:column!important;
	align-items:stretch!important;justify-content:center;
	grid-template-columns:none!important;
	margin-left:0!important;margin-right:0!important;
}
body.adnsp-inner .adn-pagehead:not(.adnp-hero)>*{
	grid-column:auto!important;align-self:stretch!important;
	width:100%!important;max-width:none!important;
	margin-left:0!important;margin-right:0!important;
}
body.adnsp-inner .adn-pagehead:not(.adnp-hero) :is(h1,.adna-title,.adn-lead,.adna-lead,.wp-block-buttons){
	margin-left:0!important;margin-right:0!important;text-align:left!important;
}

/* ---------- 2. Articles : même largeur et même grille que les pages ---------- */
body.adnsp-article .adna-sections{font-size:var(--t-body,18px);line-height:1.7}
body.adnsp-article .adna-sections>.adn-section{
	margin:0!important;padding:88px var(--gut);
	display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:64px;align-items:start;
	border-bottom:1px solid var(--line);
}
body.adnsp-article .adna-sections>.adn-section.is-alt{background:var(--sky-0)}
body.adnsp-article .adna-sections>.adn-section>p{font-size:var(--t-body,18px)}

/* Fin d'article : partage + appel à l'action, sur toute la largeur */
body.adnsp-article .adna-sections>.adna-end{border-bottom:0;padding-top:56px;padding-bottom:0}
body.adnsp-article .adna-end>.adna-share{margin-top:0!important}
body.adnsp-article .adna-end>.adna-cta{margin-top:40px!important}

@media (max-width:1024px){
	body.adnsp-article .adna-sections>.adn-section{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:781px){
	body.adnsp-article .adna-sections>.adn-section{padding:56px 22px}
	body.adnsp-article .adna-sections>.adna-end{padding-top:40px;padding-bottom:0}
}
