/* tm-guides.css — guides de tagemage-etoile.com : sommaire /blog/, corps d'un guide, composants dans un guide,
   exercices, bloc de fin « À lire ensuite ». Révision 2 (10/10/2026).

   Chargement : par tagemage-guides-20261010.php, sur /blog/ et sur les articles porteurs de _tm_guide_group seulement,
   après tm-brand.css et tm-pages.css. Destination : wp-content/uploads/tagemage-refonte-20261010/css/tm-guides.css.
   La même extension exclut cette feuille de « Remove Unused CSS » (WP Rocket) : l'état details[open] des corrigés et
   des questions n'est pas dans le HTML servi.

   Portée et poids : chaque règle commence par « body.tm-refonte #page-container » et porte « :not(#tm-0) » sur son bloc.
   Ce sélecteur ajoute le poids d'un identifiant sans exiger qu'il existe ; il fait passer ces règles devant
   « #left-area ol / ul » de Divi et devant les règles génériques de tm-pages.css
   (« #page-container .et-l--post :is([class^="tm-"],[class*=" tm-"]) », poids 1,3,1), sans aucun !important.

   Jetons : ceux de tm-brand.css (--tm-prune, --tm-bleu, --tm-orange, --tm-jaune, --tm-texte, --tm-texte-2, --tm-ligne,
   --tm-clair, --tm-police-texte, --tm-police-titre, --tm-entete-h), avec la valeur du kit en repli. Les deux teintes de
   texte que tm-brand.css ne nomme pas (lien #035E97, orange de texte #B74319) reprennent les valeurs de tm-pages.css.

   Les composants [tm_breadcrumb], [tm_key_facts], [tm_toc] et [tm_faq] sont habillés par tm-pages.css (lot « pages »), dont
   les règles de composants valent partout sous #page-container depuis sa révision 2 du 10/10/2026 (mesuré : le fichier
   contient « body.tm-refonte #page-container .tm-key-facts{ »). La section 3 ne pose donc que des ajustements de colonne.
   Si le tm-pages.css déployé bornait encore ses composants à .et-l--post (contrôle : EXECUTION.md, lot G1), ajouter à la
   fin de cette feuille le fichier tm-guides-composants-repli.css, qui les habille entièrement dans .tm-guide-body. */

