/*
 * Socle SFHH — charte et correctifs de mise en page
 * UK Design · version 1.16.0
 *
 * Ce fichier verrouille ce qui ne doit pas pouvoir se dérégler depuis Elementor.
 * Les réglages esthétiques ordinaires (couleurs d'un bloc, taille d'un titre)
 * restent modifiables dans l'éditeur : ils ne sont pas repris ici.
 */

:root {
	--sfhh-ink: #1E1A17;
	--sfhh-red: #8A1F1A;
	--sfhh-red-dark: #5E120F;
	--sfhh-gold: #E8C08A;
	--sfhh-ivory: #F6F1E8;
	--sfhh-muted: #6B625A;
	--sfhh-muted-2: #4A423B;
	--sfhh-line: #EAE2D4;
	--sfhh-line-2: #D9CFBF;
	--sfhh-sand: #A89C8E;
	--sfhh-serif: "Cormorant Garamond", Georgia, serif;
	--sfhh-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ───────────────────────── 1. Mise en page des rangées ─────────────────────
 * Deux colonnes à 50 % plus un écart de 64 px dépassent la largeur du
 * conteneur : sans cette règle, la seconde colonne passe dessous. En
 * « nowrap », les colonnes se compriment et restent côte à côte.
 * Les rangées qui doivent réellement se replier portent « sfhh-wrap ».
 */
@media (min-width: 1025px) {
	.e-con.sfhh-row {
		flex-wrap: nowrap;
	}

	.e-con.sfhh-row.sfhh-wrap {
		flex-wrap: wrap;
	}

	/* Sans min-width, un enfant flex refuse de descendre sous la largeur de son
	   contenu et déborde — classique avec un titre long ou une image. */
	.e-con.sfhh-col,
	.e-con.sfhh-row > .e-con {
		min-width: 0;
	}
}

/* Sous 1024 px, tout repasse en colonne pleine largeur. */
@media (max-width: 1024px) {
	.e-con.sfhh-row {
		flex-direction: column;
		flex-wrap: wrap;
	}

	.e-con.sfhh-col {
		width: 100%;
	}
}

/* ───────────────────────── 2. Titres de page ───────────────────────────────
 * Le thème Hello ajoute le titre de la page au-dessus du contenu Elementor.
 * Les pages du socle ont leur propre titre dans la maquette.
 */
.elementor-page .page-header,
.elementor-page > .entry-header,
body.page.elementor-page .entry-title {
	display: none;
}

/* ───────────────────────── 3. Typographie ──────────────────────────────────*/
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--sfhh-serif);
	letter-spacing: -0.01em;
}

.elementor-widget-text-editor,
.elementor-widget-icon-list {
	font-family: var(--sfhh-sans);
}

/* Les césures évitent les débordements sur les longs mots composés
   (« hospitalo-universitaire », « Panthéon-Sorbonne »). */
.sfhh-col p,
.sfhh-col .elementor-heading-title {
	overflow-wrap: break-word;
	hyphens: auto;
}

/* ───────────────────────── 4. Boutons ─────────────────────────────────────*/
.elementor-button {
	font-family: var(--sfhh-sans);
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

/* ───────────────────────── 5. Images ──────────────────────────────────────*/
.sfhh-col img {
	max-width: 100%;
	height: auto;
}

/* Si une image a perdu sa source, on le voit tout de suite au lieu
   de découvrir un vide à la relecture. */
.elementor-widget-image img[src*="placeholder.png"] {
	outline: 2px dashed var(--sfhh-red);
	outline-offset: 2px;
}

/* ───────────────────────── 5 bis. Bandeau des partenaires ─────────────────
 * Les logos fournis n'ont ni le même format ni la même hauteur : sans
 * contrainte, la carte de l'EHESP fait 250 px quand celle de l'ANFH en fait 101.
 * On sélectionne la rangée par son contenu — une carte dont l'enfant direct est
 * un widget image pointant vers un fichier « logo- ».
 */
.e-con:has(> .e-con > .elementor-widget-image img[src*="/logo-"]) > .e-con {
	min-height: 92px;
	justify-content: center;
	align-items: center;
}

/* Quatre cartes par rangée : 25 % moins la part d'écart (3 × 14 px répartis
   sur 4 cartes), sinon la quatrième tombe à la ligne suivante. */
@media (min-width: 1025px) {
	.e-con:has(> .e-con > .elementor-widget-image img[src*="/logo-"]) > .e-con {
		width: calc(25% - 11px);
	}
}

.e-con:has(> .e-con > .elementor-widget-image img[src*="/logo-"]) img {
	max-height: 54px;
	width: auto;
	object-fit: contain;
}

/* ───────────────────────── 6. Formulaire d'inscription ────────────────────*/
.elementor-field-group .elementor-field {
	font-family: var(--sfhh-sans);
	border-radius: 10px;
}

.elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.45;
}

.elementor-field-type-acceptance input[type="checkbox"] {
	margin-top: 3px;
	flex: none;
	accent-color: var(--sfhh-red);
}

/* ───────────────────────── 6 bis. En-tête ────────────────────────────────
 * Logo rond, nom de l'association à côté, boutons compacts : identique à la
 * maquette HTML validée.
 */
.sfhh-logo img,
[data-elementor-type="header"] .elementor-widget-theme-site-logo img,
[data-elementor-type="footer"] .elementor-widget-image:first-child img[src*="logo-sfhh"] {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}

[data-elementor-type="header"] .elementor-button {
	padding: 11px 18px;
	font-size: 14px;
	line-height: 1.2;
}

[data-elementor-type="header"] .elementor-button .elementor-button-icon {
	font-size: 13px;
}

/* Colonnes à largeur naturelle, comme la maquette (flex, space-between) :
   le menu prend la place restante et ne se replie jamais sur plusieurs lignes. */
