/* SAMFEX Child · Wissensartikel als Blöcke (erzeugt von scripts/samfexpages/artikel.py, nicht von Hand ändern)
   Die Artikelgestaltung selbst steht in legacy-customizer.css (.smfx-article …). Hier nur Brücken für die Kernblöcke. */

/* Rücksetzer für Tabellen- und Button-Blöcke (vor den Brücken, gleiche Spezifität) */
.smfx-table td, .smfx-table th { border: 0; }
.smfx-table thead, .smfx-table tfoot { border: 0; }
.wp-block-table.smfx-tablewrap { margin-left: 0; margin-right: 0; }
.wp-block-table.smfx-table { min-width: 0; } /* die figure trägt smfx-table mit: Mindestbreite nur an der Tabelle, die figure scrollt */
.wp-block-table.smfx-tablewrap { display: flex; flex-direction: column; }
.wp-block-table.smfx-tablewrap > figcaption { order: -1; margin: 0; } /* Beschriftung wie bisher über der Tabelle */

/* Übernommene Regeln mit Blockselektoren: Buttons (a → .wp-block-button > a), Tabelle (table → figure > table), caption → figcaption */
.smfx-table > table {border-collapse:collapse;width:100%;min-width:560px;font-size:.9rem;}
.wp-block-table.smfx-table th, .wp-block-table.smfx-table td {text-align:left;padding:12px 15px;border-bottom:1px solid var(--line);vertical-align:top;}
.wp-block-table.smfx-table thead th {background:var(--blue);color:#fff;font-weight:700;letter-spacing:.02em;border-bottom:none;}
.wp-block-table.smfx-table tbody tr:last-child td {border-bottom:none;}
.wp-block-table.smfx-table tbody tr:nth-child(even) {background:var(--bg);}
.wp-block-table.smfx-table caption, .smfx-table figcaption {caption-side:top;text-align:left;font-size:.85rem;font-weight:700;color:var(--muted);padding:10px 15px 0;}
:is(a.smfx-btn, .wp-block-button.smfx-btn > .wp-block-button__link) {display:inline-flex;align-items:center;gap:.5em;padding:14px 22px;border-radius:6px;font-weight:700;font-size:.95rem;text-decoration:none;}
:is(a.smfx-btn-primary, .wp-block-button.smfx-btn-primary > .wp-block-button__link) {background:#fff;color:var(--blue);}
:is(a.smfx-btn-primary, .wp-block-button.smfx-btn-primary > .wp-block-button__link):hover {background:#eef0f6;text-decoration:none;}
:is(a.smfx-btn-ghost, .wp-block-button.smfx-btn-ghost > .wp-block-button__link) {background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55);}
:is(a.smfx-btn-ghost, .wp-block-button.smfx-btn-ghost > .wp-block-button__link):hover {border-color:#fff;text-decoration:none;}

/* Ränder einfacher Klassen: WordPress setzt Ränder von Gruppenkindern auf 0 (:root :where(.is-layout-flow) > *) */
.smfx-article .smfx-quint {margin:0 0 2.4em}
.smfx-article .smfx-list {margin:1em 0 1.4em}
.smfx-article .smfx-cards {margin:1.4em 0 1.6em}
.smfx-article .smfx-steps {margin:1.4em 0 1.6em}
.smfx-article .smfx-note {margin:1.4em 0}
.smfx-article .smfx-tablewrap {margin:1.3em 0 1.6em}
.smfx-article .smfx-faq {margin:1.4em 0 1.6em}
.smfx-article .smfx-cta {margin:2.4em 0 1.4em}
.smfx-article .smfx-disclaimer {margin-top:2em}
.smfx-article .smfx-sources {margin-top:1.2em}
.smfx-article .wp-block-buttons.smfx-btns { gap: 12px; }
/* Der Block-Rahmen trägt die Klasse smfx-btn mit: Die alten Regeln (.smfx-btn …) dürfen nur am Link wirken */
.smfx-article .wp-block-button.smfx-btn, .smfx-article .wp-block-button.smfx-btn:hover { display: block; padding: 0; background: none; border: 0; border-radius: 0; }
.smfx-article p.smfx-span { margin: 0; } /* war span in .smfx-note und .smfx-card */
.smfx-article .smfx-faq .wp-block-details > summary { list-style: none; }

/* Flaticon-Icons (i.fi), bisher im Inhalt von 49248 und 49257 */
.smfx-article h2 .fi{color:var(--green);font-size:1.1em;display:inline-flex;}
.smfx-quint .smfx-quint-head .fi{font-size:1.5rem;color:var(--green);display:inline-flex;}
.smfx-quint .facts .fi{color:var(--green);font-size:1.15rem;margin-top:.1em;flex:none;display:inline-flex;}
.smfx-list .fi{color:var(--green);font-size:1.05rem;margin-top:.2em;flex:none;display:inline-flex;}
.smfx-card .ic .fi{color:var(--green);font-size:1.4rem;display:inline-flex;}
.smfx-steps h3 .fi{color:var(--green);display:inline-flex;}
.smfx-note .fi{color:var(--blue);font-size:1.2rem;margin-top:.1em;flex:none;display:inline-flex;}
.smfx-cta h2 .fi{color:#fff;}
