/* Poppins lokaal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/poppins-200.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}

/* Charter lokaal — leestekst voor artikelen */
@font-face {
  font-family: 'Charter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/charter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Charter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/charter-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Charter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/charter-700.woff2') format('woff2');
}

/* Variabelen */
:root {
  --blauw: #112b42;
  --roze:  #e85395;
  --roze-knop: #d71d6f;
  --roze-knop-hover: #c51a66;
  --groen: #69d4a1;
  --geel:  #f3c944;
  --creme: #ffffee;
}

/* Reset & basis */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  background: var(--blauw);
  color: var(--creme);
}

a { color: var(--geel); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header — gecentreerd, logo groot bovenaan, menu eronder */
.site-header {
  background: var(--blauw);
  padding: 2.5rem 5% 0;
  text-align: center;
}

.site-logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.site-logo img {
  height: 160px;
  width: auto;
  margin: 0 auto;
}

.site-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--geel);
  margin-bottom: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 1.1rem;
  color: var(--creme);
  padding: 0.6rem 1rem;
  display: inline-block;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--geel);
  text-decoration: none;
}

/* Volg Storymines knop */
.volg-knop {
  display: inline-block;
  margin: 2rem 0 0;
  padding: 0.6rem 1.5rem;
  background: var(--geel);
  color: var(--blauw);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.volg-knop:hover { background: #e0b830; color: var(--blauw); text-decoration: none; }

.header-bottom {
  padding-bottom: 1rem;
}

/* Content wrapper */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5%;
}

/* Introductietekst */
.intro-tekst {
  font-size: 1.05rem;
  color: var(--creme);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: 15%;
  border: 2px solid var(--geel);
  border-radius: 8px;
  padding: 1.5rem 2rem;
}

.intro-alinea {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.intro-alinea + .intro-alinea {
  margin-top: 0.75rem;
}

.intro-alinea-icon {
  flex-shrink: 0;
  width: 0.9rem;
  margin-top: 0.4rem;
}

.intro-alinea-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: var(--geel);
  display: block;
}

@media (max-width: 768px) {
  .intro-tekst {
    margin-left: 0;
  }
}

.intro-titel {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--geel);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

/* Sectietitels */
.section-title.no-lijn { border-bottom: none; padding-bottom: 0; }

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--creme);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--geel);
}

/* Post-grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--creme);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.post-card-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #ddd;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card p.post-card-meta {
  font-size: 0.72rem;
  color: #aaaaaa;
  margin-bottom: 0.3rem;
}

.post-card h2 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.post-card h2 a { color: var(--blauw); }
.post-card h2 a:hover { text-decoration: underline; }

.post-card p {
  font-size: 0.85rem;
  color: #444;
}

.post-card p.post-card-teaser {
  font-family: 'Charter', serif;
  font-size: 0.95rem;
}

.post-card p:not(.post-card-meta) {
  flex: 1;
}

.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blauw);
}

/* Categoriepagina intro */
.categorie-intro {
  margin-bottom: 2.5rem;
}

.categorie-intro .intro-tekst a {
  color: var(--creme);
  text-decoration: underline;
}
.categorie-intro .intro-tekst a:hover {
  color: var(--geel);
}

/* Over-pagina */
.over-intro {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.over-intro-foto img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.over-email {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
}

.over-email a {
  color: var(--creme);
}

.over-email a:hover {
  color: var(--geel);
}

.contact-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.contact-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  display: block;
}

@media (max-width: 640px) {
  .over-intro {
    grid-template-columns: 1fr;
  }
  .over-intro-foto img {
    max-width: 200px;
  }
}

.over-titel {
  font-size: 2rem;
  font-weight: 400;
  color: var(--geel);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.over-intro-tekst {
  font-size: 1.1rem;
  color: var(--creme);
  margin-bottom: 1.5rem;
}

.over-bullets {
  list-style: none;
  color: var(--creme);
}

.over-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 1rem;
}

.over-bullet-icon {
  flex-shrink: 0;
  width: 1.2rem;
  color: var(--roze);
}

.over-bullet-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--roze);
  display: block;
}

/* Enkelvoudige post — twee-koloms layout */
.single-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.single-sidebar {
  position: sticky;
  top: 2rem;
  background: var(--creme);
  border-radius: 12px;
  padding: 1.25rem;
}

