/* Encarts de couleur et encarts d'information des fiches : même taille de texte, même marge, texte centré verticalement. */
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .banner-layers { display: flex; align-items: center; }
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .text-box {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 24px !important;
	transform: none !important;
}
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .text-box-content { width: 100%; }
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .text-inner { padding: 0 !important; font-size: 17px !important; }
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .text-inner :is(h1, h2, h3, h4, h5, h6, p, div, span, em, strong) {
	font-size: 17px !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.page-wrapper .banner.ebtp-encart .text-inner :is(h1, h2, h3, h4, h5, h6, p, div) { font-weight: 400; margin: 0 0 8px; }
.page-wrapper .banner.ebtp-fiche__info .text-inner :is(h1, h2, h3, h4, h5, h6, p, div) { font-weight: 700; margin: 0; }
.page-wrapper .banner:is(.ebtp-encart, .ebtp-fiche__info) .text-inner > :last-child { margin-bottom: 0; }
/* Bouton dans un encart (« Voir la fiche ») : pleine largeur, sous le texte. */
.page-wrapper .banner.ebtp-encart .button { margin: 10px 0 0; }
.page-wrapper .banner.ebtp-encart .divider { display: none; }

/* ---------- Une seule marge gauche pour le texte de tous les bandeaux ----------
   Titre principal, barres au-dessus des tableaux, encarts de couleur, encarts « Formation initiale ». */
:root { --ebtp-bandeau-marge: 28px; }
.page-wrapper .banner:is(.ebtp-bandeau-titre, .ebtp-barre) .banner-layers { display: flex; align-items: center; }
.page-wrapper .banner:is(.ebtp-bandeau-titre, .ebtp-barre) .text-box {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	transform: none !important;
}
.page-wrapper .banner:is(.ebtp-bandeau-titre, .ebtp-barre, .ebtp-encart, .ebtp-fiche__info) .text-box { padding: 0 var(--ebtp-bandeau-marge) !important; }
.page-wrapper .banner:is(.ebtp-bandeau-titre, .ebtp-barre) .text-box-content { width: 100%; }
.page-wrapper .banner:is(.ebtp-bandeau-titre, .ebtp-barre) .text-inner { padding: 0 !important; text-align: left !important; }
.page-wrapper .banner.ebtp-bandeau-titre .text-inner > :last-child { margin-bottom: 0; }

/* Barres de titre et bandeaux de titre : ils grandissent si le texte est plus long, au lieu de le couper. */
.page-wrapper .banner:is(.ebtp-barre, .ebtp-bandeau-titre) { padding-top: 0 !important; height: auto !important; min-height: var(--ebtp-h, 60px); display: flex; }
.page-wrapper .banner:is(.ebtp-barre, .ebtp-bandeau-titre) > .banner-inner { position: relative !important; inset: auto !important; flex: 1; display: flex; }
.page-wrapper .banner:is(.ebtp-barre, .ebtp-bandeau-titre) .banner-bg { position: absolute !important; inset: 0 !important; }
.page-wrapper .banner:is(.ebtp-barre, .ebtp-bandeau-titre) .banner-layers { position: relative !important; inset: auto !important; flex: 1; padding: 12px 0; }
/* Titre du bandeau : pas de marge parasite, pour être bien centré verticalement. */
.page-wrapper .banner.ebtp-bandeau-titre .text-inner > :is(h1, h2, h3, h4, p):only-child,
.page-wrapper .banner.ebtp-bandeau-titre .text-inner > :last-child { margin-bottom: 0 !important; }
.page-wrapper .banner.ebtp-bandeau-titre .text-inner > :first-child { margin-top: 0 !important; }
.page-wrapper .banner.ebtp-bandeau-titre .text-inner > p:empty { display: none; }
/* L'intérieur du bandeau occupe toute sa hauteur (Flatsome lui impose height:100 %), pour centrer le titre verticalement. */
.page-wrapper .banner:is(.ebtp-barre, .ebtp-bandeau-titre) > .banner-inner { height: auto !important; align-self: stretch; }
