/* ---------- design tokens ---------- */
:root {
  --pear-50:  #f4f9ec;
  --pear-100: #e4f0d0;
  --pear-200: #c7e09a;
  --pear-400: #7fb33a;
  --pear-600: #4a7d20;
  --pear-800: #2d4d13;

  --bg:           #fbfbfa;
  --surface:      #ffffff;
  --text:         #1a1a18;
  --text-muted:   #5b5b56;
  --text-subtle:  #8a8a83;
  --border:       #e8e6e0;
  --border-soft:  #f0eeea;

  --code-bg:      #f4f3ef;

  --font-serif: "Iowan Old Style", "Source Serif Pro", "Charter", Georgia, "Times New Roman", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono:  ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --content-width: 720px;
  --content-width-wide: 1100px;      
  --grid-width:         1100px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--pear-200);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
a:hover {
  text-decoration-color: var(--pear-400);
}

/* ---------- header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}

.site-header__inner {
  max-width: var(--content-width-wide);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo:hover { text-decoration: none; }

.site-logo__mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--pear-400);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(-18deg);
  position: relative;
}
.site-logo__mark::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 2px; height: 6px;
  background: var(--pear-600);
  transform: translateX(-50%) rotate(15deg);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--pear-600);
}

/* ---------- page & article layout ---------- */
.page-wrap,
.article-wrap {
  max-width: var(--content-width-wide);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin: 0 0 2rem;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: var(--text-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--pear-600); }
.breadcrumb__sep { margin: 0 0.5em; opacity: 0.5; }

.article-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pear-600);
  margin: 0 0 1.25rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin: 0 0 3rem;
}
.article-meta__dot {
  width: 3px; height: 3px;
  background: var(--text-subtle);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---------- prose (article body) ---------- */
.prose {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
}

.prose > * + * { margin-top: 1.5em; }

.prose p { margin: 0; }

.prose .lead {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 3rem 0 0;
  color: var(--text);
}
.prose h2 + p { margin-top: 0.75em; }

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 2.5rem 0 0;
  color: var(--text);
}

.prose ul, .prose ol {
  padding-left: 1.4em;
  margin: 0;
}
.prose li {
  margin: 0.4em 0;
}
.prose li::marker {
  color: var(--pear-400);
}

.prose blockquote {
  margin: 2rem 0;
  padding: 0.5em 0 0.5em 1.4em;
  border-left: 3px solid var(--pear-400);
  color: var(--text-muted);
  font-style: italic;
}
.prose blockquote p { margin: 0; }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--pear-800);
}

.prose pre {
  background: var(--code-bg);
  padding: 1.1em 1.3em;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.92em;
  line-height: 1.55;
  margin: 2rem 0;
}
.prose pre code {
  background: none;
  padding: 0;
  color: var(--text);
  font-size: inherit;
}

.prose img,
.prose figure {
  margin: 2.5rem 0;
}
.prose figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prose figure img {
  margin: 0;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
}
.prose figcaption {
  margin-top: 0.85em;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-align: center;
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem auto;
  width: 60%;
}

/* ---------- article footer ---------- */
.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.article-footer__tags {
  display: flex;
  gap: 0.5rem;
}
.article-footer__tag {
  background: var(--pear-50);
  color: var(--pear-800);
  padding: 0.25em 0.75em;
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
}
.article-footer__tag:hover {
  background: var(--pear-100);
}

/* ---------- page content (non-article pages) ---------- */
.page-wrap h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}

.page-wrap .prose {
  /* pages also use prose styling */
}

/* ---------- tag nav ---------- */
.tag-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag-nav__link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--surface);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tag-nav__link:hover {
  border-color: var(--pear-400);
  color: var(--text);
}

.tag-nav__link--active {
  background: var(--pear-50);
  border-color: var(--pear-400);
  color: var(--pear-800);
  font-weight: 600;
}

/* ---------- post list ---------- */

