/* Verifita — blog. Aanvulling op styles.css.
   Geen inline styles nodig: past binnen CSP style-src 'self'.
   Een paar regels (.tag, .breadcrumb, .hero--compact, .cta-band) staan ook in shop.css,
   met dezelfde waarden, zodat blogpagina's zonder shop.css werken. */

:root { --text-body: #2c3a50; }

.nav a[aria-current="page"] { color: var(--navy); }

/* Gedeeld met shop.css */
.hero--compact { padding: 56px 24px 48px; }
.hero--compact .hero-copy h1 { font-size: 40px; max-width: 760px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald); }
.tag-quiet { background: #eef0f4; color: var(--text-muted); }
.breadcrumb { font-size: 14px; color: var(--text-muted); margin: 0 0 20px; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: 24px; font-weight: 800; }
.cta-band p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 560px; }

/* Datum, categorie, leestijd */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* Overzicht: kaarten */
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.post-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color 150ms ease;
}
.post-card:hover { border-color: var(--emerald); }
.post-card h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; }
.post-card h3 a:hover { color: var(--emerald); }
/* Eén link per kaart: de titel, uitgerekt over de hele kaart */
.post-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.post-card h3 a:focus-visible::after { outline: 2px solid var(--emerald); outline-offset: 2px; }
.post-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.post-card .read-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--emerald); }

.blog-empty {
  max-width: 640px; padding: 32px; border: 1.5px dashed #c9d0da; border-radius: 16px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.blog-empty h3 { margin: 0; font-size: 20px; font-weight: 800; }
.blog-empty p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* Artikel */
.article { max-width: 720px; margin: 0 auto; }
.article-header { display: flex; flex-direction: column; gap: 16px; }
.article-header h1 { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.article-header .lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-muted); }
.byline { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-muted); }

.key-points {
  margin-top: 32px; padding: 20px 24px; background: var(--emerald-soft); border: 1px solid #cdeee3; border-radius: 12px;
}
.key-points h2 { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald); }
.key-points ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.65; color: var(--navy); }
.key-points li { margin: 4px 0; }

.toc { margin-top: 28px; font-size: 15px; }
.toc h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.toc ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.9; }
.toc a { color: var(--emerald); font-weight: 600; }
.toc a:hover { text-decoration: underline; }

.article-body { margin-top: 36px; font-size: 17px; line-height: 1.75; color: var(--text-body); }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 44px 0 0; font-size: 26px; line-height: 1.25; font-weight: 800; color: var(--navy); }
.article-body h3 { margin: 32px 0 0; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.article-body p { margin: 16px 0 0; }
.article-body ul, .article-body ol { margin: 16px 0 0; padding-left: 24px; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--navy); }
.article-body hr { margin: 40px 0 0; border: 0; border-top: 1px solid var(--border); }

.article-body blockquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--emerald); font-size: 19px; line-height: 1.6; font-weight: 600; color: var(--navy); }
.article-body blockquote p { margin: 0; }
.article-body blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--text-muted); }

.article-body code { font-size: 0.9em; padding: 2px 6px; border-radius: 4px; background: #eef0f4; }
.article-body pre { margin: 24px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--navy); color: #e6ebf2; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.article-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

.article-body figure { margin: 32px 0 0; }
.article-body figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; }
.article-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }

.table-wrap { margin-top: 24px; overflow-x: auto; }
.article-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-body th { font-weight: 700; color: var(--navy); background: #eef0f4; }

.callout { margin: 28px 0 0; padding: 16px 20px; border-left: 3px solid var(--emerald); border-radius: 0 8px 8px 0; background: var(--emerald-soft); font-size: 16px; line-height: 1.6; color: var(--navy); }
.article-body .callout p { margin: 0; }
.article-body .callout p + p { margin-top: 10px; }

.article-note { margin: 40px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.article-note a { text-decoration: underline; }

.author-box { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.author-box h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald); }
.author-box p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.article-back { margin: 28px 0 0; font-size: 15px; font-weight: 700; }
.article-back a { color: var(--emerald); }
.article-back a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero--compact { padding: 40px 20px 36px; }
  .hero--compact .hero-copy h1, .article-header h1 { font-size: 28px; }
  .article-header .lead { font-size: 17px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 22px; }
  .article-body blockquote { font-size: 17px; }
  .post-card { padding: 22px; }
}
