/* Le Mag Animalier — direction « Magazine » 2.0 (17/11/2026), accueil 2.1 « magazine lifestyle ».
   Fond crème, vert profond, sauge, beige, brun doux, accent terre ; titres Newsreader (600/700), texte Public Sans (400/600/700).
   Sans dégradé ni animation au défilement ; ombres très légères sur les cartes posées à cheval sur les photos (2.1). */

/* ---------- Jetons ---------- */
:root {
	/* Palette Kadence redéfinie ici (aucun réglage du personnalisateur modifié). */
	--global-palette1: #315A62; /* 2.2 bleu pétrole : boutons (blanc dessus 7,6:1) */
	--global-palette2: #2F5A62; /* 2.2 liens pétrole (6,8:1 sur crème) */
	--global-palette3: #1F2421; /* texte fort */
	--global-palette4: #3A403B; /* texte courant */
	--global-palette5: #626760; /* texte secondaire (contraste 5,3:1 sur crème) */
	--global-palette6: #A8A99E;
	--global-palette7: #E3DACB; /* filets */
	--global-palette8: #F5F1E8; /* fond crème (2.2) */
	--global-palette9: #FFFDF9; /* papier */
	--global-palette9rgb: 255, 253, 249;
	--global-heading-font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
	--global-body-font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--lma-encre: #1F2A24;
	--lma-lien: var(--global-palette2);
	--lma-vert: #2F4A3A;
	--lma-sauge: #EAEDE3; /* 2.2 vert très clair */
	--lma-sauge-fonce: #718568; /* 2.2 vert sauge : filets, décor (pas de petit texte : 3,5:1) */
	--lma-beige: #F0E8DA;
	--lma-brun: #8A5A3B;
	--lma-creme: #F5F1E8; /* 2.2 */
	--lma-papier: #FFFDF9;
	--lma-ligne: #E3DACB;
	--lma-texte: #3A403B;
	--lma-muted: #626760;
	--lma-urgence: #A3271F;
	--lma-terre: #D98D68; /* 2.2 terracotta : filets et décor uniquement (2,5:1, jamais en texte) */
	/* Palette 2.2 « lifestyle » : teintes de décor + versions foncées pour le texte (contraste ≥ 4,5:1, calcul WCAG) */
	--lma-terre-fonce: #A4502C;  /* texte et liens terracotta : 4,7:1 sur crème, 5,3:1 en bouton avec texte blanc */
	--lma-terre-clair: #F8E7DC;
	--lma-miel: #E7C77D;         /* décor uniquement */
	--lma-miel-clair: #F7EDD5;   /* fond de bande */
	--lma-miel-fonce: #7A5A12;   /* texte miel : 5,3:1 sur miel clair */
	--lma-petrole: #315A62;      /* boutons, liens importants */
	--lma-petrole-clair: #E2EBEA;
	--lma-sauge-texte: #4A5E43;  /* texte sauge : 5,6:1 sur vert très clair */
	--lma-chaud: #8A5A3B; /* compatibilité 1.x (outils, équipe) */
	--lma-radius: 6px;
	--lma-gap: 1.5rem;
}

body { font-family: var(--global-body-font-family); color: var(--lma-texte); background: var(--lma-creme); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .entry-title, .lma-site-title { font-family: var(--global-heading-font-family); font-weight: 600; font-optical-sizing: auto; letter-spacing: -.012em; color: var(--lma-encre); }
a { color: var(--lma-lien); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--lma-encre); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--lma-vert); outline-offset: 2px; border-radius: 2px; }
.entry-content img { height: auto; }
::selection { background: var(--lma-sauge); color: var(--lma-encre); }
.content-bg, body.content-style-unboxed .site { background: var(--lma-creme); }

/* Surtitre et métadonnées partagés */
.lma-kicker { margin: 0 0 .4rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-brun); }
.lma-kicker a { color: inherit; text-decoration: none; }
.lma-kicker a:hover { text-decoration: underline; }
.lma-meta { margin: 0; font-size: 14px; color: var(--lma-muted); }

/* ---------- En-tête ---------- */
.site-top-header-wrap .site-header-row-container-inner { background: var(--lma-beige); }
.site-top-header-inner-wrap { min-height: 0; }
.lma-topbar p { margin: 0; padding: 6px 0; font-size: 13px; line-height: 1.4; color: var(--lma-texte); }
.lma-topbar a { margin-left: .6rem; color: var(--lma-urgence); font-weight: 600; text-decoration: underline; }
.site-main-header-wrap .site-header-row-container-inner,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner { background: var(--lma-creme); }
.site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--lma-ligne); }

.lma-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lma-encre); }
.lma-brand:hover { color: var(--lma-encre); }
.lma-mark { flex: none; display: block; }
.lma-mark .lma-mark__pad { fill: var(--lma-vert); }
.lma-mark ellipse { fill: #B4875F; }
.lma-site-title { font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--lma-encre); margin: 0; white-space: nowrap; }

.header-navigation .header-menu-container > ul > li.menu-item > a { padding: 12px 14px; border-radius: 0; font-size: 15px; font-weight: 600; color: var(--lma-encre); box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .15s, color .15s; }
.header-navigation .header-menu-container > ul > li.menu-item > a:hover { background: none; color: var(--lma-vert); box-shadow: inset 0 -2px 0 var(--lma-sauge-fonce); }
.header-navigation .header-menu-container > ul > li.current-menu-item > a,
.header-navigation .header-menu-container > ul > li.current-menu-ancestor > a,
.header-navigation .header-menu-container > ul > li.current-post-ancestor > a { background: none; color: var(--lma-vert); font-weight: 700; box-shadow: inset 0 -2px 0 var(--lma-vert); }
.header-navigation .menu-item-urgences > a, .header-navigation a[href$="/urgences/"] { color: var(--lma-urgence) !important; }

/* Recherche : simple icône (le formulaire s'ouvre en plein écran) */
.search-toggle-open-container .search-toggle-open { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border: 1px solid var(--lma-ligne); border-radius: 50%; background: transparent; color: var(--lma-encre); }
.search-toggle-open-container .search-toggle-open:hover { border-color: var(--lma-vert); background: var(--lma-papier); color: var(--lma-vert); }
.search-toggle-open .search-toggle-label { display: none; }
#search-drawer .drawer-inner { background: rgba(250, 246, 238, .98); }
#search-drawer .drawer-inner input.search-field { color: var(--lma-encre); border-bottom-color: var(--lma-encre); font-family: var(--global-heading-font-family); }
#search-drawer .drawer-header .drawer-toggle, #search-drawer .kadence-search-icon-wrap { color: var(--lma-encre); }

