/*
Theme Name: Le pays des merveilles
Theme URI: https://www.lepaysdesmerveilles.com/
Author: Le pays des merveilles
Description: Thème sur mesure du blog Le pays des merveilles. Léger, sans constructeur de pages ni script : une seule feuille de style, deux polices hébergées sur le site, de vraies images dans les listes.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: merveilles
*/

/* ---------- 1. Polices (hébergées dans le thème) ---------- */
@font-face {
	font-family: "Chivo";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/chivo-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto Slab";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/roboto-slab-latin.woff2") format("woff2");
}

/* ---------- 2. Réglages et base ---------- */
:root {
	--rose: #c16599;         /* couleur du blog : grands titres, bandeau de recherche */
	--rose-fonce: #a8437f;   /* liens et petits textes : contraste suffisant sur blanc */
	--magenta: #c13c87;      /* pastilles de catégorie */
	--prune: #7f4268;        /* bouton du bandeau de recherche */
	--encre: #1f1f1f;
	--texte: #333;
	--gris: #666;
	--trait: #e5e5e5;
	--fond-doux: #f6f5f6;
	--largeur: 1240px;
	--marge: 20px;
	--titres: "Chivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--lecture: "Roboto Slab", Georgia, "Times New Roman", serif;
	--rayon: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body.site {
	margin: 0;
	background: #fff;
	color: var(--texte);
	font-family: var(--titres);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--rose-fonce); }
a:hover { color: var(--encre); }
h1, h2, h3, h4, h5, h6 { font-family: var(--titres); color: var(--encre); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rose-fonce); outline-offset: 2px; }
.masque, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--encre); padding: 10px 14px; border-radius: var(--rayon); font-weight: 700; }
.evitement:focus { top: 8px; }
.boite { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }

/* Mise en page générale : le pied reste en bas des pages courtes. Le bandeau partenaire, qu'un extrait
   de code ajoute en fin de page, est placé en tête par la feuille de style seule : plus de menu masqué
   ni de saut de page en attendant son script (dont le décalage, devenu inutile, est neutralisé). */
body.site { display: flex; flex-direction: column; min-height: 100vh; padding-top: 0 !important; }
body.site > main { flex: 1 0 auto; }
body.site > #jt-bar { position: sticky; order: -1; }
/* Mêmes règles que celles de l'extrait, mais disponibles dès le début du chargement : le bandeau a tout de
   suite sa taille définitive (sans elles, son logo occupe un instant tout l'écran et la page saute).
   Sélecteurs volontairement simples : si l'extrait change ses propres règles, ce sont elles qui s'appliquent. */
#jt-bar { top: 0; z-index: 99999; background: #ec8975; box-shadow: 0 2px 10px rgba(80, 30, 10, .15); transition: transform .28s ease; }
#jt-inner { display: flex; align-items: center; gap: 12px; padding: 8px 16px; max-width: 1200px; margin: 0 auto; box-sizing: border-box; flex-wrap: nowrap; }
#jt-logo a { display: block; background: #fff; border-radius: 6px; overflow: hidden; line-height: 0; flex-shrink: 0; text-decoration: none; }
#jt-logo svg { height: 64px; width: auto; display: block; }
#jt-sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .3); flex-shrink: 0; }
#jt-text { flex: 1; min-width: 0; }
#jt-text p { margin: 0; }
#jt-h { font-family: "Baloo 2", cursive; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.25; }
#jt-s { font-family: "Nunito", sans-serif; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .88); line-height: 1.4; margin-top: 2px !important; }
#jt-cta { background: #fff; color: #c95c42; border-radius: 30px; padding: 8px 16px; font-family: "Baloo 2", cursive; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
#jt-close { background: none; border: none; cursor: pointer; color: rgba(255, 255, 255, .75); font-size: 20px; line-height: 1; padding: 0; flex-shrink: 0; }
@media (max-width: 600px) {
	#jt-inner { flex-wrap: wrap; gap: 6px 10px; padding: 8px 12px; }
	#jt-logo { order: 1; }
	#jt-sep { display: none; }
	#jt-cta { order: 2; margin-left: auto; font-size: 12px; padding: 7px 12px; }
	#jt-close { order: 3; }
	#jt-text { order: 4; flex-basis: 100%; }
	#jt-h { font-size: 13px; }
	#jt-s { font-size: 11px; }
}