.single-layout-breed {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.sidebar-blok {
  margin-bottom: 1.5rem;
}

.sidebar-titel {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(17,43,66,0.5);
  margin-bottom: 0.5rem;
}

.sidebar-lijst {
  list-style: none;
}

.sidebar-lijst li {
  margin-bottom: 0.3rem;
}

.sidebar-lijst a {
  font-size: 0.85rem;
  color: var(--blauw);
}

.sidebar-lijst a:hover {
  text-decoration: underline;
}

.kopieer-knop {
  background: transparent;
  border: 1px solid rgba(17,43,66,0.3);
  color: rgba(17,43,66,0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.kopieer-knop:hover {
  border-color: var(--blauw);
  color: var(--blauw);
}

.kopieer-handmatig {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.6rem;
}

.kopieer-handmatig[hidden] {
  display: none;
}

.kopieer-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(17,43,66,0.3);
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--blauw);
  background: transparent;
  border-radius: 6px;
}

.kopieer-hint {
  font-size: 0.7rem;
  color: rgba(17,43,66,0.5);
}

.isso-blokkade-melding {
  font-size: 0.8rem;
  color: rgba(17,43,66,0.6);
  margin-bottom: 1rem;
}

#isso-thread .isso-post-action input[type=submit],
#isso-thread .isso-post-action input[type=button] {
  background-color: var(--roze-knop);
  border-color: var(--roze-knop);
  color: #ffffff;
}

#isso-thread .isso-post-action input[type=submit]:hover,
#isso-thread .isso-post-action input[type=button]:hover {
  background-color: var(--roze-knop-hover);
  border-color: var(--roze-knop-hover);
}

@media (max-width: 768px) {
  .single-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "sidebar";
  }
  .single-sidebar {
    grid-area: sidebar;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .single-main {
    grid-area: main;
  }
  .sidebar-blok { margin-bottom: 0; }
}

/* Enkelvoudige post */
.post-card-single {
  background: var(--creme);
  border-radius: 24px;
  padding: 3rem;
  max-width: 780px;
  color: var(--blauw);
  margin: 0 auto;
}

.post-header { margin-bottom: 2rem; }

.post-header h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--roze);
  margin-bottom: 0.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.85rem;
  color: rgba(17,43,66,0.5);
}

.post-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--blauw);
  background: rgba(17,43,66,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-decoration: none;
}

.tag:hover {
  background: rgba(17,43,66,0.15);
  text-decoration: none;
}

.post-content { font-family: 'Charter', serif; font-size: 1.125rem; color: var(--blauw); max-width: 680px; }

.post-content h2 { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 600; line-height: 1.45; margin: 2rem 0 0.75rem; color: var(--blauw); }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.45; margin: 1.5rem 0 0.5rem; color: var(--blauw); }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content a { color: var(--blauw); text-decoration: underline; text-decoration-thickness: 1px; }
.post-content a:hover { text-decoration-thickness: 3px; }
.post-content blockquote {
  border-left: 4px solid var(--roze);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: rgba(17,43,66,0.7);
  font-style: italic;
}
.post-content img { border-radius: 6px; margin: 0.5rem 0 0; }

.gedicht p { line-height: 1.6; margin-bottom: 1.5rem; }
.gedicht br { display: block; content: ""; }
.post-content figure {
  margin: 1.5rem 0;
}

.post-content figure img {
  margin: 0 auto;
}

.post-content figcaption {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(17,43,66,0.65);
  text-align: center;
  max-width: 480px;
  margin: 0.4rem auto 0;
}

.post-content figcaption small {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(17,43,66,0.5);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .post-card-single { padding: 1.5rem; border-radius: 16px; }
}

/* Archief */
.archief-blok { margin-top: 3rem; }

.archief-jaren {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.archief-jaren a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--creme);
  color: var(--creme);
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.archief-jaren a:hover {
  background: var(--creme);
  color: var(--blauw);
}

.archief-terug {
  margin-top: 2rem;
}

.archief-terug a { color: var(--creme); }

/* Paginering */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  color: var(--creme);
}

.pagination a:hover { background: var(--roze); text-decoration: none; }
.pagination .page-item.active .page-link,
.pagination li.active a { background: var(--roze); }

/* Zoekveld in header */
.header-zoek {
  width: 100%;
  max-width: 480px;
  margin: 0.75rem auto 1rem;
  position: relative;
}

.header-zoek-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.header-zoek-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--creme);
  border-radius: 50px;
  padding: 0.4rem 2.2rem 0.4rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 200;
  color: var(--creme);
  outline: none;
}