/* ---------- Fil d'Ariane, taxonomies ---------- */
.kadence-breadcrumbs, .rank-math-breadcrumb { font-size: 13px; color: var(--lma-muted); margin-bottom: .75rem; }
.kadence-breadcrumbs a, .rank-math-breadcrumb a { color: var(--lma-lien); text-decoration: none; }
.kadence-breadcrumbs a:hover, .rank-math-breadcrumb a:hover { text-decoration: underline; }
.entry-header .entry-taxonomies { margin-bottom: .6rem; }
.entry-header .entry-taxonomies a, #archive-container .loop-entry .entry-taxonomies a { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-brun); text-decoration: none; background: none; padding: 0; }

/* ---------- Article ---------- */
.single-post .entry-header { max-width: 900px; margin-bottom: 1.5rem; }
.single-post .entry-title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.15rem); line-height: 1.08; font-weight: 600; }
.single-post .entry-header .entry-summary, .single-post .entry-header .post-excerpt { font-size: 21px; line-height: 1.5; color: var(--lma-texte); }

.lma-byline { display: flex; align-items: center; gap: 12px; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--lma-ligne); font-size: 14px; color: var(--lma-muted); }
.lma-byline p { margin: 0; }
.lma-byline a { color: var(--lma-encre); font-weight: 600; text-decoration: none; }
.lma-byline .lma-reviewed { margin-top: .2rem; }

.single-post .post-thumbnail { margin: 0 0 2.5rem; border-radius: var(--lma-radius); overflow: hidden; background: var(--lma-beige); }
.single-post .post-thumbnail.article-post-thumbnail { padding-bottom: 50%; }
.single-post .post-thumbnail img { object-fit: cover; object-position: 50% 40%; }
.lma-une-credit { margin: -2.2rem 0 2rem; font-size: 13px; line-height: 1.4; text-align: right; color: var(--lma-muted); }

.single-post .entry-content { font-size: 18px; line-height: 1.75; color: var(--lma-texte); }
.single-post .entry-content > * { max-width: 700px; }
.single-post .entry-content > .alignwide, .single-post .entry-content > .wp-block-table { max-width: 820px; }
.single-post .entry-content h2 { margin: 2.8rem 0 .9rem; font-size: 31px; line-height: 1.15; scroll-margin-top: 110px; }
.single-post .entry-content h3 { margin: 2rem 0 .6rem; font-size: 23px; line-height: 1.25; scroll-margin-top: 110px; }
.single-post .entry-content p { margin: 0 0 1.25rem; }
.single-post .entry-content ul, .single-post .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.4rem; }
.single-post .entry-content li { margin-bottom: .45rem; padding-left: .2rem; }
.single-post .entry-content ul li::marker { color: var(--lma-brun); }
.single-post .entry-content ol li::marker { color: var(--lma-vert); font-weight: 700; }
.single-post .entry-content strong { color: var(--global-palette3); }
.single-post .entry-content blockquote, .single-post .entry-content .wp-block-quote { margin: 2rem 0; padding: .25rem 0 .25rem 1.4rem; border-left: 3px solid var(--lma-brun); font-family: var(--global-heading-font-family); font-size: 22px; line-height: 1.45; color: var(--lma-encre); }
.single-post .entry-content blockquote cite { display: block; margin-top: .5rem; font-family: var(--global-body-font-family); font-size: 14px; font-style: normal; color: var(--lma-muted); }
.single-post .entry-content figure { margin: 2rem 0; }
.single-post .entry-content figure img { border-radius: var(--lma-radius); }
.single-post .entry-content figcaption, .wp-element-caption { margin-top: .5rem; font-size: 14px; line-height: 1.45; color: var(--lma-muted); text-align: left; }
.single-post .entry-content .wp-block-group.has-background { border-radius: var(--lma-radius); padding: 1.25rem 1.5rem; }
.single-post .entry-content .wp-block-group.has-background > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
/* Tableaux du contenu */
.single-post .entry-content .wp-block-table { overflow-x: auto; }
.single-post .entry-content .wp-block-table table, .lma-table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; background: var(--lma-papier); border: 1px solid var(--lma-ligne); }
.single-post .entry-content .wp-block-table th, .single-post .entry-content .wp-block-table td,
.lma-table th, .lma-table td { border: 0; border-bottom: 1px solid var(--lma-ligne); padding: .7rem .85rem; text-align: left; vertical-align: top; }
.single-post .entry-content .wp-block-table thead th, .lma-table thead th { background: var(--lma-sauge); color: var(--lma-encre); font-weight: 700; border-bottom: 2px solid var(--lma-vert); }
.single-post .entry-content .wp-block-table tbody tr:nth-child(even), .lma-table tbody tr:nth-child(even) { background: var(--lma-creme); }
.lma-table { overflow-x: auto; }

/* Sommaire */
.lma-toc { margin: 0 0 2rem; font-size: 15px; }
.lma-toc details { background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); padding: .25rem 1rem; }
.lma-toc summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-muted); }
.lma-toc ol { list-style: none; margin: 0 0 .75rem; padding: 0; border-left: 2px solid var(--lma-ligne); }
.lma-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--lma-muted); text-decoration: none; line-height: 1.35; }
.lma-toc li a:hover { color: var(--lma-encre); }
.lma-toc li a[aria-current] { border-left-color: var(--lma-vert); color: var(--lma-encre); font-weight: 600; }

@media (min-width: 1100px) {
	.single-post .entry-content-wrap { display: grid; grid-template-columns: 230px minmax(0, 700px); column-gap: 72px; justify-content: center; grid-auto-flow: row dense; }
	.single-post .entry-content-wrap > * { grid-column: 2; min-width: 0; }
	.single-post .entry-content-wrap > .entry-header,
	.single-post .entry-content-wrap > .post-thumbnail,
	.single-post .entry-content-wrap > .lma-une-credit { grid-column: 1 / -1; }
	.single-post .lma-une-credit { width: 100%; max-width: 1002px; justify-self: center; }
	.single-post .entry-content-wrap > .lma-toc { grid-column: 1; grid-row: span 40; align-self: start; position: sticky; top: 110px; margin: 0; }
	.lma-toc details { background: transparent; border: 0; padding: 0; }
	.lma-toc summary { pointer-events: none; list-style: none; min-height: 0; margin-bottom: .75rem; }
	.lma-toc summary::-webkit-details-marker { display: none; }
	.single-post .entry-header, .single-post .post-thumbnail { width: 100%; max-width: 1002px; justify-self: center; }
}