/* ---------- 3. En-tête ---------- */
.entete { background: #fff; }
.entete__barre { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 92px; }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: auto; height: 70px; }
.reseaux { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.reseaux a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--encre); border-radius: 50%; }
.reseaux a:hover { color: var(--rose-fonce); background: var(--fond-doux); }
.reseaux svg { width: 20px; height: 20px; fill: currentColor; }

.bascule, .bascule__bouton { display: none; }
.menu, .menu ul { margin: 0; padding: 0; list-style: none; }
.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.menu > li { position: relative; }
.menu a { display: block; text-decoration: none; color: var(--encre); }
.menu > li > a { padding: 9px 12px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.menu > li:hover > a, .menu > li:focus-within > a { color: var(--rose-fonce); }
.menu > .current-menu-item > a, .menu > .current-menu-ancestor > a, .menu > .current-menu-parent > a, .menu > .current-category-ancestor > a { background: var(--magenta); color: #fff; }
.menu .sub-menu { position: absolute; left: 0; top: 100%; z-index: 30; min-width: 250px; padding: 8px 0; background: #fff; border-radius: 0 0 var(--rayon) var(--rayon); box-shadow: 0 12px 28px rgba(0, 0, 0, .14); visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.menu .sub-menu a { padding: 9px 18px; font-size: 14px; font-weight: 500; }
.menu .sub-menu a:hover, .menu .sub-menu a:focus { background: var(--fond-doux); color: var(--rose-fonce); }
.menu .sub-menu .current-menu-item > a { color: var(--rose-fonce); font-weight: 700; }

.recherche { background: var(--rose); padding: 14px 0; }
.recherche__form { display: flex; }
.recherche__champ { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; border-radius: 4px 0 0 4px; background: #fff; font-size: 15px; }
.recherche__champ::placeholder { color: #767676; opacity: 1; }
.recherche__bouton { height: 46px; padding: 0 26px; border: 0; border-radius: 0 4px 4px 0; background: var(--prune); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.recherche__bouton:hover { background: #63314f; }
.raccourcis { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.raccourcis a { display: block; padding: 5px 13px; background: #fff; border-radius: 999px; color: var(--encre); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.raccourcis a:hover, .raccourcis a:focus-visible { background: var(--encre); color: #fff; }

/* ---------- 4. Cartes d'articles ---------- */
.carte { position: relative; display: flex; flex-direction: column; min-width: 0; }
.carte__image { display: block; overflow: hidden; border-radius: var(--rayon); background: var(--fond-doux); line-height: 0; }
.carte__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.carte:hover .carte__image img { transform: scale(1.03); }
.pastille { display: inline-block; align-self: flex-start; margin: 12px 0 0; padding: 4px 9px; background: var(--magenta); color: #fff; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.pastille:hover { background: var(--encre); color: #fff; }
.carte__titre { margin: 8px 0 0; font-size: 1.06rem; font-weight: 800; line-height: 1.22; }
.carte__titre a { color: var(--encre); text-decoration: none; }
.carte__titre a:hover { color: var(--rose-fonce); }
.carte__titre a:focus-visible { outline-offset: 4px; }

.grille { display: grid; gap: 34px 24px; }
.grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* À la une : image à gauche, titre à droite */
.une { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.carte--une { flex-direction: row; align-items: center; gap: 24px; }
.carte--une .carte__image { flex: 0 0 50%; }
.carte--une .carte__image img { aspect-ratio: 5 / 6; }
.carte--une .carte__corps { min-width: 0; }
.carte--une .pastille { margin-top: 0; }
.carte--une .carte__titre { margin-top: 14px; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 800; line-height: 1.18; }

/* Petites cartes (colonne de droite) et cartes en ligne (listes) */
.grille--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.carte--mini .carte__image img { aspect-ratio: 3 / 2; }
.carte--mini .carte__titre { font-size: .86rem; line-height: 1.25; }
.liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; }
.carte--ligne { flex-direction: row; align-items: center; gap: 16px; }
.carte--ligne .carte__image { flex: 0 0 42%; max-width: 190px; }
.carte--ligne .carte__image img { aspect-ratio: 3 / 2; }
.carte--ligne .carte__titre { margin: 0; font-size: .94rem; }

/* ---------- 5. Accueil ---------- */
.page-contenu { padding-block: 34px 56px; }
.intro { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.intro__titre { margin: 0 0 6px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 900; color: var(--rose); }
.intro__texte { margin: 0; color: var(--gris); font-size: .98rem; text-wrap: balance; }
.section { margin-top: 52px; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 52px; }
.bloc + .bloc { margin-top: 44px; }
.bloc__titre { margin: 0 0 18px; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 900; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--rose); }
.bloc__titre a { color: inherit; text-decoration: none; }
.bloc__titre a:hover { color: var(--rose-fonce); }
.bloc__suite { margin: 18px 0 0; font-size: .86rem; font-weight: 700; }
.note-accueil { margin: 56px 0 0; text-align: center; font-size: .95rem; color: var(--encre); }

/* ---------- 6. Listes : catégories, étiquettes, recherche, auteur ---------- */
.entete-liste { margin-bottom: 40px; padding: 30px clamp(18px, 4vw, 44px) 34px; background: var(--fond-doux); border-radius: 10px; }
.entete-liste__titre { margin: 0 0 14px; text-align: center; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); font-weight: 900; color: var(--rose); }
.sous-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 16px; padding: 0; list-style: none; }
.sous-categories a { color: var(--encre); font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.sous-categories a:hover { color: var(--rose-fonce); text-decoration: underline; }
.fil { margin: 0 0 14px; font-size: .78rem; color: var(--gris); }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--rose-fonce); text-decoration: underline; }
.entete-liste .fil { text-align: center; }
.entete-liste__texte { max-width: 80ch; margin: 0 auto; color: var(--gris); font-size: .92rem; font-style: italic; }
.entete-liste__texte p:last-child { margin-bottom: 0; }
.entete-liste .grille { margin-top: 28px; }
.entete-liste .carte__titre { font-size: 1.2rem; }
.auteur-entete { display: flex; align-items: center; gap: 22px; max-width: 80ch; margin: 0 auto; }
.auteur-entete img { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 48px 0 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--trait); border-radius: 4px; color: var(--encre); font-size: .9rem; font-weight: 700; text-decoration: none; }
.pagination a.page-numbers:hover { border-color: var(--rose-fonce); color: var(--rose-fonce); }
.pagination .current { background: var(--rose-fonce); border-color: var(--rose-fonce); color: #fff; }
.pagination .dots { border-color: transparent; }
.vide { max-width: 640px; margin: 20px auto 48px; text-align: center; }

/* ---------- 7. Article et page ---------- */
.colonnes--article { margin-top: 0; row-gap: 0; grid-template-areas: "article cote" "commentaires cote"; }
.colonnes--article > .article { grid-area: article; }
.colonnes--article > .cote { grid-area: cote; }
.colonnes--article > .commentaires { grid-area: commentaires; }
.article { min-width: 0; }
.article__titre { margin: 0 0 22px; font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 900; line-height: 1.08; color: var(--rose); overflow-wrap: break-word; }
.article__entete .pastille { margin: 0 0 12px; }
.article__image { margin: 0 0 22px; }
.article__image img { display: block; width: 100%; border-radius: 8px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 6px 26px; margin: 0 0 28px; padding: 12px 26px; background: #eee; border-radius: 999px; color: var(--encre); font-size: .86rem; font-weight: 500; }
.meta a { color: var(--encre); font-weight: 800; text-decoration: none; }
.meta a:hover { color: var(--rose-fonce); }
.meta__item { display: inline-flex; align-items: center; gap: 7px; }
.meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.texte { font-family: var(--lecture); font-size: 1.06rem; line-height: 1.75; color: var(--texte); overflow-wrap: break-word; }
.texte > :first-child { margin-top: 0; }
.texte p { text-wrap: pretty; }
.texte p, .texte ul, .texte ol, .texte blockquote, .texte table, .texte figure, .texte pre { margin: 0 0 1.35em; }
.texte h2, .texte h3, .texte h4, .texte h5, .texte h6 { margin: 1.7em 0 .6em; font-weight: 800; }
.texte h1 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.texte h2 { font-size: 1.55rem; }
.texte h3 { font-size: 1.28rem; }
.texte h4 { font-size: 1.1rem; }
.texte a { color: var(--rose-fonce); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.texte a:hover { color: var(--encre); }
.texte img { border-radius: 4px; }
.texte ul, .texte ol { padding-left: 1.4em; }
.texte li { margin-bottom: .4em; }
.texte blockquote { padding: .2em 0 .2em 1.1em; border-left: .5em solid currentColor; color: var(--gris); text-align: left; }
.texte blockquote p:last-child { margin-bottom: 0; }
.texte hr { height: 1px; margin: 2em 0; border: 0; background: var(--trait); }
.texte table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-family: var(--titres); font-size: .92rem; }
.texte th, .texte td { padding: 8px 12px; border: 1px solid var(--trait); text-align: left; vertical-align: top; }
.texte th { background: var(--fond-doux); }
.texte iframe, .texte embed, .texte object, .texte video { max-width: 100%; }
.texte iframe[src*="youtube"], .texte iframe[src*="youtu.be"], .texte iframe[src*="vimeo"], .texte iframe[src*="dailymotion"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.texte pre { padding: 14px; overflow-x: auto; background: var(--fond-doux); border-radius: var(--rayon); font-size: .9rem; }
.texte::after { content: ""; display: table; clear: both; }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; margin-bottom: 1.35em; }
.wp-caption img { display: block; }
.wp-caption-text, .wp-element-caption, figcaption { margin-top: 6px; color: var(--gris); font-family: var(--titres); font-size: .82rem; line-height: 1.4; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 1.35em; }
.gallery-item { margin: 0; }
.sticky, .bypostauthor { display: block; }

.sommaire { margin: 0 0 1.6em; padding: 14px 20px; background: var(--fond-doux); border-radius: var(--rayon); font-family: var(--titres); font-size: .95rem; line-height: 1.5; }
.sommaire summary { cursor: pointer; font-weight: 800; color: var(--encre); }
.sommaire ol { margin: 10px 0 2px; padding-left: 1.3em; }
.sommaire li { margin-bottom: .35em; }
.texte .sommaire a { text-decoration: none; }
.texte .sommaire a:hover { text-decoration: underline; }

/* Bloc « L'essentiel », questions fréquentes, mention des liens affiliés */
.utile { margin: 0 0 1.9em; padding: 20px 22px 18px; background: #fcf4f8; border: 1px solid #f0d6e3; border-radius: 12px; font-family: var(--titres); font-size: .97rem; line-height: 1.5; color: var(--encre); }
.utile svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.texte .utile__titre { display: flex; align-items: center; gap: 8px; margin: 0 0 .7em; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-fonce); }
.utile__titre svg { flex: none; width: 19px; height: 19px; }
.texte .utile__resume { margin: 0 0 1.05em; font-size: 1.06rem; font-weight: 500; line-height: 1.5; }
.texte .utile__reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 1.1em; }
.utile__repere { position: relative; min-width: 0; padding: 10px 14px 11px 46px; background: #fff; border: 1px solid #f0d6e3; border-radius: 9px; }
.utile__repere--large { grid-column: 1 / -1; }
.utile__repere svg { position: absolute; top: 12px; left: 14px; width: 21px; height: 21px; color: var(--rose-fonce); }
.utile__repere dt { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
.utile__repere dd { margin: 1px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.texte .utile__soustitre { margin: 0 0 .6em; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
.texte .utile__etapes { counter-reset: etape; margin: 0 0 1.1em; padding: 0; list-style: none; }
.texte .utile__etapes li { position: relative; min-height: 27px; margin: 0 0 .55em; padding: 2px 0 0 39px; counter-increment: etape; }
.utile__etapes li::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 27px; height: 27px; border-radius: 50%; background: var(--rose-fonce); color: #fff; font-size: .82rem; font-weight: 800; line-height: 27px; text-align: center; }
.texte .utile__suite { margin: 0; font-size: .86rem; }
.texte .utile__suite a { font-weight: 700; text-decoration: none; }
.texte .utile__suite a:hover { text-decoration: underline; }
.utile > :last-child { margin-bottom: 0; }
.questions { margin-top: 2.4em; }
.questions__element { margin: 0 0 12px; padding: 15px 20px 16px; background: var(--fond-doux); border-radius: 10px; }
.texte .questions__element h3 { margin: 0 0 .3em; font-size: 1.08rem; line-height: 1.35; }
.texte .questions__element p { margin: 0; }
.texte .lien-amazon { display: inline-flex; align-items: center; gap: 7px; margin: 0 8px 8px 0; padding: 9px 16px; border: 1px solid #d9d4da; border-radius: 999px; background: #fff; font-family: var(--titres); font-size: .88rem; font-weight: 700; line-height: 1.2; color: var(--encre); text-decoration: none; }
.texte .lien-amazon::after { content: "→"; color: var(--rose-fonce); }
.texte .lien-amazon:hover { border-color: var(--rose-fonce); color: var(--rose-fonce); }
.texte .mention-affiliation { margin: 0 0 1.2em; font-family: var(--titres); font-size: .8rem; font-style: italic; line-height: 1.45; color: var(--gris); }
.texte h2[id] { scroll-margin-top: 20px; }

.article__pied { margin-top: 34px; }
.voisins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.voisins__lien { display: block; padding: 16px 18px; border: 1px solid var(--trait); border-radius: var(--rayon); text-decoration: none; }
.voisins__lien:hover { border-color: var(--rose-fonce); }
.voisins__lien--suivant { grid-column: 2; text-align: right; }
.voisins__sens { display: block; margin-bottom: 4px; color: var(--gris); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.voisins__titre { display: block; color: var(--encre); font-size: .95rem; font-weight: 800; line-height: 1.25; }
.saison { margin: 0 0 26px; padding: 18px 20px 16px; background: var(--fond-doux); border: 1px solid var(--trait); border-radius: 12px; font-family: var(--titres); font-size: .97rem; line-height: 1.4; color: var(--encre); }
.saison__titre { margin: 0 0 .75em; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-fonce); }
.saison__liens { margin: 0 0 .8em; padding: 0; list-style: none; }
.saison__liens li { position: relative; margin: 0 0 .5em; padding-left: 1.4em; font-weight: 600; }
.saison__liens li::before { content: "→"; position: absolute; left: 0; color: var(--rose-fonce); }
.saison__liens a { color: var(--encre); text-decoration: none; }
.saison__liens a:hover, .saison__tout a:hover { color: var(--rose-fonce); text-decoration: underline; }
.saison__tout { margin: 0; font-size: .9rem; font-weight: 700; }
.saison__tout a { color: var(--rose-fonce); }
.etiquettes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .8rem; }
.etiquettes a { display: block; padding: 5px 11px; border: 1px solid var(--trait); border-radius: 999px; color: var(--encre); font-weight: 600; text-decoration: none; }
.etiquettes a:hover { border-color: var(--rose-fonce); color: var(--rose-fonce); }
.auteur { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; margin: 0 0 40px; padding: 22px; border: 1px solid var(--trait); border-radius: var(--rayon); }
.auteur img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.auteur__nom { margin: 4px 0 2px; font-size: 1rem; font-weight: 800; }
.auteur__nom a { color: var(--encre); text-decoration: none; }
.auteur__texte { margin: 8px 0 0; font-size: .86rem; line-height: 1.6; color: var(--texte); }
.auteur .reseaux { margin-top: 10px; gap: 4px; }
.auteur .reseaux a { color: var(--rose-fonce); }

/* Partage Jetpack : espace et titre alignés sur le thème */
.texte .sharedaddy, .sharedaddy { clear: both; margin-top: 2em; font-family: var(--titres); }
.sharedaddy h3.sd-title { font-family: var(--titres); font-size: 1.05rem; font-weight: 800; color: var(--encre); }
.sharedaddy h3.sd-title::before { display: none; }

/* Colonne de droite de l'article */
.cote { position: sticky; top: 20px; align-self: start; }

/* ---------- 8. Commentaires ---------- */
.commentaires { margin-top: 44px; }
.commentaires__titre, .comment-reply-title { margin: 0 0 20px; font-size: .95rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.liste-commentaires, .liste-commentaires ol { margin: 0; padding: 0; list-style: none; }
.liste-commentaires .children { margin-left: clamp(14px, 4vw, 46px); }
.commentaire { padding: 18px 0; border-top: 1px solid var(--trait); content-visibility: auto; contain-intrinsic-size: auto 150px; }
.commentaire__tete { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.commentaire__tete img { width: 44px; height: 44px; border-radius: 50%; }
.commentaire__nom { font-size: .92rem; font-weight: 800; font-style: normal; color: var(--encre); }
.commentaire__date { display: block; font-size: .76rem; color: var(--gris); text-decoration: none; }
.commentaire__texte { font-family: var(--lecture); font-size: .95rem; line-height: 1.65; overflow-wrap: break-word; }
.commentaire__texte p:last-child { margin-bottom: 0; }
.commentaire__attente { font-size: .82rem; font-style: italic; color: var(--gris); }
.commentaire .reply { margin-top: 6px; font-size: .8rem; font-weight: 700; }
.comment-respond { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--trait); }
.comment-form label { display: block; margin-bottom: 4px; font-size: .86rem; font-weight: 700; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.champ { width: 100%; padding: 11px 13px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font-size: 1rem; }
.comment-form .submit, .bouton, .wpcf7-submit { display: inline-block; padding: 12px 26px; border: 0; border-radius: 4px; background: var(--rose-fonce); color: #fff; font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.comment-form .submit:hover, .bouton:hover, .wpcf7-submit:hover { background: var(--encre); color: #fff; }

/* ---------- 9. Pages simples, formulaire de contact, 404 ---------- */
.page-simple { max-width: 820px; margin-inline: auto; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 11px 13px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font-family: var(--titres); font-size: 1rem; }
.wpcf7 label { font-family: var(--titres); font-size: .92rem; font-weight: 600; }
.grecaptcha-badge { display: none; }
.introuvable { max-width: 640px; margin: 10px auto 50px; text-align: center; }
.introuvable .recherche__form { margin-top: 22px; border: 1px solid #bbb; border-radius: 5px; }

/* ---------- 10. Pied de page ---------- */
.pied { margin-top: 20px; padding: 46px 0 28px; border-top: 1px solid var(--trait); background: var(--fond-doux); }
.pied__colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.pied__nom { margin: 0 0 8px; font-size: 1.2rem; font-weight: 900; color: var(--rose-fonce); }
.pied__texte { margin: 0 0 14px; color: var(--gris); font-size: .88rem; }
.pied__titre { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--encre); }
.pied__liste { margin: 0; padding: 0; list-style: none; }
.pied__liste li { margin-bottom: 8px; }
.pied__liste a { color: var(--texte); font-size: .92rem; text-decoration: none; }
.pied__liste a:hover { color: var(--rose-fonce); text-decoration: underline; }
.pied .reseaux { margin-left: -7px; }
.pied__abonnement form { margin: 0; }
.pied__abonnement p { margin: 0 0 10px; }
.pied__abonnement input[type="email"] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font-size: .95rem; }
.pied__abonnement button, .pied__abonnement input[type="submit"] { height: 44px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--rose-fonce); color: #fff; font-size: .9rem; font-weight: 700; cursor: pointer; }
.pied__abonnement button:hover, .pied__abonnement input[type="submit"]:hover { background: var(--encre); }
.pied__mention { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--trait); color: var(--gris); font-size: .8rem; text-align: center; }

/* ---------- 11. Écrans moyens et téléphones ---------- */
@media (max-width: 1100px) {
	.grille--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.colonnes { grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; }
}
@media (max-width: 999px) {
	.entete__barre { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; min-height: 68px; }
	.logo { justify-self: center; }
	.logo img { height: 52px; }
	.entete .reseaux { display: none; }
	/* La case reste accessible au clavier mais ne reçoit aucun appui : c'est son libellé, le bouton, qui la commande. */
	.bascule { position: absolute; display: block; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
	.bascule__bouton { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; color: var(--encre); cursor: pointer; }
	.bascule__bouton svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
	.bascule:focus-visible + .bascule__bouton { outline: 3px solid var(--rose-fonce); outline-offset: 2px; }
	.bascule__bouton .croix, .bascule:checked + .bascule__bouton .barres { display: none; }
	.bascule:checked + .bascule__bouton .croix { display: block; }
	.navigation { display: none; grid-column: 1 / -1; padding: 4px 0 18px; }
	.bascule:checked ~ .navigation { display: block; }
	.menu { display: block; }
	.menu > li > a { padding: 12px 4px; border-top: 1px solid var(--trait); font-size: 14px; white-space: normal; }
	.menu > .menu-item-has-children > a::after { display: none; }
	.menu .sub-menu { position: static; min-width: 0; padding: 0 0 10px; box-shadow: none; visibility: visible; opacity: 1; transform: none; display: flex; flex-wrap: wrap; gap: 4px 6px; }
	.menu .sub-menu a { padding: 7px 12px; background: var(--fond-doux); border-radius: 999px; font-size: 13px; }
	.navigation .reseaux { display: flex; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trait); }
	.colonnes { grid-template-columns: minmax(0, 1fr); }
	.colonnes--article { grid-template-areas: "article" "cote" "commentaires"; }
	.colonnes--article > .cote { margin-top: 40px; }
	.cote { position: static; }
	.pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.grille--4, .grille--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grille--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.navigation .reseaux { display: none; }
}
@media (max-width: 719px) {
	:root { --marge: 14px; }
	.utile { padding: 16px 14px 14px; }
	.texte .utile__resume { font-size: 1rem; }
	.texte .utile__reperes { grid-template-columns: minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid #f0d6e3; border-radius: 9px; }
	.utile__repere { padding: 9px 12px 9px 42px; border: 0; border-top: 1px solid #f6e6ee; border-radius: 0; background: none; }
	.utile__repere:first-child { border-top: 0; }
	.utile__repere svg { top: 11px; left: 12px; width: 19px; height: 19px; }
	.questions__element { padding: 13px 15px 14px; }
	.page-contenu { padding-block: 24px 44px; }
	.recherche { padding: 10px 0; }
	.recherche__bouton { padding: 0 18px; }
	.une { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.carte--une { gap: 16px; }
	.carte--une .carte__image { flex-basis: 44%; }
	.carte--une .carte__image img { aspect-ratio: 1; }
	.grille { gap: 26px 14px; }
	.grille--4, .grille--3, .grille--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grille--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.carte__titre { font-size: .95rem; }
	.entete-liste .carte__titre { font-size: 1rem; }
	.liste { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.carte--ligne .carte__image { flex-basis: 36%; }
	.section, .colonnes { margin-top: 40px; }
	.colonnes--article { margin-top: 0; }
	.meta { justify-content: flex-start; padding: 12px 18px; border-radius: 14px; }
	.texte { font-size: 1.02rem; line-height: 1.7; }
	.alignleft, .alignright { float: none; display: block; margin: 0 auto 1em; }
	.auteur { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.auteur img { width: 54px; height: 54px; }
	.auteur-entete { flex-direction: column; text-align: center; }
	.raccourcis { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); scrollbar-width: none; }
	.raccourcis::-webkit-scrollbar { display: none; }
	.voisins { grid-template-columns: minmax(0, 1fr); }
	.voisins__lien--suivant { grid-column: auto; text-align: left; }
	.pied__colonnes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 12. Transitions de page, mouvement réduit, impression ---------- */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.entete, .recherche, .cote, .pied, .commentaires, .sharedaddy, .pagination, .voisins, .sommaire, .saison, #jt-bar { display: none !important; }
	body.site { padding: 0 !important; color: #000; }
	.colonnes { display: block; }
	.texte a { color: #000; }
}
