/* ==========================================================================
   En Nous La Source — styles du thème
   Charte reprise de ennouslasource.fr
   ========================================================================== */

:root {
	/* Couleurs du site */
	--enls-brown: #4e421d;        /* boutons, bandeaux */
	--enls-brown-dark: #3a3115;
	--enls-cream: #f7f2e9;        /* sections beige */
	--enls-sand: #faebc0;         /* pictos clairs */
	--enls-sand-light: #fff3d4;
	--enls-olive: #2d371e;        /* picto localisation */
	--enls-ink: #222223;          /* titres de section */
	--enls-black: #070707;        /* gros titres */
	--enls-text: #2d2d2d;
	--enls-grey: #f8f8f8;         /* fond du hero */
	--enls-line: #e6dfd1;
	--enls-white: #fff;

	/* Typographies du site */
	--enls-font-title: 'DM Sans', system-ui, sans-serif;
	--enls-font-accent: 'Poppins', system-ui, sans-serif;
	--enls-font-body: 'Figtree', system-ui, sans-serif;

	/* Formes */
	--enls-radius: 24px;
	--enls-shadow: 0 0 47px 0 rgba(0, 0, 0, .16);
	--enls-shadow-hover: 0 18px 50px -8px rgba(78, 66, 29, .35);
	--enls-ease: cubic-bezier(.22, .61, .36, 1);
	--enls-container: 1200px;
	--enls-narrow: 760px;
	--enls-gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--enls-white);
	color: var(--enls-text);
	font-family: var(--enls-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--enls-brown); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--enls-brown); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--enls-font-title); color: var(--enls-ink); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--enls-brown); color: #fff;
}
.enls-container { width: 100%; max-width: calc(var(--enls-container) + var(--enls-gutter) * 2); margin-inline: auto; padding-inline: var(--enls-gutter); }
.enls-container--narrow { max-width: calc(var(--enls-narrow) + var(--enls-gutter) * 2); }
.enls-icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }

/* ---------- Bouton du site (brun + effet « grow » d'Elementor) ---------- */
.enls-btn,
.wp-block-button__link,
.wp-element-button,
.comment-form .submit {
	display: inline-block;
	background: var(--enls-brown);
	color: #fff;
	border: 1px solid var(--enls-brown);
	border-radius: 0;
	padding: 19px 22px;
	font-family: var(--enls-font-accent);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: transform .3s;            /* identique à .elementor-animation-grow */
	will-change: transform;
}
.enls-btn:hover, .enls-btn:focus, .enls-btn:active,
.wp-block-button__link:hover, .wp-block-button__link:focus,
.wp-element-button:hover, .wp-element-button:focus,
.comment-form .submit:hover, .comment-form .submit:focus {
	transform: scale(1.1);
	background: var(--enls-brown);
	color: #fff;
}
.enls-btn--small { font-size: 14px; padding: 12px 18px; letter-spacing: .02em; }

