/* ── Blog: overzicht en artikelen ─────────────────────────────
   Aanvulling op site.css; gebruikt uitsluitend de tokens daaruit.
   Laadt alleen op /blog en /blog/<slug> (cache-buster ?v=N). */

/* Overzicht */
.blog-hero { padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) clamp(2rem, 5vw, 4rem); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.post-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush-pale) 52%, var(--sand-pale) 100%);
}
.post-card__cover--sand { background: linear-gradient(140deg, var(--cream) 0%, var(--sand-pale) 60%, var(--blush-pale) 100%); }
.post-card__cover .cover-rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.post-card__cover .cover-rings svg { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: 62%; opacity: .5; }

.post-card__tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-kicker);
  color: var(--accent);
  background: rgba(255, 255, 255, .85);
  padding: .35rem .75rem;
  border-radius: 999px;
}

.post-card__body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.25rem, 2vw, 1.75rem); flex: 1; }
.post-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.18; color: var(--ink); }
.post-card__excerpt { font-size: .95rem; line-height: 1.65; color: var(--warm-gray); }
.post-card__meta { margin-top: auto; padding-top: .5rem; display: flex; gap: .5rem; align-items: center; font-size: .78rem; color: var(--light-gray); }
.post-card__meta span:not(:first-child)::before { content: "·"; margin-right: .5rem; color: var(--sand-light); }

/* Artikel */
.post-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)); }
.post-head { max-width: 760px; margin-inline: auto; text-align: center; }
.post-kicker { display: flex; justify-content: center; margin-bottom: 1.1rem; }
.post-kicker .post-card__tag { background: var(--sand-pale); }
.post-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.post-meta { margin-top: 1.2rem; display: flex; justify-content: center; gap: .5rem; align-items: center; font-size: .84rem; color: var(--warm-gray); }
.post-meta span:not(:first-child)::before { content: "·"; margin-right: .5rem; color: var(--sand-light); }
.post-meta a { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }

.post-band {
  position: relative;
  max-width: 940px;
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
  aspect-ratio: 21 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush-pale) 52%, var(--sand-pale) 100%);
}
.post-band .cover-rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.post-band .cover-rings svg { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: 62%; opacity: .5; }
@media (max-width: 640px) { .post-band { aspect-ratio: 16 / 8; } }

.post-body { max-width: 720px; margin: clamp(2.25rem, 4.5vw, 3.5rem) auto 0; }
.post-body > p { color: var(--warm-gray); font-size: 1.05rem; line-height: 1.85; }
.post-body > p + p { margin-top: 1rem; }
.post-body .lead-in { font-size: 1.18rem; line-height: 1.7; color: var(--ink); }
.post-body h2 { font-family: var(--font-serif); font-weight: 400; font-size: var(--step-2); line-height: 1.2; color: var(--ink); margin-top: 2.6rem; margin-bottom: .9rem; }
.post-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--ink); margin-top: 1.8rem; margin-bottom: .5rem; }
.post-body ul { list-style: none; margin-top: 1rem; }
.post-body li { padding-left: 1.1rem; position: relative; color: var(--warm-gray); }
.post-body li + li { margin-top: .55rem; }
.post-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 1px; background: var(--sand); }
.post-body li strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--ink); }

/* Tabellen */
.post-table-scroll { overflow-x: auto; margin-top: 1.25rem; border: var(--hairline); border-radius: var(--radius-sm); }
.post-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.post-table th, .post-table td { text-align: left; padding: .7rem .9rem; border-bottom: var(--hairline); color: var(--warm-gray); vertical-align: top; }
.post-table th { font-family: var(--font-sans); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--cream); }
.post-table tbody tr:last-child td { border-bottom: 0; }
.post-table td:first-child { color: var(--ink); font-weight: 600; }

/* Bronnen, gerelateerd, afsluiter */
.post-sources { margin-top: 2.8rem; padding: 1.4rem 1.6rem; background: var(--cream); border-radius: var(--radius-sm); }
.post-sources h2 { margin-top: 0; font-size: 1.25rem; }
.post-sources .src-note { font-size: .85rem; color: var(--warm-gray); margin-bottom: .6rem; }
.post-sources ul { margin-top: .4rem; }
.post-sources li { font-size: .92rem; }

.post-cta {
  margin-top: 2.8rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.post-cta h2 { margin-top: 0; }
.post-cta p { color: var(--warm-gray); max-width: 46ch; margin: .6rem auto 1.4rem; }

.post-foot { margin-top: 2.2rem; text-align: center; }
.post-back { font-size: .9rem; color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
