/* Presentation of retained legacy content, scoped to the guarded Shōnen integration. */
.mma-shonen-legacy {
  --mma-encre: var(--ink, #171719);
  --mma-papier: var(--paper, #fffdf5);
  --mma-ivoire: var(--paper, #fffdf5);
  --mma-mine: var(--muted, #5a5954);
  --mma-sceau: var(--ink, #171719);
  --mma-filet: 2px solid var(--ink, #171719);
  --t-table: var(--paper, #fffdf5);
  --t-planche: #fff;
  --t-craie: var(--ink, #171719);
  --t-graphite: var(--muted, #5a5954);
  --t-sceau: var(--ink, #171719);
  --t-sceau-clair: #3152be;
}
.mma-shonen-legacy .mma-contact-trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.mma-shonen-legacy .mma-form-ok,
.mma-shonen-legacy .mma-form-err { margin: 24px 0; padding: 16px; border: 2px solid #171719; background: #fff; }
.mma-shonen-legacy .mma-form-err { border-color: #9d2430; }
.mma-shonen-legacy .mma-form-ok p,
.mma-shonen-legacy .mma-form-err p { margin: 0; }
.mma-shonen-legacy .mma-legacy-contact { width: 100%; margin: 24px auto; }
.mma-shonen-legacy .mma-legacy-contact input,
.mma-shonen-legacy .mma-legacy-contact textarea { max-width: 100%; }
.mma-shonen-legacy .entry-content .mma-faq,
.mma-shonen-legacy .entry-content .mma-related,
.mma-shonen-legacy .entry-content .mma-lire-aussi,
.mma-shonen-legacy .entry-content .mma-encart { margin: 32px 0; padding: 24px; border: 2px solid #171719; background: #fffdf5 !important; color: #171719; }
.mma-shonen-legacy .entry-content .mma-encart { border-left-width: 8px; }
.mma-shonen-legacy .entry-content .mma-faq h3:first-child { margin-top: 0; }
.mma-shonen-legacy .mma-signature { margin: 32px 0; padding: 24px 0; border-block: 2px solid #d8d4c7; }
.mma-shonen-legacy .mma-signature-nom { font-weight: 700; }
.mma-shonen-legacy .mma-signature-bio { font-size: .95rem; color: #5a5954; }
.mma-shonen-legacy .mma-plan-liste { list-style: none; padding: 0; }
.mma-shonen-legacy .mma-plan-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #d8d4c7; }
.mma-shonen-legacy .mma-plan-mots { flex: 0 0 auto; color: #5a5954; font-size: .85rem; }
.mma-shonen-legacy .mma-plan-note { color: #5a5954; }
.mma-shonen-legacy .mma-reperes { display: flex; flex-wrap: wrap; gap: 24px; padding: 0; list-style: none; }
.mma-shonen-legacy .mma-parcours-cartes,
.mma-shonen-legacy .mma-inspi-planches,
.mma-shonen-legacy .mma-pin-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0; padding: 0; list-style: none; }
.mma-shonen-legacy .mma-parcours-carte > a { display: block; border: 2px solid #171719; text-decoration: none; color: #171719; background: #fff; box-shadow: 4px 4px 0 #171719; }
.mma-shonen-legacy .mma-parcours-carte img,
.mma-shonen-legacy .mma-pin-cartes img,
.mma-shonen-legacy .mma-inspi-planches img { display: block; width: 100%; height: auto; }
.mma-shonen-legacy .mma-parcours-texte { display: grid; gap: 8px; padding: 16px; }
.mma-shonen-legacy .mma-parcours-nom { font-weight: 700; }
.mma-shonen-legacy .mma-parcours-desc,
.mma-shonen-legacy .mma-parcours-nb { color: #5a5954; }
.mma-shonen-legacy .mma-pin-sceau svg { width: 40px; height: 40px; }
.mma-shonen-legacy .mma-planches .mma-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.mma-shonen-legacy .mma-planches .mma-suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.mma-shonen-legacy .mma-planches .mma-suite article { min-width: 0; padding: 16px; border: 2px solid #171719; background: #fff; }
.mma-shonen-legacy .mma-planches img { width: 100%; height: auto; }
.mma-shonen-legacy .entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.mma-shonen-legacy .entry-content table th,
.mma-shonen-legacy .entry-content table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #d8d4c7; }
@media (max-width: 1023px) {
  .mma-shonen-legacy .mma-parcours-cartes,
  .mma-shonen-legacy .mma-inspi-planches,
  .mma-shonen-legacy .mma-pin-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mma-shonen-legacy .mma-planches .mma-suite { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .mma-shonen-legacy .mma-plan-liste li { display: block; }
  .mma-shonen-legacy .mma-plan-mots { display: block; margin-top: 4px; }
  .mma-shonen-legacy .mma-parcours-cartes,
  .mma-shonen-legacy .mma-inspi-planches,
  .mma-shonen-legacy .mma-pin-cartes { grid-template-columns: minmax(0, 1fr); }
  .mma-shonen-legacy .mma-planches .mma-tete,
  .mma-shonen-legacy .mma-planches .mma-suite { grid-template-columns: minmax(0, 1fr); }
  .mma-shonen-legacy .entry-content .mma-faq,
  .mma-shonen-legacy .entry-content .mma-related,
  .mma-shonen-legacy .entry-content .mma-lire-aussi,
  .mma-shonen-legacy .entry-content .mma-encart { padding: 16px; }
}
