.kbd {
            background: rgba(255, 255, 255, 0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }
        
        .breadcrumbs {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-top: 1rem;
        }
        
        .breadcrumbs a {
            color: #ffd700;
            text-decoration: none;
        }
  
        
        .icon {
            font-size: 2rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
/* ===========================
   MEDIWALK MAG — Sections Pro
   Portée : uniquement .mag-article
   =========================== */
.mag-article {
  --mw-primary: #0d6efd;      /* bleu action */
  --mw-secondary: #6c757d;    /* gris neutre */
  --mw-success: #198754;      /* vert */
  --mw-warning: #f59f00;      /* ambre/orangé */
  --mw-danger:  #d63939;      /* rouge doux */
  --mw-info:    #0aa2c0;      /* bleu cyan */
  --mw-muted:   #94a3b8;      /* slate soft */
  --mw-text:    #1f2937;      /* gris foncé lisible */
  --mw-soft:    #f8fafc;      /* très clair */
  --mw-border:  #e5e7eb;      /* bordures */
  --mw-shadow:  0 6px 24px rgba(2, 6, 23, 0.08);
  --mw-radius:  16px;
  --mw-gap:     clamp(16px, 2vw, 24px);
  color: var(--mw-text);

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Sections : rythme & respiration */
.mag-article .section {
  margin: clamp(24px, 4vw, 48px) 0;
  padding: clamp(12px, 2vw, 20px) 0;
  border-top: 1px solid var(--mw-border);
}
.mag-article .icon,
.mag-article .callout::before {
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1;  /* évite la coupe verticale des emoji */
	}
.mag-article .section:first-child {
  border-top: 0;
}


.mag-article h2 {
    font-size: 1.8rem;
    color: var(--mw-text);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--mw-primary);
    padding-bottom: 0.5rem;
}

.mag-article h3 {
    font-size: 1.4rem;
    color: var(--mw-text);
    margin: 1.5rem 0 1rem 0;
}

/* Empêche une éventuelle icône injectée via ::before par une lib */
.mag-article .section h2 .icon::before,
.mag-article .section h3 .icon::before {
  content: none !important;
}
.mag-article p {
  margin: 0 0 18px 0;
  line-height: 1.65;
  font-size: 18px;
  font-weight: 400;
  color: var(--mw-text, #1f2937);
  letter-spacing: 0.005em;
}

/* Listes pro (sans bullet agressif) */
.mag-article ul.tips-list {
  margin: 8px 0 14px 0;
  padding-left: 1.2em;
}
.mag-article ul.tips-list li {
  margin: 6px 0;
}

.mag-article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.mag-article li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Encadrés "callout" : info, warning, success, note */
.mag-article .callout {
  position: relative;
  border: 1px solid var(--mw-border);
  background: #fff;
  border-radius: var(--mw-radius);
  padding: 14px 16px 14px 56px;
  box-shadow: var(--mw-shadow);
  margin: 14px 0;
}

.mag-article .callout::before {
  content: attr(data-icon);
  position: absolute;
  left: 14px; top: 14px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mw-soft);
  border: 1px solid var(--mw-border);
  font-size: 16px;
}

/* Variants de bordure/accents */
.mag-article .callout.is-info    { border-left: 4px solid var(--mw-info); }
.mag-article .callout.is-warning { border-left: 4px solid var(--mw-warning); }
.mag-article .callout.is-success { border-left: 4px solid var(--mw-success); }
.mag-article .callout.is-note    { border-left: 4px solid var(--mw-secondary); }

/* Bandeaux "highlight" (plein large doux) */
.mag-article .highlight-box2 {
  border-radius: var(--mw-radius);
  padding: 14px 16px;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
  border: 1px solid var(--mw-border);
  box-shadow: var(--mw-shadow);
  margin: 14px 0;
}

/* NOTE simple (plus léger que callout) */
.mag-article .note {
  border-left: 4px solid var(--mw-primary);
  background: #ffffff;
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  padding: 12px 16px;
  margin: 14px 0;
}

/* Breadcrumbs (compact, pro) */
.mag-article .breadcrumbs {
  color: var(--mw-muted);
  font-size: 0.95rem;
  margin: 6px 0 14px 0;
}
.mag-article .breadcrumbs a { color: var(--mw-primary); text-decoration: none; }
.mag-article .breadcrumbs a:hover { text-decoration: underline; }

/* FAQ accessible (sans JS) via <details> */
.mag-article details.faq {
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  padding: 10px 14px;
  margin: 10px 0;
  background: #fff;
  box-shadow: var(--mw-shadow);
}
.mag-article details.faq[open] { border-left: 4px solid var(--mw-primary); }
.mag-article details.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-left: 26px;
}
.mag-article details.faq summary::before {
  content: "?";
  position: absolute; left: 0; top: 0;
}
.mag-article details.faq[open] summary::before { content: "?"; }

/* STATs — seule zone avec "cards" autorisées */
.mag-article .stats-grid {
  display: grid;
  gap: var(--mw-gap);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 12px 0;
}
.mag-article .stat-card {
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius);
  background: #fff;
  box-shadow: var(--mw-shadow);
  padding: 14px 16px;
  text-align: center;
}
.mag-article .stat-title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}
.mag-article .stat-number {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--mw-primary);
  display: block;
  margin: 8px 0;
}
.mag-article .stat-label {
  color: var(--mw-secondary);
  font-size: 0.95rem;
}

