/* Articles pédagogiques du blog (guides tirés des anciens PDF) : schéma, cartes d'hameçons, tableau, source. */
.mm-article-auteur { margin: -.4rem 0 1.4rem; font-size: .95rem; color: var(--wp--preset--color--gris); }
.mm-article-auteur strong { color: var(--wp--preset--color--dore); font-weight: 600; }

/* Sommaire cliquable en tête d'un long guide */
.mm-sommaire { margin: 1.8rem 0 2.2rem; padding: 1.2rem 1.5rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; }
.mm-sommaire > strong { display: block; margin-bottom: .7rem; color: var(--wp--preset--color--dore); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.mm-article-corps .mm-sommaire ol { margin: 0; padding-left: 1.4rem; }
.mm-sommaire li { margin: .35rem 0; }
.mm-sommaire li::marker { color: var(--wp--preset--color--dore); font-weight: 700; }

/* Légende des schémas de proportions */
.mm-legende { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .4rem 1.4rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.mm-article-corps .mm-legende { padding-left: 0; }
.mm-legende li { display: flex; align-items: flex-start; gap: .6rem; margin: 0; padding: .45rem 0; line-height: 1.5; border-bottom: 1px solid var(--wp--preset--color--trait); }
.mm-legende b { flex: 0 0 1.7rem; display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--wp--preset--color--dore); color: var(--wp--preset--color--encre); font-size: .85rem; }

/* Couleurs de hackles et lexique : listes de définitions en grille */
.mm-definitions { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .8rem; margin: 1.4rem 0 2rem; }
.mm-definitions > div { padding: .9rem 1.1rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; }
.mm-definitions dt { margin: 0 0 .25rem; font-weight: 700; color: var(--wp--preset--color--dore); }
.mm-definitions dd { margin: 0; font-size: .95rem; line-height: 1.55; }
.mm-lettre { margin: 1.8rem 0 .2rem; font-family: var(--wp--preset--font-family--titre, inherit); font-size: 1.6rem; color: var(--wp--preset--color--accent); }
.mm-article-corps figure.mm-schema { margin: 1.6rem 0 1.8rem; padding: 1.2rem 1rem .9rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; }
.mm-article-corps figure.mm-schema img { display: block; width: 100%; max-width: 38rem; margin: 0 auto; border-radius: 0; }

.mm-hamecons { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.mm-hamecons h3, .mm-tableau td:first-child { font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em; }

.mm-tableau { width: 100%; margin: 1.4rem 0 2rem; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.mm-tableau th { padding: .6rem .7rem; text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--dore); border-bottom: 2px solid var(--wp--preset--color--filet); }
.mm-tableau td { padding: .6rem .7rem; vertical-align: top; border-bottom: 1px solid var(--wp--preset--color--trait); }
.mm-tableau td:first-child { font-weight: 700; white-space: nowrap; color: var(--wp--preset--color--dore); }
.mm-tableau tbody tr:hover td { background: var(--wp--preset--color--brume); }

/* Sur téléphone, chaque ligne devient une carte avec ses intitulés. */
@media (max-width: 640px) {
	.mm-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mm-tableau, .mm-tableau tbody, .mm-tableau tr, .mm-tableau td { display: block; }
	.mm-tableau tr { margin: 0 0 .8rem; padding: .8rem 1rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-left: 3px solid var(--wp--preset--color--dore); border-radius: 0 12px 12px 0; }
	.mm-tableau td { padding: .25rem 0; border: 0; }
	.mm-tableau td::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--wp--preset--color--gris); }
	.mm-tableau td:first-child { display: block; font-size: 1.25rem; padding-bottom: .3rem; }
	.mm-tableau td:first-child::before { content: none; }
	.mm-tableau tbody tr:hover td { background: none; }
}

/* Tableau « que choisir » : la situation en texte normal, la réponse en doré. */
.mm-tableau-choix td:first-child { white-space: normal; font-weight: 400; color: var(--wp--preset--color--blanc); }
.mm-tableau-choix td:last-child { font-weight: 700; color: var(--wp--preset--color--dore); white-space: nowrap; }
@media (max-width: 640px) {
	.mm-tableau-choix td:first-child { font-size: 1rem; }
	.mm-tableau-choix td:last-child { white-space: normal; }
}
.mm-article-corps ul.mm-videos { padding-left: 0; }