/* Encadrés éditoriaux */
.lma-box { margin: 2rem 0; padding: 1.25rem 1.5rem; border-radius: var(--lma-radius); background: var(--lma-papier); border: 1px solid var(--lma-ligne); }
.lma-box .lma-box-title { margin: 0 0 .6rem; font-family: var(--global-heading-font-family); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--lma-encre); }
.lma-box > :last-child, .lma-box ul:last-child, .lma-box .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.lma-essentiel { padding: 0 1.5rem 1.25rem; background: var(--lma-sauge); border: 0; overflow: hidden; }
.lma-essentiel .lma-box-title { margin: 0 -1.5rem 1rem; padding: .7rem 1.5rem; background: var(--lma-vert); color: #fff; font-family: var(--global-body-font-family); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lma-expert { border-left: 4px solid var(--lma-vert); }
.lma-alerte { background: #FBF3E3; border-color: #EAD8B8; border-left: 4px solid var(--lma-brun); }
.lma-urgence { border-color: #E6CDC8; border-left: 4px solid var(--lma-urgence); }
.lma-urgence .lma-box-title { color: var(--lma-urgence); }

/* Sources, révisions, encart rédaction */
.lma-sources, .lma-revisions, .lma-bio { margin: 2rem 0; max-width: 700px; }
.lma-sources { padding-top: 1.5rem; border-top: 1px solid var(--lma-ligne); }
.lma-sources h2 { font-size: 22px; margin: 0 0 .75rem; }
.lma-sources ol { font-size: 15px; padding-left: 1.25rem; color: var(--lma-texte); }
.lma-sources li { margin-bottom: .35rem; }
.lma-revisions { border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); padding: .25rem 1rem; background: var(--lma-papier); }
.lma-revisions summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--lma-encre); }
.lma-revisions ul { margin: .25rem 0 .75rem; font-size: 15px; }
.lma-bio { background: var(--lma-sauge); border-radius: var(--lma-radius); padding: 1.25rem 1.5rem; font-size: 15px; }
.lma-bio-name { font-family: var(--global-heading-font-family); font-weight: 600; font-size: 20px; margin: 0 0 .4rem; color: var(--lma-encre); }
.lma-bio-name span { font-family: var(--global-body-font-family); font-weight: 400; font-size: 14px; color: var(--lma-muted); margin-left: .5rem; }
.lma-bio p:last-child { margin-bottom: 0; }

/* Contenus sponsorisés (inc/partenariat.php) */
.lma-sponso { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0 0 1.75rem; padding: .7rem 1rem; background: var(--lma-beige); border-radius: var(--lma-radius); font-size: 14px; color: var(--lma-texte); }
.lma-sponso__tag, .loop-entry.lma-is-sponsored .entry-header::before { display: inline-block; padding: .15rem .5rem; border: 1px solid var(--lma-brun); border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lma-brun); }
.loop-entry.lma-is-sponsored .entry-header::before { content: "Contenu sponsorisé"; margin-bottom: .5rem; }

/* Cartes (articles liés) */
.lma-related { margin: 3.5rem auto 1rem; max-width: 1002px; padding-top: 2rem; border-top: 2px solid var(--lma-encre); }
.lma-related h2 { font-size: 28px; margin-bottom: 1.25rem; }
.lma-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lma-gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.lma-card a { display: flex; flex-direction: column; height: 100%; background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); overflow: hidden; text-decoration: none; color: var(--lma-texte); transition: border-color .15s; }
.lma-card a:hover { border-color: var(--lma-vert); }
.lma-card a:hover .lma-card-title { text-decoration: underline; }
.lma-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; background: var(--lma-beige); }
.lma-card-title { display: block; padding: 1rem 1.1rem 1.2rem; font-family: var(--global-heading-font-family); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--lma-encre); }
.lma-related-more { margin-top: 1.25rem; }
.lma-related-more a, .lma-section-head a { font-weight: 600; color: var(--lma-lien); }

/* ---------- Archives (rubriques) ---------- */
.archive .entry-hero, .archive .archive-header, .search .archive-header { text-align: left; }
.archive .entry-hero-container-inner { background: transparent; }
.archive .entry-hero .entry-header { text-align: left; align-items: flex-start; }
.archive .entry-hero .kadence-breadcrumbs { text-align: left; }
.archive .archive-title, .archive .page-title { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.05; }
.archive-description { text-align: left; max-width: 720px; font-size: 18px; line-height: 1.65; color: var(--lma-texte); }
.archive-description h2 { font-size: 26px; margin: 1.75rem 0 .5rem; }
.archive-description ul { margin: .5rem 0 1rem 1.25rem; padding: 0; }
.archive-description li { margin-bottom: .35rem; }
/* Photo de rubrique (inline : --lma-cat-img, ≥ 768 px) */
@media (min-width: 768px) {
	body.category-chats .entry-hero .hero-container, body.category-chiens .entry-hero .hero-container,
	body.category-nac .entry-hero .hero-container, body.category-basse-cour .entry-hero .hero-container { position: relative; }
	body.category-chats .entry-hero .entry-header, body.category-chiens .entry-hero .entry-header,
	body.category-nac .entry-hero .entry-header, body.category-basse-cour .entry-hero .entry-header { padding-right: calc(36% + 2.5rem); min-height: 300px; }
	body.category-chats .entry-hero .hero-container::after, body.category-chiens .entry-hero .hero-container::after,
	body.category-nac .entry-hero .hero-container::after, body.category-basse-cour .entry-hero .hero-container::after {
		content: ""; position: absolute; top: 2rem; right: var(--global-content-edge-padding, 1.5rem); bottom: 2rem; width: 36%; max-height: 340px;
		background: var(--lma-beige) var(--lma-cat-img, none) 50% 40% / cover no-repeat; border-radius: var(--lma-radius);
	}
}
.lma-archive-more { max-width: 720px; margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--lma-ligne); }
.lma-archive-more h2 { font-size: 26px; margin: 1.75rem 0 .5rem; }
/* Grille Kadence « Tous les articles » */
#archive-container .loop-entry { background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); overflow: hidden; box-shadow: none; transition: border-color .15s; }
#archive-container .loop-entry:hover { border-color: var(--lma-vert); }
#archive-container .loop-entry .post-thumbnail { background: var(--lma-beige); }
#archive-container .loop-entry .post-thumbnail img { object-fit: cover; object-position: 50% 35%; }
#archive-container .loop-entry .entry-content-wrap { padding: 1.1rem 1.25rem 1.35rem; }
#archive-container .loop-entry .entry-title { font-size: 21px; line-height: 1.22; font-weight: 600; }
#archive-container .loop-entry .entry-title a { color: var(--lma-encre); text-decoration: none; }
#archive-container .loop-entry:hover .entry-title a { text-decoration: underline; }
#archive-container .loop-entry .entry-meta { font-size: 13px; color: var(--lma-muted); }
#archive-container .loop-entry .entry-summary { font-size: 15px; line-height: 1.55; color: var(--lma-muted); margin-top: .5rem; }
#archive-container .loop-entry .entry-summary p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#archive-container .loop-entry .entry-footer, #archive-container .loop-entry .more-link-wrap { display: none; }
.pagination .page-numbers { border-radius: var(--lma-radius); }
.pagination .page-numbers.current { background: var(--lma-vert); border-color: var(--lma-vert); color: #fff; }

/* Thèmes (pastilles) */
.lma-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 2rem; }
.lma-chips__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-muted); }
.lma-chips ul { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.lma-chips a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--lma-ligne); border-radius: 4px; background: var(--lma-papier); color: var(--lma-encre); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.lma-chips a:hover, .lma-chips a:focus-visible { border-color: var(--lma-vert); background: var(--lma-sauge); }

