/* Gedeelde stylesheet voor de blogpagina's van ramakerstaxlegal.com.
   Ontwerp-tokens komen overeen met index.html — bij wijzigingen daar ook hier bijwerken. */
:root {
  --navy: #13253c;
  --navy-deep: #0d1b2e;
  --ink: #24303f;
  --muted: #5b6878;
  --paper: #faf8f4;
  --card: #ffffff;
  --line: #e6e1d8;
  --brass: #b08d4c;
  --brass-dark: #96753a;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--navy); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
header .wrap { padding: 14px 48px; }
.nav .btn { padding: 9px 18px; font-size: 0.88rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.92rem; }
.nav-link:hover { color: var(--brass); }
.nav-link.actief { color: var(--brass); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); letter-spacing: 0.01em; }
.brand-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 24px; border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* ---------- Blog-hero (navy band bovenaan) ---------- */
.blog-hero { background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 60px 0 64px; text-align: center; }
.blog-hero .eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.blog-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: 14px; }
.blog-hero p { color: #c4cedb; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Blogoverzicht ---------- */
.post-list { padding: 56px 0 80px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(13, 27, 46, 0.1); }
.post-card-image { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; background: linear-gradient(160deg, #dfe5ec, #c6cfda); }
.post-card-image-fallback {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.post-card-image-fallback span {
  font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; color: #d8b877;
}
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 0.8rem; color: var(--muted); }
.post-meta time, .post-meta span { white-space: nowrap; }
.post-meta .categorie {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; font-weight: 600; color: var(--brass-dark); font-size: 0.75rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.post-card h2 { font-size: 1.18rem; }
.post-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.post-card .lees-verder { font-weight: 600; font-size: 0.9rem; color: var(--brass-dark); }
.post-card:hover .lees-verder { color: var(--brass); }
.post-list-leeg { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Artikelpagina ---------- */
.article-hero { background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px 0 60px; }
.article-hero .wrap { max-width: 820px; text-align: center; }
.article-hero .eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.article-hero h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-bottom: 16px; }
.article-hero .post-meta { justify-content: center; color: #c4cedb; }
.article-hero .post-meta .categorie { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #d8b877; }

.article-body { max-width: 720px; margin: 0 auto; padding: 48px 24px 32px; }
.article-body > figure.hero-figure { margin: -88px auto 40px; max-width: 720px; }
.article-body > figure.hero-figure img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(13, 27, 46, 0.18); display: block; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body a { color: var(--brass-dark); }
.article-body a:hover { color: var(--brass); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body figure { margin: 28px 0; }
.article-body figure img { border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.article-body figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; text-align: center; }
.article-body blockquote {
  border-left: 3px solid var(--brass); background: var(--card);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; color: var(--muted);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.94rem; }
.article-body th { background: var(--navy); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
.article-body td { padding: 10px 14px; border-top: 1px solid var(--line); }

/* ---------- CTA-blokken in artikelen ---------- */
.cta-box {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius); padding: 30px 32px; margin: 36px 0;
  text-align: center; color: #fff;
}
.cta-box h3, .cta-box strong { color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; display: block; margin-bottom: 8px; }
.cta-box p { color: #c4cedb; font-size: 0.98rem; margin-bottom: 18px; }
.cta-box .btn { margin: 0 6px 6px; }

/* ---------- Terug-link & artikelfooter ---------- */
.article-back { max-width: 720px; margin: 0 auto; padding: 0 24px 64px; }
.article-back a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.article-back a:hover { color: var(--brass-dark); }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #8fa0b5; padding: 48px 0; font-size: 0.9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer .brand-name { color: #fff; }
footer a { color: #c4cedb; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-contact p { margin-bottom: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(196, 206, 219, 0.15);
  font-size: 0.82rem; color: #6b7d94;
}
.footer-bottom a { color: #8fa0b5; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 760px) {
  .post-list { padding: 40px 0 56px; }
  .brand-sub { white-space: nowrap; font-size: 0.6rem; }
  .brand { gap: 6px; flex: none; }
  .brand-name { font-size: 1.05rem; }
  .nav { gap: 10px; }
  .nav-links { gap: 12px; }
  .nav-link { font-size: 0.82rem; }
  .nav .btn { padding: 7px 12px; font-size: 0.78rem; white-space: nowrap; }
  header .wrap { padding: 10px 28px; }
  .article-body { padding-top: 36px; }
  .article-body > figure.hero-figure { margin-top: -72px; }
}