/* ——— Guides techniques (ex. « Maîtriser la pêche à la mouche en rivière ») ——— */
/* Photos : pleine largeur, ou à côté du texte (portrait, gros plan de mouche) sur grand écran. */
.mm-article-corps figure.mm-photo { margin: 1.8rem 0 2rem; }
.mm-article-corps figure.mm-photo img { display: block; width: 100%; max-height: 32rem; object-fit: cover; }
.mm-article-corps figure.mm-photo-cote img { max-height: 26rem; }
.mm-article-corps figure.mm-photo-bas img { object-position: center 65%; } /* photo en hauteur recadrée : on garde le bas (les pêcheurs) */
@media (min-width: 760px) {
	/* Écart avec le texte en marge intérieure : la mise en page de WordPress impose ses marges latérales. */
	.mm-article-corps figure.mm-photo-cote { float: right; box-sizing: border-box; width: 42%; margin: .4rem 0 1.2rem; padding-left: 1.8rem; }
	.mm-article-corps figure.mm-photo-cote figcaption { text-align: left; }
}
.mm-article-corps h2, .mm-article-corps .mm-sommaire, .mm-article-corps table, .mm-article-corps .mm-deux-listes, .mm-article-corps .mm-definitions { clear: both; }
.mm-article-corps h4 { margin: 1.6rem 0 .6rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--dore); }
.mm-article-corps li > p { margin: 0; }

/* Encadré « Erreur classique » : même boîte, filet rouille. */
.mm-encadre p { margin: 0 0 .5rem; }
.mm-encadre p:last-child, .mm-encadre ul:last-child { margin-bottom: 0; }
.mm-encadre.mm-encadre-erreur { border-left-color: #c8703f; }
.mm-encadre.mm-encadre-erreur > strong { color: #e0956a; }

/* Phrase à retenir, et enchaînements (« nymphe lourde → … → streamer »). */
.mm-article-corps p.mm-phrase-cle { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--wp--preset--color--dore); font-family: var(--wp--preset--font-family--titre, inherit); font-size: 1.35rem; line-height: 1.4; text-align: left; color: var(--wp--preset--color--blanc); }
.mm-article-corps p.mm-chaine { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.7rem; margin: 1.2rem 0 1.6rem; text-align: left; }
.mm-chaine span { position: relative; padding: .35rem .9rem; border: 1px solid var(--wp--preset--color--dore); border-radius: 999px; color: var(--wp--preset--color--dore); font-weight: 700; font-size: .95rem; }
/* La flèche entre deux étapes, dans l'espace qui les sépare. */
.mm-chaine span + span::before { content: "→"; position: absolute; left: -1.35rem; top: 50%; transform: translateY(-50%); color: var(--wp--preset--color--gris); font-weight: 400; }
.mm-chaine-egale span + span::before { content: "—"; }

/* Deux listes ou deux idées côte à côte. */
.mm-deux-listes { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem 1.6rem; margin: 1rem 0 1.6rem; }
.mm-deux-listes > div { padding: 1rem 1.2rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; }
.mm-article-corps .mm-deux-listes p { margin: 0 0 .5rem; text-align: left; }
.mm-article-corps .mm-deux-listes ul { margin: 0; }
.mm-article-corps .mm-deux-listes h4 { margin-top: 0; }
.mm-article-corps .mm-deux-listes p.mm-phrase-cle { margin: .4rem 0 0; }

/* « Le principe n'est pas… / Le véritable principe est… » */
.mm-vrai-faux { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.mm-vrai-faux > div { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--wp--preset--color--trait); }
.mm-vrai-faux > div > span { display: block; margin-bottom: .4rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--gris); }
.mm-vrai-faux p { margin: 0; text-align: left; }
.mm-faux p { text-decoration: line-through; text-decoration-color: #c8703f; color: var(--wp--preset--color--gris); }
.mm-vrai { background: var(--wp--preset--color--brume); border-color: var(--wp--preset--color--dore) !important; }

/* Ce que chaque dérive apprend : liste à puces dorées. */
.mm-article-corps ul.mm-lecons { list-style: none; padding-left: 0; }
.mm-lecons li { position: relative; padding-left: 1.6rem; }
.mm-lecons li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--dore); font-weight: 700; }

