/* ============================================================================
   LE BLOG — repris de `mew_dash/v2/blog/index.html`

   Ce bloc complète `histoires.css`, dont la maquette du blog partageait la
   feuille : seules les classes propres au blog sont ici. Tout est cloisonné
   sous `.blg` — `.cat`, `.posts`, `.featured` sont des mots trop courants
   pour vivre à la racine, et `.cat` entre même en collision avec les
   catégories de l'index des histoires.
   ========================================================================= */


  .blg .wrap.wide { max-width: 1040px; }
/* la barre s'aligne sur la largeur du contenu de l'index */
  .blg .bar.wide .in { max-width: 1040px; }
  .blg .bar .kind { display: inline-flex; align-items: center; gap: 8px; }

/* filtres : une rangée qui défile sur mobile */
  .blg .cats { display: flex; gap: 8px; margin-top: 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .blg .cats::-webkit-scrollbar { height: 0; }
  .blg .cat { flex: 0 0 auto; height: 44px; padding: 0 18px; border: 1.5px solid #EDE7E3; border-radius: 999px; background: #fff; color: #3F3E44; font-family: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: border-color .18s, background .22s, color .18s, transform .18s cubic-bezier(.22,.9,.24,1); }
  .blg .cat:hover { border-color: #FFD3D3; transform: translateY(-2px); }
  .blg .cat.on { border-color: transparent; background: #1C1C1E; color: #fff; }

/* l'article à la une */
  .blg .featured { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; padding: clamp(22px,4vw,34px); border-radius: 30px; background: #FFF6F2; color: #1C1C1E; box-shadow: inset 0 0 0 1.5px #FFE4DC; transition: transform .2s cubic-bezier(.22,.9,.24,1), box-shadow .22s ease; }
  .blg .featured:hover { color: #1C1C1E; transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px #FFD3D3, 0 26px 44px -30px rgba(255,99,99,.7); }
  .blg .featured .k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #C0392B; }
  .blg .featured .k .ico { font-size: 16px; }
  .blg .featured b { font-size: clamp(26px,3.8vw,36px); font-weight: 900; letter-spacing: -.04em; line-height: 1.15; text-wrap: pretty; }
  .blg .featured p { margin: 0; max-width: 620px; font-size: 17px; font-weight: 600; line-height: 1.65; color: #3F3E44; text-wrap: pretty; }
  .blg .featured .read { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 48px; padding: 0 20px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 800; text-shadow: 0 1px 2px rgba(150,30,30,.5); }

  .blg .posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 14px; margin-top: 18px; }
  .blg .posts .list { display: contents; }
  .blg .post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: #5F5E64; }
  .blg .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .blg .post-meta .ico { font-size: 16px; }
  .blg .empty { grid-column: 1 / -1; padding: 22px; border-radius: 22px; background: #F9F7F5; font-size: 15.5px; font-weight: 700; color: #5F5E64; }
  .blg .more-btn { display: flex; justify-content: center; margin-top: 24px; }
  .blg .readlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14.5px; font-weight: 900; color: #C0392B; }
  .blg .readlink .ico { font-size: 18px; transition: transform .2s cubic-bezier(.22,.9,.24,1); }
  .blg .list a:hover .readlink .ico { transform: translateX(-4px); }

/* ============================================================================
   UN ARTICLE DE BLOG — repris de `mew_dash/v2/blog/choisir-son-mentor.html`

   Complète `histoires.css`, dont la maquette partageait la feuille. Tout
   est cloisonné sous `.blg` comme l'index : `.post` est un nom trop
   courant pour vivre à la racine.

   `.post h2` vise aussi les `h3` : les articles rédigés dans
   l'administration hiérarchisent en `<h3>`, la maquette en `<h2>`. Plutôt
   que de réécrire huit textes, la règle accepte les deux.
   ========================================================================= */


  .blg .post { padding-bottom: 8px; }
  .blg .post > p { margin: 18px 0 0; font-size: 18px; font-weight: 600; line-height: 1.75; color: #3F3E44; text-wrap: pretty; }
  .blg .post > p:first-child { margin-top: 0; font-size: 19px; color: #1C1C1E; }
  .blg .post p b, .blg .post li b { font-weight: 900; color: #1C1C1E; }
  .blg .post h2, .blg .post h3 { margin: 44px 0 0; font-size: clamp(23px,3.2vw,29px); font-weight: 900; letter-spacing: -.035em; line-height: 1.22; text-wrap: pretty; }
  .blg .post ul { margin: 16px 0 0; padding-right: 22px; }
  .blg .post li { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.7; color: #3F3E44; }
  .blg .post li::marker { color: #FF6363; }
  .blg .post blockquote { margin: 24px 0 0; border-right: 4px solid #FF6363; border-radius: 22px 0 0 22px; }