body.tm-refonte #page-container .tm-hub,
body.tm-refonte #page-container .tm-guide-body,
body.tm-refonte #page-container .tm-readnext {
  --tmg-prune: var(--tm-prune, #2B193D);
  --tmg-bleu: var(--tm-bleu, #0477BF);
  --tmg-orange: var(--tm-orange, #E76A34);
  --tmg-jaune: var(--tm-jaune, #FDC03A);
  --tmg-texte: var(--tm-texte, #2B193D);
  --tmg-texte-2: var(--tm-texte-2, #5E516A);
  --tmg-ligne: #E4DDEA;
  --tmg-clair: var(--tm-clair, #F7F3F9);
  --tmg-lien: #035E97;
  --tmg-orange-texte: #B74319;
  --tmg-orange-clair: #FDF1EA;
  --tmg-police: var(--tm-police-texte, "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  --tmg-police-titre: var(--tm-police-titre, "Commissioner", "Mona Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
  --tmg-ancre: calc(var(--tm-entete-h, 88px) + 22px);
  font-family: var(--tmg-police);
  color: var(--tmg-texte);
  -webkit-text-size-adjust: 100%;
}

/* ------------------------------------------------------------------ 1. Sommaire /blog/ (page en mode constructeur) */
body.tm-refonte #page-container .tm-hub:not(#tm-0) { max-width: 1050px; margin: 0 auto; font-size: 17px; line-height: 1.7; font-weight: 400; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__kicker { margin: 0; padding: 0 0 8px; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: .02em; color: var(--tmg-orange-texte); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) h1 { margin: 0; padding: 0 0 18px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; letter-spacing: 0; color: var(--tmg-prune); overflow-wrap: anywhere; text-wrap: balance; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__intro { margin: 0; padding: 0 0 8px; max-width: 46em; font-size: inherit; line-height: inherit; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__group { margin: 44px 0 0; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__group h2 { margin: 0; padding: 0 0 6px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: clamp(23px, 3vw, 30px); line-height: 1.25; letter-spacing: 0; color: var(--tmg-bleu); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__lede { margin: 0; padding: 0 0 16px; max-width: 46em; font-size: inherit; line-height: inherit; color: var(--tmg-texte-2); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__sub { margin: 22px 0 0; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__sub h3 { margin: 0; padding: 0 0 10px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; font-size: inherit; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list li { margin: 0; padding: 0; list-style: none; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a {
  display: flex; align-items: center; min-height: 56px; box-sizing: border-box; padding: 12px 16px;
  background: #fff; border: 1px solid var(--tmg-ligne); border-left: 4px solid var(--tmg-orange); border-radius: 10px;
  color: var(--tmg-prune); font-size: inherit; font-weight: 600; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a:hover { background: var(--tmg-clair); border-color: var(--tmg-bleu); border-left-color: var(--tmg-bleu); color: var(--tmg-lien); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) a:focus-visible { outline: 3px solid var(--tmg-bleu); outline-offset: 2px; border-radius: 6px; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a:focus-visible { border-radius: 10px; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__empty { margin: 32px 0 0; padding: 20px; background: var(--tmg-clair); border-radius: 10px; color: var(--tmg-texte-2); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit { margin: 48px 0 0; padding: 24px; background: var(--tmg-orange-clair); border-radius: 16px; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit h2 { margin: 0; padding: 0 0 8px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: 0; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit p { margin: 0; padding: 0 0 10px; font-size: inherit; line-height: inherit; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit p:last-child { padding-bottom: 0; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit a,
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__intro a { color: var(--tmg-lien); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit a:hover,
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__intro a:hover { color: var(--tmg-orange-texte); text-decoration-thickness: 2px; }
body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit .tm-hub__sep { padding: 0 6px; color: var(--tmg-texte-2); }

/* ------------------------------------------------------------------ 2. Corps d'un guide (article sans constructeur) */
/* le titre du thème s'aligne sur la colonne de lecture : seulement pour un guide sans constructeur (classe tm-guide) */
body.tm-refonte.tm-guide #page-container .et_post_meta_wrapper { max-width: 760px; margin-left: auto; margin-right: auto; }
body.tm-refonte.tm-guide #page-container .et_post_meta_wrapper h1.entry-title { margin: 0; padding: 0 0 14px; font-family: var(--tm-police-titre, "Commissioner", "Mona Sans", system-ui, Arial, sans-serif); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.18; color: var(--tm-prune, #2B193D); overflow-wrap: anywhere; text-wrap: balance; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; font-weight: 400; overflow-wrap: break-word; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > p { margin: 0; padding: 0 0 20px; font-size: inherit; line-height: inherit; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > p.tm-lead { font-size: 19px; line-height: 1.65; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > h2 { margin: 28px 0 0; padding: 0 0 12px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: 0; color: var(--tmg-prune); scroll-margin-top: var(--tmg-ancre); text-wrap: balance; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > h3 { margin: 14px 0 0; padding: 0 0 8px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: 0; color: var(--tmg-lien); scroll-margin-top: var(--tmg-ancre); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) a { color: var(--tmg-lien); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) a:hover { color: var(--tmg-orange-texte); text-decoration-thickness: 2px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) a:focus-visible,
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) summary:focus-visible { outline: 3px solid var(--tmg-bleu); outline-offset: 2px; border-radius: 6px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) strong { font-weight: 700; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ul,
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ol { margin: 0; padding: 0 0 20px 1.4em; font-size: inherit; line-height: 1.7; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ul { list-style: disc outside; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ol { list-style: decimal outside; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ul li,
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ol li { margin: 0; padding: 0 0 8px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ul li::marker { color: var(--tmg-orange-texte); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > ol li::marker { color: var(--tmg-orange-texte); font-weight: 700; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) blockquote { margin: 0 0 20px; padding: 4px 0 4px 18px; border: 0; border-left: 4px solid var(--tmg-jaune); color: var(--tmg-prune); font-style: normal; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) blockquote p { margin: 0; padding: 0 0 6px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) blockquote cite { display: block; font-size: 14.5px; font-style: normal; color: var(--tmg-texte-2); }

/* tableaux : défilement horizontal plutôt qu'écrasement */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap { margin: 0 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--tmg-ligne); border-radius: 10px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap:focus-visible { outline: 3px solid var(--tmg-bleu); outline-offset: 2px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap table { width: 100%; min-width: 520px; margin: 0; border: 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap caption { caption-side: top; padding: 12px 14px; text-align: left; font-weight: 600; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap th,
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap td { padding: 11px 14px; border: 0; border-top: 1px solid var(--tmg-ligne); text-align: left; vertical-align: top; max-width: none; color: var(--tmg-texte); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap thead th { background: var(--tmg-prune); color: #fff; font-weight: 600; border-top: 0; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap tbody th { font-weight: 600; color: var(--tmg-prune); background: var(--tmg-clair); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-hint { display: none; margin: -14px 0 18px; padding: 0; font-size: 13.5px; color: var(--tmg-texte-2); }

/* figures : schémas SVG originaux ; une image absente laisse lire son texte alternatif dans le cadre */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-figure { margin: 4px 0 24px; padding: 0; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-figure svg,
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; background: #fff; border: 1px solid var(--tmg-ligne); border-radius: 10px; font-size: 14.5px; line-height: 1.5; color: var(--tmg-texte-2); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-figure figcaption { padding: 8px 2px 0; font-size: 14.5px; line-height: 1.5; color: var(--tmg-texte-2); }

/* exercice ou exemple résolu */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo { margin: 0 0 22px; padding: 18px 20px 6px; background: #fff; border: 1px solid var(--tmg-ligne); border-top: 4px solid var(--tmg-bleu); border-radius: 12px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo__label { margin: 0; padding: 0 0 6px; font-size: 13.5px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tmg-lien); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo p { margin: 0; padding: 0 0 12px; font-size: inherit; line-height: inherit; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo ol.tm-exo__choices { margin: 0; padding: 0 0 12px 1.6em; list-style: upper-alpha outside; line-height: 1.6; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo ol.tm-exo__choices li { margin: 0; padding: 0 0 4px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo details { margin: 0 0 12px; border-top: 1px dashed var(--tmg-ligne); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo summary { display: block; padding: 12px 0 10px; min-height: 24px; cursor: pointer; font-weight: 700; color: var(--tmg-lien); list-style: none; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo summary::-webkit-details-marker { display: none; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--tmg-orange-texte); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo details[open] > summary::before { content: "\2212"; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo summary:hover { color: var(--tmg-orange-texte); }

/* sources */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-sources { margin: 30px 0 0; padding: 14px 0 0; border-top: 1px solid var(--tmg-ligne); font-size: 14.5px; line-height: 1.6; color: var(--tmg-texte-2); }

/* ------------------------------------------------------------------ 3. Ajustements des composants dans la colonne d'un guide */
/* L'habillage des composants [tm_breadcrumb], [tm_key_facts], [tm_toc], [tm_faq] est celui de tm-pages.css (lot « pages »,
   règles « body.tm-refonte #page-container .tm-… », valables hors du constructeur depuis sa révision 2). Ici, seulement ce que la
   colonne de lecture de 760 px demande : marges, tailles alignées sur les titres du guide, dernier niveau du fil d'Ariane. */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-breadcrumb { margin: 0 0 16px; }
/* le dernier niveau répète le H1 placé juste au-dessus : il reste dans le HTML (lecteurs d'écran, moteurs), pas à l'écran */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-breadcrumb li:last-child:not(:first-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-key-facts { margin: 4px 0 26px; padding: clamp(20px, 3vw, 28px); border-radius: 18px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-key-facts .tm-key-facts__liste { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 28px; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-key-facts .tm-key-facts__valeur { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-key-facts .tm-key-facts__source { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--tmg-ligne); font-size: 14px; line-height: 1.5; color: var(--tmg-texte-2); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-toc { margin: 0 0 26px; }
/* les liens du fil d'Ariane et du sommaire gardent l'allure que leur donne tm-pages.css : la règle des liens de prose (section 2) ne les concerne pas */
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-breadcrumb a { color: var(--tmg-texte-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-breadcrumb a:hover { color: var(--tmg-orange-texte); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-toc a { color: var(--tmg-texte); text-decoration: none; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-toc a:hover { color: var(--tmg-lien); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-faq { margin: 30px 0 0; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-faq .tm-faq__titre { margin: 0; padding: 0 0 14px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: 0; color: var(--tmg-prune); scroll-margin-top: var(--tmg-ancre); }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-faq .tm-faq__item { max-width: none; }
body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-faq .tm-faq__reponse { max-width: none; }

/* ------------------------------------------------------------------ 4. Bloc de fin (imprimé par l'extension) */
body.tm-refonte #page-container .tm-readnext:not(#tm-0) { max-width: 760px; box-sizing: border-box; margin: 34px auto 0; padding: 20px 22px 16px; background: var(--tmg-clair); border-radius: 14px; font-size: 16.5px; line-height: 1.55; font-weight: 400; }
body.tm-refonte.tm-guide-existant #page-container .tm-readnext:not(#tm-0) { width: 80%; max-width: 1080px; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) .tm-readnext__title { margin: 0; padding: 0 0 10px; font-family: var(--tmg-police-titre); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--tmg-prune); }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) .tm-readnext__title--villes:not(:first-child) { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--tmg-ligne); }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) ul.tm-readnext__list { margin: 0; padding: 0 0 6px; list-style: none; font-size: inherit; line-height: inherit; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) ul.tm-readnext__list li { position: relative; margin: 0; padding: 0 0 8px 18px; list-style: none; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) ul.tm-readnext__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--tmg-orange); }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) a { color: var(--tmg-lien); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) a:hover { color: var(--tmg-orange-texte); text-decoration-thickness: 2px; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) a:focus-visible { outline: 3px solid var(--tmg-bleu); outline-offset: 2px; border-radius: 6px; }
body.tm-refonte #page-container .tm-readnext:not(#tm-0) .tm-readnext__all { margin: 0; padding: 6px 0 0; font-weight: 600; font-size: inherit; line-height: inherit; }
/* aucun lien à proposer : une ligne discrète vers le sommaire, sans cadre ni titre */
body.tm-refonte #page-container p.tm-readnext.tm-readnext--seul:not(#tm-0) { margin-top: 26px; padding: 14px 0 0; background: none; border-radius: 0; border-top: 1px solid var(--tmg-ligne); font-weight: 600; }

/* ------------------------------------------------------------------ 5. Petits écrans, mouvement réduit, contrastes forcés, impression */
@media (max-width: 700px) {
  body.tm-refonte #page-container .tm-hub:not(#tm-0) { font-size: 16px; }
  body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__group { margin-top: 34px; }
  body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit { padding: 18px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) { font-size: 16.5px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) > p.tm-lead { font-size: 17.5px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo { padding: 14px 14px 4px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-hint { display: block; }
  body.tm-refonte #page-container .tm-readnext:not(#tm-0) { padding: 16px 16px 12px; }
  body.tm-refonte.tm-guide-existant #page-container .tm-readnext:not(#tm-0) { width: auto; }
}
@media (max-width: 360px) {
  body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a { padding: 10px 12px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap table { font-size: 14.5px; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap th,
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-wrap td { padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a { transition: none; }
}
@media (forced-colors: active) {
  body.tm-refonte #page-container .tm-hub:not(#tm-0) ul.tm-hub__list a { border-left-width: 4px; }
}
@media print {
  body.tm-refonte #page-container .tm-readnext:not(#tm-0),
  body.tm-refonte #page-container .tm-hub:not(#tm-0) .tm-hub__exit,
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-breadcrumb,
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-table-hint { display: none; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-exo,
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) .tm-figure { break-inside: avoid; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) details > *:not(summary) { display: block; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) details::details-content { content-visibility: visible; display: block; }
  body.tm-refonte #page-container .tm-guide-body:not(#tm-0) a { color: #000; text-decoration: underline; }
}