@media (min-width: 1025px) {
	[data-elementor-type="header"] .e-con-inner > .e-con > .e-con,
	[data-elementor-type="header"] .sfhh-row > .e-con {
		width: auto !important;
		flex: 0 1 auto;
		min-width: 0;
	}

	[data-elementor-type="header"] .e-con:has(> .elementor-widget-nav-menu) {
		flex: 1 0 auto !important;
		justify-content: center;
	}

	[data-elementor-type="header"] .e-con:has(> .elementor-widget-button) {
		flex: 0 0 auto !important;
		flex-wrap: nowrap;
	}

	[data-elementor-type="header"] .elementor-nav-menu--main > .elementor-nav-menu {
		flex-wrap: nowrap;
		gap: 34px;
	}

	[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item {
		white-space: nowrap;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media (min-width: 1025px) and (max-width: 1280px) {
	[data-elementor-type="header"] .elementor-nav-menu--main > .elementor-nav-menu {
		gap: 22px;
	}
}

[data-elementor-type="header"] .sfhh-brand .elementor-widget-heading:first-child .elementor-heading-title {
	white-space: nowrap;
}

@media (max-width: 1300px) {
	[data-elementor-type="header"] .sfhh-brand .elementor-widget-heading + .elementor-widget-heading {
		display: none;
	}
}

/* ───────────────────────── 6 ter. Pied de page ───────────────────────────*/
/* Logo rond de 46 px, quelle que soit la version du modèle en place. */
[data-elementor-type="footer"] img[src*="logo-sfhh"] {
	width: 46px !important;
	height: 46px !important;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}

[data-elementor-type="footer"] > .e-con,
.sfhh-footer {
	background-color: var(--sfhh-ink);
}

[data-elementor-type="footer"] .elementor-icon-list-icon {
	display: none;
}

[data-elementor-type="footer"] .elementor-icon-list-text,
[data-elementor-type="footer"] .elementor-widget-text-editor a {
	color: var(--sfhh-line-2);
	text-decoration: none;
	padding-left: 0 !important;
}

[data-elementor-type="footer"] a:hover .elementor-icon-list-text,
[data-elementor-type="footer"] .elementor-widget-text-editor a:hover {
	color: var(--sfhh-gold);
}

/* ───────────────────────── 6 quater. Page d'accueil ──────────────────────
 * Ajustements faits ici et non dans la page : le contenu de l'accueil a déjà
 * été retouché dans Elementor et ne doit pas être réécrit.
 * Le grand visuel est la première section de la page.
 */
.home [data-elementor-type="wp-page"] > .e-con:first-child {
	text-align: center;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child .e-con {
	align-items: center;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title,
.home [data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor {
	text-align: center;
	margin-inline: auto;
}

/* Titre sur deux lignes équilibrées. */
.home [data-elementor-type="wp-page"] > .e-con:first-child h1.elementor-heading-title {
	max-width: 900px;
	text-wrap: balance;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor {
	max-width: 680px;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child .e-con:has(> .elementor-widget-button) {
	justify-content: center;
}

/* Second bouton : contour blanc, lisible sur la photo. */
.home [data-elementor-type="wp-page"] > .e-con:first-child a.elementor-button[href*="journee-etude"] {
	background-color: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child a.elementor-button[href*="journee-etude"]:hover {
	background-color: #fff !important;
	color: var(--sfhh-ink) !important;
}

/* « Toutes les actualités » et « Tous nos partenaires » : liens texte. */
.home a.elementor-button[href$="/actualites/"],
.home a.elementor-button[href$="/partenaires/"] {
	background: none !important;
	border: 0 !important;
	padding: 4px 0 !important;
	color: var(--sfhh-red) !important;
	font-weight: 600;
	border-radius: 0;
}

.home a.elementor-button[href$="/actualites/"] .elementor-button-text::after,
.home a.elementor-button[href$="/partenaires/"] .elementor-button-text::after {
	content: " →";
}

.home a.elementor-button[href$="/actualites/"]:hover,
.home a.elementor-button[href$="/partenaires/"]:hover {
	color: var(--sfhh-red-dark) !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Section Concours : photo recadrée avec pastille « 2026 », liste à filets.
   La section est reconnue à son lien vers les lauréats. */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con:has(> .e-con > .elementor-widget-icon-list) {
	align-items: center;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con:has(> .elementor-widget-image) {
	position: relative;
	min-height: 420px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--sfhh-ink);
	align-self: center;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con > .elementor-widget-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con > .elementor-widget-image * {
	height: 100%;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con > .elementor-widget-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	border-radius: 0;
	transition: transform 0.5s;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con:has(> .elementor-widget-image):hover img {
	transform: scale(1.04);
}

/* Pastille « 2026 » : portée par le widget image, car Elementor réserve
   les ::before et ::after des conteneurs à ses calques de fond. */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con > .elementor-widget-image::before {
	content: "2026";
	position: absolute;
	top: auto;
	right: auto;
	left: 24px;
	bottom: 24px;
	width: auto;
	height: auto;
	z-index: 2;
	padding: 14px 128px 14px 18px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
	font: 700 40px/1 var(--sfhh-serif);
	color: var(--sfhh-red);
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con > .elementor-widget-image::after {
	content: "Le palmarès\A est en ligne";
	white-space: pre;
	position: absolute;
	top: auto;
	right: auto;
	left: 138px;
	bottom: 40px;
	width: auto;
	height: auto;
	z-index: 3;
	font: 600 14px/1.3 var(--sfhh-sans);
	color: var(--sfhh-ink);
}

/* Liste : filets haut et bas, flèche rouge à droite, sans chevron. */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-items {
	border-top: 1px solid var(--sfhh-line);
	margin-top: 10px;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid var(--sfhh-line);
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-item a {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	color: var(--sfhh-ink);
	font-weight: 600;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-icon {
	display: none;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-text {
	padding: 0 !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-item a::after {
	content: "→";
	color: var(--sfhh-red);
	transition: transform 0.15s;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--sfhh-red);
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .elementor-icon-list-item a:hover::after {
	transform: translateX(4px);
}

@media (max-width: 1024px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a[href*="/laureats/"]) .e-con:has(> .elementor-widget-image) {
		min-height: 320px;
		width: 100%;
	}
}

/* Bloc d'inscription : étiquettes en capitales, lien de confidentialité doré. */
#inscription .elementor-field-label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
	font-weight: 600;
}

#inscription .elementor-field-type-acceptance a,
#inscription .elementor-widget-text-editor a {
	color: var(--sfhh-gold);
}

/* ═══════════════════════ 9. Version 1.4 — fidélité à la maquette HTML ═══════════════════════ */

/* 9.1 En-tête collant, comme la maquette */
[data-elementor-type="header"] {
	position: sticky;
	top: 0;
	z-index: 40;
}

@media (min-width: 783px) {
	.admin-bar [data-elementor-type="header"] {
		top: 32px;
	}
}

[data-elementor-type="header"] > .e-con {
	background-color: rgba(246, 241, 232, 0.96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #E6DDCD;
}

/* Bloc marque : logo rond 58 px, « SFHH », sous-titre en capitales */
[data-elementor-type="header"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]),
[data-elementor-type="footer"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
}

[data-elementor-type="header"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) {
	gap: 14px !important;
}

[data-elementor-type="header"] .e-con > .elementor-widget-image:has(img[src*="logo-sfhh"]) {
	flex: 0 0 58px;
	width: 58px !important;
	max-width: 58px;
}

[data-elementor-type="header"] img[src*="logo-sfhh"] {
	width: 58px !important;
	height: 58px !important;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}

[data-elementor-type="header"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) > .e-con {
	flex: 1 1 auto;
	min-width: 0;
	gap: 2px !important;
}

[data-elementor-type="header"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title {
	font-family: var(--sfhh-sans);
	font-size: 11.5px;
	line-height: 1.15;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--sfhh-muted);
	white-space: normal;
}

/* Menu : 15 px, graisse 600, sans soulignement, chevrons sur les entrées à méga-menu */
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item {
	font-family: var(--sfhh-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--sfhh-ink);
	padding-top: 32px !important;
	padding-bottom: 32px !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item::before,
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item::after {
	display: none !important;
}

[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item:hover,
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item.elementor-item-active,
[data-elementor-type="header"] .elementor-nav-menu--main li.sfhh-open > .elementor-item {
	color: var(--sfhh-red);
}

.sfhh-chev {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}

li.sfhh-open > a .sfhh-chev {
	transform: rotate(180deg);
}

/* Boutons : contour encre 1,5 px / rouge plein, icône à 10 px du texte */
[data-elementor-type="header"] .elementor-button .elementor-button-content-wrapper {
	gap: 10px;
	align-items: center;
}

[data-elementor-type="header"] .elementor-button .elementor-button-icon {
	margin: 0 !important;
	font-size: 16px;
}

[data-elementor-type="header"] a.elementor-button[href*="/contact/"] {
	border: 1.5px solid var(--sfhh-ink) !important;
	background: transparent !important;
	color: var(--sfhh-ink) !important;
}

[data-elementor-type="header"] a.elementor-button[href*="/contact/"]:hover {
	background: var(--sfhh-ink) !important;
	color: #fff !important;
}

[data-elementor-type="header"] a.elementor-button[href*="#inscription"],
[data-elementor-type="header"] a.elementor-button[href*="/devenir-membre/"] {
	border: 1.5px solid transparent;
}

/* 9.2 Méga-menu */
.sfhh-mega {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 45;
	background: #fff;
	border-bottom: 1px solid #E6DDCD;
	box-shadow: 0 24px 50px -20px rgba(30, 26, 23, 0.35);
	text-align: left;
}

.sfhh-mega.sfhh-open {
	display: block;
	animation: sfhh-mega-in 0.18s ease-out;
}

@keyframes sfhh-mega-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
	.sfhh-mega,
	.sfhh-chev {
		display: none !important;
	}
}

.sfhh-mega .e-con-inner > .e-con {
	display: grid !important;
	grid-template-columns: 1.1fr 1fr 1fr 1.3fr;
	gap: 40px !important;
	align-items: start !important;
}

.sfhh-mega .e-con-inner > .e-con > .e-con {
	width: auto !important;
	min-width: 0;
}

.sfhh-mega .elementor-widget-heading div.elementor-heading-title {
	font-weight: 600;
}

.sfhh-mega .elementor-widget-text-editor p {
	margin: 0;
}

.sfhh-mega .elementor-icon-list-items {
	margin: 0;
}

.sfhh-mega .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
}

.sfhh-mega .elementor-icon-list-item a {
	display: block;
	width: 100%;
	padding: 8px 0;
	border-bottom: 1px solid var(--sfhh-line);
	transition: padding 0.15s;
}

.sfhh-mega .elementor-icon-list-item a:hover {
	padding-left: 6px;
}

.sfhh-mega .elementor-icon-list-text {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: var(--sfhh-ink);
	padding: 0 !important;
}

.sfhh-mega .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--sfhh-red);
}

.sfhh-mega .elementor-icon-list-icon {
	display: none;
}

/* Tuile photo avec légende en surimpression */
.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image) {
	position: relative;
	height: 190px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--sfhh-ink);
	padding: 0 !important;
}

.sfhh-mega .e-con-inner > .e-con > .e-con > .elementor-widget-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.sfhh-mega .e-con-inner > .e-con > .e-con > .elementor-widget-image a,
.sfhh-mega .e-con-inner > .e-con > .e-con > .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	opacity: 0.92;
	transition: transform 0.6s, opacity 0.3s;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image):hover img {
	transform: scale(1.05);
	opacity: 1;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image) > .e-con {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto !important;
	padding: 18px 20px !important;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
	pointer-events: none;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image) > .e-con .elementor-heading-title {
	font-size: 22px;
	line-height: 1.1;
	color: #fff;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image) > .e-con p {
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}

/* Encart « Nouveau numéro » (méga-menu Revue) */
.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .e-con > .elementor-widget-image) > .e-con {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 18px !important;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .e-con > .elementor-widget-image) .elementor-widget-image {
	flex: 0 0 96px;
	width: 96px !important;
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .e-con > .elementor-widget-image) img {
	width: 96px;
	height: 124px;
	object-fit: cover;
	border-radius: 6px;
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

.sfhh-mega .e-con-inner > .e-con > .e-con:has(> .e-con > .elementor-widget-image) a {
	color: var(--sfhh-red);
	font-weight: 600;
}

/* 9.3 Chiffres clés : quatre pavés de même taille */
.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con:has(> .e-con > .e-con > .elementor-widget-heading:first-child + .elementor-widget-text-editor) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-auto-rows: 1fr;
	gap: 16px !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con:has(> .e-con > .e-con > .elementor-widget-heading:first-child + .elementor-widget-text-editor) > .e-con {
	display: contents !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con:has(> .e-con > .e-con > .elementor-widget-heading:first-child + .elementor-widget-text-editor) > .e-con > .e-con {
	width: auto !important;
	height: 100%;
	margin: 0 !important;
	justify-content: flex-start;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con > .e-con > .e-con > .elementor-widget-text-editor p {
	margin: 0 0 8px;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con > .e-con > .e-con > .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

@media (max-width: 560px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a.elementor-button[href*="/presentation/"]) .e-con:has(> .e-con > .e-con > .elementor-widget-heading:first-child + .elementor-widget-text-editor) {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
}

/* 9.4 La Revue : cartes cliquables avec pictogramme, comme la maquette */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
	position: relative;
	padding: 22px !important;
	gap: 8px !important;
	transition: border-color 0.15s, background-color 0.15s;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button):hover {
	border-color: rgba(255, 255, 255, 0.3) !important;
	background-color: rgba(255, 255, 255, 0.09) !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-heading::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin-bottom: 22px;
	background: var(--sfhh-line-2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v16H6.5A2.5 2.5 0 0 0 4 21.5z'/%3E%3Cpath d='M8 7h7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v16H6.5A2.5 2.5 0 0 0 4 21.5z'/%3E%3Cpath d='M8 7h7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button):nth-child(2) > .elementor-widget-heading::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 9h15l-1.6 10.2a2 2 0 0 1-2 1.8H8.1a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M8.5 9 12 3.5 15.5 9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 9h15l-1.6 10.2a2 2 0 0 1-2 1.8H8.1a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M8.5 9 12 3.5 15.5 9'/%3E%3C/svg%3E");
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button):nth-child(3) > .elementor-widget-heading::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19.5 8.5a2.1 2.1 0 0 0-3-3L5 17z'/%3E%3Cpath d='M13.5 20H20'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19.5 8.5a2.1 2.1 0 0 0-3-3L5 17z'/%3E%3Cpath d='M13.5 20H20'/%3E%3C/svg%3E");
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-heading .elementor-heading-title {
	font-family: var(--sfhh-sans) !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0;
	line-height: 1.3;
	color: #fff;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-text-editor p {
	margin: 0;
}

/* Le lien « Consulter » couvre toute la carte et reste lisible par les lecteurs d'écran. */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-button {
	position: static;
	margin: 0;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-button a.elementor-button {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	padding: 0;
	border-radius: 14px;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-button a.elementor-button:focus-visible {
	opacity: 1;
	background: transparent !important;
	color: transparent !important;
	outline: 2px solid var(--sfhh-gold);
}

/* Tablette : la couverture passe au-dessus, le texte et les cartes prennent toute la largeur */
@media (max-width: 1024px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) > .e-con-inner > .e-con {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 40px !important;
	}

	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) > .e-con-inner > .e-con > .e-con {
		width: 100% !important;
		max-width: 100% !important;
	}

	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) > .e-con-inner > .e-con > .e-con:has(> .elementor-widget-image) {
		align-items: center !important;
	}

	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) > .e-con-inner > .e-con > .e-con > .elementor-widget-image img {
		width: 260px;
		max-width: 70vw;
	}
}

/* Ligne « Groupe LEH » */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-image img[src*="logo-leh"]) {
	flex-direction: row !important;
	align-items: center !important;
	gap: 16px !important;
	margin-top: 10px;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con > .elementor-widget-image:has(img[src*="logo-leh"]) {
	flex: 0 0 auto;
	width: auto !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) img[src*="logo-leh"] {
	height: 40px;
	width: auto !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-image img[src*="logo-leh"]) p {
	margin: 0;
}

/* 9.5 Pied de page : logo rond 46 px sur pastille blanche, nom sur deux lignes */
[data-elementor-type="footer"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) {
	gap: 12px !important;
	margin-bottom: 4px;
}

[data-elementor-type="footer"] .e-con > .elementor-widget-image:has(img[src*="logo-sfhh"]) {
	flex: 0 0 46px;
	width: 46px !important;
	max-width: 46px;
}

[data-elementor-type="footer"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) > .elementor-widget-heading {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}

[data-elementor-type="footer"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) .elementor-heading-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

/* ═══════════════════════ 10. Version 1.5 ═══════════════════════ */

/* 10.1 Pied de page : logo et nom en une seule image */
[data-elementor-type="footer"] img[src*="sfhh-pied-de-page"] {
	display: block;
	width: 289px !important;
	max-width: 100%;
	height: auto !important;
	border-radius: 0;
	background: none;
}

/* Ancienne version du pied de page (logo + titre), tant que le modèle n'est pas mis à jour */
[data-elementor-type="footer"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) {
	width: 100% !important;
	max-width: 100%;
	align-self: stretch;
}

/* 10.1 bis En-tête sur tablette et mobile : une seule ligne, marque à gauche, menu à droite
   (comme la maquette, les deux boutons cèdent la place au menu repliable). */
@media (max-width: 1024px) {
	[data-elementor-type="header"] .e-con.sfhh-row,
	[data-elementor-type="header"] .e-con-inner > .e-con {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		min-height: 76px;
	}

	[data-elementor-type="header"] .e-con.sfhh-col,
	[data-elementor-type="header"] .e-con-inner > .e-con > .e-con {
		width: auto !important;
		flex: 0 1 auto;
	}

	[data-elementor-type="header"] .e-con:has(> .elementor-widget-nav-menu) {
		flex: 0 0 auto !important;
		order: 3;
	}

	[data-elementor-type="header"] .e-con:has(> .elementor-widget-button) {
		display: none !important;
	}

	[data-elementor-type="header"] .e-con:has(> .elementor-widget-image img[src*="logo-sfhh"]) .elementor-widget-heading + .elementor-widget-heading {
		display: none;
	}
}

@media (max-width: 560px) {
	[data-elementor-type="header"] img[src*="logo-sfhh"] {
		width: 48px !important;
		height: 48px !important;
	}

	[data-elementor-type="header"] .e-con > .elementor-widget-image:has(img[src*="logo-sfhh"]) {
		flex-basis: 48px;
		width: 48px !important;
		max-width: 48px;
	}
}

/* 10.2 La Revue : trois cartes en grille régulière, une colonne sur mobile */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .e-con > .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px !important;
	align-items: stretch !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .e-con > .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .e-con {
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-text-editor {
	color: var(--sfhh-line-2);
	font-size: 13.5px;
	line-height: 1.55;
}

@media (max-width: 767px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .e-con > .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
		grid-template-columns: 1fr;
	}

	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
		height: auto;
	}

	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) > .elementor-widget-heading::before {
		margin-bottom: 14px;
	}
}

/* Ligne « Groupe LEH » : logo à gauche, phrase sur toute la largeur restante */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-image img[src*="logo-leh"]) {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	margin-top: 18px;
	padding-top: 22px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .elementor-widget-image img[src*="logo-leh"]) > .elementor-widget-text-editor {
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sfhh-line-2);
}

@media (max-width: 767px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) img[src*="logo-leh"] {
		height: 32px;
	}
}

/* 10.3 Bandeau de la journée d'étude : horaires et bouton côte à côte, centrés verticalement */
.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 24px !important;
}

.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) > .elementor-widget {
	width: auto !important;
	margin: 0 !important;
}

.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) p {
	margin: 0;
	white-space: nowrap;
}

.e-con:has(> .e-con > .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
	align-items: center !important;
}

@media (max-width: 1024px) {
	.e-con:has(> .e-con > .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		column-gap: 24px !important;
		row-gap: 18px !important;
	}

	.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
		width: 100% !important;
		justify-content: flex-start !important;
	}
}