/* « À lire en premier » : correctif des proportions (2.0).
   Les petites cartes prennent toute la hauteur de la carte (image étirée, recadrage centré haut) :
   plus de vignette de 120 px flottant dans une carte de 200 px ni de zones blanches. */
.lma-section-title { font-size: 28px; margin: 0 0 1.25rem; padding-top: .75rem; border-top: 2px solid var(--lma-encre); }
.lma-all-title { margin-top: 3rem; }
.lma-featured { margin-bottom: 1rem; }
.lma-featured__grid { display: grid; gap: 1.25rem; }
.lma-feat { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; align-items: stretch; background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); overflow: hidden; transition: border-color .15s; }
.lma-feat:hover { border-color: var(--lma-vert); }
.lma-feat__img { display: block; position: relative; min-height: 120px; background: var(--lma-beige); }
.lma-feat__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.lma-feat__body { display: flex; flex-direction: column; justify-content: center; padding: .9rem 1.1rem; }
.lma-feat__title { font-size: 19px; line-height: 1.25; margin: 0 0 .35rem; }
.lma-feat__title a { color: var(--lma-encre); text-decoration: none; }
.lma-feat:hover .lma-feat__title a { text-decoration: underline; }
.lma-feat__excerpt { font-size: 16px; line-height: 1.55; color: var(--lma-texte); margin: 0 0 .6rem; }
.lma-feat__meta { font-size: 14px; color: var(--lma-muted); margin: 0; }
.lma-feat--big { grid-template-columns: 1fr; }
.lma-feat--big .lma-feat__img { min-height: 0; aspect-ratio: 3 / 2; }
.lma-feat--big .lma-feat__body { justify-content: flex-start; padding: 1.2rem 1.4rem 1.4rem; }
.lma-feat--big .lma-feat__title { font-size: 28px; line-height: 1.15; }
@media (min-width: 700px) and (max-width: 1099px) {
	.lma-featured__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lma-feat--big { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; }
	.lma-feat--big .lma-feat__img { aspect-ratio: auto; min-height: 280px; }
	.lma-feat--big .lma-feat__body { justify-content: center; }
	.lma-feat:not(.lma-feat--big) { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.lma-feat:not(.lma-feat--big) .lma-feat__img { min-height: 0; aspect-ratio: 3 / 2; }
	.lma-feat:not(.lma-feat--big) .lma-feat__body { justify-content: flex-start; }
}
@media (min-width: 1100px) {
	.lma-featured__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); }
	.lma-feat--big { grid-row: 1 / span 3; grid-template-rows: auto 1fr; }
	.lma-feat:not(.lma-feat--big) { grid-template-columns: 42% 1fr; }
}

/* ---------- Accueil 2.1 : direction « magazine lifestyle » ---------- */
/* Ouverture : H1 Kadence + intro + pastilles (déplacées par inc/accueil.php, textes inchangés) | grande photo à fond perdu */
.home .entry-hero-container-inner { background: transparent; }
.home .entry-hero .kadence-breadcrumbs { display: none; }
.home .entry-hero .entry-header { text-align: left; align-items: stretch; }
.home .entry-hero .entry-title { max-width: 24ch; margin: 0; font-size: clamp(2.1rem, 1.1rem + 2.3vw, 3.05rem); line-height: 1.04; font-weight: 600; letter-spacing: -.025em; color: var(--lma-encre); text-wrap: pretty; }
.home .entry-hero .entry-title::before { content: ""; display: block; width: 3.5rem; height: 4px; margin-bottom: 1.6rem; border-radius: 2px; background: var(--lma-terre); }
.lma-ouverture__texte .lma-hero { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.lma-ouverture__texte .is-layout-constrained > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.lma-intro { margin: 0 0 1.5rem; font-size: 19px; line-height: 1.6; color: var(--lma-texte); max-width: 46ch; }
.lma-ouverture__texte .lma-intro::first-line { font-weight: 600; color: var(--lma-encre); }
.lma-chips--hero { margin: 0; }
.lma-chips--hero a { background: transparent; border-color: #D9CDB8; border-radius: 999px; padding: .38rem .9rem; }
.lma-chips--hero a:hover, .lma-chips--hero a:focus-visible { background: var(--lma-sauge); border-color: var(--lma-vert); }
.home .lma-hero-search { display: none; } /* recherche déplacée dans l'en-tête */
/* Photo de couverture (LCP : eager + fetchpriority=high, srcset WordPress) */
.lma-cover { position: relative; margin: 0; }
.lma-cover__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; background: var(--lma-beige); }
.lma-cover__credit { position: absolute; right: .75rem; bottom: .75rem; margin: 0; padding: .2rem .55rem; border-radius: 3px; background: rgba(31, 42, 36, .62); color: #fff; font-size: 11px; line-height: 1.4; }
@media (min-width: 1000px) {
	.home .entry-hero .hero-container { max-width: none; padding: 0 0 0 max(var(--global-content-edge-padding, 1.5rem), calc((100% - var(--global-content-width, 1180px)) / 2 + var(--global-content-edge-padding, 1.5rem))); }
	.home .entry-hero .entry-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 5vw, 5rem); min-height: min(76vh, 660px); }
	.home .entry-hero .entry-title { grid-column: 1; grid-row: 1; align-self: end; padding-top: 3.5rem; }
	.lma-ouverture__texte { grid-column: 1; grid-row: 2; padding: 1.75rem 0 3rem; }
	.home .entry-hero .lma-cover { grid-column: 2; grid-row: 1 / span 2; }
	.home .entry-hero .lma-cover__img { height: 100%; aspect-ratio: auto; border-bottom-left-radius: 9rem; }
	.lma-cover__credit { right: 1.25rem; bottom: 1.25rem; }
}
@media (max-width: 999px) {
	.home .entry-hero .hero-container { padding-top: 2rem; padding-bottom: 0; }
	.home .entry-hero .entry-header { display: flex; flex-direction: column; }
	.home .entry-hero .lma-cover { order: 2; margin: 1.75rem calc(-1 * var(--global-content-edge-padding, 1.5rem)) 0; }
	.home .entry-hero .lma-cover__img { aspect-ratio: 3 / 2; border-bottom-left-radius: 4.5rem; }
	.lma-ouverture__texte { order: 3; padding-top: 1.75rem; }
}

/* Corps de l'accueil sur toute la largeur du contenu */
.home .content-wrap > .entry { background: transparent; box-shadow: none; }
.home .content-wrap > .entry > .entry-content-wrap { padding: 4.5rem 0 0; }
.home .entry-content .is-layout-constrained > * { max-width: none; margin-left: 0; margin-right: 0; }
/* Titres des cartes : neutralise la marge haute des h3 du contenu Kadence */
.single-content :is(.lma-une-item__title, .lma-rub__title, .lma-hub__title, .lma-tool__title, .lma-recent__title, .lma-feat__title, .lma-card-title, .lma-member__name) { margin-top: 0; }

