:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --border: #e5e7eb;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.site-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.textfoot {
  text-align:center;
  padding: .5em;
}

.foottext {
  font-size:12px;
  color:#646464;
  text-transform:uppercase;
}

/* Masonry grid */
.grid {
  column-count: 4;
  column-gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.6rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: 100%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.card:first-child {
  border: 2px solid var(--accent);
  background: #f0f7ff; /* Een lichte kleuraccent */
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 0.9rem;
}

.card-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-links li {
  margin-bottom: 0.45rem;
}

.card-links a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
}

.card-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .grid { column-count: 3; }
}

@media (max-width: 800px) {
  .grid { column-count: 2; }
}

@media (max-width: 480px) {
  .grid { column-count: 1; }
}