@media (max-width: 767px) {
	.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
	}

	.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) p {
		white-space: normal;
	}
}

/* ═══════════════════════ 11. Pages intérieures (version 1.6) ═══════════════════════ */

/* 11.1 Bandeau de page */
.sfhh-phero .sfhh-phero-texte {
	gap: 12px !important;
}

.sfhh-phero h1.elementor-heading-title {
	max-width: 18ch;
	line-height: 1 !important;
	letter-spacing: -0.015em;
}

.sfhh-phero .elementor-widget-text-editor:last-child {
	max-width: 62ch;
}

.sfhh-phero .elementor-widget-text-editor p {
	margin: 0;
}

.sfhh-phero .elementor-widget-text-editor:first-child a {
	color: var(--sfhh-line-2);
}

.sfhh-phero .elementor-widget-text-editor:first-child a:hover {
	color: #fff;
}

@media (max-width: 767px) {
	.sfhh-phero h1.elementor-heading-title {
		font-size: 40px !important;
	}
}

/* 11.2 Colonne de texte et colonne latérale de 320 px */
@media (min-width: 1025px) {
	.sfhh-page .sfhh-prose {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0;
	}

	.sfhh-page .sfhh-laterale {
		flex: 0 0 320px !important;
		width: 320px !important;
		position: sticky;
		top: 120px;
		align-self: flex-start;
	}
}