.enls-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.enls-cta--center { display: flex; }
.enls-cta__caption { margin: 0; font-family: var(--enls-font-accent); font-style: italic; font-size: 15px; color: #000; }
.enls-cta--light .enls-cta__caption { color: #fff; }
.enls-author .enls-btn { background: var(--enls-sand); color: var(--enls-brown); border-color: var(--enls-sand); }
.enls-author .enls-btn:hover, .enls-author .enls-btn:focus { background: var(--enls-sand); color: var(--enls-brown); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 30px -12px rgba(0, 0, 0, .18); border-color: var(--enls-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-branding .custom-logo { display: block; width: auto; height: 48px; transition: transform .3s; }
.site-branding a:hover .custom-logo { transform: scale(1.04); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.enls-menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.enls-menu li { position: relative; }
.enls-menu a {
	position: relative; display: inline-block; padding: 6px 0;
	font-family: var(--enls-font-accent); font-size: 15px; color: var(--enls-ink); text-decoration: none;
	transition: color .3s;
}
/* Soulignement qui pousse depuis le centre (pointer underline / grow d'Elementor) */
.enls-menu a::after {
	content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
	background: var(--enls-brown); transition: width .3s var(--enls-ease), left .3s var(--enls-ease);
}
.enls-menu a:hover, .enls-menu .current-menu-item > a, .enls-menu .current_page_parent > a { color: var(--enls-brown); }
.enls-menu a:hover::after, .enls-menu .current-menu-item > a::after, .enls-menu .current_page_parent > a::after { width: 100%; left: 0; }
.enls-menu .sub-menu {
	list-style: none; position: absolute; top: 100%; left: -16px; min-width: 220px; margin: 0; padding: 10px 16px;
	background: #fff; box-shadow: var(--enls-shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .25s var(--enls-ease);
}
.enls-menu li:hover > .sub-menu, .enls-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--enls-ink); cursor: pointer; }
.menu-toggle .enls-icon { width: 28px; height: 28px; }
.menu-toggle__close { display: none; }

.enls-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.enls-progress span { display: block; height: 100%; background: var(--enls-brown); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Hero du blog (repris de l'accueil du site) ---------- */
.enls-hero {
	position: relative;
	background:
		linear-gradient(278deg, var(--enls-grey) 58%, rgba(248, 248, 248, 0) 74%),
		var(--enls-hero-bg) left center / auto 100% no-repeat,
		var(--enls-grey);
	padding: clamp(56px, 8vw, 110px) 0;
	min-height: 560px;
	display: flex; align-items: center;
}
.enls-hero__inner { display: flex; justify-content: flex-end; }
.enls-hero__content { max-width: 600px; }
.enls-location { display: flex; align-items: center; gap: 12px; font-size: 19px; color: #000; margin-bottom: 18px; }
.enls-location .enls-icon { width: 24px; height: 24px; color: var(--enls-olive); }
.enls-hero__kicker {
	font-family: var(--enls-font-accent); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--enls-brown); margin-bottom: 10px;
}
.enls-hero__title {
	font-family: var(--enls-font-title); font-weight: 700; color: var(--enls-black);
	font-size: clamp(38px, 5vw, 56px); line-height: .95; letter-spacing: -.041em; margin-bottom: 22px;
}
.enls-hero__intro { font-size: 19px; line-height: 1.4; color: #000; margin-bottom: 28px; }

/* Bandeau « Limite de places » */
.enls-urgency {
	background: var(--enls-brown); color: #fff; text-align: center;
	padding: 22px var(--enls-gutter) 26px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.enls-urgency__icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--enls-sand); color: var(--enls-brown);
	animation: enls-pulse 2.4s ease-in-out infinite;
}
.enls-urgency__icon .enls-icon { width: 32px; height: 32px; }
.enls-urgency p { margin: 0; font-family: var(--enls-font-title); font-size: 17px; }
.enls-urgency a { color: #fff; }
@keyframes enls-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(250, 235, 192, .5); } 50% { box-shadow: 0 0 0 12px rgba(250, 235, 192, 0); } }

/* ---------- Recherche ---------- */
.enls-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--enls-line); max-width: 520px; position: relative; transition: border-color .3s, box-shadow .3s; }
.enls-search:focus-within { border-color: var(--enls-brown); box-shadow: 0 0 0 4px rgba(78, 66, 29, .08); }
.enls-search__icon { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--enls-brown); }
.enls-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 12px 16px 46px; font: inherit; font-size: 16px; color: var(--enls-text); }
.enls-search__input:focus { outline: none; }
.enls-search__btn {
	border: 0; background: var(--enls-brown); color: #fff; align-self: stretch; padding: 0 20px;
	font-family: var(--enls-font-accent); font-size: 14px; font-weight: 500; text-transform: uppercase; cursor: pointer;
	transition: background .3s;
}
.enls-search__btn:hover { background: var(--enls-brown-dark); }

/* ---------- Titres de section (Poppins + gras, comme « À qui mon expertise… ») ---------- */
.enls-section-title {
	font-family: var(--enls-font-accent); font-weight: 400; color: var(--enls-ink);
	font-size: clamp(28px, 3.4vw, 37px); line-height: 1.1; text-align: center; margin: 0 0 40px;
}
.enls-section-title strong { font-weight: 600; }
.enls-section-title--left { text-align: left; margin-top: 64px; }

/* ---------- Listing ---------- */
.enls-listing-section { background: var(--enls-cream); padding: clamp(48px, 7vw, 90px) 0; }
.enls-page-header { background: var(--enls-cream); padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.enls-listing .enls-page-header + .enls-listing-section { padding-top: 0; }
.enls-page-header__kicker { font-family: var(--enls-font-accent); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--enls-brown); margin-bottom: 8px; }
.enls-page-header__title { font-weight: 700; color: var(--enls-black); font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; line-height: 1; }
.enls-page-header__desc { max-width: 640px; margin: 12px auto 0; font-size: 18px; }
.enls-page-header .enls-search { margin: 24px auto 0; }