/* Les 4 questions : étapes numérotées, sans marge de paragraphe. */
.mm-article-corps .mm-etapes-cycle p { text-align: left; }

/* ——— Pages pratiques (permis, ouverture de la pêche) ——— */
.mm-page-pratique p.mm-chapeau-page { font-size: 1.25rem; line-height: 1.6; color: var(--wp--preset--color--blanc); }
.mm-page-pratique .mm-dates-cles { grid-template-columns: repeat(3, 1fr); }
.mm-page-pratique .mm-dates-cles strong { font-size: 1.9rem; }
@media (max-width: 600px) { .mm-page-pratique .mm-dates-cles { grid-template-columns: 1fr; } }
.mm-page-pratique h2 { margin-top: 2.6rem; }
.mm-page-pratique .mm-tableau td:first-child { white-space: normal; }
.mm-page-pratique ul.mm-lecons { list-style: none; padding-left: 0; }
.mm-page-pratique h4 { margin: 0 0 .6rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--dore); font-family: inherit; }
.mm-page-pratique .mm-deux-listes p, .mm-page-pratique .mm-encadre p { margin: 0 0 .5rem; }
.mm-page-pratique p.mm-source { margin-top: 2rem; font-size: .88rem; color: var(--wp--preset--color--gris); }

/* ——— Guide « réservoir » ——— */
/* Sommaire rangé par groupes de parties. */
.mm-sommaire-groupes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .4rem 2rem; align-items: start; }
.mm-sommaire-groupes > :not(div) { display: none; } /* paragraphes vides ajoutés par WordPress */
.mm-sommaire-groupes > div > p { margin: .6rem 0 .3rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--gris); text-align: left; }
.mm-article-corps .mm-sommaire-groupes ol { padding-left: 1.6rem; }
.mm-sommaire-groupes li { margin: .2rem 0; font-size: .95rem; }

/* « la zone + la profondeur + la vitesse » : même pastilles, signe + entre elles. */
.mm-chaine-plus span + span::before { content: "+"; }

/* Les couches d'eau : une échelle de profondeur, du clair au foncé. */
.mm-article-corps ul.mm-couches { list-style: none; padding: 0; margin: 1rem 0 1.6rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--wp--preset--color--trait); }
.mm-couches li { margin: 0; padding: .55rem 1.1rem; font-weight: 600; color: var(--wp--preset--color--blanc); }
.mm-couches li:nth-child(1) { background: rgba(120, 170, 190, .30); }
.mm-couches li:nth-child(2) { background: rgba(90, 140, 165, .30); }
.mm-couches li:nth-child(3) { background: rgba(60, 105, 135, .32); }
.mm-couches li:nth-child(4) { background: rgba(35, 70, 100, .40); }
.mm-couches li:nth-child(5) { background: rgba(20, 40, 60, .55); }

/* Les familles de soies, de la flottante à la plongeante rapide. */
.mm-soies { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem; margin: 1.4rem 0 1.8rem; counter-reset: soie; }
.mm-soies > div { position: relative; padding: 1rem 1.2rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-top: 3px solid var(--wp--preset--color--dore); border-radius: 12px; }
.mm-article-corps .mm-soies h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.mm-article-corps .mm-soies p { margin: 0 0 .4rem; text-align: left; font-size: .98rem; }
.mm-article-corps .mm-soies ul { margin: 0; }
.mm-soies li { margin-bottom: .2rem; font-size: .98rem; }

/* Étapes courtes (technique du buzzer, méthode du hang) : pastilles plus serrées. */
.mm-etapes-cycle.mm-etapes-compactes { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .45rem .6rem; }
.mm-etapes-cycle.mm-etapes-compactes > div { align-items: center; padding: .5rem .9rem; }
.mm-etapes-cycle.mm-etapes-compactes > div > span { flex: 0 0 1.7rem; height: 1.7rem; font-size: .85rem; }

/* Compte à rebours : 4 tuiles. */
.mm-chiffres.mm-compte { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .mm-chiffres.mm-compte { grid-template-columns: repeat(2, 1fr); } }

