/* ArabCMS article content — enqueued site-wide by ArabCMS Publisher.
   Scope: .acms-content (the plugin wraps post_content in it). Tokens match acms-ig.css. */

.acms-content{--bg:#0C1018;--sf:#141924;--sf2:#1A2030;--ln:#1F2636;--bl:#38B6FF;--gr:#7ED44E;--rd:#F04575;--am:#F5A623;--nt:#AAB0C0;--wh:#F5F7FA;
  direction:rtl;text-align:right;color:var(--wh);font-family:'Cairo',system-ui,sans-serif;line-height:1.9;font-size:1.05rem}
.acms-content *{box-sizing:border-box}
.acms-content p{margin:0 0 1.15em}
.acms-content strong{color:var(--wh);font-weight:700}

/* Headings — blue accent bar on the right (RTL) */
.acms-content h2{font-size:1.65rem;font-weight:800;line-height:1.35;margin:2.2em 0 .8em;padding-inline-start:.7em;border-inline-start:4px solid var(--bl);color:var(--wh)}
.acms-content h3{font-size:1.3rem;font-weight:700;margin:1.8em 0 .6em;color:var(--wh)}
.acms-content h4{font-size:1.1rem;font-weight:700;margin:1.4em 0 .5em;color:var(--nt)}

/* Lists */
.acms-content ul,.acms-content ol{padding-inline-start:1.4em;margin:0 0 1.2em}
.acms-content li{margin:.35em 0}
.acms-content li::marker{color:var(--bl);font-weight:700}
.acms-content ol>li::marker{color:var(--gr)}

/* Inline code & code blocks */
.acms-content code{direction:ltr;unicode-bidi:isolate;font-family:'IBM Plex Mono','JetBrains Mono',ui-monospace,monospace;font-size:.88em;background:var(--sf);color:var(--bl);padding:.12em .45em;border-radius:6px;border:1px solid var(--ln)}
.acms-content pre{direction:ltr;text-align:left;background:var(--sf);border:1px solid var(--ln);border-radius:14px;padding:18px 20px;overflow:auto;margin:0 0 1.4em;font-size:.9rem;line-height:1.6}
.acms-content pre code{background:none;border:0;padding:0;color:var(--wh)}

/* Tables — same treatment as the compare infographic */
.acms-content table:not(.acms-cmp){width:100%;border-collapse:separate;border-spacing:0 8px;margin:.4em 0 1.6em;font-size:.97rem}
.acms-content table:not(.acms-cmp) th{text-align:right;color:var(--bl);font-weight:700;padding:4px 14px 8px;border-bottom:1px solid var(--ln)}
.acms-content table:not(.acms-cmp) td{background:var(--sf);padding:14px;vertical-align:top;color:var(--nt)}
.acms-content table:not(.acms-cmp) td:first-child{color:var(--wh);font-weight:600;white-space:nowrap;border-radius:0 12px 12px 0}
.acms-content table:not(.acms-cmp) td:last-child{border-radius:12px 0 0 12px}
.acms-content table:not(.acms-cmp) tr:hover td{background:var(--sf2)}
@media (max-width:640px){.acms-content table:not(.acms-cmp){display:block;overflow-x:auto}.acms-content table:not(.acms-cmp) td:first-child{white-space:normal}}

/* Callouts — blockquote gets a class from the plugin by its leading label */
.acms-content blockquote{margin:1.4em 0;padding:16px 20px;background:var(--sf);border-radius:14px;border-inline-start:4px solid var(--nt);color:var(--wh)}
.acms-content blockquote p{margin:0}
.acms-content blockquote p+p{margin-top:.6em}
.acms-content blockquote>p:first-child>strong:first-child{display:inline-block;margin-inline-end:.35em;font-weight:800}
.acms-content blockquote.acms-note{border-color:var(--bl)}
.acms-content blockquote.acms-note>p:first-child>strong:first-child{color:var(--bl)}
.acms-content blockquote.acms-stack{border-color:var(--gr);background:linear-gradient(90deg,var(--sf),rgba(126,212,78,.06))}
.acms-content blockquote.acms-stack>p:first-child>strong:first-child{color:var(--gr)}
.acms-content blockquote.acms-honest{border-color:var(--am)}
.acms-content blockquote.acms-honest>p:first-child>strong:first-child{color:var(--am)}
.acms-content blockquote.acms-warn{border-color:var(--rd)}
.acms-content blockquote.acms-warn>p:first-child>strong:first-child{color:var(--rd)}

/* TL;DR — "الخلاصة السريعة:" blockquote at the top of tool reviews */
.acms-content blockquote.acms-tldr{border:1px solid var(--bl);border-inline-start:4px solid var(--bl);background:linear-gradient(135deg,var(--sf),rgba(56,182,255,.08));padding:20px 24px}
.acms-content blockquote.acms-tldr>p:first-child>strong:first-child{color:var(--bl);font-size:1.15em}
.acms-content blockquote.acms-tldr ul{margin:.5em 0 0;padding-inline-start:1.2em}

/* FAQ — "س:" / "ج:" paragraphs */
.acms-content p.acms-q{margin:1.2em 0 .3em;font-weight:700;color:var(--wh)}
.acms-content p.acms-q strong{color:var(--bl)}
.acms-content p.acms-a{margin:0 0 .6em;padding:12px 16px;background:var(--sf);border-radius:12px;color:var(--nt)}

/* Links, affiliate CTAs, source line */
.acms-content a{color:var(--bl);text-decoration:none;border-bottom:1px solid rgba(56,182,255,.35)}
.acms-content a:hover{border-bottom-color:var(--bl)}
.acms-content a.acms-link{display:inline-block;margin-inline-start:.4em;padding:.25em .9em;border-radius:999px;border:1px solid var(--bl);color:var(--bl);font-weight:700;font-size:.92em}
.acms-content a.acms-link:hover{background:var(--bl);color:var(--bg)}
.acms-content a.acms-link-consult_link{border-color:var(--gr);color:var(--gr)}
.acms-content a.acms-link-consult_link:hover{background:var(--gr)}
.acms-content p.acms-source{margin-top:2.2em;padding-top:1em;border-top:1px solid var(--ln);color:var(--nt);font-size:.9rem}

/* Images & figures */
.acms-content img{max-width:100%;height:auto;border-radius:14px}
.acms-content figure.acms-ig{margin:2em 0}
.acms-content hr{border:0;border-top:1px solid var(--ln);margin:2em 0}