/* Sections et rythme : alternance crème / beige / sauge à fond perdu (sans débordement horizontal) */
.lma-section { margin: 3.5rem 0; }
.home .lma-section { margin: 0 0 5.5rem; }
.lma-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; padding-top: .9rem; border-top: 2px solid var(--lma-encre); }
.lma-section-head h2, .home .lma-section .lma-section-head h2 { margin: 0; font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; }
.lma-section-head p { margin: 0; font-size: 15px; }
.home .lma-section:has(.lma-rubs), .home .lma-section:has(.lma-tools) { padding: 4rem 0 4.5rem; box-shadow: 0 0 0 100vmax var(--lma-band); clip-path: inset(0 -100vmax); background: var(--lma-band); }
.home .lma-section:has(.lma-rubs) { --lma-band: var(--lma-beige); }
.home .lma-section:has(.lma-tools) { --lma-band: var(--lma-sauge); }
.home .lma-section:has(.lma-rubs) .lma-section-head, .home .lma-section:has(.lma-tools) .lma-section-head { border-top: 0; padding-top: 0; }
.home .lma-section:has(.lma-rubs) .lma-section-head h2::before, .home .lma-section:has(.lma-tools) .lma-section-head h2::before { content: ""; display: block; width: 2.5rem; height: 4px; margin-bottom: 1rem; border-radius: 2px; background: var(--lma-terre); }

/* Images : léger zoom au survol (désactivé si mouvement réduit) */
:is(.lma-une-item__img, .lma-rub__img, .lma-recent__img) { overflow: hidden; }
:is(.lma-une-item__img, .lma-rub__img, .lma-recent__img) img { transition: transform .5s ease; }
:is(.lma-une-item, .lma-rub, .lma-recent):hover :is(.lma-une-item__img, .lma-rub__img, .lma-recent__img) img { transform: scale(1.03); }

/* À la une : grande carte éditoriale + rangée de cartes illustrées */
.lma-une-grid { display: grid; gap: 2.5rem; }
.lma-une-item__img { display: block; border-radius: var(--lma-radius); background: var(--lma-beige); }
.lma-une-item__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.lma-une-item__title { margin: 0 0 .5rem; line-height: 1.2; }
.lma-une-item__title a { color: var(--lma-encre); text-decoration: none; }
.lma-une-item__title a:hover { text-decoration: underline; }
.lma-une-item--lead .lma-une-item__img img { aspect-ratio: 16 / 10; }
.lma-une-item--lead .lma-une-item__body { position: relative; z-index: 1; margin: -3rem 1rem 0; padding: 1.5rem 1.4rem 1.4rem; background: var(--lma-papier); border-radius: var(--lma-radius); box-shadow: 0 18px 40px -26px rgba(31, 42, 36, .45); }
.lma-une-item--lead .lma-une-item__title { font-size: clamp(1.65rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; }
.lma-une-item__excerpt { margin: 0 0 .9rem; font-size: 18px; line-height: 1.6; color: var(--lma-texte); }
.lma-une-side { display: grid; gap: 1.25rem; }
.lma-une-side .lma-une-item { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: start; }
.lma-une-side .lma-une-item__img img { aspect-ratio: 1 / 1; }
.lma-une-side .lma-une-item__title { font-size: 18px; }
.lma-une-side .lma-meta { font-size: 13px; }
@media (min-width: 600px) {
	.lma-une-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.75rem; }
	.lma-une-side .lma-une-item { display: flex; flex-direction: column; gap: 0; }
	.lma-une-side .lma-une-item__img img { aspect-ratio: 4 / 3; }
	.lma-une-side .lma-une-item__body { padding-top: 1rem; }
	.lma-une-side .lma-une-item__title { font-size: 20px; }
	.lma-une-item--lead .lma-une-item__body { margin: -4.5rem 2rem 0; padding: 2rem 2.1rem 1.75rem; }
}
@media (min-width: 1000px) {
	.lma-une-grid { gap: 3.5rem; }
	.lma-une-item--lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
	.lma-une-item--lead .lma-une-item__img { grid-column: 1 / 9; grid-row: 1; }
	.lma-une-item--lead .lma-une-item__body { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 2.5rem 2.5rem 2.25rem; }
	.lma-une-side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Par espèce : mosaïque asymétrique (Chats et Chiens en grand), étiquette posée à cheval sur la photo */
.lma-rubs { display: grid; gap: 2rem 1.5rem; }
.lma-rub { position: relative; display: flex; flex-direction: column; }
.lma-rub__img { display: block; border-radius: var(--lma-radius); background: var(--lma-ligne); }
.lma-rub__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }
.lma-rub__body { position: relative; display: flex; flex-direction: column; flex: 1; margin: -2.75rem 1.25rem 0 0; padding: 1.25rem 1.4rem 1.3rem; background: var(--lma-papier); border-radius: 0 var(--lma-radius) var(--lma-radius) var(--lma-radius); box-shadow: 0 14px 32px -24px rgba(31, 42, 36, .4); }
.lma-rub__title { margin: 0; font-size: 26px; line-height: 1.1; }
.lma-rub--big .lma-rub__title { font-size: clamp(1.9rem, 1.3rem + 1.2vw, 2.4rem); }
.lma-rub__title a { color: var(--lma-encre); text-decoration: none; }
.lma-rub__title a:hover { text-decoration: underline; }
.lma-rub__count { margin: .25rem 0 .8rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-brun); }
.lma-rub ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.lma-rub li { border-top: 1px solid var(--lma-ligne); padding: .55rem 0; font-size: 15px; line-height: 1.4; }
.lma-rub li a { color: var(--lma-texte); text-decoration: none; }
.lma-rub li a:hover { color: var(--lma-lien); text-decoration: underline; }
.lma-rub__more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--lma-lien); }
.lma-rub--sante .lma-rub__body { background: var(--lma-sauge); }
@media (min-width: 700px) {
	.lma-rubs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.lma-rub { grid-column: span 2; }
	.lma-rub--big { grid-column: span 3; }
	.lma-rub ul li:nth-child(n+3) { display: none; }
	.lma-rub--big ul li:nth-child(n+3) { display: block; }
}
@media (min-width: 1100px) {
	.lma-rubs { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
	.lma-rub { grid-column: span 4; }
	.lma-rub--big { grid-column: span 5; }
	.lma-rub--big:first-child { grid-column: span 7; }
	.lma-rub--big .lma-rub__img img { aspect-ratio: auto; height: 440px; }
	.lma-rub--big .lma-rub__body { margin: -4.5rem 2.5rem 0 0; padding: 1.6rem 1.9rem 1.5rem; }
	.lma-rub:not(.lma-rub--big) .lma-rub__img img { aspect-ratio: auto; height: 250px; }
}

/* Cartes espèce 1.x ([lma_hubs], conservé pour l'ancien contenu d'accueil) */
.lma-hubs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lma-hub { display: flex; flex-direction: column; background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); overflow: hidden; transition: border-color .15s; }
.lma-hub:hover { border-color: var(--lma-vert); }
.lma-hub__img { display: block; background: var(--lma-beige); }
.lma-hub__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }
.lma-hub__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.15rem 1.15rem; }
.lma-hub__title { font-size: 24px; margin: 0; }
.lma-hub__title a { color: var(--lma-encre); text-decoration: none; }
.lma-hub__count { font-size: 14px; color: var(--lma-muted); margin: .15rem 0 .75rem; }
.lma-hub ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.lma-hub li { border-top: 1px solid var(--lma-ligne); padding: .5rem 0; font-size: 15px; line-height: 1.35; }
.lma-hub li a { color: var(--lma-texte); text-decoration: none; }
.lma-hub li a:hover { color: var(--lma-lien); text-decoration: underline; }
.lma-hub__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--lma-lien); }

