/* ══════════════════════════════════════════════
   CMS Pages — Mondial Parts (fond blanc)
   ══════════════════════════════════════════════ */

.mp-cms {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

/* Fond blanc pour les pages CMS */
.page-cms #content-wrapper,
.page-cms #wrapper {
  background: var(--mp-bg-white, #fff) !important;
}

/* Breadcrumb sur fond blanc — texte sombre */
.page-cms .breadcrumb-wrapper {
  background: var(--mp-bg-white, #fff);
  border-bottom: 1px solid var(--mp-border-subtle, #e8eaed);
}
.page-cms #wrapper .breadcrumb a {
  color: var(--mp-text-muted, #6b7280);
}
.page-cms #wrapper .breadcrumb a:hover {
  color: var(--mp-text-primary, #0d0d0d);
}
.page-cms #wrapper .breadcrumb li::after {
  color: var(--mp-text-muted, #6b7280);
}
.page-cms #wrapper .breadcrumb li:last-child span,
.page-cms #wrapper .breadcrumb li:last-child a {
  color: var(--mp-accent);
}

.mp-cms__card {
  background: var(--mp-bg-white, #fff);
  border: 1px solid var(--mp-border-subtle, #e8eaed);
  border-top: 3px solid var(--mp-accent);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

/* ── Title ── */
.mp-cms__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--mp-text-primary, #0d0d0d);
  margin: 0 0 8px;
  line-height: 1.3;
}

.mp-cms__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--mp-accent);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* ── Typography ── */
.mp-cms__content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mp-text-primary, #0d0d0d);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(230, 168, 23, 0.2);
}

.mp-cms__content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mp-text-secondary, #374151);
  margin: 24px 0 8px;
}

.mp-cms__content h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--mp-text-secondary, #374151);
  margin: 20px 0 8px;
}

.mp-cms__content p {
  color: var(--mp-text-secondary, #374151);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.mp-cms__content a {
  color: var(--mp-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.mp-cms__content a:hover {
  color: var(--mp-accent-hover, #d4970f);
  text-decoration: underline;
}

/* ── Lists ── */
.mp-cms__content ul,
.mp-cms__content ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--mp-text-secondary, #374151);
  font-size: .92rem;
  line-height: 1.7;
}

.mp-cms__content ul {
  list-style: none;
  padding-left: 0;
}

.mp-cms__content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.mp-cms__content ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mp-accent);
}

.mp-cms__content ol li {
  margin-bottom: 6px;
}

.mp-cms__content ol li::marker {
  color: var(--mp-accent);
  font-weight: 600;
}

/* ── Tables ── */
.mp-cms__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .88rem;
}

.mp-cms__content table th {
  background: var(--mp-surface-light, #f4f5f7);
  color: var(--mp-text-primary, #0d0d0d);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.mp-cms__content table th:first-child {
  border-radius: 8px 0 0 0;
}

.mp-cms__content table th:last-child {
  border-radius: 0 8px 0 0;
}

.mp-cms__content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--mp-border-subtle, #e8eaed);
  color: var(--mp-text-secondary, #374151);
}

.mp-cms__content table tr:hover td {
  background: rgba(230, 168, 23, 0.04);
}

/* ── Blockquotes ── */
.mp-cms__content blockquote {
  margin: 16px 0 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--mp-accent);
  background: rgba(230, 168, 23, 0.05);
  border-radius: 0 8px 8px 0;
  color: var(--mp-text-secondary, #374151);
  font-size: .9rem;
  font-style: italic;
}

/* ── Images ── */
.mp-cms__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* ── Responsive ── */
@media (max-width: 575px) {
  .mp-cms { padding: 20px 12px 40px; }
  .mp-cms__card { padding: 24px 16px; }
  .mp-cms__title { font-size: 1.3rem; }
  .mp-cms__content h2 { font-size: 1.1rem; }
  .mp-cms__content table { font-size: .82rem; }
  .mp-cms__content table th,
  .mp-cms__content table td { padding: 8px 10px; }
}