.header-zoek-input::placeholder { color: rgba(255,255,238,0.6); }
.header-zoek-input:focus { border-color: var(--geel); }
.header-zoek-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffee' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: contain;
  cursor: pointer;
  margin-right: 0.2rem;
}

.header-zoek-icoon {
  position: absolute;
  right: 0.9rem;
  color: var(--creme);
  pointer-events: none;
}

.header-zoek-resultaten {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--creme);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
  max-height: 60vh;
  overflow-y: auto;
}

.header-zoek-resultaten:empty { display: none; }

.zoek-resultaat + .zoek-resultaat {
  border-top: 1px solid rgba(17,43,66,0.1);
}

.zoek-resultaat-link {
  display: block;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--blauw);
}

.zoek-resultaat-link:hover {
  background: rgba(17,43,66,0.05);
  text-decoration: underline;
  text-decoration-color: var(--blauw);
}

.zoek-resultaat-titel {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blauw);
}

.zoek-resultaat-meta {
  display: block;
  font-size: 0.75rem;
  color: rgba(17,43,66,0.5);
  margin-top: 0.15rem;
}

.zoek-geen-resultaten {
  font-size: 0.9rem;
  color: rgba(17,43,66,0.5);
  padding: 0.7rem 1rem;
}

/* Footer */
.site-footer {
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,238,0.7);
  padding: 3rem 5%;
  margin-top: 4rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a { color: rgba(255,255,238,0.7); }
.footer-nav a:hover { color: var(--geel); text-decoration: none; }

.footer-contact p { margin-bottom: 0.4rem; }
.footer-contact-titel { font-weight: 600; }

.footer-contact-blok {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-contact a { color: rgba(255,255,238,0.7); text-decoration: underline; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,238,0.4);
}

/* Bestelling gelukt */
.bestelling-gelukt {
  padding: 3rem 1rem;
}

.bestelling-inhoud {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.bestelling-inhoud--zonder-gif {
  grid-template-columns: 1fr;
  max-width: 480px;
  text-align: center;
}

.bestelling-gif {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.bestelling-titel {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--geel);
  margin-bottom: 1rem;
}

.bestelling-tekst {
  font-size: 1.1rem;
  color: var(--creme);
  margin-bottom: 2rem;
  max-width: 480px;
}

.bestelling-tekst p { margin-bottom: 0.75rem; }

.bestelling-ps {
  font-size: 0.9rem;
  color: rgba(255,255,238,0.7);
  margin-top: 1rem;
}

.bestelling-ps a { color: rgba(255,255,238,0.7); }

.bestelling-terug {
  color: var(--creme);
  text-decoration: underline;
}

.bestelling-terug:hover {
  color: var(--geel);
}

/* Boekenwinkel */
.boeken-lijst {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.boek-kaart {
  background: var(--creme);
  color: var(--blauw);
  border-radius: 16px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.boek-omslag img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.boek-titel {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--blauw);
}

.boek-meta {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blauw);
  margin-bottom: 1.5rem;
}

.boek-beschrijving {
  font-family: 'Charter', serif;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.7;
}

.boek-beschrijving p {
  margin-bottom: 1rem;
}

.boek-beschrijving p:last-child {
  margin-bottom: 0;
}

.boek-beschrijving a { color: var(--blauw); text-decoration: underline; text-decoration-thickness: 1px; }
.boek-beschrijving a:hover { text-decoration-thickness: 3px; }

.boek-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.boek-waarschuwing {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  margin-bottom: 0.75rem;
}

.boek-koopknop {
  display: inline-block;
  align-self: flex-start;
  background: var(--roze-knop);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.boek-koopknop:hover {
  background: var(--roze-knop-hover);
  color: #ffffff;
  text-decoration: none;
}

.boek-knop-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.boek-knop {
  display: inline-block;
  background: var(--roze-knop);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.boek-knop:hover {
  background: var(--roze-knop-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Responsief */
@media (max-width: 768px) {
  .site-logo img { height: 100px; }
  nav a { font-size: 0.95rem; padding: 0.5rem 0.6rem; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .boek-kaart { grid-template-columns: 1fr; }
  .boek-omslag img { max-width: 200px; aspect-ratio: 2 / 3; }
  .bestelling-inhoud { grid-template-columns: 1fr; }
  .bestelling-gif { max-width: 280px; margin: 0 auto; }
}
