/* ==========================================================================
   TEMBLIT · BLOG-CSS voor artikelen op /nl/posts/*                 v1 · 5 okt 2026
   --------------------------------------------------------------------------
   Aanvulling op temblit-pagina.css (laad die eerst). Alleen voor blogartikelen,
   gebouwd met: python3 scripts/website/build_page.py <slug>
   Mobile first: geen enkele max-width-query, alleen min-width.
   Huisstijl: .claude/rules/temblit-pagina-blueprint.md (blogpagina = blok 1, 2, 3, 8, 9
   met de artikeltekst in plaats van blok 4).
   ========================================================================== */

/* Wrapper van een artikel (naast .tb) */
.tb-blog { overflow-wrap: break-word; }

/* Leeskolom: rond 65 tekens, links uitgelijnd met de container */
.tb-article { max-width: 42rem; }
.tb-art-section { padding: 2rem 0; }
.tb-art-section + .tb-art-section { padding-top: .5rem; }
@media (min-width: 640px) { .tb-art-section { padding: 2.75rem 0; } .tb-art-section + .tb-art-section { padding-top: .75rem; } }
@media (min-width: 1024px) { .tb-article { margin-left: calc((100% - 42rem) / 6); } }
.tb-article .tb-text { max-width: none; font-size: 1.0625rem; line-height: 1.75; color: var(--tb-body); }
.tb-article .tb-h2 { margin-bottom: 1rem !important; }
.tb-art-h3 { margin: 1.75rem 0 .5rem; font-size: 1.125rem; }
.tb-art-note { font-size: .9375rem !important; color: var(--tb-muted) !important; }

/* Lijsten in de lopende tekst (geen vinkjes: dat is voor voordelen) */
.tb-list { list-style: disc; margin: 0 0 1.25rem; padding-left: 1.25rem; display: grid; gap: .5rem; }
.tb-list li { font-size: 1.0625rem; line-height: 1.7; color: var(--tb-body); padding-left: .25rem; }
.tb-list li::marker { color: var(--tb-primary); font-weight: 700; }
.tb-list-ol { list-style: decimal; padding-left: 1.5rem; }

/* Illustraties: inline SVG, 0 downloads */
.tb-figure { margin: 1.75rem 0; }
.tb-fig-svg { display: block; width: 100%; height: auto; border-radius: .875rem; }
.tb-figcap { margin-top: .625rem; font-size: .875rem; line-height: 1.55; color: var(--tb-muted); }

/* Tip of ervaring uit de praktijk */
.tb-tip { margin: 1.5rem 0; padding: 1.125rem 1.25rem; background: var(--tb-warm); border-left: 4px solid var(--tb-primary); border-radius: 0 .75rem .75rem 0; }
.tb-tip-label { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--tb-secondary); margin-bottom: .25rem; }
.tb-tip .tb-text { margin: 0 !important; font-size: 1rem; }

/* Inhoudsopgave onder het antwoordblok */
.tb-toc { margin-top: 1.5rem; padding: 1.125rem 1.25rem; border: 1px solid var(--tb-border); border-radius: .75rem; max-width: 42rem; background: #fff; }
.tb-toc-label { font-size: .875rem; font-weight: 700; color: var(--tb-heading); margin-bottom: .5rem; }
.tb-toc ol { list-style: decimal; margin: 0; padding-left: 1.25rem; display: grid; gap: .375rem; }
.tb-toc li { font-size: .9375rem; line-height: 1.5; }
.tb-toc li::marker { color: var(--tb-muted); }
.tb-toc a { color: var(--tb-secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; display: inline-block; padding: .125rem 0; }
.tb-toc a:hover { text-decoration-thickness: 2px; }

/* Leestijd in de kop */
.tb-art-meta { margin-top: 1rem; font-size: .875rem; font-weight: 500; opacity: .9; }
.tb-on-orange .tb-art-meta { color: #fff; }

/* Homepage: plek voor het bestaande één-zin-invoerveld (Livewire) in de kop */
.tb-home-form { margin-top: 1.5rem; min-height: 3.5rem; max-width: 36rem; }
.tb-home { overflow-wrap: break-word; }

/* Oranje sectieband (homepage): witte kaarten houden hun donkere tekst */
.tb-on-orange .tb-card .tb-h2, .tb-on-orange .tb-card .tb-h3, .tb-on-orange .tb-card .tb-h4 { color: var(--tb-heading); }
.tb-on-orange .tb-card .tb-text, .tb-on-orange .tb-card .tb-small, .tb-on-orange .tb-card .tb-tiny { color: var(--tb-muted); }
.tb-on-orange .tb-card .tb-strong { color: var(--tb-heading); }
.tb-on-orange .tb-card .tb-link { color: var(--tb-secondary); }
.tb-section.tb-orange-bg { overflow: hidden; }

/* ---------- Blogoverzicht: kaartkop voor een artikel zonder eigen beeld (13 nov 2026) ----------
   Oranje vlak met de Temblit-curve en een wit iconvlak, zoals de iconkaarten op de pagina's. */
.tb-blogkaart { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #F48C00, #F48C00CC); }
.tb-blogkaart::before { content: ""; position: absolute; right: -18%; bottom: -55%; width: 70%; aspect-ratio: 1; border-radius: 9999px;
  border: 2.25rem solid rgba(255, 255, 255, .16); }
.tb-blogkaart::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: radial-gradient(60% 100% at 30% 100%, rgba(255, 74, 0, .45), transparent 70%); }
.tb-blogkaart-vlak { position: relative; z-index: 1; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 1rem;
  background: #fff; box-shadow: 0 12px 24px -12px rgba(120, 40, 0, .5); transition: transform .5s ease; }
.tb-blogkaart-vlak svg { width: 2rem; height: 2rem; fill: none; stroke: #F48C00; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.group:hover .tb-blogkaart-vlak { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .tb-blogkaart-vlak { transition: none; } }
