/* Milplex — gedeelde styling voor injected blokken (answer/cta/related/facts/faq).
   Gebruikt de child-theme design-tokens (--milplex-*) zodat injected content één visuele
   taal deelt met het theme. Fallbacks voor robuustheid. Geen inline-stijlen meer in de plugins. */

.mpx-answer,
.mpx-cta-strip,
.mpx-next-steps,
.mpx-related,
.mpx-facts,
.mpx-faq-schema {
  font-family: var(--milplex-font, inherit);
  max-width: var(--milplex-wrap, 820px);
  margin-inline: auto;
}

/* Antwoord-eerst blok */
.mpx-answer {
  margin-block: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--milplex-mint, #eef8f6);
  border-left: 4px solid var(--milplex-teal-strong, #0a6f72);
  border-radius: var(--milplex-radius-sm, 16px);
}
.mpx-answer h2 { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--milplex-teal-strong, #0a6f72); }
.mpx-answer p { margin: 0 0 0.65rem; color: var(--milplex-ink, #102126); line-height: 1.6; }
.mpx-answer a { font-weight: 700; color: var(--milplex-teal-strong, #0a6f72); text-decoration: none; }
.mpx-answer a:hover { text-decoration: underline; }

/* CTA-strip + bedankt-blok */
.mpx-cta-strip,
.mpx-next-steps {
  margin-block: 1.75rem;
  padding: 1.5rem;
  border-radius: var(--milplex-radius, 24px);
  background: var(--milplex-mint, #eef8f6);
}
.mpx-cta-strip { text-align: center; }
.mpx-cta-strip h2,
.mpx-next-steps h2 { margin: 0 0 0.6rem; color: var(--milplex-teal-strong, #0a6f72); font-size: 1.3rem; }
.mpx-cta-strip p { margin: 0 0 0.9rem; color: var(--milplex-ink, #102126); }
.mpx-next-steps { background: #fff; border: 1px solid var(--milplex-line, rgba(16,33,38,.12)); }
.mpx-next-steps ol { margin: 0 0 0.6rem; padding-left: 1.2rem; line-height: 1.7; color: var(--milplex-ink, #102126); }
.mpx-next-steps a { color: var(--milplex-teal-strong, #0a6f72); font-weight: 700; }

/* CTA-strip knoppen: leun op de theme-knopcomponent; WhatsApp houdt merkgroen */
.mpx-cta-strip a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; min-height: 48px; margin: 0.3rem;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.mpx-cta-strip a:hover { transform: translateY(-2px); box-shadow: var(--milplex-shadow, 0 14px 28px rgba(15,139,141,.18)); }
.mpx-cta-strip .mpx-cta-primary { background: linear-gradient(135deg, var(--milplex-teal-strong,#0a6f72) 0%, #084f53 100%); color: #fff; }
.mpx-cta-strip .mpx-cta-wa { background: #25d366; color: #07301a; }
.mpx-cta-strip .mpx-cta-call { background: #fff; color: var(--milplex-deep, #0a1317); border: 1px solid var(--milplex-line, rgba(16,33,38,.18)); }

/* Feitenblok (GEO) */
.mpx-facts {
  margin-block: 1.75rem;
  border: 1px solid var(--milplex-line, rgba(16,33,38,.12));
  border-radius: var(--milplex-radius-sm, 16px);
  overflow: hidden;
  box-shadow: var(--milplex-shadow, 0 24px 60px rgba(10,19,23,.12));
}
.mpx-facts h2 { margin: 0; padding: 0.9rem 1.2rem; background: var(--milplex-teal-strong, #0a6f72); color: #fff; font-size: 1.15rem; }
.mpx-facts dl { margin: 0; padding: 0.25rem 1.2rem 0.9rem; }
.mpx-facts dl > div { display: flex; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid #f0f3f4; }
.mpx-facts dt { flex: 0 0 160px; font-weight: 600; color: var(--milplex-slate, #1c3138); }
.mpx-facts dd { margin: 0; color: var(--milplex-ink, #102126); }
.mpx-facts a { color: var(--milplex-teal-strong, #0a6f72); }

/* Gerelateerde links */
.mpx-related {
  margin-block: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--milplex-line, rgba(16,33,38,.12));
}
.mpx-related h2 { font-size: 1.15rem; color: var(--milplex-teal-strong, #0a6f72); margin: 0 0 0.6rem; }
.mpx-related ul { margin: 0; padding-left: 1.25rem; line-height: 1.9; }
.mpx-related a { color: var(--milplex-teal-strong, #0a6f72); text-decoration: none; }
.mpx-related a:hover { text-decoration: underline; }

/* FAQ (zichtbaar, gekoppeld aan FAQPage-schema) */
.mpx-faq-schema { margin-block: 1.75rem; }
.mpx-faq-schema h2 { font-size: 1.3rem; color: var(--milplex-teal-strong, #0a6f72); margin: 0 0 0.5rem; }
.mpx-faq-schema details { border-bottom: 1px solid var(--milplex-line, rgba(16,33,38,.12)); padding: 0.7rem 0; }
.mpx-faq-schema summary { font-weight: 600; color: var(--milplex-ink, #102126); cursor: pointer; }
.mpx-faq-schema p { margin: 0.5rem 0 0; color: var(--milplex-slate, #1c3138); line-height: 1.6; }

@media (max-width: 560px) {
  .mpx-facts dl > div { flex-direction: column; gap: 0.15rem; }
  .mpx-facts dt { flex-basis: auto; }
}
