/* ==========================================================================
   Accueil (new-accueil, page-id-198584) — corrections d'affichage (30/10/2026)
   Chargée en pied de page, après styles.css et css/correctifs-mobile.css.
   « #main#main » : double identifiant volontaire pour passer devant les sélecteurs très longs
   de styles.css (html.is-home body.is-home #main > …).
   ========================================================================== */

/* 1. « Les chiffres clés du secteur », de 641 à 1480 px (tablette paysage, portables, Mac)
   La section, son conteneur et la grille des tuiles étaient bloqués à la hauteur de l'écran
   avec overflow: hidden : les dernières tuiles (« Transition », « Usages & passagers ») étaient
   coupées, et à 1024 px les sources débordaient sur la section Groupements.
   La section garde au moins la hauteur de l'écran mais peut grandir. Au-delà de 1480 px, tout
   tient déjà : rien ne change. */
@media (min-width: 641px) and (max-width: 1480px) {
	html body.page-id-198584 #main#main > #dsKpiSection {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		min-height: var(--snap-frame, 100vh) !important;
	}
	/* Section Groupements (même blocage) : à 1024 px elle débordait sur « Nos domaines d'action ». */
	html body.page-id-198584 #main#main > .impactSection {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		min-height: var(--snap-frame, 100vh) !important;
	}
	html body.page-id-198584 #main#main .impactSection > .container,
	html body.page-id-198584 #main#main .impactSection .groupementsChoiceBoard {
		height: auto !important;
		max-height: none !important;
	}
	html body.page-id-198584 #main#main #dsKpiSection > *,
	html body.page-id-198584 #main#main #dsKpiSection .dsKpiLayout {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
	}
}

/* 2. Mobile (≤ 640 px)
   - Section Groupements : bloquée à la hauteur de l'écran, la fiche du groupement choisi
     (« Rôle », « Actions principales », « Membres représentés ») passait sous le titre
     « Nos domaines d'action ».
   - Textes trop petits (7 à 10,5 px) : libellés de la fiche, sources des chiffres clés,
     dates et étiquettes des publications, bouton « Voir toutes les publications ». */
@media (max-width: 640px) {
	html body.page-id-198584 #main#main > .impactSection {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		min-height: var(--mobile-vh, 100svh) !important;
	}
	html body.page-id-198584 #main#main .groupementsChoiceBoard {
		height: auto !important;
		max-height: none !important;
	}
	html body.page-id-198584 #main#main .groupementsMobileV3,
	html body.page-id-198584 #main#main .groupementsMobileLayout {
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
		height: auto !important;
	}
	html body.page-id-198584 #main#main .groupementsMobileDetail {
		height: auto !important;
	}
	html body.page-id-198584 #main#main .groupementsMobileDetail__block h4,
	html body.page-id-198584 #main#main .dsKpiSourcePill span {
		font-size: 11px !important;
	}
	html body.page-id-198584 #main#main [class*="homePublication"] em,
	html body.page-id-198584 #main#main [class*="homePublication"] span,
	html body.page-id-198584 #main#main .homePublicationTags .tag,
	html body.page-id-198584 #main#main .homePublicationHeadActions .btn {
		font-size: max(11px, 1em) !important;
	}
}
