/* ==========================================================================
   Historique des mises à jour (/nouveautes) : une frise par mois. Après
   home.css, sixman.css et feuille-de-route.css (en-tête de page .fr-tete).
   ========================================================================== */
.hm-page { max-width: 880px; }

.hm-chiffres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.hm-chiffres span { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.86rem; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); }
.hm-chiffres strong { font-size: 1rem; color: var(--text); font-variant-numeric: tabular-nums; }

/* --- Frise ------------------------------------------------------------------------ */
.hm-frise { position: relative; margin: 1.8rem 0 0; padding: 0 0 0 34px; list-style: none; }
.hm-frise::before {
  content: ""; position: absolute; top: 0.6rem; bottom: 0; left: 11px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--blue) 25%, transparent) 70%, transparent);
}
.hm-mois { margin: 0 0 1.6rem; }
.hm-mois-titre { position: relative; margin: 0 0 0.9rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.hm-mois-titre::before {
  content: ""; position: absolute; left: -28px; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%);
  background: var(--blue); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px color-mix(in srgb, var(--blue) 35%, transparent);
}
.hm-entrees { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.hm-entree { position: relative; scroll-margin-top: 84px; }
.hm-point {
  position: absolute; left: -34px; top: 1.05rem; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  color: var(--accent-text); background: var(--bg-card); border: 1px solid var(--border-active);
}

/* --- Carte d'une mise à jour --------------------------------------------------- */
.hm-carte { padding: 1.1rem 1.25rem 1.15rem; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--bg-card); }
.hm-entree.is-affiche .hm-carte { border-color: var(--border-active); background: radial-gradient(120% 120% at 0% 0%, var(--accent-soft), transparent 55%), var(--bg-card); }
.hm-carte-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 0.8rem; font-size: 0.78rem; color: var(--text-muted); }
.hm-type { padding: 0.15rem 0.55rem; border-radius: 999px; font-weight: 700; letter-spacing: 0.03em; color: var(--text-muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }
.hm-entree.is-affiche .hm-type { color: var(--accent-text); background: var(--accent-soft); border-color: var(--border-active); }
.hm-carte h3 { margin: 0.55rem 0 0.7rem; font-size: 1.12rem; line-height: 1.35; }
.hm-carte .nva-liste { margin-top: 0.2rem; }
.hm-carte .nv-item h4 { margin: 0 0 0.2rem; font-size: 0.98rem; }

.hm-texte { font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); overflow-wrap: anywhere; }
.hm-texte strong { color: var(--text); }
.hm-texte .md-h1, .hm-texte .md-h2, .hm-texte .md-h3 { color: var(--text); }
.hm-texte .md-h1 { font-size: 1.15rem; }
.hm-texte .md-h2 { font-size: 1.05rem; }
.hm-texte-simple { white-space: pre-line; }
.hm-texte.is-replie { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
.hm-plus { margin-top: 0.5rem; padding: 0; border: 0; background: none; font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--accent-text); cursor: pointer; }
.hm-plus:hover { text-decoration: underline; }
.hm-langue { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--text-dim); }
.hm-image { display: block; width: 100%; max-height: 280px; object-fit: cover; margin: 0 0 0.8rem; border-radius: 12px; border: 1px solid var(--border); }

@media (max-width: 560px) {
  .hm-frise { padding-left: 28px; }
  .hm-frise::before { left: 8px; }
  .hm-mois-titre::before { left: -25px; }
  .hm-point { left: -28px; width: 20px; height: 20px; }
  .hm-carte { padding: 0.95rem 1rem; }
}