/* Pastilles de catégories */
.enls-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 44px; }
.enls-pill {
	font-family: var(--enls-font-accent); font-size: 14px; color: var(--enls-brown); text-decoration: none;
	padding: 9px 18px; border: 1px solid var(--enls-brown); background: transparent; border-radius: 999px;
	transition: background .3s, color .3s, transform .3s;
}
.enls-pill:hover { transform: scale(1.06); background: #fff; }
.enls-pill.is-active { background: var(--enls-brown); color: #fff; }

/* Grille de cartes (cartes arrondies + ombre douce du site) */
.enls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.enls-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--enls-radius);
	overflow: hidden; box-shadow: var(--enls-shadow);
	transition: transform .45s var(--enls-ease), box-shadow .45s var(--enls-ease);
}
.enls-card:hover { transform: translateY(-8px); box-shadow: var(--enls-shadow-hover); }
.enls-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--enls-cream); }
.enls-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--enls-ease); }
.enls-card:hover .enls-card__media img { transform: scale(1.07); }
.enls-card__placeholder { display: grid; place-items: center; height: 100%; background: var(--enls-brown); }
.enls-card__placeholder img { width: 96px !important; height: 96px !important; object-fit: contain; }
.enls-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 26px 26px; }
.enls-card__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 10px; }
.enls-card__title a { color: var(--enls-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--enls-ease); }
.enls-card:hover .enls-card__title a { background-size: 100% 1px; }
.enls-card__excerpt { font-size: 16px; line-height: 1.55; color: #444; margin-bottom: 18px; }
.enls-card__footer { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--enls-line); padding-top: 14px; }
.enls-card__time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #6b6458; }
.enls-card__more {
	display: inline-flex; align-items: center; gap: 6px; font-family: var(--enls-font-accent); font-weight: 500; font-size: 14px;
	text-transform: uppercase; color: var(--enls-brown); text-decoration: none;
}
.enls-card__more .enls-icon { transition: transform .3s var(--enls-ease); }
.enls-card:hover .enls-card__more .enls-icon { transform: translateX(5px); }

.enls-badge {
	display: inline-block; font-family: var(--enls-font-accent); font-size: 12px; font-weight: 500; letter-spacing: .08em;
	text-transform: uppercase; color: var(--enls-brown); background: var(--enls-cream); padding: 6px 12px; border-radius: 999px;
	text-decoration: none; transition: background .3s, color .3s;
}
a.enls-badge:hover { background: var(--enls-brown); color: #fff; }

/* Article à la une */
.enls-featured {
	display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: var(--enls-radius);
	overflow: hidden; box-shadow: var(--enls-shadow); transition: transform .45s var(--enls-ease), box-shadow .45s var(--enls-ease);
}
.enls-featured:hover { transform: translateY(-6px); box-shadow: var(--enls-shadow-hover); }
.enls-featured__media { display: block; overflow: hidden; min-height: 380px; }
.enls-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--enls-ease); }
.enls-featured:hover .enls-featured__media img { transform: scale(1.06); }
.enls-featured__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.enls-featured__flag { font-family: var(--enls-font-accent); font-style: italic; font-size: 14px; color: #6b6458; margin-bottom: 10px; }
.enls-featured__title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; margin: 14px 0 14px; }
.enls-featured__title a { color: var(--enls-black); text-decoration: none; }
.enls-featured__excerpt { font-size: 17px; color: #444; }

.enls-link-arrow {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--enls-font-accent); font-weight: 500;
	text-transform: uppercase; font-size: 15px; color: var(--enls-brown); text-decoration: none;
	padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 30% 2px no-repeat;
	transition: background-size .4s var(--enls-ease);
}
.enls-link-arrow:hover { background-size: 100% 2px; }
.enls-link-arrow .enls-icon { transition: transform .3s var(--enls-ease); }
.enls-link-arrow:hover .enls-icon { transform: translateX(6px); }

.enls-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #6b6458; }
.enls-meta__item { display: inline-flex; align-items: center; gap: 6px; }

