Docs

Make your articles render perfectly anywhere

RankMind articles use rich content blocks — FAQ accordions, callouts, a table of contents, stat highlights, CTAs, pros & cons, comparison tables. When you publish to your own site, drop in one stylesheet and every block renders with the right styling and spacing. Here's the complete code, plus an AI prompt that wires it in for you.

1. Add the stylesheet

Paste this once into your site's global CSS (or your theme's custom-CSS box). It styles every RankMind block — FAQ, callouts, table of contents, stat highlights, CTAs, pros & cons, and tables — and sets the spacing, so articles look intentional anywhere. Re-theme by overriding one variable: .rm-article{--rm-accent:#db2777}.

styles.css
<style>
.rm-article{--rm-accent:#2563eb;--rm-accent-fg:#ffffff;--rm-fg:#111827;--rm-muted:#6b7280;--rm-border:#e5e7eb;--rm-subtle:#f9fafb;--rm-card:#ffffff;--rm-ok:#16a34a;--rm-bad:#dc2626;--rm-warn:#b45309;max-width:48rem;margin:0 auto;line-height:1.7;color:var(--rm-fg);font-size:1.05rem;overflow-wrap:break-word}
.rm-article *{box-sizing:border-box}
.rm-article h1,.rm-article h2,.rm-article h3,.rm-article h4{line-height:1.25;font-weight:700;margin:2rem 0 .75rem;scroll-margin-top:5rem;color:var(--rm-fg)}
.rm-article h1{font-size:2.1rem;letter-spacing:-.02em}
.rm-article h2{font-size:1.6rem}
.rm-article h3{font-size:1.3rem}
.rm-article p{margin:0 0 1.15rem}
.rm-article a{color:var(--rm-accent);text-decoration:underline;text-underline-offset:2px}
.rm-article strong{font-weight:700}
.rm-article img{max-width:100%;height:auto;border-radius:12px}
.rm-article figure{margin:0 0 1.5rem}
.rm-article figure figcaption{font-size:.85rem;color:var(--rm-muted);text-align:center;margin-top:.5rem}
.rm-article ul,.rm-article ol{margin:0 0 1.15rem;padding-left:1.5rem}
.rm-article li{margin:.35rem 0}
.rm-article li>p{margin:0 0 .35rem}
.rm-article mark{background:color-mix(in srgb,var(--rm-accent) 22%,transparent);border-radius:.2em;padding:.05em .15em}
.rm-article blockquote{margin:1.5rem 0;padding:.25rem 0 .25rem 1.25rem;border-left:3px solid var(--rm-accent);color:var(--rm-muted);font-style:italic}
.rm-article pre{background:#0f172a;color:#e2e8f0;padding:1rem 1.25rem;border-radius:12px;overflow:auto;font-size:.9rem;margin:0 0 1.5rem}
.rm-article :not(pre)>code{background:#f1f5f9;padding:.15em .4em;border-radius:6px;font-size:.9em}
.rm-article hr{border:0;border-top:1px solid var(--rm-border);margin:2.5rem 0}
/* Tables */
.rm-article table{width:100%;border-collapse:collapse;margin:0 0 1.5rem;font-size:.95rem;overflow:hidden}
.rm-article table td,.rm-article table th{border:1px solid var(--rm-border);padding:.6rem .8rem;text-align:left;vertical-align:top}
.rm-article table th{background:var(--rm-subtle);font-weight:600}
.rm-article table tr:nth-child(even) td{background:color-mix(in srgb,var(--rm-subtle) 55%,transparent)}
/* Block shell */
.rm-article .rm-block{margin:1.5rem 0;padding:1rem 1.15rem;border-radius:.85rem;border:1px solid var(--rm-border);background:var(--rm-subtle);position:relative}
.rm-article .rm-block>*:first-child{margin-top:0}
.rm-article .rm-block>*:last-child{margin-bottom:0}
.rm-article .rm-block h3{font-size:.95rem;margin:0 0 .65em}
/* Callouts */
.rm-article .rm-callout-tip,.rm-article .rm-callout-info,.rm-article .rm-callout-warning,.rm-article [data-block="callout"]{padding-left:2.5rem;position:relative}
.rm-article .rm-callout-tip::before,.rm-article .rm-callout-info::before,.rm-article .rm-callout-warning::before,.rm-article [data-block="callout"]::before{content:"";position:absolute;top:1.1rem;left:1rem;width:.8rem;height:.8rem;border-radius:999px;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}
.rm-article .rm-callout-tip,.rm-article [data-block="callout"][data-variant="tip"]{border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:color-mix(in srgb,var(--rm-accent) 7%,transparent);color:var(--rm-accent)}
.rm-article .rm-callout-info,.rm-article [data-block="callout"][data-variant="info"]{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.rm-article .rm-callout-warning,.rm-article [data-block="callout"][data-variant="warning"]{border-color:#fcd34d;background:#fffbeb;color:var(--rm-warn)}
.rm-article [data-block="callout"]{border-left-width:1px}
.rm-article .rm-callout-tip p,.rm-article .rm-callout-info p,.rm-article .rm-callout-warning p,.rm-article [data-block="callout"] p{color:var(--rm-fg)}
/* Key takeaways */
.rm-article .rm-takeaways,.rm-article [data-block="takeaways"]{border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:color-mix(in srgb,var(--rm-accent) 6%,transparent)}
.rm-article .rm-takeaways h3,.rm-article [data-block="takeaways"] h3{color:var(--rm-accent);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.rm-article .rm-takeaways ul li::marker,.rm-article [data-block="takeaways"] ul li::marker{color:var(--rm-accent)}
/* Stat */
.rm-article .rm-stat,.rm-article [data-block="stat"]{text-align:center;padding:1.5rem 1rem;border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--rm-accent) 7%,transparent),transparent)}
.rm-article .rm-stat h2,.rm-article [data-block="stat"] h2{font-size:2.75rem;line-height:1;margin:0 0 .4em;color:var(--rm-accent);font-weight:700;letter-spacing:-.04em}
.rm-article .rm-stat p,.rm-article [data-block="stat"] p{font-size:.85rem;color:var(--rm-muted);max-width:38ch;margin:0 auto}
/* CTA */
.rm-article .rm-cta,.rm-article [data-block="cta"]{border-color:color-mix(in srgb,var(--rm-accent) 40%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--rm-accent) 12%,transparent),color-mix(in srgb,var(--rm-accent) 4%,transparent));padding:1.25rem 1.5rem}
.rm-article .rm-cta h3,.rm-article [data-block="cta"] h3{font-size:1.05rem;margin-bottom:.3em}
.rm-article .rm-cta a,.rm-article [data-block="cta"] a{display:inline-flex;align-items:center;background:var(--rm-accent);color:var(--rm-accent-fg);padding:.5rem 1rem;border-radius:999px;text-decoration:none;font-weight:600;font-size:.85rem}
/* Pros & Cons */
.rm-article .rm-proscons h3,.rm-article [data-block="proscons"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted)}
.rm-article .rm-proscons p strong,.rm-article [data-block="proscons"] p strong{display:inline-block;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;padding:.15rem .55rem;border-radius:999px;margin-top:.6em}
.rm-article .rm-proscons p:nth-of-type(1) strong,.rm-article [data-block="proscons"] p:nth-of-type(1) strong{background:color-mix(in srgb,var(--rm-ok) 15%,transparent);color:var(--rm-ok)}
.rm-article .rm-proscons p:nth-of-type(2) strong,.rm-article [data-block="proscons"] p:nth-of-type(2) strong{background:color-mix(in srgb,var(--rm-bad) 15%,transparent);color:var(--rm-bad)}
.rm-article .rm-proscons ul:nth-of-type(1) li::marker,.rm-article [data-block="proscons"] ul:nth-of-type(1) li::marker{color:var(--rm-ok)}
.rm-article .rm-proscons ul:nth-of-type(2) li::marker,.rm-article [data-block="proscons"] ul:nth-of-type(2) li::marker{color:var(--rm-bad)}
/* Comparison block (dot-delimited fallback) */
.rm-article .rm-compare,.rm-article [data-block="compare"]{background:var(--rm-card)}
.rm-article .rm-compare h3,.rm-article [data-block="compare"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted)}
.rm-article .rm-compare ul,.rm-article [data-block="compare"] ul{list-style:none;padding:0;margin:0}
.rm-article .rm-compare li,.rm-article [data-block="compare"] li{border-bottom:1px solid var(--rm-border);padding:.5em 0}
/* Pull quote */
.rm-article .rm-pullquote,.rm-article [data-block="pullquote"]{border:none;background:transparent;padding:0;margin:1.75rem 0;text-align:center}
.rm-article .rm-pullquote blockquote,.rm-article [data-block="pullquote"] blockquote{border:none;font-size:1.4rem;line-height:1.4;font-style:italic;color:var(--rm-fg);margin:0 0 .5rem;padding:0}
.rm-article .rm-pullquote p:last-child,.rm-article [data-block="pullquote"] p:last-child{color:var(--rm-muted);font-size:.85rem}
/* FAQ — shared */
.rm-article [class*="rm-faq-"] p strong{font-weight:600}
/* FAQ — Classic */
.rm-article .rm-faq-classic,.rm-article [data-block="faq"][data-style="classic"]{border:1px solid color-mix(in srgb,var(--rm-accent) 25%,transparent);background:color-mix(in srgb,var(--rm-accent) 5%,transparent);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-faq-classic h3::before,.rm-article [data-block="faq"][data-style="classic"] h3::before{content:"FAQ · ";color:var(--rm-accent);font-weight:700;font-size:.7rem;text-transform:uppercase;letter-spacing:.02em}
/* FAQ — Cards */
.rm-article .rm-faq-cards h3,.rm-article [data-block="faq"][data-style="cards"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--rm-muted);font-weight:700;margin-bottom:.8em}
.rm-article .rm-faq-cards p:has(strong),.rm-article [data-block="faq"][data-style="cards"] p:has(strong){margin:.5em 0 0;padding:.85rem 1rem .4rem;border:1px solid var(--rm-border);border-bottom:none;border-radius:.75rem .75rem 0 0;background:var(--rm-card)}
.rm-article .rm-faq-cards p:has(strong)+p,.rm-article [data-block="faq"][data-style="cards"] p:has(strong)+p{margin:0 0 .65em;padding:0 1rem .85rem;border:1px solid var(--rm-border);border-top:none;border-radius:0 0 .75rem .75rem;background:var(--rm-card);color:var(--rm-muted)}
/* FAQ — Minimal */
.rm-article .rm-faq-minimal p:has(strong),.rm-article [data-block="faq"][data-style="minimal"] p:has(strong){margin-top:0;padding-top:.95em;border-top:1px solid var(--rm-border)}
.rm-article .rm-faq-minimal p:has(strong)+p,.rm-article [data-block="faq"][data-style="minimal"] p:has(strong)+p{color:var(--rm-muted);margin-top:.25em}
/* FAQ — Numbered */
.rm-article .rm-faq-numbered,.rm-article [data-block="faq"][data-style="numbered"]{counter-reset:rm-faq}
.rm-article .rm-faq-numbered p:has(strong),.rm-article [data-block="faq"][data-style="numbered"] p:has(strong){counter-increment:rm-faq;position:relative;padding-left:3.5rem;margin-top:1.5em}
.rm-article .rm-faq-numbered p:has(strong)::before,.rm-article [data-block="faq"][data-style="numbered"] p:has(strong)::before{content:counter(rm-faq,decimal-leading-zero);position:absolute;left:0;top:-.05em;font-family:ui-monospace,monospace;font-size:1.5rem;font-weight:700;color:var(--rm-accent)}
.rm-article .rm-faq-numbered p:has(strong)+p,.rm-article [data-block="faq"][data-style="numbered"] p:has(strong)+p{padding-left:3.5rem;margin-top:.35em;color:var(--rm-muted)}
/* FAQ — published collapsible (details/summary) */
.rm-article details{border-top:1px solid var(--rm-border);padding:.25rem 0}
.rm-article details summary{cursor:pointer;font-weight:600;padding:.75rem 0;list-style:none}
.rm-article details summary::-webkit-details-marker{display:none}
.rm-article details[open] summary{color:var(--rm-accent)}
/* Table of contents */
.rm-article [class*="rm-toc-"] a,.rm-article [data-block="toc"] a{text-decoration:none}
.rm-article [class*="rm-toc-"] a:hover,.rm-article [data-block="toc"] a:hover{text-decoration:underline}
.rm-article [class*="rm-toc-"] h3,.rm-article [data-block="toc"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted);margin-bottom:.75em}
.rm-article .rm-toc-classic,.rm-article .rm-toc-numbered,.rm-article .rm-toc-minimal,.rm-article [data-block="toc"]:not([data-style="pill"]){float:left;clear:left;width:230px;margin:.25rem 1.75rem 1rem 0}
@media (max-width:640px){.rm-article .rm-toc-classic,.rm-article .rm-toc-numbered,.rm-article .rm-toc-minimal,.rm-article [data-block="toc"]{float:none;width:auto;margin:0 0 1rem}}
.rm-article .rm-toc-classic,.rm-article [data-block="toc"][data-style="classic"]{background:var(--rm-card);border:1px solid var(--rm-border);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-toc-classic ol,.rm-article [data-block="toc"][data-style="classic"] ol{margin:0;padding-left:1.25rem;font-size:.875rem}
.rm-article .rm-toc-pill,.rm-article [data-block="toc"][data-style="pill"]{border:1px solid color-mix(in srgb,var(--rm-accent) 18%,transparent);background:color-mix(in srgb,var(--rm-accent) 4%,transparent);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-toc-pill ul,.rm-article [data-block="toc"][data-style="pill"] ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.rm-article .rm-toc-pill ul li,.rm-article [data-block="toc"][data-style="pill"] ul li{margin:0}
.rm-article .rm-toc-pill a,.rm-article [data-block="toc"][data-style="pill"] a{display:inline-flex;align-items:center;padding:.3rem .75rem;border-radius:999px;background:var(--rm-card);border:1px solid var(--rm-border);font-size:.8125rem;color:var(--rm-fg)}
.rm-article .rm-toc-pill a::before,.rm-article [data-block="toc"][data-style="pill"] a::before{content:"#";margin-right:.25rem;color:var(--rm-accent);font-weight:600}
.rm-article .rm-toc-minimal,.rm-article [data-block="toc"][data-style="minimal"]{border:none;border-left:2px solid color-mix(in srgb,var(--rm-accent) 40%,transparent);background:transparent;border-radius:0;padding:.25rem 0 .25rem 1rem}
.rm-article .rm-toc-minimal ul,.rm-article [data-block="toc"][data-style="minimal"] ul{list-style:none;margin:0;padding:0;font-size:.875rem}
/* Clear the floated ToC so following content doesn't wrap oddly at the end */
.rm-article::after{content:"";display:block;clear:both}
</style>

2. Wrap your article body

Wrap the published article HTML in a container with the class rm-article. The stylesheet is scoped to it so it never fights the rest of your site.

article.html
<div class="rm-article">
  <!-- your published article HTML goes here -->
</div>

Publishing through the RankMind Pull API or a webhook? Therm-articlewrapper and styles are already included automatically — this page is for custom or hand-rolled setups.

3. Or let an AI wire it up

Not sure where the CSS or the wrapper go for your stack? Copy this prompt (the full stylesheet is baked in) and paste it into ChatGPT, Claude, or your code assistant. It'll integrate the styles into your specific CMS or framework.

AI prompt
You are integrating a blog stylesheet into my website.

My CMS publishes article HTML that uses "RankMind" block markup. Blocks are
marked with class names like `rm-callout-tip`, `rm-faq-cards`, `rm-toc-classic`,
`rm-stat`, `rm-cta`, `rm-proscons`, `rm-compare`, and/or attributes like
`data-block="callout"`, `data-block="faq"`, `data-block="toc"`. FAQs may publish
as native `<details><summary>`. Tables are plain `<table>`.

Goal: make ALL of these blocks render correctly and well-spaced on my site,
without changing my article content.

Do this:
1. Add the CSS below to my site (a global stylesheet, or my theme's custom CSS).
2. Ensure every article's body is wrapped in a container with class `rm-article`,
   i.e. `<div class="rm-article"> ...article HTML... </div>`. If my theme renders
   the post body in a known wrapper, add the `rm-article` class there instead.
3. Don't strip the block class names or data-* attributes from my article HTML —
   the CSS targets them.
4. Tell me exactly where you added the CSS and where you added the `rm-article`
   wrapper for my specific stack (ask me what CMS/framework I use if unclear).

To match my brand color, override one variable, e.g.
`.rm-article{ --rm-accent:#db2777 }`.

Here is the CSS to add:

```css
.rm-article{--rm-accent:#2563eb;--rm-accent-fg:#ffffff;--rm-fg:#111827;--rm-muted:#6b7280;--rm-border:#e5e7eb;--rm-subtle:#f9fafb;--rm-card:#ffffff;--rm-ok:#16a34a;--rm-bad:#dc2626;--rm-warn:#b45309;max-width:48rem;margin:0 auto;line-height:1.7;color:var(--rm-fg);font-size:1.05rem;overflow-wrap:break-word}
.rm-article *{box-sizing:border-box}
.rm-article h1,.rm-article h2,.rm-article h3,.rm-article h4{line-height:1.25;font-weight:700;margin:2rem 0 .75rem;scroll-margin-top:5rem;color:var(--rm-fg)}
.rm-article h1{font-size:2.1rem;letter-spacing:-.02em}
.rm-article h2{font-size:1.6rem}
.rm-article h3{font-size:1.3rem}
.rm-article p{margin:0 0 1.15rem}
.rm-article a{color:var(--rm-accent);text-decoration:underline;text-underline-offset:2px}
.rm-article strong{font-weight:700}
.rm-article img{max-width:100%;height:auto;border-radius:12px}
.rm-article figure{margin:0 0 1.5rem}
.rm-article figure figcaption{font-size:.85rem;color:var(--rm-muted);text-align:center;margin-top:.5rem}
.rm-article ul,.rm-article ol{margin:0 0 1.15rem;padding-left:1.5rem}
.rm-article li{margin:.35rem 0}
.rm-article li>p{margin:0 0 .35rem}
.rm-article mark{background:color-mix(in srgb,var(--rm-accent) 22%,transparent);border-radius:.2em;padding:.05em .15em}
.rm-article blockquote{margin:1.5rem 0;padding:.25rem 0 .25rem 1.25rem;border-left:3px solid var(--rm-accent);color:var(--rm-muted);font-style:italic}
.rm-article pre{background:#0f172a;color:#e2e8f0;padding:1rem 1.25rem;border-radius:12px;overflow:auto;font-size:.9rem;margin:0 0 1.5rem}
.rm-article :not(pre)>code{background:#f1f5f9;padding:.15em .4em;border-radius:6px;font-size:.9em}
.rm-article hr{border:0;border-top:1px solid var(--rm-border);margin:2.5rem 0}
/* Tables */
.rm-article table{width:100%;border-collapse:collapse;margin:0 0 1.5rem;font-size:.95rem;overflow:hidden}
.rm-article table td,.rm-article table th{border:1px solid var(--rm-border);padding:.6rem .8rem;text-align:left;vertical-align:top}
.rm-article table th{background:var(--rm-subtle);font-weight:600}
.rm-article table tr:nth-child(even) td{background:color-mix(in srgb,var(--rm-subtle) 55%,transparent)}
/* Block shell */
.rm-article .rm-block{margin:1.5rem 0;padding:1rem 1.15rem;border-radius:.85rem;border:1px solid var(--rm-border);background:var(--rm-subtle);position:relative}
.rm-article .rm-block>*:first-child{margin-top:0}
.rm-article .rm-block>*:last-child{margin-bottom:0}
.rm-article .rm-block h3{font-size:.95rem;margin:0 0 .65em}
/* Callouts */
.rm-article .rm-callout-tip,.rm-article .rm-callout-info,.rm-article .rm-callout-warning,.rm-article [data-block="callout"]{padding-left:2.5rem;position:relative}
.rm-article .rm-callout-tip::before,.rm-article .rm-callout-info::before,.rm-article .rm-callout-warning::before,.rm-article [data-block="callout"]::before{content:"";position:absolute;top:1.1rem;left:1rem;width:.8rem;height:.8rem;border-radius:999px;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}
.rm-article .rm-callout-tip,.rm-article [data-block="callout"][data-variant="tip"]{border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:color-mix(in srgb,var(--rm-accent) 7%,transparent);color:var(--rm-accent)}
.rm-article .rm-callout-info,.rm-article [data-block="callout"][data-variant="info"]{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.rm-article .rm-callout-warning,.rm-article [data-block="callout"][data-variant="warning"]{border-color:#fcd34d;background:#fffbeb;color:var(--rm-warn)}
.rm-article [data-block="callout"]{border-left-width:1px}
.rm-article .rm-callout-tip p,.rm-article .rm-callout-info p,.rm-article .rm-callout-warning p,.rm-article [data-block="callout"] p{color:var(--rm-fg)}
/* Key takeaways */
.rm-article .rm-takeaways,.rm-article [data-block="takeaways"]{border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:color-mix(in srgb,var(--rm-accent) 6%,transparent)}
.rm-article .rm-takeaways h3,.rm-article [data-block="takeaways"] h3{color:var(--rm-accent);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.rm-article .rm-takeaways ul li::marker,.rm-article [data-block="takeaways"] ul li::marker{color:var(--rm-accent)}
/* Stat */
.rm-article .rm-stat,.rm-article [data-block="stat"]{text-align:center;padding:1.5rem 1rem;border-color:color-mix(in srgb,var(--rm-accent) 30%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--rm-accent) 7%,transparent),transparent)}
.rm-article .rm-stat h2,.rm-article [data-block="stat"] h2{font-size:2.75rem;line-height:1;margin:0 0 .4em;color:var(--rm-accent);font-weight:700;letter-spacing:-.04em}
.rm-article .rm-stat p,.rm-article [data-block="stat"] p{font-size:.85rem;color:var(--rm-muted);max-width:38ch;margin:0 auto}
/* CTA */
.rm-article .rm-cta,.rm-article [data-block="cta"]{border-color:color-mix(in srgb,var(--rm-accent) 40%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--rm-accent) 12%,transparent),color-mix(in srgb,var(--rm-accent) 4%,transparent));padding:1.25rem 1.5rem}
.rm-article .rm-cta h3,.rm-article [data-block="cta"] h3{font-size:1.05rem;margin-bottom:.3em}
.rm-article .rm-cta a,.rm-article [data-block="cta"] a{display:inline-flex;align-items:center;background:var(--rm-accent);color:var(--rm-accent-fg);padding:.5rem 1rem;border-radius:999px;text-decoration:none;font-weight:600;font-size:.85rem}
/* Pros & Cons */
.rm-article .rm-proscons h3,.rm-article [data-block="proscons"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted)}
.rm-article .rm-proscons p strong,.rm-article [data-block="proscons"] p strong{display:inline-block;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;padding:.15rem .55rem;border-radius:999px;margin-top:.6em}
.rm-article .rm-proscons p:nth-of-type(1) strong,.rm-article [data-block="proscons"] p:nth-of-type(1) strong{background:color-mix(in srgb,var(--rm-ok) 15%,transparent);color:var(--rm-ok)}
.rm-article .rm-proscons p:nth-of-type(2) strong,.rm-article [data-block="proscons"] p:nth-of-type(2) strong{background:color-mix(in srgb,var(--rm-bad) 15%,transparent);color:var(--rm-bad)}
.rm-article .rm-proscons ul:nth-of-type(1) li::marker,.rm-article [data-block="proscons"] ul:nth-of-type(1) li::marker{color:var(--rm-ok)}
.rm-article .rm-proscons ul:nth-of-type(2) li::marker,.rm-article [data-block="proscons"] ul:nth-of-type(2) li::marker{color:var(--rm-bad)}
/* Comparison block (dot-delimited fallback) */
.rm-article .rm-compare,.rm-article [data-block="compare"]{background:var(--rm-card)}
.rm-article .rm-compare h3,.rm-article [data-block="compare"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted)}
.rm-article .rm-compare ul,.rm-article [data-block="compare"] ul{list-style:none;padding:0;margin:0}
.rm-article .rm-compare li,.rm-article [data-block="compare"] li{border-bottom:1px solid var(--rm-border);padding:.5em 0}
/* Pull quote */
.rm-article .rm-pullquote,.rm-article [data-block="pullquote"]{border:none;background:transparent;padding:0;margin:1.75rem 0;text-align:center}
.rm-article .rm-pullquote blockquote,.rm-article [data-block="pullquote"] blockquote{border:none;font-size:1.4rem;line-height:1.4;font-style:italic;color:var(--rm-fg);margin:0 0 .5rem;padding:0}
.rm-article .rm-pullquote p:last-child,.rm-article [data-block="pullquote"] p:last-child{color:var(--rm-muted);font-size:.85rem}
/* FAQ — shared */
.rm-article [class*="rm-faq-"] p strong{font-weight:600}
/* FAQ — Classic */
.rm-article .rm-faq-classic,.rm-article [data-block="faq"][data-style="classic"]{border:1px solid color-mix(in srgb,var(--rm-accent) 25%,transparent);background:color-mix(in srgb,var(--rm-accent) 5%,transparent);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-faq-classic h3::before,.rm-article [data-block="faq"][data-style="classic"] h3::before{content:"FAQ · ";color:var(--rm-accent);font-weight:700;font-size:.7rem;text-transform:uppercase;letter-spacing:.02em}
/* FAQ — Cards */
.rm-article .rm-faq-cards h3,.rm-article [data-block="faq"][data-style="cards"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--rm-muted);font-weight:700;margin-bottom:.8em}
.rm-article .rm-faq-cards p:has(strong),.rm-article [data-block="faq"][data-style="cards"] p:has(strong){margin:.5em 0 0;padding:.85rem 1rem .4rem;border:1px solid var(--rm-border);border-bottom:none;border-radius:.75rem .75rem 0 0;background:var(--rm-card)}
.rm-article .rm-faq-cards p:has(strong)+p,.rm-article [data-block="faq"][data-style="cards"] p:has(strong)+p{margin:0 0 .65em;padding:0 1rem .85rem;border:1px solid var(--rm-border);border-top:none;border-radius:0 0 .75rem .75rem;background:var(--rm-card);color:var(--rm-muted)}
/* FAQ — Minimal */
.rm-article .rm-faq-minimal p:has(strong),.rm-article [data-block="faq"][data-style="minimal"] p:has(strong){margin-top:0;padding-top:.95em;border-top:1px solid var(--rm-border)}
.rm-article .rm-faq-minimal p:has(strong)+p,.rm-article [data-block="faq"][data-style="minimal"] p:has(strong)+p{color:var(--rm-muted);margin-top:.25em}
/* FAQ — Numbered */
.rm-article .rm-faq-numbered,.rm-article [data-block="faq"][data-style="numbered"]{counter-reset:rm-faq}
.rm-article .rm-faq-numbered p:has(strong),.rm-article [data-block="faq"][data-style="numbered"] p:has(strong){counter-increment:rm-faq;position:relative;padding-left:3.5rem;margin-top:1.5em}
.rm-article .rm-faq-numbered p:has(strong)::before,.rm-article [data-block="faq"][data-style="numbered"] p:has(strong)::before{content:counter(rm-faq,decimal-leading-zero);position:absolute;left:0;top:-.05em;font-family:ui-monospace,monospace;font-size:1.5rem;font-weight:700;color:var(--rm-accent)}
.rm-article .rm-faq-numbered p:has(strong)+p,.rm-article [data-block="faq"][data-style="numbered"] p:has(strong)+p{padding-left:3.5rem;margin-top:.35em;color:var(--rm-muted)}
/* FAQ — published collapsible (details/summary) */
.rm-article details{border-top:1px solid var(--rm-border);padding:.25rem 0}
.rm-article details summary{cursor:pointer;font-weight:600;padding:.75rem 0;list-style:none}
.rm-article details summary::-webkit-details-marker{display:none}
.rm-article details[open] summary{color:var(--rm-accent)}
/* Table of contents */
.rm-article [class*="rm-toc-"] a,.rm-article [data-block="toc"] a{text-decoration:none}
.rm-article [class*="rm-toc-"] a:hover,.rm-article [data-block="toc"] a:hover{text-decoration:underline}
.rm-article [class*="rm-toc-"] h3,.rm-article [data-block="toc"] h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--rm-muted);margin-bottom:.75em}
.rm-article .rm-toc-classic,.rm-article .rm-toc-numbered,.rm-article .rm-toc-minimal,.rm-article [data-block="toc"]:not([data-style="pill"]){float:left;clear:left;width:230px;margin:.25rem 1.75rem 1rem 0}
@media (max-width:640px){.rm-article .rm-toc-classic,.rm-article .rm-toc-numbered,.rm-article .rm-toc-minimal,.rm-article [data-block="toc"]{float:none;width:auto;margin:0 0 1rem}}
.rm-article .rm-toc-classic,.rm-article [data-block="toc"][data-style="classic"]{background:var(--rm-card);border:1px solid var(--rm-border);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-toc-classic ol,.rm-article [data-block="toc"][data-style="classic"] ol{margin:0;padding-left:1.25rem;font-size:.875rem}
.rm-article .rm-toc-pill,.rm-article [data-block="toc"][data-style="pill"]{border:1px solid color-mix(in srgb,var(--rm-accent) 18%,transparent);background:color-mix(in srgb,var(--rm-accent) 4%,transparent);border-radius:.85rem;padding:1rem 1.15rem}
.rm-article .rm-toc-pill ul,.rm-article [data-block="toc"][data-style="pill"] ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.rm-article .rm-toc-pill ul li,.rm-article [data-block="toc"][data-style="pill"] ul li{margin:0}
.rm-article .rm-toc-pill a,.rm-article [data-block="toc"][data-style="pill"] a{display:inline-flex;align-items:center;padding:.3rem .75rem;border-radius:999px;background:var(--rm-card);border:1px solid var(--rm-border);font-size:.8125rem;color:var(--rm-fg)}
.rm-article .rm-toc-pill a::before,.rm-article [data-block="toc"][data-style="pill"] a::before{content:"#";margin-right:.25rem;color:var(--rm-accent);font-weight:600}
.rm-article .rm-toc-minimal,.rm-article [data-block="toc"][data-style="minimal"]{border:none;border-left:2px solid color-mix(in srgb,var(--rm-accent) 40%,transparent);background:transparent;border-radius:0;padding:.25rem 0 .25rem 1rem}
.rm-article .rm-toc-minimal ul,.rm-article [data-block="toc"][data-style="minimal"] ul{list-style:none;margin:0;padding:0;font-size:.875rem}
/* Clear the floated ToC so following content doesn't wrap oddly at the end */
.rm-article::after{content:"";display:block;clear:both}
```