:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --link: #1d4ed8;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b1220;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --link: #93c5fd;
  }
}

*{ box-sizing: border-box; }
html{ color-scheme: light dark; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.7;
  font-size: 18px;
}

a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 16px;
}

.site-header{
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 0;
}

.brand{
  font-weight: 650;
  letter-spacing: 0.2px;
  margin-right: 10px;
}

.site-footer{
  border-top: 1px solid var(--border);
  margin-top: 36px;
}

.footer-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  color: var(--muted);
}

.muted{ color: var(--muted); }

h1{ font-size: 2rem; line-height: 1.2; margin: 0.6em 0 0.4em; }
h2{ font-size: 1.35rem; line-height: 1.3; margin: 1.2em 0 0.4em; }
h3{ font-size: 1.1rem; line-height: 1.35; margin: 1em 0 0.35em; }

article p{ margin: 0.8em 0; }
article ul, article ol{ margin: 0.8em 0 0.8em 1.2em; }
article blockquote{
  margin: 1.2em 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

.post-list{ list-style: none; padding: 0; margin: 18px 0 0; }
.post-item{
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.post-title{ font-size: 1.1rem; font-weight: 650; }
.post-desc{ margin-top: 6px; color: var(--muted); }
.post-meta{ margin-top: 6px; color: var(--muted); font-size: 0.9rem; }

.kicker{ font-size: 0.95rem; color: var(--muted); margin-top: 6px; }


/* Topnav links */
.nav a{
  color: var(--text);
  opacity: 0.9;
  text-decoration: none;
}

.nav a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* “Brand” blijft duidelijker dan gewone links */
.nav .brand{
  color: var(--text);
  opacity: 1;
}

/* Optioneel: kleine scheiding tussen brand en links */
.nav .brand + a{
  margin-left: 6px;
}