.postx-list {
  list-style: none;
  padding: 0;
}

.postx-list li {
  margin-bottom: 0.75em;
}

.postx-list time {
  color: var(--text-subtle);
  font-size: 0.85rem;
  margin-right: 0.75em;
}

.postx-list a {
  text-decoration-color: transparent;
}
.postx-list a:hover {
  text-decoration-color: var(--pear-400);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--kleur-rand); /* jouw bestaande border variabele */
  border-radius: 8px;
  overflow: hidden;
}

.post-list li + li {
  border-top: 1px solid var(--kleur-rand);
}

.post-list a {
  display: grid;
  grid-template-columns: 1fr 120px;
  text-decoration: none;
  color: inherit;
      border:   1px solid var(--border-soft, #f0eeea);
    margin: 10px 0px;
    border-radius: 10px;
    overflow: hidden;

}

.post-list a:hover {
  background: var(--kleur-achtergrond-zacht); /* je subtiele hover kleur */
}

.post-list__body {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.post-list__title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.post-list__meta {
  font-size: 0.75rem;
  color: var(--kleur-tekst-zacht);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.post-list__tag {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 99px;
  background: #EAF3DE; /* je groene pear kleur licht */
  color: #3B6D11;
}

.post-list__desc {
  font-size: 0.8125rem;
  color: var(--kleur-tekst-zacht);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list__thumb {
  overflow: hidden;
}

.post-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-list__thumb--empty {
  background: var(--kleur-achtergrond-zacht);
}

/* ---------- site footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-family: var(--font-sans);
}

/* ---------- responsive ---------- */

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 5px;
}

@media (max-width: 640px) {
  .page-wrap,
  .article-wrap {
    padding: 2.5rem 1.25rem 4rem;
  }
  .article-title {
    font-size: 2rem;
  }
  .prose {
    font-size: 1.05rem;
  }
  .site-header__inner {
    padding: 1rem 1.25rem;
  }

  /* Show hamburger */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Animate to X when open */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile nav */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 280px;
    height: 100dvh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  .site-nav.is-open {
    transform: translateX(0);
  }
}


.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 2.5rem 1rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

/* De rij met social/platform links */
.site-footer ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer li {
  margin: 0;
}

.site-footer  ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #f4f4f2;
  color: #333;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.site-footer a:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-footer img {
  width: 20px;
  height: 20px;
  display: block;
  /* iconen houden hun eigen kleur */
}

/* Copyright-regel */
.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}
/* ============================================================
   LINKS-PAGINA — .link-list en .link-card
   Plak dit in assets/css/style.css
   ============================================================ */

.link-list {
  list-style: none;          /* weg met de bolletjes */
  padding: 0;                /* weg met de inspring van 40px */
  margin: 2rem 0 0;
  max-width: 640px;

  display: grid;
  grid-template-columns: 1fr; /* één kolom; links onder elkaar leest het prettigst */
  gap: 0.85rem;
}

.link-list__item {
  margin: 0;                 /* reset, gap regelt de afstand */
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 1rem 1.25rem;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-soft, #f0eeea);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;

  transition: border-color 0.2s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease;
}

.link-card:hover {
  border-color: var(--pear-200, #c7e09a);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(74, 125, 32, 0.15);
}

.link-card__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  /* zorgt dat een niet-vierkant icoon toch netjes binnen het vak blijft */
  object-fit: contain;
}

.link-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;              /* laat lange tekst netjes afbreken i.p.v. overflowen */
}

.link-card__name {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text, #1a1a18);
  line-height: 1.2;
}

.link-card__description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted, #5b5b56);
}

/* De pijl-affordance rechts (optioneel, maar geeft net wat meer
   "dit is klikbaar"-gevoel). Verwijder dit blok als je 'm niet wilt. */
.link-card::after {
  content: "→";
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--text-subtle, #8a8a83);
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-card:hover::after {
  color: var(--pear-600, #4a7d20);
  transform: translateX(3px);
}