/* Pagination */
.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border: 1px solid var(--enls-brown);
	font-family: var(--enls-font-accent); color: var(--enls-brown); text-decoration: none; background: transparent;
	transition: transform .3s, background .3s, color .3s;
}
a.page-numbers:hover { transform: scale(1.1); background: #fff; }
.page-numbers.current { background: var(--enls-brown); color: #fff; }
.page-numbers.dots { border-color: transparent; }

.enls-empty { text-align: center; padding: 40px 0; }
.enls-empty img { border-radius: 50%; margin-bottom: 16px; }
.enls-empty .enls-search { margin: 20px auto 0; }

/* ---------- Encart auteur « Qui suis-je » (fond brun) ---------- */
.enls-author { background: var(--enls-brown); color: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.enls-author__kicker { font-family: var(--enls-font-accent); font-size: clamp(28px, 3.4vw, 37px); line-height: 1.1; text-align: center; margin-bottom: 48px; }
.enls-author__kicker strong { font-weight: 600; }
.enls-author__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.enls-author__photo { margin: 0; overflow: hidden; }
.enls-author__photo img { display: block; width: 100%; height: auto; aspect-ratio: 726 / 884; object-fit: cover; transition: transform 1s var(--enls-ease); }
.enls-author__photo:hover img { transform: scale(1.04); }
.enls-author__title { font-family: var(--enls-font-accent); font-weight: 400; color: #fff; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin-bottom: 24px; }
.enls-author__title strong { font-weight: 600; }

.enls-checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.enls-checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.enls-checklist .enls-icon { width: 24px; height: 24px; margin-top: 2px; color: var(--enls-brown); }
.enls-checklist--light li { font-family: var(--enls-font-accent); font-size: 16px; line-height: 1.55; color: #fff; }
.enls-checklist--light .enls-icon { color: #fff; }

/* ---------- Bandeau final ---------- */
.enls-ctaband {
	position: relative; text-align: center; color: #fff; padding: clamp(80px, 11vw, 150px) 0;
	background: linear-gradient(rgba(20, 16, 6, .38), rgba(20, 16, 6, .38)), var(--enls-ctaband-bg) center / cover no-repeat;
}
.enls-ctaband__title {
	font-family: var(--enls-font-accent); font-weight: 300; color: #fff; font-size: clamp(32px, 4.6vw, 51px);
	line-height: 1.05; letter-spacing: -.033em; max-width: 820px; margin: 0 auto 36px;
}

/* ---------- Article ---------- */
.enls-post__header { background: var(--enls-cream); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 72px); text-align: center; }
.has-post-thumbnail .enls-post__header { padding-bottom: clamp(110px, 14vw, 170px); }
.enls-breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: #6b6458; margin-bottom: 22px; }
.enls-breadcrumb a { color: #6b6458; text-decoration: none; }
.enls-breadcrumb a:hover { color: var(--enls-brown); text-decoration: underline; }
.enls-post__title {
	font-weight: 700; color: var(--enls-black); font-size: clamp(34px, 5vw, 56px); line-height: .98;
	letter-spacing: -.041em; margin: 18px 0 18px;
}
.enls-post__lead { font-size: 20px; line-height: 1.45; color: #333; max-width: 680px; margin: 0 auto 26px; }
.enls-byline { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.enls-byline__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.enls-byline__name { margin: 0 0 2px; font-family: var(--enls-font-accent); font-weight: 500; color: var(--enls-ink); }

.enls-post__cover { margin: clamp(-150px, -11vw, -80px) auto 0; }
.enls-post__cover img { display: block; width: 100%; border-radius: var(--enls-radius); box-shadow: var(--enls-shadow); aspect-ratio: 2 / 1; object-fit: cover; }
.enls-post__cover figcaption { text-align: center; font-size: 14px; color: #6b6458; margin-top: 10px; }

/* Contenu */
.entry-content { padding: clamp(40px, 6vw, 64px) 0 24px; font-size: 18px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p { margin: 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: var(--enls-black); margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.entry-content h4 { font-family: var(--enls-font-accent); font-size: 19px; font-weight: 600; margin: 1.4em 0 .4em; }
.entry-content strong { color: #000; }
.entry-content a:not(.wp-block-button__link):not(.enls-btn) {
	color: var(--enls-brown); text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .35s var(--enls-ease), color .3s;
}
.entry-content a:not(.wp-block-button__link):not(.enls-btn):hover { background-size: 100% 100%; color: #fff; }

/* Listes : puces « cercle » brunes (comme les encarts « À qui mon expertise ») */
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li { position: relative; padding-left: 34px; margin-top: .6em; }
.entry-content ul li::before {
	content: ''; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
	background: radial-gradient(circle, var(--enls-sand) 0 3px, var(--enls-brown) 3.5px);
}
.entry-content ol { padding-left: 0; list-style: none; counter-reset: enls; }
.entry-content ol li { counter-increment: enls; position: relative; padding-left: 44px; margin-top: .7em; }
.entry-content ol li::before {
	content: counter(enls); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center; background: var(--enls-brown); color: #fff; font-family: var(--enls-font-accent); font-size: 14px; font-weight: 500;
}
/* Styles de liste « Coches » et « Croix » (éditeur : Liste → Styles) */
.entry-content ul.is-style-enls-check li::before,
.entry-content ul.is-style-enls-cross li::before { background: var(--enls-brown); border-radius: 0; width: 22px; height: 22px; top: .3em; }
.entry-content ul.is-style-enls-check li::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%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'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.entry-content ul.is-style-enls-cross li::before {
	background: #3b3b3b;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 12.9-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9z'/%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'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 12.9-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.entry-content blockquote, .wp-block-pullquote blockquote {
	margin-inline: 0; padding: 26px 30px; background: var(--enls-cream); border-left: 4px solid var(--enls-brown);
	font-family: var(--enls-font-accent); font-weight: 300; font-size: 21px; line-height: 1.5; color: var(--enls-ink);
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 500; color: var(--enls-brown); }
.entry-content img, .entry-content .wp-block-image img { border-radius: 20px; }
.entry-content figcaption, .wp-element-caption { font-size: 14px; color: #6b6458; text-align: center; margin-top: 8px; }
.entry-content hr, .wp-block-separator { border: 0; height: 2px; width: 80px; margin: 2.4em auto; background: var(--enls-brown); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--enls-line); padding: 12px 14px; text-align: left; }
.entry-content th { background: var(--enls-cream); font-family: var(--enls-font-accent); font-weight: 500; }
.entry-content .alignwide { width: min(1100px, calc(100vw - var(--enls-gutter) * 2)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.entry-content .alignfull img, .entry-content .alignwide img { width: 100%; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; display: block; }
.wp-block-buttons .wp-block-button__link { font-size: 18px; }
.has-brown-background-color { background-color: var(--enls-brown); }
.has-cream-background-color { background-color: var(--enls-cream); }

/* Bas d'article */
.enls-post__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; border-top: 1px solid var(--enls-line); border-bottom: 1px solid var(--enls-line); }
.enls-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.enls-tags a { font-size: 14px; color: var(--enls-brown); text-decoration: none; padding: 6px 12px; background: var(--enls-cream); border-radius: 999px; transition: background .3s, color .3s; }
.enls-tags a::before { content: '#'; opacity: .6; }
.enls-tags a:hover { background: var(--enls-brown); color: #fff; }
.enls-share { display: flex; align-items: center; gap: 10px; }
.enls-share__label { font-family: var(--enls-font-accent); font-size: 14px; color: #6b6458; margin-right: 4px; }
.enls-share__link {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--enls-brown);
	background: transparent; color: var(--enls-brown); cursor: pointer; transition: transform .3s, background .3s, color .3s;
}
.enls-share__link .enls-icon { width: 18px; height: 18px; }
.enls-share__link:hover, .enls-share__link.is-copied { transform: scale(1.1); background: var(--enls-brown); color: #fff; }

/* Encart CTA dans l'article */
.enls-inline-cta {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 48px 0 64px;
	padding: 28px 32px; background: #fff; border-radius: var(--enls-radius); box-shadow: var(--enls-shadow);
}
.enls-inline-cta > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; }
.enls-inline-cta__title { font-family: var(--enls-font-title); font-weight: 700; font-size: 24px; letter-spacing: -.03em; color: var(--enls-black); margin: 0 0 4px; }
.enls-inline-cta p { margin: 0; font-size: 16px; line-height: 1.5; }
.enls-inline-cta .enls-btn { font-size: 16px; padding: 16px 18px; white-space: nowrap; }
.enls-inline-cta .enls-cta__caption { font-size: 13px; }

.enls-related { background: var(--enls-cream); padding: clamp(56px, 8vw, 96px) 0; }

/* Commentaires */
.enls-comments { padding: 56px 0 72px; }
.enls-comments__title, .comment-reply-title { font-family: var(--enls-font-accent); font-weight: 400; font-size: 28px; color: var(--enls-ink); }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 2px solid var(--enls-line); }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--enls-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-family: var(--enls-font-accent); font-weight: 500; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: #6b6458; text-decoration: none; }
.reply a { font-family: var(--enls-font-accent); font-size: 13px; text-transform: uppercase; text-decoration: none; }
.comment-form label { display: block; font-family: var(--enls-font-accent); font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--enls-line); background: #fff; font: inherit; font-size: 16px; border-radius: 0;
	transition: border-color .3s, box-shadow .3s;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--enls-brown); box-shadow: 0 0 0 4px rgba(78, 66, 29, .08); }
.comment-form .submit { font-size: 16px; padding: 16px 22px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-family: var(--enls-font-body); }

/* Pages simples / 404 */
.enls-page .entry-content { padding-bottom: 72px; }
.enls-404 { text-align: center; padding: clamp(72px, 10vw, 140px) 0; background: var(--enls-cream); }
.enls-404__icon { border-radius: 50%; margin-bottom: 20px; animation: enls-float 5s ease-in-out infinite; }
.enls-404__title { font-weight: 700; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.04em; color: var(--enls-black); }
.enls-404 .enls-search { margin: 24px auto 32px; }
@keyframes enls-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.enls-fullwidth > * { max-width: none; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-family: var(--enls-font-accent); font-weight: 500; font-size: 18px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--enls-line); }
.widget a { text-decoration: none; }

/* ---------- Pied de page ---------- */
.site-footer { background: #fff; padding: 40px 0 36px; text-align: center; }
.site-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: left; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--enls-line); }
.site-footer__logo .custom-logo { height: 44px; width: auto; margin: 0 auto 18px; display: block; transition: transform .3s; }
.site-footer__logo a:hover .custom-logo { transform: scale(1.05); }
.enls-footer-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 0 0 14px; }
.enls-footer-menu a { font-family: var(--enls-font-accent); font-size: 14px; color: var(--enls-ink); text-decoration: none; }
.enls-footer-menu a:hover { color: var(--enls-brown); text-decoration: underline; }
.site-footer__address { display: inline-flex; align-items: center; gap: 8px; font-family: var(--enls-font-accent); font-size: 14px; color: #555; margin-bottom: 10px; }
.site-footer__address .enls-icon { color: var(--enls-olive); }
.site-footer__copy { font-family: var(--enls-font-accent); font-size: 17px; color: var(--enls-ink); margin: 0; }
.site-footer__copy strong { font-weight: 600; }

/* ---------- Apparition au défilement ---------- */
.js .enls-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--enls-ease), transform .8s var(--enls-ease); }
.js .enls-reveal.is-visible { opacity: 1; transform: none; }
.js .enls-grid .enls-reveal:nth-child(3n+2) { transition-delay: .1s; }
.js .enls-grid .enls-reveal:nth-child(3n) { transition-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.enls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.enls-featured { grid-template-columns: 1fr; }
	.enls-featured__media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 960px) {
	.menu-toggle { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px;
		background: #fff; padding: 20px var(--enls-gutter) 28px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--enls-ease);
	}
	.site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-header.is-open .menu-toggle__open { display: none; }
	.site-header.is-open .menu-toggle__close { display: block; }
	.enls-menu { flex-direction: column; gap: 4px; }
	.enls-menu a { font-size: 18px; padding: 10px 0; }
	.enls-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.site-nav .enls-btn { align-self: flex-start; }

	.enls-hero {
		background:
			linear-gradient(0deg, var(--enls-grey) 52%, rgba(248, 248, 248, 0) 66%),
			var(--enls-hero-bg) 12% top / auto 380px no-repeat,
			var(--enls-grey);
		padding-top: 300px; min-height: 0;
	}
	.enls-hero__content { max-width: none; }
	.enls-author__grid { grid-template-columns: 1fr; }
	.enls-author__photo { max-width: 420px; margin-inline: auto; }
	.enls-inline-cta { grid-template-columns: auto 1fr; }
	.enls-inline-cta .enls-cta { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

@media (max-width: 640px) {
	body { font-size: 16px; }
	.site-branding .custom-logo { height: 38px; }
	.enls-grid { grid-template-columns: 1fr; }
	.enls-btn { font-size: 18px; padding: 17px 18px; }
	.enls-cta { display: flex; }
	.enls-location { font-size: 16px; }
	.enls-hero__intro { font-size: 17px; }
	.enls-search__btn { padding: 0 14px; font-size: 13px; }
	.entry-content { font-size: 17px; }
	.enls-post__footer { flex-direction: column; align-items: flex-start; }
	.enls-inline-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; }
	.enls-inline-cta .enls-cta { align-items: center; }
	.enls-inline-cta .enls-btn { white-space: normal; }
	.alignleft, .alignright { float: none; margin: 1em 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .enls-reveal { opacity: 1; transform: none; }
}