@media (max-width: 1024px) {
	.sfhh-page .sfhh-laterale {
		width: 100% !important;
	}
}

/* 11.3 Prose */
.sfhh-prose .elementor-widget-text-editor {
	font-size: 17px;
	line-height: 1.7;
}

.sfhh-prose .elementor-widget-text-editor p {
	margin: 0 0 16px;
}

.sfhh-prose .elementor-widget-text-editor > :last-child,
.sfhh-prose .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.sfhh-prose .elementor-widget-text-editor em {
	font-style: italic;
}

.sfhh-prose .elementor-widget-text-editor a {
	color: var(--sfhh-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhh-prose .elementor-widget-text-editor:not(.sfhh-people):not(.sfhh-facts) ul {
	list-style: none;
	padding-left: 0;
	margin: 0 0 20px;
}

.sfhh-prose .elementor-widget-text-editor:not(.sfhh-people):not(.sfhh-facts) ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
}

.sfhh-prose .elementor-widget-text-editor:not(.sfhh-people):not(.sfhh-facts) ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 12px;
	height: 2px;
	background: var(--sfhh-red);
}

/* Intertitres : espace avant, comme la maquette */
.sfhh-prose > .elementor-widget-heading:has(h2) {
	margin-top: 40px;
}

.sfhh-prose > .elementor-widget-heading:has(h2):first-child {
	margin-top: 0;
}

