/* ============================================================
   trwn — Blog modules (overzicht + artikel)
   Laadt NA colors_and_type.css + landing.css + subpages.css.
   Hergebruikt de bestaande chrome (.site-header, .nav, .btn, .wrap,
   .sec-head, .site-footer) en voegt alleen blog-specifieke modules toe.
   ============================================================ */

/* ---------- Gedeeld ---------- */
.blog-hero { padding-top: calc(var(--sec-y) + 46px); padding-bottom: clamp(30px, 4vw, 48px); }
.blog-hero .sec-head { margin-bottom: 0; }
.blog-hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--trwn-charcoal); margin-top: 12px;
}

/* Ringmotief op de covers — zelfde vorm als het logo/hero */
.cover-rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cover-rings svg { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: 62%; height: auto; opacity: 0.5; }

/* ---------- Overzicht: kaartenraster ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}
.post-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--trwn-sand-pale); border-radius: var(--radius-xl);
  overflow: hidden; text-decoration: none;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--trwn-sand-light); }
.post-card__cover {
  position: relative; aspect-ratio: 16 / 9; display: flex; align-items: flex-end;
  padding: 18px; background: var(--gradient-hero);
}
.post-card__cover--blush { background: linear-gradient(140deg, #FAE9E9 0%, #F0D8CE 55%, var(--trwn-sand-pale) 100%); }
.post-card__cover--sand  { background: linear-gradient(140deg, var(--trwn-cream) 0%, var(--trwn-blush-pale) 55%, var(--trwn-sand-pale) 100%); }
.post-card__tag, .post-kicker__tag {
  position: relative; z-index: 2; align-self: flex-start;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--trwn-accent); background: rgba(255,255,255,0.82);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 28px); flex: 1; }
.post-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.18; color: var(--trwn-charcoal); }
.post-card__excerpt { font-family: var(--font-marketing-sans); font-weight: 300; font-size: 0.96rem; line-height: 1.65; color: rgba(45,41,38,0.62); }
.post-card__meta { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; align-items: center; font-family: var(--font-sans); font-size: 0.78rem; color: var(--trwn-light-gray); }
.post-card__meta span:not(:first-child)::before { content: '·'; margin-right: 8px; color: var(--trwn-sand-light); }

/* ---------- Artikel ---------- */
.post-hero { padding-top: calc(var(--sec-y) + 30px); padding-bottom: 0; }
.post-head { max-width: 760px; margin: 0 auto; text-align: center; }
.post-kicker { display: flex; justify-content: center; margin-bottom: 18px; }
.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: -0.01em;
  color: var(--trwn-charcoal);
}
.post-meta {
  margin-top: 20px; display: flex; justify-content: center; gap: 8px; align-items: center;
  font-family: var(--font-sans); font-size: 0.84rem; color: var(--trwn-warm-gray);
}
.post-meta span:not(:first-child)::before { content: '·'; margin-right: 8px; color: var(--trwn-sand-light); }

.post-band {
  position: relative; max-width: 940px; margin: clamp(34px, 4vw, 52px) auto 0;
  aspect-ratio: 21 / 7; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--trwn-cream) 0%, var(--trwn-blush-pale) 52%, var(--trwn-sand-pale) 100%);
}

/* Leeskolom */
.post-body { max-width: 720px; margin: clamp(38px, 4.5vw, 56px) auto 0; }
.post-body > p { font-family: var(--font-marketing-sans); font-weight: 300; font-size: 1.05rem; line-height: 1.85; color: rgba(45,41,38,0.74); }
.post-body > p + p { margin-top: 16px; }
.post-body .lead-in { font-size: 1.18rem; line-height: 1.7; color: rgba(45,41,38,0.82); }
.post-body h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2; color: var(--trwn-charcoal); margin: clamp(40px, 4.5vw, 60px) 0 8px;
}
.post-body h2 + p { margin-top: 4px; }

/* ---------- Tijdlijn (de signature) ---------- */
.timeline { margin: clamp(30px, 3.5vw, 44px) 0 0; }
.timeline__item {
  position: relative; padding-left: 38px; padding-bottom: 34px;
  border-left: 2px solid var(--trwn-sand-pale); margin-left: 7px;
}
.timeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -9px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--trwn-wit); border: 3px solid var(--trwn-sand);
}
.timeline__item:hover::before { border-color: var(--trwn-blush); }
.timeline__phase {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--trwn-accent);
}
.timeline__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; color: var(--trwn-charcoal); margin: 3px 0 12px; }
.timeline__item ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.timeline__item li {
  position: relative; padding-left: 27px;
  font-family: var(--font-marketing-sans); font-weight: 300; font-size: 1rem;
  line-height: 1.6; color: rgba(45,41,38,0.72);
}
.timeline__item li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; border: 1.5px solid var(--trwn-sand);
  background: var(--trwn-sand-pale);
}

/* ---------- Kostentabel ---------- */
.cost-table-scroll { overflow-x: auto; margin: clamp(20px, 3vw, 30px) 0 0; }
.cost-table { width: 100%; border-collapse: collapse; font-family: var(--font-marketing-sans); }
.cost-table th, .cost-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--trwn-sand-pale);
  font-weight: 300; font-size: 1rem; line-height: 1.5; color: rgba(45,41,38,0.74);
}
.cost-table th {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--trwn-accent);
}
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; }
.cost-table tbody tr:last-child td { border-bottom: none; }
.cost-table .cost-total td {
  border-top: 2px solid var(--trwn-sand); border-bottom: none;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--trwn-charcoal);
  padding-top: 16px;
}

/* ---------- CTA-blok ---------- */
.post-cta {
  max-width: 720px; margin: clamp(44px, 5vw, 64px) auto 0;
  background: var(--gradient-hero); border: 1px solid var(--trwn-sand-pale);
  border-radius: var(--radius-xl); padding: clamp(30px, 4vw, 44px); text-align: center;
}
.post-cta h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--trwn-charcoal); margin: 0 0 10px; }
.post-cta p { font-family: var(--font-marketing-sans); font-weight: 300; font-size: 1.02rem; line-height: 1.7; color: rgba(45,41,38,0.7); max-width: 520px; margin: 0 auto 22px; }

/* ---------- Bronnen / verantwoording ---------- */
.post-sources { max-width: 720px; margin: clamp(36px, 4.5vw, 52px) auto 0; }
.post-sources h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--trwn-charcoal); margin: 0 0 10px;
}
.post-sources .src-note {
  font-family: var(--font-marketing-sans); font-weight: 300; font-size: 0.94rem;
  line-height: 1.7; color: rgba(45,41,38,0.62); margin: 0;
}
.post-sources ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.post-sources li {
  position: relative; padding-left: 24px;
  font-family: var(--font-sans); font-size: 0.9rem; line-height: 1.5; color: var(--trwn-warm-gray);
}
.post-sources li::before { content: '↗'; position: absolute; left: 0; top: 1px; color: var(--trwn-sand); font-size: 0.85rem; }
.post-sources a { color: var(--trwn-blush); }
.post-sources a:hover { color: var(--trwn-accent); }

.post-foot { max-width: 720px; margin: clamp(40px, 5vw, 56px) auto 0; padding-top: 26px; border-top: 1px solid var(--trwn-sand-pale); }
.post-back { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: var(--trwn-blush); text-decoration: none; }
.post-back:hover { color: var(--trwn-accent); }

/* ---------- Responsief ---------- */
@media (max-width: 640px) {
  .post-band { aspect-ratio: 16 / 8; }
  .post-card__cover { aspect-ratio: 16 / 8; }
}