/* Tuiles (pages) */
.lma-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.lma-tile a { display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; min-height: 112px; padding: 1.1rem 1.25rem; border-radius: var(--lma-radius); background: var(--lma-papier); border: 1px solid var(--lma-ligne); color: var(--lma-encre); text-decoration: none; transition: border-color .15s, background .15s; }
.lma-tile a:hover { border-color: var(--lma-vert); background: var(--lma-sauge); }
.lma-tile-name { font-family: var(--global-heading-font-family); font-size: 24px; font-weight: 600; }
.lma-tile-count { font-size: 14px; color: var(--lma-muted); }

/* Outils : 2 grands + 3 petits sur bande sauge */
.lma-tools { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lma-tool { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.5rem; background: var(--lma-papier); border: 1px solid transparent; border-radius: var(--lma-radius); transition: border-color .15s, box-shadow .15s; }
.lma-tool:hover { border-color: var(--lma-vert); box-shadow: 0 14px 30px -24px rgba(31, 42, 36, .45); }
.lma-tool__title { font-size: 22px; margin: 0 0 .5rem; line-height: 1.2; }
.lma-tool__title a { color: var(--lma-encre); text-decoration: none; }
.lma-tool__title a::after { content: ""; position: absolute; inset: 0; }
.lma-tool p { font-size: 16px; margin: 0 0 1rem; color: var(--lma-texte); }
.lma-tool__cta { align-self: flex-start; margin-top: auto; display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; background: var(--lma-vert); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.lma-tool:hover .lma-tool__cta { background: var(--lma-encre); }
@media (min-width: 1000px) {
	.lma-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
	.lma-tool { grid-column: span 2; }
	.lma-tool:nth-child(-n+2) { grid-column: span 3; padding: 1.9rem 2rem; }
	.lma-tool:nth-child(-n+2) .lma-tool__title { font-size: 28px; }
}

/* Récemment mis à jour : cartes illustrées */
.lma-recents { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.lma-recent { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: start; }
.lma-recent__img { display: block; border-radius: var(--lma-radius); background: var(--lma-beige); }
.lma-recent__img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; }
.lma-recent__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lma-brun); margin: 0 0 .25rem; }
.lma-recent__title { font-size: 18px; line-height: 1.25; margin: 0 0 .3rem; }
.lma-recent__title a { color: var(--lma-encre); text-decoration: none; }
.lma-recent__title a:hover { text-decoration: underline; }
.lma-recent__date { font-size: 13px; color: var(--lma-muted); margin: 0; }
@media (min-width: 600px) {
	.lma-recents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.75rem; }
	.lma-recent { display: flex; flex-direction: column; gap: 1rem; }
	.lma-recent__img img { aspect-ratio: 3 / 2; }
	.lma-recent__title { font-size: 20px; }
}
@media (min-width: 1000px) {
	.lma-recents { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Encadrés de l'accueil */
.home .lma-box { margin: 0 0 5.5rem; }
.home .lma-urgence { padding: 1.75rem 2rem; background: #FBEFEB; border-color: #F0D5CE; }
.home .lma-expert { padding: 2.5rem 2.75rem; background: var(--lma-sauge); border: 0; }
.home .lma-expert .lma-box-title { font-size: 28px; }
.home .lma-expert p { max-width: 70ch; }

.page .entry-title { color: var(--lma-encre); }
.wp-block-post-template .wp-block-post-featured-image img { border-radius: var(--lma-radius); aspect-ratio: 3 / 2; object-fit: cover; }
.wp-block-post-template .wp-block-post-title { font-size: 20px; line-height: 1.25; margin: .6rem 0 .25rem; font-weight: 600; }
.wp-block-post-template .wp-block-post-title a { text-decoration: none; color: var(--lma-encre); }
.wp-block-post-template .wp-block-post-date { font-size: 14px; color: var(--lma-muted); }
.wp-block-button__link, .wp-element-button { border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-middle-footer-wrap .site-footer-row-container-inner, .site-footer-row-container-inner { background: var(--lma-vert); }
.site-footer { color: #DCE3D8; font-size: 15px; }
.site-footer .site-middle-footer-inner-wrap { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.lma-footer-brand .lma-brand { color: #fff; font-family: var(--global-heading-font-family); font-size: 24px; font-weight: 700; margin-bottom: 1rem; }
.lma-footer-brand .lma-mark .lma-mark__pad { fill: var(--lma-creme); }
.lma-footer-brand p { max-width: 34ch; line-height: 1.55; margin: 0 0 .75rem; }
.lma-footer-note { color: #fff; font-weight: 600; }
.lma-footer-col ul { list-style: none; margin: 0; padding: 0; }
.lma-footer-col li a { display: inline-flex; align-items: center; min-height: 40px; }
.lma-footer-title { margin: 0 0 .5rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #BFCDBA; }
.site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid #46604F; }
.lma-footer-bottom .site-info-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; align-items: center; font-size: 13px; }
.lma-footer-bottom p { margin: 0; max-width: 70ch; }
.lma-footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.lma-footer-bottom a { display: inline-flex; min-height: 40px; align-items: center; color: #DCE3D8; }

/* ---------- Rédacteurs, équipe, auteur ---------- */
.lma-author-head { margin: 2rem 0; }
.lma-author-job { color: var(--lma-muted); font-weight: 600; }
.lma-author-links { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.lma-author-posts li { margin-bottom: .5rem; }
.lma-author-date { display: block; font-size: .85rem; color: var(--lma-muted); }
.lma-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; aspect-ratio: 1; display: inline-grid; place-items: center; }
img.lma-avatar { width: 40px; height: 40px; }
.lma-avatar--initiales { background: hsl(var(--lma-av-h, 110) 22% 86%); color: hsl(var(--lma-av-h, 110) 30% 24%); font-family: var(--global-heading-font-family); font-weight: 700; font-size: .95em; letter-spacing: .02em; }
.lma-byline .lma-avatar { width: 40px; height: 40px; font-size: 15px; }
.lma-bio--writer { display: flex; gap: 1rem; align-items: flex-start; }
.lma-bio--writer .lma-avatar { width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 3px var(--lma-papier); }
.lma-bio--writer > div { min-width: 0; }
.lma-bio-links { font-size: 14px; }
.lma-team { display: grid; gap: 1.25rem; margin: 2rem 0; }
.lma-member { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--lma-papier); border: 1px solid var(--lma-ligne); border-radius: var(--lma-radius); padding: 1.5rem; }
.lma-member__photo, .lma-member .lma-avatar { width: 112px; height: 112px; font-size: 36px; }
.lma-member__body { min-width: 0; }
.lma-member__name { margin: 0 0 .15rem; font-size: 1.5rem; }
.lma-member__name a { color: var(--lma-encre); text-decoration: none; }
.lma-member__name a:hover { text-decoration: underline; }
.lma-member__job { margin: 0 0 .75rem; color: var(--lma-brun); font-weight: 600; font-size: 15px; }
.lma-member__dom { font-size: 14px; color: var(--lma-muted); }
.lma-member__more { margin-bottom: 0; font-size: 14px; }
.lma-writer-head { display: flex; gap: 1.25rem; align-items: center; max-width: var(--global-content-width, 1200px); margin: 1.5rem auto 0; padding: 0 var(--global-content-edge-padding, 1.5rem); }
.lma-writer-head .lma-avatar { width: 120px; height: 120px; font-size: 40px; }
.lma-writer-head p { margin: 0 0 .3rem; }
.lma-writer-head__job { color: var(--lma-brun); font-weight: 600; }
.lma-writer-head__dom, .lma-writer-head__team { font-size: 14px; color: var(--lma-muted); }
.lma-writer-head__empty { max-width: var(--global-content-width, 1200px); margin: 1rem auto; padding: 0 var(--global-content-edge-padding, 1.5rem); color: var(--lma-muted); }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 767px) {
	.lma-site-title, #mobile-header .lma-site-title { font-size: 22px; }
	.lma-topbar p { font-size: 12px; }
	.single-post .entry-content { font-size: 17px; }
	.single-post .entry-content h2 { font-size: 26px; }
	.single-post .entry-content h3 { font-size: 21px; }
	.single-post .entry-content blockquote, .single-post .entry-content .wp-block-quote { font-size: 20px; }
	.single-post .entry-header .entry-summary, .single-post .entry-header .post-excerpt { font-size: 18px; }
	.single-post .post-thumbnail { margin: 0 calc(-1 * var(--global-content-edge-padding, 1rem)) 2rem; border-radius: 0; }
	.single-post .post-thumbnail.article-post-thumbnail { padding-bottom: 62.5%; }
	.lma-une-credit { margin: -1.7rem 0 1.5rem; font-size: 12px; }
	.lma-byline { font-size: 13px; align-items: flex-start; }
	.lma-box { padding: 1rem 1.1rem; }
	.lma-essentiel { padding: 0 1.1rem 1rem; }
	.lma-essentiel .lma-box-title { margin: 0 -1.1rem .9rem; padding: .65rem 1.1rem; }
	#mobile-toggle, .menu-toggle-open, .search-toggle-open { min-width: 44px; min-height: 44px; }
	.mobile-navigation a { min-height: 48px; display: flex; align-items: center; }
	.lma-footer-bottom .site-info-inner { flex-direction: column; align-items: flex-start; }
	.archive .archive-title, .archive .page-title { font-size: 2.2rem; }
	/* Accueil */
	.home .entry-hero .entry-title { font-size: 2.1rem; line-height: 1.07; }
	.home .entry-hero .entry-title::before { margin-bottom: 1.1rem; }
	.home .entry-hero .lma-cover__img { border-bottom-left-radius: 3rem; }
	.lma-cover__credit { right: .5rem; bottom: .5rem; font-size: 10px; }
	.lma-intro { font-size: 17.5px; }
	.home .content-wrap > .entry > .entry-content-wrap { padding-top: 3rem; }
	.lma-section-head { flex-wrap: wrap; }
	.home .lma-section, .home .lma-box { margin-bottom: 3.5rem; }
	.home .lma-section:has(.lma-rubs), .home .lma-section:has(.lma-tools) { padding: 2.75rem 0 3rem; }
	.home .lma-expert, .home .lma-urgence { padding: 1.25rem 1.2rem; }
	.lma-une-item__excerpt { font-size: 16px; }
	.lma-rub ul li:nth-child(n+3), .lma-hub ul li:nth-child(n+3) { display: none; }
	.lma-hub__img img { aspect-ratio: 2 / 1; }
	.lma-rub__title { font-size: 24px; }
	.lma-tool p { display: none; }
	.lma-tool { padding: 1rem 1.15rem; }
	.lma-tool__title { font-size: 20px; }
	/* Pastilles : défilement horizontal */
	.lma-chips { flex-wrap: nowrap; }
	.lma-chips ul { flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.lma-chips ul::-webkit-scrollbar { display: none; }
	.lma-chips li { flex: none; }
	.lma-chips--hero { flex-wrap: wrap; }
	.lma-chips--hero ul { flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 640px) {
	.lma-member { flex-direction: column; padding: 1.25rem; }
	.lma-member__photo, .lma-member .lma-avatar { width: 88px; height: 88px; font-size: 28px; }
	.lma-writer-head .lma-avatar { width: 88px; height: 88px; font-size: 28px; }
	.lma-bio--writer .lma-avatar { width: 56px; height: 56px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---------- Palette 2.2 : couleurs, fonds et accents (structure inchangée) ---------- */
/* Rythme des fonds de l'accueil : crème → vert très clair (espèces) → crème (urgence) → miel clair (outils) → beige (récents) → pétrole clair (méthode) */
.home .lma-section:has(.lma-rubs) { --lma-band: var(--lma-sauge); }
.home .lma-section:has(.lma-tools) { --lma-band: var(--lma-miel-clair); }
.home .lma-section:has(.lma-recents) { --lma-band: var(--lma-beige); padding: 4rem 0 4.5rem; box-shadow: 0 0 0 100vmax var(--lma-band); clip-path: inset(0 -100vmax); background: var(--lma-band); }
.home .lma-section:has(.lma-recents) .lma-section-head { border-top: 0; padding-top: 0; }
.home .lma-section:has(.lma-recents) .lma-section-head::before { display: none; }
.home .lma-section:has(.lma-recents) .lma-section-head h2::before { content: ""; display: block; width: 2.5rem; height: 4px; margin-bottom: 1rem; border-radius: 2px; background: var(--lma-terre); }

/* Titres de section : filet encre fin + amorce terracotta */
.lma-section-head { position: relative; border-top-width: 1px; }
.lma-section-head::before { content: ""; position: absolute; left: 0; top: -2px; width: 4.5rem; height: 4px; border-radius: 0 0 2px 2px; background: var(--lma-terre); }
.home .lma-section:has(.lma-rubs) .lma-section-head::before, .home .lma-section:has(.lma-tools) .lma-section-head::before { display: none; }
.lma-section-head a, .lma-related-more a { color: var(--lma-petrole); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lma-terre); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.lma-section-head a:hover, .lma-related-more a:hover { color: var(--lma-terre-fonce); }

/* Ouverture : pastille miel derrière l'arrondi de la photo, pastilles thèmes réchauffées */
@media (min-width: 1000px) {
	.home .entry-hero .lma-cover::before { content: ""; position: absolute; left: -3.25rem; bottom: 2.5rem; width: 9rem; height: 9rem; border-radius: 50%; background: var(--lma-miel); opacity: .55; }
	.home .entry-hero .lma-cover__img { position: relative; }
}
.lma-chips--hero a { border-color: #DDCDB2; }
.lma-chips--hero a:hover, .lma-chips--hero a:focus-visible { background: var(--lma-miel-clair); border-color: var(--lma-miel); color: var(--lma-encre); }

/* Badges d'espèce (À la une, récents) : teinte claire + texte foncé de la même famille (≥ 5:1) */
.lma-kicker[class*="lma-esp--"], .lma-recent__cat[class*="lma-esp--"] { display: inline-block; padding: .22rem .65rem; border-radius: 999px; font-size: 11px; letter-spacing: .09em; line-height: 1.4; background: var(--lma-beige); color: var(--lma-brun); }
.lma-esp--chats { background: var(--lma-terre-clair) !important; color: #8E4524 !important; }
.lma-esp--chiens { background: #F5E8C6 !important; color: var(--lma-miel-fonce) !important; }
.lma-esp--nac { background: #E2E8DA !important; color: var(--lma-sauge-texte) !important; }
.lma-esp--basse-cour { background: #DCE7E7 !important; color: #2B5058 !important; }
.lma-une-item .lma-kicker[class*="lma-esp--"] { margin-bottom: .6rem; }
.lma-recent__cat[class*="lma-esp--"] { margin-bottom: .5rem; }

/* À la une : carte principale avec liseré terracotta */
.lma-une-item--lead .lma-une-item__body { border-top: 4px solid var(--lma-terre); }

/* Rubriques : couleur propre à chaque espèce (liseré + compteur), discrète */
.lma-rub { --lma-esp: var(--lma-sauge-fonce); --lma-esp-texte: var(--lma-sauge-texte); }
.lma-rub--chats { --lma-esp: var(--lma-terre); --lma-esp-texte: var(--lma-terre-fonce); }
.lma-rub--chiens { --lma-esp: var(--lma-miel); --lma-esp-texte: var(--lma-miel-fonce); }
.lma-rub--nac { --lma-esp: var(--lma-sauge-fonce); --lma-esp-texte: var(--lma-sauge-texte); }
.lma-rub--basse-cour { --lma-esp: var(--lma-petrole); --lma-esp-texte: var(--lma-petrole); }
.lma-rub__body { border-top: 4px solid var(--lma-esp); }
.lma-rub__count { color: var(--lma-esp-texte); }
.lma-rub--sante .lma-rub__body { background: var(--lma-papier); }
.lma-rub__more { color: var(--lma-petrole); font-weight: 700; text-decoration-color: var(--lma-esp); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.lma-rub__more:hover { color: var(--lma-esp-texte); }
.lma-rub li a:hover { color: var(--lma-petrole); }

/* Urgence : touche terracotta */
.home .lma-urgence { background: var(--lma-terre-clair); border: 1px solid #EED2C2; border-left: 5px solid var(--lma-terre); }
.home .lma-urgence .lma-box-title { color: var(--lma-terre-fonce); }
.home .lma-urgence a { color: var(--lma-terre-fonce); font-weight: 600; text-decoration-thickness: 2px; }
.home .lma-urgence a:hover { color: var(--lma-encre); }

/* Outils sur bande miel : cartes papier, liseré terracotta pour les deux principaux, boutons pétrole */
.lma-tool { box-shadow: 0 10px 26px -22px rgba(74, 56, 20, .45); }
.lma-tool:hover { border-color: var(--lma-miel); box-shadow: 0 16px 34px -22px rgba(74, 56, 20, .5); }
.lma-tool__cta { background: var(--lma-petrole); }
.lma-tool:hover .lma-tool__cta { background: var(--lma-terre-fonce); }
@media (min-width: 1000px) {
	.lma-tool:nth-child(-n+2) { border-top: 4px solid var(--lma-terre); }
}

/* Récents sur bande beige : cartes papier */
.lma-recent { background: var(--lma-papier); border-radius: var(--lma-radius); overflow: hidden; box-shadow: 0 10px 26px -22px rgba(74, 56, 20, .45); transition: box-shadow .15s; }
.lma-recent:hover { box-shadow: 0 16px 34px -22px rgba(74, 56, 20, .55); }
.lma-recent__img { border-radius: 0; }
.lma-recent > div { padding: .75rem .9rem .75rem 0; }
@media (min-width: 600px) {
	.lma-recent { gap: 0; }
	.lma-recent > div { padding: 1rem 1.1rem 1.2rem; }
}

/* Méthode : pétrole clair */
.home .lma-expert { background: var(--lma-petrole-clair); }
.home .lma-expert .lma-box-title { color: var(--lma-petrole); }

/* Boutons Kadence et blocs : pétrole, survol terracotta foncé */
.wp-block-button__link:hover, .wp-element-button:hover, .button:hover { background: var(--lma-terre-fonce); }
.pagination .page-numbers.current { background: var(--lma-petrole); border-color: var(--lma-petrole); }

@media (max-width: 767px) {
	.home .lma-section:has(.lma-recents) { padding: 2.75rem 0 3rem; }
	.home .lma-urgence { border-left-width: 4px; }
}

/* 2.2 : alignement des cartes récentes (retrait de liste du thème) et titre d'urgence équilibré */
.single-content ul.lma-recents, .entry-content ul.lma-recents { padding-left: 0; margin-left: 0; }
.home .lma-urgence .lma-box-title { text-wrap: balance; }

/* 2.2.1 : accessibilité (contrastes relevés par Lighthouse le 17/11) */
.entry-hero .kadence-breadcrumbs, .entry-hero .rank-math-breadcrumb { color: #4F544D; } /* 5,6:1 sur le bandeau #E3DACB */
.kadence-breadcrumbs a, .rank-math-breadcrumb a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: rgba(49, 90, 98, .45); }
.kadence-breadcrumbs a:hover, .rank-math-breadcrumb a:hover { text-decoration-color: currentColor; }
.comment-form .required, .comment-respond .required { color: #A4502C; } /* 4,7:1 sur crème */