/* Le montage du washing line, de la soie à la pointe. */
.mm-article-corps ol.mm-montage { list-style: none; padding: 0; margin: .4rem 0 .8rem; }
.mm-montage li { position: relative; margin: 0 0 1.2rem; padding: .35rem .9rem; border: 1px solid var(--wp--preset--color--dore); border-radius: 8px; text-align: center; font-weight: 600; }
.mm-montage li:first-child { background: var(--wp--preset--color--dore); color: var(--wp--preset--color--encre); }
.mm-montage li:last-child { margin-bottom: 0; border-style: dashed; }
.mm-montage li + li::before { content: "↓"; position: absolute; left: 50%; top: -1.25rem; transform: translateX(-50%); color: var(--wp--preset--color--gris); font-weight: 400; }

/* Booby : tirée / pause. */
.mm-va-vient { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0 1.4rem; }
.mm-va-vient > div { padding: .9rem 1rem; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; text-align: center; }
.mm-va-vient strong { display: block; font-size: 1.2rem; color: var(--wp--preset--color--dore); }
.mm-va-vient span { color: var(--wp--preset--color--blanc); }

/* Ce que les poissons disent : une fiche par situation. */
.mm-situations { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.mm-article-corps .mm-situations dd p { margin: 0 0 .4rem; text-align: left; }
.mm-article-corps .mm-situations dd ul { margin: 0 0 .5rem; padding-left: 1.1rem; }
.mm-situations dd li { margin-bottom: .15rem; }

/* « La pause » : l'encadré fort. */
.mm-encadre.mm-encadre-fort { background: var(--wp--preset--color--dore-pale); }
.mm-encadre.mm-encadre-fort > strong { font-family: var(--wp--preset--font-family--titre, inherit); font-size: 1.6rem; letter-spacing: .02em; text-transform: none; }

/* Les 4 phases du protocole. */
.mm-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .9rem; margin: 1.4rem 0 1.6rem; }
.mm-phases > div { padding: 1rem 1.1rem; font-size: .92rem; line-height: 1.5; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--trait); border-radius: 12px; }
.mm-phases > div > span { display: inline-block; padding: .1rem .6rem; border-radius: 999px; background: var(--wp--preset--color--dore); color: var(--wp--preset--color--encre); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.mm-article-corps .mm-phases h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }
.mm-article-corps .mm-phases p { margin: 0 0 .3rem; text-align: left; }
.mm-article-corps .mm-phases ul { margin: 0; padding-left: 1.1rem; }
.mm-phases li { margin-bottom: .1rem; }

/* Rivière / réservoir face à face. */
.mm-article-corps .mm-face-a-face h3 { margin-top: 0; }
.mm-article-corps .mm-face-a-face p.mm-chaine { margin: .5rem 0 0; gap: .5rem 1.3rem; }
.mm-face-a-face .mm-chaine span { padding: .25rem .65rem; font-size: .85rem; }
.mm-face-a-face .mm-chaine span + span::before { left: -1rem; }

/* Pêcheur ordinaire / compétiteur : la première case sans barre. */
.mm-faux-sans-barre p { text-decoration: none; font-style: italic; }
.mm-article-corps .mm-vrai-faux p.mm-chaine { margin: .3rem 0 0; }

/* La formule à retenir. */
.mm-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.4rem 0 2rem; }
.mm-formules > div { padding: 1.4rem 1.2rem; text-align: center; background: var(--wp--preset--color--brume); border: 1px solid var(--wp--preset--color--dore); border-radius: 14px; }
.mm-formules > div > span { display: block; margin-bottom: .6rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--gris); }
.mm-article-corps .mm-formules p { margin: 0; text-align: center; color: var(--wp--preset--color--gris); }
.mm-article-corps .mm-formules p.mm-formule { font-family: var(--wp--preset--font-family--titre, inherit); font-size: 1.35rem; line-height: 1.35; color: var(--wp--preset--color--dore); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .4rem; }
.mm-article-corps .mm-formules p.mm-formule-mouche { margin-top: .3rem; font-size: 1.2rem; font-weight: 700; color: var(--wp--preset--color--blanc); text-transform: uppercase; letter-spacing: .1em; }
.mm-article-corps p.mm-source { margin-top: 1.6rem; font-size: .88rem; line-height: 1.6; text-align: left; color: var(--wp--preset--color--gris); }
