/* iipvv.nl */

:root {
  --bg: #fafaf8;
  --text: #1a1a2e;
  --link: #2a4858;
  --muted: #6b6b6b;
  --border: #d8d4cc;
  --accent: #7c5e3c;
  --code-bg: #f1ede4;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Serif Pro', 'Lora', Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  font-size: 1rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem 1rem;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

header.site h1,
header.site .home {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}

header.site .tagline {
  font-style: italic;
  color: var(--muted);
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
}

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 1.85rem;
  margin: 0.4rem 0 1.2rem 0;
}

h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem 0;
}

h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.6rem 0;
}

p {
  margin: 0 0 1.2em 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #1a3441;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem 0;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.byline {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 0.5rem 0;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 2rem 0;
}

article ul, article ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em 0;
}

article li {
  margin-bottom: 0.4em;
}

article ul ul {
  margin-top: 0.4em;
}

.note {
  background: var(--code-bg);
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.sources {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.sources a {
  color: var(--muted);
}

footer.page {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

footer.page a {
  color: var(--muted);
}

footer.page nav {
  margin-top: 0.8rem;
}

footer.page nav a {
  margin-right: 1.2rem;
}

.intro {
  margin-bottom: 2.5rem;
}

.intro p {
  font-size: 1.05rem;
}

section {
  margin-bottom: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

.category-grid > a {
  display: block;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--text);
}

.category-grid > a:hover {
  border-color: var(--link);
  background: #fbf9f3;
}

.category-grid h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  color: var(--link);
}

.category-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.recent ul,
.archive-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent li,
.archive-list li {
  border-bottom: 1px dotted var(--border);
  padding: 0.7rem 0;
}

.recent li:last-child,
.archive-list li:last-child {
  border-bottom: none;
}

.archive-group {
  margin-bottom: 2rem;
}

.archive-group h2 {
  margin-bottom: 0.5rem;
}

.archive-group .desc {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
  margin-top: 0.15rem;
}

@media (min-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }
  .container {
    padding: 1.2rem 1rem 3rem 1rem;
  }
  h1 {
    font-size: 1.55rem;
  }
}
