/* Zusätzliche Bausteine für Blog-Artikel, damit nicht jeder Artikel gleich aussieht.
   Verwendung in .article-prose, siehe Intern/Homepage/blog/PROMPT-Blog.md */

.article-cover{margin:6px 0 34px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.article-cover img,.article-cover video{display:block;width:100%;height:auto}
.article-prose figure{margin:26px 0}
.article-prose figure img,.article-prose figure video{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.article-prose figcaption{font-size:.82rem;color:var(--dim);margin-top:8px}

/* Kurz gesagt / Zusammenfassung oben */
.bx-tldr{border:1px solid var(--blue-line);background:var(--blue-dim);border-radius:16px;padding:18px 20px;margin:0 0 28px}
.bx-tldr b{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent,var(--blue));margin-bottom:8px}
.bx-tldr ul{margin:0 0 0 1.1em}
.bx-tldr li{margin-bottom:4px}

/* Hinweis- / Warnkasten */
.bx-note,.bx-warn{border-left:4px solid var(--accent,var(--blue));background:var(--surface);border-radius:0 12px 12px 0;padding:14px 18px;margin:22px 0}
.bx-warn{border-left-color:#d9822b}
.bx-note p:last-child,.bx-warn p:last-child{margin-bottom:0}

/* Große Zahl */
.bx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:24px 0}
.bx-stat{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:18px}
.bx-stat strong{display:block;font-size:2rem;line-height:1.05;letter-spacing:-.03em;color:var(--text);margin-bottom:6px}
.bx-stat span{font-size:.86rem;line-height:1.45;display:block}

/* Schritte mit Nummern */
.article-prose ol.bx-steps{list-style:none;margin:22px 0;padding:0;counter-reset:st}
.bx-steps li{counter-increment:st;position:relative;padding:2px 0 14px 52px;margin:0}
.bx-steps li::before{content:counter(st);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.95rem;color:var(--ink,#000);background:var(--blue)}
.bx-steps li strong{display:block}

/* Checkliste */
.article-prose ul.bx-check{list-style:none;margin:20px 0;padding:0}
.bx-check li{position:relative;padding-left:32px}
.bx-check li::before{content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:6px;border:2px solid var(--accent,var(--blue))}
.bx-check li.ok::before{background:var(--accent,var(--blue)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat}

/* Vergleichstabelle */
.bx-table{overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.bx-table table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:480px}
.bx-table th,.bx-table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.bx-table th{color:var(--text);font-weight:700;background:var(--elev)}
.bx-table tr:last-child td{border-bottom:0}

/* Zwei Spalten: vorher / nachher, Mythos / Fakt, Pro / Contra */
.bx-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.bx-duo>div{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px 18px}
.bx-duo>div>b{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;color:var(--dim)}
.bx-duo>div.good>b{color:var(--accent,var(--blue))}
.bx-duo p:last-child,.bx-duo ul:last-child{margin-bottom:0}
@media(max-width:600px){.bx-duo{grid-template-columns:1fr}}

/* Zitat groß */
.bx-quote{margin:30px 0;padding:0 0 0 20px;border-left:3px solid var(--blue);font-size:1.25rem;line-height:1.5;color:var(--text);font-weight:600;letter-spacing:-.01em}
.bx-quote cite{display:block;margin-top:8px;font-size:.85rem;font-weight:500;font-style:normal;color:var(--dim)}

/* Rechenbeispiel */
.bx-calc{border:1px dashed var(--line2);border-radius:16px;padding:16px 18px;margin:22px 0;font-variant-numeric:tabular-nums}
.bx-calc div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}
.bx-calc div.sum{border-top:1px solid var(--line2);margin-top:6px;padding-top:10px;color:var(--text);font-weight:700}

/* Inhaltsverzeichnis */
.bx-toc{border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:0 0 28px;font-size:.92rem}
.bx-toc b{display:block;margin-bottom:6px;color:var(--text)}
.bx-toc ol{margin:0 0 0 1.2em}
.bx-toc li{margin-bottom:3px}
