/* Bine backt – Fachartikel (Template „Fachartikel“, live seit 02.10.2026; Aufbau wie das Rezept)
   Gilt auf Fachartikeln (.bb-fa). */

/* Hero: Lead in Fraunces kursiv, Foto mit runden Ecken ohne Schatten */
body.bb-vorschau .bb-fa .bb-fa-hero__titel{text-wrap:balance}
body.bb-vorschau .bb-fa .bb-fa-hero__lead,body.bb-vorschau .bb-fa .bb-fa-hero__lead p{font-family:Fraunces,Georgia,serif!important;font-style:italic;font-weight:400!important;font-size:var(--wp--preset--font-size--m,1.0625rem)!important;line-height:1.6!important;color:#3a2620}
body.bb-vorschau .bb-fa .bb-fa-hero__meta{font-size:.85rem;color:#62514a}
body.bb-vorschau .bb-fa .bb-fa-hero__foto{box-shadow:none!important;border-radius:1rem;background:none!important}
body.bb-vorschau .bb-fa .bb-fa-hero__foto img{border-radius:1rem!important}

/* Eine Spalte wie im Template: Inhaltsverzeichnis zugeklappt vor dem Text */
body.bb-vorschau .bb-fa .bb-fa-layout{display:flex!important;flex-direction:column;max-width:800px!important;width:100%!important;margin-inline:auto!important;gap:0!important}
@media (min-width:782px){body.bb-vorschau .bb-fa .bb-fa-layout{padding-inline:0!important}}
@media (min-width:782px) and (max-width:50rem){body.bb-vorschau .bb-fa .bb-fa-layout{padding-inline:1.25rem!important}}
body.bb-vorschau .bb-fa .bb-fa-toc{position:static!important;max-height:none!important;overflow:visible!important;width:100%!important;align-self:stretch;box-sizing:border-box;margin:0 0 2.5rem!important;background:#fff!important;border:1px solid #e5e5e2!important;border-radius:1rem!important;box-shadow:none!important;padding:.9rem 1.5rem!important}
body.bb-vorschau .bb-fa .bb-fa-toc__desktop{display:none!important}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil{display:block!important}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font:700 .75rem/1.2 Mulish,sans-serif!important;letter-spacing:.14em;text-transform:uppercase;color:#9a3d33}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil summary::-webkit-details-marker{display:none}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil summary span{display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:#f1f1ef;color:#9a3d33!important;font-size:1.2rem!important;letter-spacing:0}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil nav{counter-reset:toc;padding-top:.5rem}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil nav a{counter-increment:toc;display:grid!important;grid-template-columns:2rem minmax(0,1fr);gap:.5rem;align-items:baseline;padding:.6rem 0;border-top:1px solid #e5e5e2;border-bottom:0!important;font-size:var(--wp--preset--font-size--s,.95rem)!important;line-height:1.45;color:#3a2620!important;text-decoration:none}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil nav a::before{content:counter(toc,decimal-leading-zero);font:600 .9rem/1 Fraunces,Georgia,serif;color:#9a3d33}
body.bb-vorschau .bb-fa .bb-fa-toc__mobil nav a:hover{color:#9a3d33!important}

/* Text: erster Absatz in normaler Textgröße, Überschriften wie im Template */
body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-post-content > p:first-child{font-family:Mulish,sans-serif;font-size:inherit;line-height:inherit;margin-bottom:1.2rem}
body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-post-content > h2{font-weight:600;font-size:clamp(1.625rem,1.4783rem + .6522vw,2rem);line-height:1.18;text-wrap:balance;margin:3.5rem 0 1.1rem;padding-top:2.5rem;border-top:1px solid #e5e5e2}
body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-post-content > h2::before{content:none}
body.bb-vorschau .bb-fa .bb-fa-layout :is(h2,h3){letter-spacing:-.018em}
body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-post-content > h3{font-weight:600;font-size:clamp(1.3125rem,1.2391rem + .3261vw,1.5rem);line-height:1.25;margin:2rem 0 .7rem}
body.bb-vorschau .bb-fa .bb-fa-artikel :is(figure.wp-block-image,.wp-block-gallery) img{border-radius:1rem!important}

/* Robert-Kasten: weiß, Linie, roter Streifen links, Text in Standardgröße */
body.bb-vorschau .bb-fa .infobox-robert{background:#fff!important;border:1px solid #e5e5e2!important;border-left:4px solid #9a3d33!important;border-radius:0 1rem 1rem 0!important;box-shadow:none!important}
body.bb-vorschau .bb-fa .infobox-robert .infobox-titel{color:#9a3d33;font-family:Fraunces,Georgia,serif;font-style:normal;font-weight:600;font-size:1.4rem}
body.bb-vorschau .bb-fa .infobox-robert p{font-size:var(--wp--preset--font-size--m,1.0625rem)}
body.bb-vorschau .bb-fa .infobox-robert p.infobox-footer{font-size:.8rem;color:#62514a}

/* Kästen wie im Design System: Info und Tipp als Salbei-Fläche mit Dachzeile („Kurz gesagt“), Hinweis weiß mit dunklem Rahmen („Achtung“) */
body.bb-vorschau .bb-fa .infobox:not(.infobox-robert){border:0!important;border-radius:.5rem!important;box-shadow:none!important;padding:clamp(1.1rem,.9rem + 1vw,1.6rem) clamp(1.25rem,1rem + 1.2vw,1.9rem)!important}
body.bb-vorschau .bb-fa .infobox:not(.infobox-robert) .infobox-content::before{content:none!important}
body.bb-vorschau .bb-fa .infobox:not(.infobox-robert) p{font-size:inherit;margin:0;color:#3a2620}
body.bb-vorschau .bb-fa .infobox:not(.infobox-robert) p+p{margin-top:.5rem}
body.bb-vorschau .bb-fa .infobox:not(.infobox-robert) a{color:#9a3d33}
body.bb-vorschau .bb-fa :is(.infobox-info,.infobox-tipp){background:#e3e8df!important}
body.bb-vorschau .bb-fa :is(.infobox-info,.infobox-tipp) .infobox-titel{display:block;margin-bottom:.6rem;font:700 .8rem/1.3 Mulish,sans-serif!important;letter-spacing:.14em;text-transform:uppercase;color:#4f5645!important}
body.bb-vorschau .bb-fa .infobox.infobox-hinweis:not(.infobox-robert){background:#fff!important;border:1.5px solid #3a2620!important}
body.bb-vorschau .bb-fa .infobox-hinweis .infobox-titel{display:block;margin-bottom:.6rem;font:600 1.2rem/1.3 Fraunces,Georgia,serif!important;color:#3a2620!important}

/* Rezepttipp im Text: kein Kasten, Linien oben und unten, Foto links, Textlink */
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(1.25rem,3vw,2.25rem);align-items:center;margin-block:3rem!important;padding:2.25rem 0;background:none!important;border:0!important;border-top:1px solid #e5e5e2!important;border-bottom:1px solid #e5e5e2!important;border-radius:0!important;box-shadow:none!important;overflow:visible;transform:none!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__media{display:block;width:100%;height:auto;min-height:0!important;aspect-ratio:4/3;border-radius:1rem;overflow:hidden;background:none!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__body{padding:0!important;gap:.5rem!important;justify-content:center}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__eyebrow{margin:0!important;font-size:.78rem;letter-spacing:.14em;color:#9a3d33}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__title{font-weight:600;font-size:clamp(1.3125rem,1.2391rem + .3261vw,1.5rem)!important;line-height:1.2;color:#3a2620;margin:0!important;text-wrap:balance}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__teaser{font-size:.95rem;line-height:1.55;color:#3a2620}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__meta{gap:.2rem .5rem!important;margin:0!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__chip{font-size:.8rem!important;letter-spacing:0!important;text-transform:none!important;color:#62514a!important;font-weight:400}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__chip+.bb-recipe-card__chip::before{content:"·";margin-right:.5rem;color:#8c8580}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__cta{margin-top:.35rem!important;padding:0!important;border:0!important;font-size:.95rem!important;color:#9a3d33!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__cta .bb-arr{display:none}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card:hover .bb-recipe-card__title{color:#9a3d33}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card:hover .bb-recipe-card__cta{color:#7a2f27!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card:hover .bb-recipe-card__media img{transform:scale(1.03)}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card:focus-visible{outline:3px solid #3a2620;outline-offset:6px}
@media (max-width:34rem){body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){body.bb-vorschau .bb-fa .bb-fa-artikel .bb-recipe-card__media img{transition:none}}

/* Tabellen: weißer Rahmen, Kopf mit roter Linie, Zeilen im Wechsel; mobil als Karten */
body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-table{overflow-x:auto;background:#fff;border:1px solid #e5e5e2;border-radius:.5rem;margin-block:1.5rem 2rem!important}
body.bb-vorschau .bb-fa .bb-fa-artikel table{font-size:clamp(.875rem,.8505rem + .1087vw,.9375rem)!important;font-variant-numeric:tabular-nums;margin:0!important}
body.bb-vorschau .bb-fa .bb-fa-artikel table th{text-align:left;font:700 .72rem/1.3 Mulish,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:#62514a!important;padding:.7rem .9rem!important;border:0!important;border-bottom:2px solid #9a3d33!important;background:#fff!important}
body.bb-vorschau .bb-fa .bb-fa-artikel table td{padding:.65rem .9rem!important;border:0!important;border-top:1px solid #e5e5e2!important;vertical-align:top}
body.bb-vorschau .bb-fa .bb-fa-artikel table tbody tr:nth-child(even) td{background:#fcfcfb}
@media (max-width:40rem){
 body.bb-vorschau .bb-fa .bb-fa-artikel .wp-block-table{overflow:visible}
 body.bb-vorschau .bb-fa .bb-fa-artikel table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 body.bb-vorschau .bb-fa .bb-fa-artikel :is(table,tbody,tr,td){display:block;width:auto!important}
 body.bb-vorschau .bb-fa .bb-fa-artikel table tr{padding:.85rem 1rem;border-top:1px solid #e5e5e2}
 body.bb-vorschau .bb-fa .bb-fa-artikel table tbody tr:first-child{border-top:0}
 body.bb-vorschau .bb-fa .bb-fa-artikel table tbody tr:nth-child(even){background:#fcfcfb}
 body.bb-vorschau .bb-fa .bb-fa-artikel table tbody tr:nth-child(even) td{background:none}
 body.bb-vorschau .bb-fa .bb-fa-artikel table td{padding:.15rem 0!important;border:0!important;display:grid!important;grid-template-columns:7.5rem minmax(0,1fr);gap:.75rem}
 body.bb-vorschau .bb-fa .bb-fa-artikel table td[data-label]::before{content:attr(data-label);font:700 .68rem/1.5 Mulish,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#62514a;padding-top:.15rem}
 body.bb-vorschau .bb-fa .bb-fa-artikel table td:first-child{display:block!important;font:600 1.125rem/1.3 Fraunces,Georgia,serif;color:#3a2620;padding-bottom:.35rem!important}
 body.bb-vorschau .bb-fa .bb-fa-artikel table td:first-child::before{content:none}
}

/* Starter-Check: dunkel wie auf der Startseite */
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]){background:#3a2620!important;border:0!important;border-radius:1rem!important;box-shadow:none!important;overflow:hidden;margin-block:3rem!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) :is(h2,p){color:#fcfcfb!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) h2{font-weight:600!important;font-size:clamp(1.3125rem,1.2391rem + .3261vw,1.5rem)!important;line-height:1.2!important;margin:.4rem 0 .6rem!important;padding:0!important;border:0!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) h2::before{content:none}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) .bb-quiz-cta__text{font-size:inherit!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) .bb-quiz-cta__eyebrow{color:#f7ece9!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) .wp-block-button__link{background:#fcfcfb!important;color:#3a2620!important;border-color:#fcfcfb!important;border-radius:.5rem!important;padding:.625rem 1.125rem!important;font-size:.95rem!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) .wp-block-button__link:hover{background:#fff!important;color:#7a2f27!important}
body.bb-vorschau .bb-fa .bb-quiz-cta:has(a[href*="starter-check"]) img{border-radius:.75rem}

/* Weiterführende Links als Kasten im Stil von „So geht's weiter“ */
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav{margin-top:3rem!important;padding:0!important;background:#fff;border:1px solid #e5e5e2!important;border-radius:1rem;overflow:hidden}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__eyebrow{margin:0!important;padding:.8rem clamp(1rem,.8043rem + .8696vw,1.5rem);background:#9a3d33;color:#fff!important;font:600 1.2rem/1.25 Fraunces,Georgia,serif!important;letter-spacing:0!important;text-transform:none!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__row{display:block!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__card{display:grid!important;grid-template-columns:9rem minmax(0,1fr);gap:1rem;align-items:baseline;padding:.7rem clamp(1rem,.8043rem + .8696vw,1.5rem)!important;border-top:1px solid #e5e5e2!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__card:first-child{border-top:0!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__dir{margin:0!important;font:700 .6875rem/1.4 Mulish,sans-serif!important;letter-spacing:.12em!important;color:#62514a!important}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__title{font:700 .95rem/1.4 Mulish,sans-serif!important;color:#3a2620!important;text-decoration:underline;text-decoration-color:#8c8580;text-underline-offset:3px}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__card:last-child .bb-pathnav__title{color:#9a3d33!important;text-decoration-color:currentColor}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__card:hover .bb-pathnav__title{color:#9a3d33!important}
@media (max-width:30rem){body.bb-vorschau .bb-fa .bb-fa-artikel .bb-pathnav__card{grid-template-columns:1fr;gap:.15rem}}
body.bb-vorschau .bb-fa .bb-fa-artikel .bb-themenwelt-back{color:#9a3d33!important;border-bottom-color:#9a3d33!important}
/* Datum unter dem Artikel: steht schon im Hero (wie im Rezept nur einmal) */
body.bb-vorschau .bb-fa .bb-fa-artikel > .bb-updated{display:none!important}