.sfhh-prose > .elementor-widget-heading:has(h4) {
	margin-top: 16px;
}

/* Ancres (#ca, #cs) : ne pas passer sous l'en-tête collant */
.sfhh-prose [id],
[data-elementor-type="wp-page"] [id] {
	scroll-margin-top: 130px;
}

/* 11.4 Sommaire en pastilles */
.sfhh-toc p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px !important;
}

.sfhh-toc a {
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sfhh-ink) !important;
	background: #fff;
	text-decoration: none !important;
	transition: border-color 0.15s, color 0.15s;
}

.sfhh-toc a:hover {
	border-color: var(--sfhh-red);
	color: var(--sfhh-red) !important;
}

/* 11.5 Fiches de personnes, deux par ligne */
.sfhh-people ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
}

.sfhh-people li {
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--sfhh-muted);
}

.sfhh-people li strong {
	display: block;
	margin-bottom: 3px;
	font-size: 15.5px;
	color: var(--sfhh-ink);
}

@media (max-width: 767px) {
	.sfhh-people ul {
		grid-template-columns: 1fr;
	}
}

/* 11.6 Grille de logos (page Partenaires) */
.sfhh-logos {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px !important;
	margin: 8px 0 24px;
}

.sfhh-logos > .e-con {
	width: auto !important;
	height: 92px;
	justify-content: center !important;
	align-items: center !important;
	padding: 14px !important;
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 12px;
}

.sfhh-logos img {
	max-height: 54px !important;
	width: auto !important;
	max-width: 100%;
	object-fit: contain;
}

@media (max-width: 767px) {
	.sfhh-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 11.7 Boutons en fin de texte */
.sfhh-boutons {
	margin-top: 24px;
}

.sfhh-boutons > .elementor-widget {
	width: auto !important;
}

/* 11.8 Encadrés de la colonne latérale */
.sfhh-encadre .elementor-heading-title {
	line-height: 1.1;
}

.sfhh-encadre .elementor-widget-text-editor p {
	margin: 0;
}

.sfhh-encadre .elementor-icon-list-items {
	margin: 0;
}

.sfhh-encadre .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
}

.sfhh-encadre .elementor-icon-list-item a {
	display: block;
	width: 100%;
	padding: 9px 0;
	border-bottom: 1px solid var(--sfhh-line);
}

.sfhh-encadre-sombre .elementor-icon-list-item a {
	border-color: #3A332E;
}

.sfhh-encadre .elementor-icon-list-icon {
	display: none;
}

.sfhh-encadre .elementor-icon-list-text {
	font-size: 14.5px !important;
	font-weight: 600 !important;
	padding: 0 !important;
}

.sfhh-encadre .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--sfhh-red) !important;
}

.sfhh-encadre-sombre .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--sfhh-gold) !important;
}

.sfhh-encadre .elementor-widget-button,
.sfhh-encadre .elementor-widget-button .elementor-button {
	width: 100%;
}

.sfhh-encadre .elementor-widget-button .elementor-button {
	justify-content: center;
}

/* 11.9 Années (palmarès, prochaine journée) */
.sfhh-year {
	margin-top: 40px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--sfhh-ink);
}

.sfhh-prose > .sfhh-year:first-child,
.sfhh-prose > .sfhh-toc + .sfhh-year {
	margin-top: 8px;
}

.sfhh-year p {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 !important;
}

.sfhh-year strong {
	font-family: var(--sfhh-serif);
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: var(--sfhh-ink);
}

.sfhh-year span {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-muted);
}

/* 11.10 Palmarès : catégories, prix en pastille, lauréats à filet */
.sfhh-palmares h3 {
	font-family: var(--sfhh-serif);
	font-weight: 600;
	font-size: 27px;
	line-height: 1.15;
	color: var(--sfhh-ink);
	margin: 28px 0 6px;
}

.sfhh-palmares h3:first-child {
	margin-top: 8px;
}

.sfhh-palmares h5 {
	display: inline-block;
	margin: 22px 0 6px;
	padding: 4px 12px;
	background: var(--sfhh-ivory);
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	font-family: var(--sfhh-sans);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	color: var(--sfhh-red);
}

.sfhh-palmares p {
	margin: 0 !important;
	padding: 14px 0;
	border-bottom: 1px solid var(--sfhh-line);
	font-size: 15.5px;
	line-height: 1.55;
}

.sfhh-palmares p strong,
.sfhh-palmares p b {
	color: var(--sfhh-ink);
}

.sfhh-palmares p.sfhh-precision {
	padding: 2px 0 6px;
	border-bottom: 0;
	font-size: 14px;
	font-style: italic;
	color: var(--sfhh-muted);
}

.sfhh-palmares blockquote {
	margin: 12px 0;
	padding: 14px 18px;
	background: var(--sfhh-ivory);
	border-left: 3px solid var(--sfhh-red);
	border-radius: 0 10px 10px 0;
	font-size: 15px;
	color: var(--sfhh-muted-2);
}

.sfhh-palmares blockquote p {
	padding: 0;
	border: 0;
}

/* 11.11 Documents à télécharger */
.sfhh-docs p {
	margin: 0 0 10px !important;
}

.sfhh-docs a {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	column-gap: 14px;
	align-items: center;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 14px;
	color: var(--sfhh-ink) !important;
	text-decoration: none !important;
	line-height: 1.35;
	transition: border-color 0.15s;
}

