/* === Simon : hub /guides/ et guides ===
   La mise en page vient de article.css et blog.css partagés (hero-pitch, tableaux, FAQ) ;
   ici, les sections du hub et les pads des figures, aux couleurs du jeu
   (mêmes teintes que .pad-rouge à .pad-rose de simon-solo.css, bord et arrondi des pads). */

.cluster-section { margin-bottom: 44px; }
.cluster-section:last-child { margin-bottom: 20px; }
.cluster-header { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1)); }
.cluster-header h2 { margin: 0 0 4px; }
.cluster-header p { margin: 0; color: var(--texte-doux, #cbd5e1); }
.aucun-guide { text-align: center; color: var(--texte-doux, #cbd5e1); padding: 24px 0; }
.breadcrumb { margin-bottom: 16px; font-size: 0.85rem; color: var(--texte-doux, #cbd5e1); }
.breadcrumb a { color: var(--color-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.blog-card h3 a { color: var(--color-accent); text-decoration: none; }
.blog-card h3 a:hover { color: var(--color-light); }

/* Figures */
.sm-figure { margin: 22px 0 26px; }
.sm-figure figcaption { margin-top: 12px; font-size: 0.88rem; line-height: 1.5; color: var(--texte-doux, #cbd5e1); }
.sm-niveaux { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.sm-niveau-nom { font-size: 0.9rem; font-weight: 700; color: var(--color-light, #86efac); white-space: nowrap; }
.sm-sequence { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-plateaux { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 22px; }
.sm-plateau-bloc { text-align: center; }
.sm-plateau-bloc p { margin: 8px 0 0; font-size: 0.85rem; color: var(--texte-doux, #cbd5e1); }
.sm-plateau { display: inline-grid; gap: 5px; padding: 7px; background: rgba(0, 0, 0, 0.25); border-radius: 12px; }
.sm-cols-2 { grid-template-columns: repeat(2, 40px); }
.sm-cols-3 { grid-template-columns: repeat(3, 40px); }
.sm-cols-4 { grid-template-columns: repeat(4, 40px); }

.sm-pad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.sm-rang { font-size: 0.8rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.sm-c0 { background: #ef4444; }
.sm-c1 { background: #3b82f6; }
.sm-c2 { background: #22c55e; }
.sm-c3 { background: #facc15; }
.sm-c4 { background: #f97316; }
.sm-c5 { background: #a855f7; }
.sm-c6 { background: #06b6d4; }
.sm-c7 { background: #ec4899; }
/* Le pad raté de l'exemple d'erreur */
.sm-pad.sm-rate { outline: 3px dashed #f87171; outline-offset: 2px; }
/* Guide des stratégies : séquence découpée en blocs, pads pâlis pour en montrer deux */
.sm-blocs { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.sm-bloc { display: flex; flex-direction: column; gap: 6px; }
.sm-bloc-nom { font-size: 0.85rem; font-weight: 700; color: var(--color-light, #86efac); }
.sm-pad.sm-pale { opacity: 0.22; }

@media (max-width: 420px) {
  .sm-cols-2 { grid-template-columns: repeat(2, 32px); }
  .sm-cols-3 { grid-template-columns: repeat(3, 32px); }
  .sm-cols-4 { grid-template-columns: repeat(4, 32px); }
  .sm-pad { width: 32px; }
}
