/* Article body, owner-approved style D "Soft cards" (docs/design/post-body-options/body-D.png). Post pages only, after
   post.css. Targets the WordPress block classes the imported posts carry. */
.mm-article .mm-prose a { color: var(--mm-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mm-article .mm-prose > h2 { padding-left: 18px; border-left: 5px solid var(--mm-link); line-height: 1.25; }
.mm-article .mm-prose > h3 { display: flex; align-items: center; gap: 12px; }
.mm-article .mm-prose > h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--mm-gold); transform: rotate(45deg); }
.mm-article .mm-prose blockquote:not(.twitter-tweet) { margin: 0 0 28px; padding: 20px 22px; border: 0; border-radius: 20px; background: linear-gradient(135deg, var(--mm-lilac), var(--mm-cream)); font-style: normal; }
.mm-article .mm-prose blockquote > :last-child { margin-bottom: 0; }
.mm-article .mm-prose blockquote > p:first-child > strong:first-child { display: block; margin-bottom: 6px; color: var(--mm-link); font: 600 12px var(--mm-font-display); letter-spacing: .06em; text-transform: uppercase; }
.mm-article .mm-prose > ul { padding: 16px 20px; list-style: none; border-radius: 18px; background: var(--mm-surface); }
.mm-article .mm-prose > ul > li { position: relative; padding-left: 28px; }
.mm-article .mm-prose > ul > li + li { margin-top: 8px; }
.mm-article .mm-prose > ul > li::before { content: "→"; position: absolute; left: 0; color: var(--mm-link); font-weight: 600; }
.mm-article .mm-prose > ol { margin-left: 14px; padding: 0; list-style: none; counter-reset: mm-s; border-left: 2px dashed var(--mm-line); }
.mm-article .mm-prose > ol > li { position: relative; padding: 0 0 14px 30px; counter-increment: mm-s; }
.mm-article .mm-prose > ol > li::before { content: counter(mm-s); position: absolute; left: -15px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mm-gold); color: var(--mm-ink-deep); font: 600 13px/28px var(--mm-font-display); text-align: center; }
.mm-article .mm-prose .wp-block-table { overflow-x: auto; }
.mm-article .mm-prose table { display: table; width: 100%; padding: 6px; border: 0; border-radius: 18px; border-collapse: separate; border-spacing: 0 6px; background: var(--mm-surface); font-size: 15px; }
.mm-article .mm-prose :is(th, td) { padding: 12px 16px; border: 0; text-align: left; vertical-align: top; }
.mm-article .mm-prose th { padding-block: 6px; color: var(--mm-muted); font-size: 13px; font-weight: 600; }
.mm-article .mm-prose td { background: #FFFFFF; }
.mm-article .mm-prose td:first-child { border-radius: 12px 0 0 12px; font-weight: 600; }
.mm-article .mm-prose td:last-child { border-radius: 0 12px 12px 0; }
.mm-article .mm-prose td:only-child { border-radius: 12px; }
.mm-article .mm-prose figure { margin: 28px 0; }
.mm-article .mm-prose figcaption { margin-top: 8px; color: var(--mm-muted); font-size: 13px; text-align: center; }
.mm-article .mm-prose img, .mm-article .mm-prose video { border-radius: 20px; }
.mm-article .mm-prose .readalsolink { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px 20px; border-radius: 18px; background: var(--mm-ink); color: var(--mm-on-ink); font-size: 15px; }
.mm-article .mm-prose .readalsolink strong { color: var(--mm-gold); }
.mm-article .mm-prose .readalsolink a { color: #FFFFFF; text-decoration: none; }
.mm-article .mm-prose .readalsolink a:hover { color: var(--mm-gold); }
.mm-article .mm-prose pre { padding: 18px 20px; overflow-x: auto; border-radius: 18px; background: var(--mm-ink-deep); color: #E8E4FF; font: 14px/1.6 ui-monospace, Menlo, monospace; }
.mm-article .mm-prose hr { width: 80px; height: 8px; margin: 44px auto; border: 0; background: radial-gradient(circle, var(--mm-line) 3px, transparent 4px) 0 0 / 20px 8px; }
.mm-article .mm-prose .wp-block-button__link { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 16px; background: linear-gradient(135deg, var(--mm-link), var(--mm-ink)); color: #FFFFFF; text-decoration: none; }
.mm-article .mm-prose .wp-block-button__link:hover { color: var(--mm-gold); }
.mm-article .mm-prose .twitter-tweet { margin: 0 0 28px; padding: 18px 20px; border: 0; border-radius: 20px; background: var(--mm-surface); }
.mm-yt { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--mm-ink-deep); }
.mm-yt img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; opacity: .75; }
.mm-yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: #FFFFFF; }
.mm-yt-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid var(--mm-ink); border-block: 14px solid transparent; }
.mm-yt:hover .mm-yt-play { background: var(--mm-gold); }
.mm-yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; }
.mm-embed-link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 14px; background: var(--mm-surface); }
.mm-article .mm-prose .schema-faq-section { margin: 10px 0; padding: 16px 20px; border-radius: 16px; background: var(--mm-surface); }
.mm-article .mm-prose .schema-faq-question { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; }
.mm-article .mm-prose .schema-faq-question::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mm-gold); color: var(--mm-ink-deep); font-weight: 600; transition: transform .2s; }
.mm-article .mm-prose .schema-faq-answer { margin: 8px 0 0; color: var(--mm-muted); }
[data-mm] .mm-article .mm-prose .schema-faq-question { cursor: pointer; }
[data-mm] .mm-article .mm-prose .schema-faq-section:not(.is-open) .schema-faq-answer { display: none; }
.mm-article .mm-prose .schema-faq-section.is-open .schema-faq-question::after { transform: rotate(45deg); }
@media (max-width: 767.98px) {
  .mm-article .mm-prose table { display: block; overflow-x: auto; }
  .mm-article .mm-prose > h2 { padding-left: 14px; border-left-width: 4px; }
  .mm-article .mm-prose :is(th, td) { padding: 10px 12px; }
}