.mag-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    overflow: hidden;
}

.mag-article th, .mag-article td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--mw-border);
}

.mag-article th {
    background: var(--mw-soft);
    font-weight: 600;
    color: var(--mw-text);
}

.mag-article tr:last-child td {
    border-bottom: none;
}

/* Petites touches d'accessibilité/UX */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

@media (max-width: 768px) {
    .mag-article {
        padding: 15px;
    }
    
    .mag-article h1 {
        font-size: 2rem;
    }
    
    .mag-article .stats-grid {
        grid-template-columns: 1fr;
    }
}
	 @media (max-width: 768px) {
    .mag-article .table-container {
        border: none;
        overflow-x: visible;
    }
    
    .mag-article table {
        min-width: auto;
        border: none;
    }
    
    .mag-article thead {
        display: none; /* Cache les en-têtes sur mobile */
    }
    
    .mag-article tbody tr {
        display: block;
        border: 1px solid var(--mw-border);
        border-radius: var(--mw-radius);
        margin-bottom: 1rem;
        background: #fff;
        box-shadow: var(--mw-shadow);
        padding: 1rem;
    }
    
    .mag-article td {
        display: block;
        text-align: left;
        border: none;
        padding: 0.5rem 0;
        min-width: auto;
    }
    
    .mag-article td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--mw-primary);
    }
}

/* Petites touches d'accessibilité/UX */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

@media (max-width: 768px) {
    .mag-article {
        padding: 15px;
    }
    
    .mag-article h1 {
        font-size: 2rem;
    }
    
    .mag-article .stats-grid {
        grid-template-columns: 1fr;
    }
/* Style tableau desktop (inchangé si tu as déjà un thème) */
.responsive-compare {
  width: 100%;
  border-collapse: collapse;
}
.responsive-compare th,
.responsive-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

/* Mobile : on masque l'en-tête et chaque ligne devient une "carte" */
@media (max-width: 767.98px) {
  .responsive-compare thead {
    display: none;
  }

  .responsive-compare,
  .responsive-compare tbody,
  .responsive-compare tr,
  .responsive-compare td {
    display: block;
    width: 100%;
  }

  .responsive-compare tr {
    background: #fff;
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }

  .responsive-compare td {
    border: none;
    padding: 8px 0;
  }

  /* Étiquette (ex-colonne) à gauche, valeur à droite/ligne suivante */
  .responsive-compare td::before {
    content: attr(data-label) " : ";
    font-weight: 700;
    display: inline-block;
    min-width: 130px;         /* ajuste si besoin */
    margin-right: 6px;
    color: #374151;
    vertical-align: top;
  }

  /* Meilleure lisibilité si la cellule contient un <strong> */
  .responsive-compare td strong {
    font-weight: 700;
  }
}