.sfhh-docs a::before {
	content: "";
	grid-row: span 2;
	width: 22px;
	height: 22px;
	background: var(--sfhh-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sfhh-docs a:hover {
	border-color: var(--sfhh-red);
}

.sfhh-docs a strong {
	font-weight: 600;
}

.sfhh-docs a span {
	font-weight: 400;
	font-size: 13.5px;
	color: var(--sfhh-muted);
}

/* 11.12 Actualités */
.sfhh-news {
	padding: 22px 0 !important;
	border-top: 1px solid var(--sfhh-line-2);
	gap: 18px !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

.sfhh-prose > .sfhh-news:last-of-type {
	border-bottom: 1px solid var(--sfhh-line-2);
}

.sfhh-news .sfhh-news-date {
	flex: 0 0 86px !important;
	width: 86px !important;
	gap: 6px !important;
}

.sfhh-news > .e-con:last-child {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0;
}

.sfhh-news .elementor-heading-title a {
	color: var(--sfhh-ink);
}

.sfhh-news .elementor-heading-title a:hover {
	color: var(--sfhh-red);
}

.sfhh-news .elementor-widget-text-editor p {
	margin: 0;
}

/* 11.13 Fiches de contact sur une colonne */
.sfhh-people-1 ul {
	grid-template-columns: 1fr;
}

.sfhh-people li a {
	color: var(--sfhh-red);
	text-decoration: none;
	font-weight: 600;
}

/* 11.14 Pages sans colonne latérale (mentions légales, confidentialité) */
.sfhh-prose-seule {
	max-width: 820px;
}

/* 11.15 Couverture dans un encadré */
.sfhh-encadre-image img {
	width: 100%;
	border-radius: 8px;
	margin-bottom: 6px;
}

/* 11.16 Journée d'étude : bandeau d'informations clés */
.sfhh-keyline {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
	background: var(--sfhh-ink);
	border-radius: 16px;
	padding: 22px 26px;
	margin-bottom: 14px;
}

.sfhh-keyline p {
	margin: 0 !important;
}

.sfhh-keyline strong {
	display: block;
	font-family: var(--sfhh-serif);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.sfhh-keyline span {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-gold);
}

/* 11.17 Programme horaire
 * Verrouillé : l'éditeur de texte d'Elementor retire les <span> qui regroupaient
 * nom / fonction / titre. La grille ne dépend donc plus de ce regroupement :
 * l'heure (<strong>) occupe la 1re colonne, tout le reste la 2de, quelle que soit
 * la structure. Une ligne sans heure (retour à la ligne dans l'éditeur) se lit
 * comme la suite de la ligne précédente. */
.sfhh-prog p {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	column-gap: 20px;
	row-gap: 0;
	align-items: start;
	margin: 0 !important;
	padding: 18px 0;
	border-top: 1px solid var(--sfhh-line);
}

.sfhh-prog p:first-child {
	border-top: 2px solid var(--sfhh-ink);
}

.sfhh-prog p > strong {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--sfhh-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--sfhh-red);
	padding-top: 2px;
}

.sfhh-prog p > :not(strong) {
	grid-column: 2;
	min-width: 0;
}

.sfhh-prog p:not(:has(> strong)) {
	border-top: 0;
	padding-top: 0;
	margin-top: -10px !important;
}

.sfhh-prog p > br {
	display: none;
}

.sfhh-prog p > span b,
.sfhh-prog p > b {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--sfhh-ink);
}

.sfhh-prog p > span small,
.sfhh-prog p > small {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--sfhh-muted);
}

.sfhh-prog p > span em,
.sfhh-prog p > em {
	display: block;
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.5;
	font-style: italic;
	color: var(--sfhh-muted-2);
}

.sfhh-prog h6 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 34px 0 4px;
	font-family: var(--sfhh-sans);
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-muted);
}

.sfhh-prog h6::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--sfhh-line-2);
}

.sfhh-prog blockquote {
	margin: 10px 0;
	padding: 16px 18px;
	background: var(--sfhh-ivory);
	border-radius: 10px;
}

.sfhh-prog blockquote p {
	display: block;
	padding: 0;
	border: 0 !important;
	font-weight: 600;
	color: var(--sfhh-ink);
}

@media (max-width: 767px) {
	.sfhh-prog p {
		grid-template-columns: 72px minmax(0, 1fr);
		column-gap: 14px;
	}
}

/* 11.18 Informations pratiques */
.sfhh-facts ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
	background: var(--sfhh-line);
	border: 1px solid var(--sfhh-line);
	border-radius: 14px;
	overflow: hidden;
}

.sfhh-facts li {
	background: #fff;
	padding: 18px 20px;
	margin: 0 !important;
	font-size: 15.5px;
	line-height: 1.5;
}

.sfhh-facts li::before {
	display: none !important;
}

.sfhh-facts li strong {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-red);
}

@media (max-width: 767px) {
	.sfhh-facts ul {
		grid-template-columns: 1fr;
	}
}

/* 11.19 Encadré « note » (conditions d'annulation…) */
.sfhh-note {
	padding: 14px 18px;
	background: var(--sfhh-ivory);
	border-left: 3px solid var(--sfhh-red);
	border-radius: 0 10px 10px 0;
	font-size: 15px !important;
}

.sfhh-note p {
	margin: 0 !important;
}

/* ═══════════════════════ 12. Version 1.9 — accueil ═══════════════════════ */

/* 12.1 Grand visuel : photo nettement assombrie pour la lisibilité du texte */
.home [data-elementor-type="wp-page"] > .e-con:first-child::before {
	content: "" !important;
	position: absolute;
	inset: 0;
	opacity: 1 !important;
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(15, 12, 10, 0.55) 0%, rgba(15, 12, 10, 0.68) 55%, rgba(15, 12, 10, 0.86) 100%) !important;
	z-index: 0;
	pointer-events: none;
}

.home [data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner,
.home [data-elementor-type="wp-page"] > .e-con:first-child > .e-con {
	position: relative;
	z-index: 1;
}

/* 12.2 La Revue : la rangée de cartes occupe toute la largeur de sa colonne
   (sans quoi elle se réduit à la largeur de son contenu : cartes de 46 px). */
.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .e-con > .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch !important;
}

/* Entre 1025 et 1279 px, la colonne de texte est étroite : deux cartes par ligne, la troisième dessous. */
@media (min-width: 1025px) and (max-width: 1279px) {
	.home [data-elementor-type="wp-page"] > .e-con:has(a[href^="mailto:revue.sfhh"]) .e-con:has(> .e-con > .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-button) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* 12.3 Bandeau de la journée d'étude : le titre cède la place, horaires et bouton restent côte à côte */
@media (min-width: 1025px) {
	.e-con:has(> .e-con > .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) > .e-con:nth-child(2) {
		flex: 1 1 0 !important;
		min-width: 0;
		width: auto !important;
	}

	.e-con:has(> .e-con > .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) > .e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
	}
}

@media (min-width: 1025px) and (max-width: 1279px) {
	.e-con:has(> .elementor-widget-text-editor + .elementor-widget-button a[href*="journee-etude"]) p {
		white-space: normal !important;
		max-width: 210px;
		text-align: right;
	}
}

/* ═══════════════════════ 13. Devenir membre et statuts (version 1.9) ═══════════════════════ */

/* 13.1 Tableaux de tarifs */
.sfhh-tarifs table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 6px;
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 14px;
	overflow: hidden;
	font-size: 15.5px;
}

.sfhh-tarifs th,
.sfhh-tarifs td {
	padding: 13px 18px;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--sfhh-line);
	background: none;
}

.sfhh-tarifs tbody tr:last-child td {
	border-bottom: 0;
}

.sfhh-tarifs th {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-red);
	background: var(--sfhh-ivory);
}

.sfhh-tarifs th:not(:first-child),
.sfhh-tarifs td:not(:first-child) {
	text-align: right;
	white-space: nowrap;
	width: 1%;
}

.sfhh-tarifs td:not(:first-child) {
	font-family: var(--sfhh-serif);
	font-size: 21px;
	font-weight: 600;
	color: var(--sfhh-ink);
}

.sfhh-tarifs td:first-child {
	color: var(--sfhh-muted-2);
}

.sfhh-tarifs .sfhh-tarifs-note {
	margin: 8px 0 0 !important;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--sfhh-muted);
}

@media (max-width: 560px) {
	.sfhh-tarifs th,
	.sfhh-tarifs td {
		padding: 11px 12px;
	}

	.sfhh-tarifs th {
		font-size: 10.5px;
		letter-spacing: 0.06em;
	}

	.sfhh-tarifs td:not(:first-child) {
		font-size: 18px;
	}
}

