/* PostCreator — /blog/ stylesheet, direct afgeleid van de kleuren en
   typografie van postcreator.nl (index.html). Zelfde CSS-variabelen, zelfde
   nav/footer/CTA-opbouw, zodat de blog naadloos aanvoelt als onderdeel van
   de site. */

:root {
  --paars: #6B4FA0;
  --paars-licht: #F0EBF8;
  --paars-donker: #3C2A6B;
  --ink: #1F1B16;
  --muted: #6B5E4E;
  --bg: #FAFAF8;
  --wit: #ffffff;
  --lijn: #E6E0D4;
  --groen: #2D7D4F;
  --warm: #F7F3EE;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

/* ---- NAV (identiek aan postcreator.nl) ---- */
nav {
  position: sticky; top: 0;
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 32px; height: 32px; background: var(--paars); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.logo-text { font-family: Georgia, serif; font-size: 17px; color: var(--ink); }
.logo-text strong { color: var(--paars); }
.nav-cta { background: var(--paars); color: #fff; border: none; border-radius: 8px; padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.nav-cta:hover { opacity: 0.85; }

/* ---- ARTIKEL ---- */
.blog-post {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.blog-post h1 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  color: var(--paars-donker);
  margin-bottom: 24px;
}
.blog-post .blog-featured {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.blog-content { font-size: 16px; color: var(--ink); }
.blog-content p { margin-bottom: 16px; color: var(--ink); }
.blog-content h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: var(--paars-donker);
  margin: 40px 0 14px;
  line-height: 1.3;
}
.blog-content h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  margin: 28px 0 10px;
}
.blog-content ul, .blog-content ol { margin: 0 0 16px 22px; }
.blog-content li { margin-bottom: 6px; }
.blog-content a { color: var(--paars); }
.blog-content .blog-featured-inline {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.blog-content hr {
  margin: 40px 0 24px;
  border: none;
  border-top: 1px solid var(--lijn);
}
.blog-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--paars-donker);
  background: var(--paars-licht);
  border-left: 3px solid var(--paars);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
}
.blog-cta a { color: var(--paars-donker); text-decoration: underline; }
.blog-post-back {
  display: block;
  margin-top: 32px;
  font-size: 14px;
}
.blog-post-back a { color: var(--muted); text-decoration: none; }
.blog-post-back a:hover { color: var(--paars); }

/* ---- CTA-BAND (identiek aan de bodemsectie van postcreator.nl) ---- */
.cta {
  background: var(--paars);
  padding: 56px 24px;
  text-align: center;
  margin-top: 24px;
}
.cta h2 { font-family: Georgia, serif; font-size: clamp(22px, 3.5vw, 32px); color: #fff; margin-bottom: 12px; line-height: 1.25; }
.cta p { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.btn-white { background: #fff; color: var(--paars); border: none; border-radius: 10px; padding: 13px 28px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }

/* ---- BLOG-INDEX (overzichtspagina) ---- */
.blog-index-wrap { max-width: 680px; margin: 0 auto; padding: 48px 24px; }
.blog-index-wrap h1 { font-family: Georgia, serif; font-size: clamp(26px, 4vw, 36px); color: var(--paars-donker); margin-bottom: 8px; }
.blog-index-wrap .blog-index-sub { font-size: 15px; color: var(--muted); margin-bottom: 36px; }
.blog-index { list-style: none; }
.blog-index li { border-bottom: 1px solid var(--lijn); padding: 22px 0; }
.blog-index a { text-decoration: none; color: inherit; display: block; }
.blog-index h2 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color 0.15s;
}
.blog-index a:hover h2 { color: var(--paars); }
.blog-index p { font-size: 14px; color: var(--muted); }
.blog-index-empty { color: var(--muted); font-size: 15px; padding: 40px 0; text-align: center; }

/* ---- FOOTER (identiek aan postcreator.nl) ---- */
footer { background: var(--wit); border-top: 1px solid var(--lijn); padding: 24px; text-align: center; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--paars); }
footer p { margin-bottom: 8px; }
footer p:last-child { margin-bottom: 0; }