/* 13.2 Formulaire d'adhésion */
.sfhh-form-adhesion {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 18px;
}

.sfhh-form-adhesion .elementor-field-group {
	margin-bottom: 14px;
}

.sfhh-form-adhesion .elementor-field-label {
	margin-bottom: 6px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-ink);
}

.sfhh-form-adhesion .elementor-field-textual,
.sfhh-form-adhesion select.elementor-field {
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--sfhh-line-2) !important;
	border-radius: 10px !important;
	background: #fff;
	font-size: 15px;
}

.sfhh-form-adhesion textarea.elementor-field {
	min-height: 0;
}

.sfhh-form-adhesion .elementor-field-textual:focus,
.sfhh-form-adhesion select.elementor-field:focus {
	border-color: var(--sfhh-red) !important;
	box-shadow: 0 0 0 3px rgba(138, 31, 26, 0.12);
	outline: none;
}

.sfhh-form-adhesion .elementor-field-type-radio .elementor-field-subgroup {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sfhh-form-adhesion .elementor-field-type-radio .elementor-field-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border: 1px solid var(--sfhh-line);
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.4;
}

.sfhh-form-adhesion .elementor-field-type-radio input {
	margin-top: 3px;
	accent-color: var(--sfhh-red);
}

.sfhh-form-adhesion .elementor-button {
	min-height: 52px;
	font-size: 16px;
}

/* 13.3 Statuts */
.sfhh-prose > .elementor-widget-heading:has(h3) {
	margin-top: 22px;
}

.sfhh-article {
	font-size: 16.5px;
	line-height: 1.7;
}

.sfhh-article ul {
	margin: 4px 0 14px !important;
}

.sfhh-signature {
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid var(--sfhh-line-2);
	font-style: italic;
}

/* ═══════════════════════ 14. Méga-menu Actualités (version 1.10) ═══════════════════════ */
.sfhh-mega[data-for="/actualites/"] .e-con-inner > .e-con {
	grid-template-columns: 1fr 1.35fr 1.05fr !important;
	align-items: stretch !important;
}

.sfhh-mega .sfhh-mega-intro .elementor-widget-text-editor a {
	color: var(--sfhh-red);
	font-weight: 600;
}

.sfhh-mega-news p {
	margin: 0 !important;
}

.sfhh-mega-news a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--sfhh-line);
	color: var(--sfhh-ink);
	transition: padding 0.15s;
}

.sfhh-mega-news p:first-child a {
	padding-top: 2px;
}

.sfhh-mega-news a:hover {
	padding-left: 6px;
}

.sfhh-mega-news small {
	display: block;
	margin-bottom: 3px;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-red);
}

.sfhh-mega-news strong {
	display: block;
	font-family: var(--sfhh-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.sfhh-mega-news a:hover strong {
	color: var(--sfhh-red);
}

/* Mini-formulaire sur fond encre */
.sfhh-mega-inscription .elementor-heading-title {
	line-height: 1.1;
}

.sfhh-mega-form .elementor-field-group {
	margin-bottom: 10px;
}

.sfhh-mega-form .elementor-field-label {
	color: var(--sfhh-line-2) !important;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 4px;
}

.sfhh-mega-form .elementor-field-textual {
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 10px !important;
	border: 0 !important;
	background: #fff;
	font-size: 14.5px;
}

.sfhh-mega-form .elementor-field-type-acceptance .elementor-field-option label {
	color: var(--sfhh-line-2);
	font-size: 12.5px;
	line-height: 1.4;
}

.sfhh-mega-form .elementor-button {
	min-height: 44px;
	font-size: 15px;
}

.sfhh-mega-form .elementor-message {
	color: #fff;
	font-size: 14px;
}

/* 14.1 Méga-menu « Qui sommes-nous ? » : carte « Devenir membre » */
.sfhh-mega-adhesion {
	align-self: stretch;
	justify-content: center;
}

.sfhh-mega-adhesion .elementor-widget-button {
	width: auto !important;
	align-self: flex-start;
}

.sfhh-mega-adhesion .elementor-widget-text-editor a {
	color: var(--sfhh-red);
	font-weight: 600;
}

.sfhh-mega-adhesion .elementor-button .elementor-button-content-wrapper {
	gap: 10px;
	align-items: center;
}

/* ═══════════════════════ 15. Actualités — module Articles (version 1.12) ═══════════════════════ */
.sfhh-liste-articles {
	width: 100% !important;
	max-width: 1280px;
	margin: 0 auto;
}

.sfhh-filtres p {
	margin-bottom: 8px !important;
}

.sfhh-filtres-bloc .sfhh-filtres p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
}

.sfhh-filtres-bloc .sfhh-filtres a {
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	padding: 8px 14px;
	font-family: var(--sfhh-sans);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sfhh-ink);
	background: #fff;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s;
}

.sfhh-filtres-bloc .sfhh-filtres a:hover {
	border-color: var(--sfhh-red);
	color: var(--sfhh-red);
}

.sfhh-filtres-bloc .sfhh-filtres-annees {
	margin-bottom: 4px !important;
}

.sfhh-filtres-label {
	font-family: var(--sfhh-sans);
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-muted);
	margin-right: 4px;
}

/* Filtre actif */
.sfhh-filtres a.sfhh-actif {
	background: var(--sfhh-ink);
	border-color: var(--sfhh-ink);
	color: #fff !important;
}

.sfhh-articles .elementor-post {
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.sfhh-articles .elementor-post:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 40px -24px rgba(30, 26, 23, 0.35);
}

.sfhh-articles .elementor-post__card {
	border: 0;
	box-shadow: none;
}

.sfhh-articles .elementor-post__thumbnail__link {
	display: block;
}

.sfhh-articles .elementor-post__thumbnail img {
	transition: transform 0.5s;
}

.sfhh-articles .elementor-post:hover .elementor-post__thumbnail img {
	transform: scale(1.04);
}

.sfhh-articles .elementor-post__badge {
	background: var(--sfhh-red) !important;
	color: #fff !important;
	font-family: var(--sfhh-sans);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	top: 14px;
	right: 14px;
}

.sfhh-articles .elementor-post__text {
	padding: 22px 24px 8px;
}

.sfhh-articles .elementor-post__title,
.sfhh-articles .elementor-post__title a {
	font-family: var(--sfhh-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--sfhh-ink);
	margin: 0 0 10px;
}

.sfhh-articles .elementor-post__title a:hover {
	color: var(--sfhh-red);
}

.sfhh-articles .elementor-post__excerpt p {
	font-family: var(--sfhh-sans);
	font-size: 15px;
	line-height: 1.55;
	color: var(--sfhh-muted);
	margin: 0;
}

.sfhh-articles .elementor-post__read-more {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--sfhh-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--sfhh-red);
}

.sfhh-articles .elementor-post__meta-data {
	padding: 10px 24px 18px;
	border-top: 1px solid var(--sfhh-line);
	font-family: var(--sfhh-sans);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-muted);
}

.sfhh-articles .elementor-post__meta-data .elementor-post-date::before {
	display: none;
}

/* Pagination */
.sfhh-articles .elementor-pagination {
	margin-top: 36px;
	font-family: var(--sfhh-sans);
	font-weight: 600;
}

.sfhh-articles .elementor-pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	color: var(--sfhh-ink);
	background: #fff;
}

.sfhh-articles .elementor-pagination .page-numbers.current {
	background: var(--sfhh-ink);
	border-color: var(--sfhh-ink);
	color: #fff;
}

/* Articles : l'en-tête de Hello (titre, date) ne doit pas s'ajouter au bandeau du modèle */
body.single-post .elementor-page > .entry-header,
body.single-post .page-header,
body.single-post .entry-title,
body.archive .page-header,
body.archive .archive-title {
	display: none;
}

/* ═══════════════════════ 16. Pop-up d'inscription (version 1.15) ═══════════════════════ */
.sfhh-popup-fenetre .dialog-widget-content {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.sfhh-popup-fenetre .dialog-message {
	padding: 0 !important;
}

.sfhh-popup > .e-con-inner > .e-con,
.sfhh-popup .sfhh-row {
	flex-wrap: nowrap !important;
	align-items: stretch !important;
}

.sfhh-popup-photo {
	min-height: 100%;
}

.sfhh-popup-photo .elementor-heading-title {
	line-height: 1.1;
}

.sfhh-popup-corps .elementor-widget-text-editor p {
	margin: 0;
}

.sfhh-popup-corps .elementor-widget-text-editor a {
	color: var(--sfhh-red);
	font-weight: 600;
}

.sfhh-popup-form .elementor-field-group {
	margin-bottom: 10px;
}

.sfhh-popup-form .elementor-field-label {
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 4px;
}

.sfhh-popup-form .elementor-field-textual {
	min-height: 42px;
	border: 1px solid var(--sfhh-line-2) !important;
	border-radius: 10px !important;
}

.sfhh-popup-form .elementor-field-type-acceptance label {
	font-size: 13px;
	color: var(--sfhh-muted-2);
}

.sfhh-popup-fenetre .dialog-close-button {
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--sfhh-ink);
	box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5);
	/* croix centrée dans le cercle (Elementor laisse l'icône en haut à gauche) */
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.sfhh-popup-fenetre .dialog-close-button i,
.sfhh-popup-fenetre .dialog-close-button svg {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0;
	font-size: 14px;
	line-height: 1;
	fill: currentColor;
}

@media (max-width: 767px) {
	.sfhh-popup > .e-con-inner > .e-con,
	.sfhh-popup .sfhh-row {
		flex-direction: column !important;
	}

	.sfhh-popup-photo {
		width: 100% !important;
		min-height: 160px !important;
	}

	.sfhh-popup-corps {
		width: 100% !important;
		padding: 22px 20px 20px !important;
	}
}

/* ═══════════════════════ 17. Chercher une revue (version 1.16) ═══════════════════════ */
.sfhh-revues-recherche {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 18px;
}

.sfhh-revues-recherche input[type="search"] {
	flex: 1 1 320px;
	max-width: 520px;
	min-height: 50px;
	padding: 10px 18px;
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	background: #fff;
	font-family: var(--sfhh-sans);
	font-size: 16px;
	color: var(--sfhh-ink);
}

.sfhh-revues-recherche input[type="search"]:focus {
	outline: none;
	border-color: var(--sfhh-red);
	box-shadow: 0 0 0 3px rgba(138, 31, 26, 0.12);
}

.sfhh-rv-reset {
	border: 0;
	background: none;
	font-family: var(--sfhh-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--sfhh-red);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhh-revues .sfhh-filtres p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
}

.sfhh-revues .sfhh-filtres a {
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	padding: 7px 13px;
	font-family: var(--sfhh-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sfhh-ink);
	background: #fff;
	text-decoration: none;
}

.sfhh-revues .sfhh-filtres a:hover {
	border-color: var(--sfhh-red);
	color: var(--sfhh-red);
}

.sfhh-revues .sfhh-filtres a.sfhh-actif {
	background: var(--sfhh-ink);
	border-color: var(--sfhh-ink);
	color: #fff;
}

.sfhh-rv-compte {
	margin: 18px 0 2px !important;
	font-family: var(--sfhh-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--sfhh-ink);
}

.sfhh-rv-note {
	margin: 0 0 22px !important;
	font-family: var(--sfhh-sans);
	font-size: 13.5px;
	color: var(--sfhh-muted);
}

.sfhh-rv-grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px;
}

.sfhh-rv-carte {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sfhh-line);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

/* Les cartes écartées par la recherche portent l'attribut hidden : il doit l'emporter sur display:flex. */
.sfhh-revues [hidden] {
	display: none !important;
}

.sfhh-rv-carte:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 40px -24px rgba(30, 26, 23, 0.35);
}

.sfhh-rv-couv {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding: 18px 18px 0;
	background: var(--sfhh-ivory);
}

.sfhh-rv-couv img {
	width: 130px;
	height: auto;
	border-radius: 4px 4px 0 0;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.sfhh-rv-texte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
	flex: 1;
}

.sfhh-rv-num {
	margin: 0 !important;
	font-family: var(--sfhh-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: var(--sfhh-ink);
}

.sfhh-rv-num span {
	font-family: var(--sfhh-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--sfhh-muted);
}

.sfhh-rv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 !important;
}

.sfhh-rv-tags span {
	font-family: var(--sfhh-sans);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-red);
	background: var(--sfhh-ivory);
	border: 1px solid var(--sfhh-line-2);
	border-radius: 999px;
	padding: 3px 8px;
}

/* Lieu / période : la valeur précise (Lyon, Moyen Âge…), précédée de son type */
.sfhh-rv-tags span.sfhh-rv-precis {
	text-transform: none;
	letter-spacing: 0;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--sfhh-ink);
	background: #fff;
}

.sfhh-rv-tags span.sfhh-rv-precis small {
	font-size: 9.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sfhh-muted);
}

.sfhh-rv-auteurs {
	margin: 6px 0 0 !important;
	font-family: var(--sfhh-sans);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--sfhh-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sfhh-rv-achat,
.sfhh-rv-aparaitre {
	margin-top: auto;
	font-family: var(--sfhh-sans);
	font-size: 13.5px;
	font-weight: 600;
}

.sfhh-rv-achat {
	color: var(--sfhh-red);
}

.sfhh-rv-achat:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhh-rv-aparaitre {
	color: var(--sfhh-muted);
}

.sfhh-rv-vide {
	padding: 28px;
	background: #fff;
	border: 1px dashed var(--sfhh-line-2);
	border-radius: 14px;
	font-family: var(--sfhh-sans);
	color: var(--sfhh-muted);
}

@media (max-width: 560px) {
	.sfhh-rv-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.sfhh-rv-couv img {
		width: 100px;
	}

	.sfhh-rv-num {
		font-size: 19px;
	}
}

/* ───────────────────────── 7. Accessibilité ───────────────────────────────*/
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--sfhh-red);
	outline-offset: 2px;
}

/* ───────────────────────── 8. Impression ─────────────────────────────────*/
@media print {
	.sfhh-row {
		flex-direction: column;
	}

	.elementor-button,
	nav {
		display: none;
	}
}
