/* =============================================
   IN FULL FLOW — Hugo thema
   ============================================= */

/* --- Lokale fonts --- */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spectral';
  src: url('/fonts/Spectral-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/fonts/Spectral-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/fonts/Spectral-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/fonts/Spectral-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Toegankelijkheid --- */

/* Skip-link: alleen zichtbaar bij toetsenbordfocus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .6rem 1.2rem;
  background: #e10707;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* Visueel verborgen maar leesbaar voor screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus-indicator voor alle interactieve elementen */
:focus-visible {
  outline: 2px solid #e10707;
  outline-offset: 3px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333333;
  background-color: #fffaee;
}

/* Headings en UI in Inter */
h1, h2, h3, h4, h5, h6,
.site-logo, .nav-link, .nav-search-btn, .dropdown-link,
.post-entry-title, .post-entry-meta, .single-title, .single-meta,
.page-title, .post-nav-label, .post-nav-title,
.webmentions-title, .wm-comments-title,
.footer-follow, .footer-links, .pagination,
.single-sidebar, .single-post-date, .single-meta-mobile,
.entry-sidebar {
  font-family: 'Inter', system-ui, sans-serif;
}

a { color: #e10707; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
figcaption { font-size: .9rem; color: #666; margin-top: .2rem; margin-bottom: 1.2rem; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   HEADER & NAVIGATIE
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fffef9;
  border-bottom: 1px solid #ebeaea;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }

.site-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* Navigatie */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: .5rem .85rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: #333333;
  transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: #e10707; text-decoration: none; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #ebeaea;
  border-top: 2px solid #e10707;
  min-width: 160px;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown-link {
  display: block;
  padding: .5rem 1rem;
  font-size: .95rem;
  color: #333333;
  white-space: nowrap;
}
.dropdown-link:hover { color: #e10707; background: #f6f6f6; text-decoration: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333333;
  transition: .2s;
}

/* =============================================
   HOMEPAGE & LIJSTEN — REDACTIONELE LIJST
   ============================================= */

.post-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.post-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid #ebeaea;
}
.post-entry:first-child { padding-top: 0; }
.post-entry:last-child { border-bottom: none; }

.post-entry-full .single-content { margin-top: 1.25rem; }

.post-entry-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
  font-size: .78rem;
  color: #747474;
}

.post-cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e10707;
  text-decoration: none;
}
.post-cat:hover { text-decoration: underline; }

.post-entry-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.post-entry-title a { color: #333333; text-decoration: none; }
.post-entry-title a:hover { color: #e10707; }


.post-excerpt {
  line-height: 1.75;
  margin-bottom: .75rem;
}

/* Archiefpagina titellijst */
.archive-title-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archive-title-list li {
  margin-bottom: .6rem;
}
.archive-title-list a { color: #333333; text-decoration: none; }
.archive-title-list a:hover { color: #e10707; }
.archive-month-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-transform: lowercase;
  text-decoration: none;
}
.archive-month-link:hover { text-decoration: underline; }

/* Tag- en categorie-indexpagina */
.tag-index {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.tag-index-item {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  background: transparent;
  border: 1px solid #e10707;
  padding: .3rem .6rem;
  border-radius: 3px;
}
.tag-index-item:hover { background: #e10707; color: #fff; }
.tag-index-count {
  font-weight: 400;
  font-size: .75rem;
  margin-left: .3rem;
  opacity: .7;
}
.archive-month-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-transform: lowercase;
  cursor: default;
}
.archive-month-label:hover { text-decoration: none; }

.read-more {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #e10707;
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: .04em;
}
.read-more:hover { text-decoration: underline; }

/* =============================================
   FOTOGRID (categorie: deze dag)
   ============================================= */

.foto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: .75rem;
}

.foto-grid-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.foto-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
  margin: 0;
}

.foto-grid-item:hover img { opacity: .9; }

/* Deze dag overzicht — kaartjes met foto + titel */
.deze-dag-kaarten {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.deze-dag-kaart {
  display: flex;
  flex-direction: column;
  width: 160px;
  text-decoration: none;
  color: #333333;
}

.deze-dag-kaart img,
.deze-dag-kaart-geen-foto {
  width: 160px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.deze-dag-kaart-geen-foto {
  background: #ebeaea;
}

.deze-dag-kaart-titel {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: .3rem;
  display: block;
}

.deze-dag-kaart:hover .deze-dag-kaart-titel { color: #e10707; text-decoration-color: #e10707; }
.deze-dag-kaart:hover { text-decoration-color: #e10707; }
.deze-dag-kaart:hover img { opacity: .9; }

.foto-grid-klein {
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
  max-width: 640px;
}

/* =============================================
   BOEKEN PREVIEW
   ============================================= */

.boek-preview {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.boek-foto {
  display: block;
  width: 140px;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}

.boek-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  margin: 0;
  transition: opacity .2s;
}

.boek-foto:hover img { opacity: .9; }

.boek-tekst {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.boek-preview .boek-tekst:only-child {
  grid-column: 1 / -1;
}

/* =============================================
   ENTRY LAYOUT (homepage lijst — zelfde grid als single post)
   ============================================= */

.post-entry-full {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 0;
  border-bottom: 1px solid #ebeaea;
}
.post-entry-full:first-child { padding-top: 0; }

.entry-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-areas:
    ".       entry-header"
    "entry-sidebar entry-body";
  column-gap: 3rem;
  align-items: start;
}

.entry-header-area { grid-area: entry-header; }
.entry-body        { grid-area: entry-body; }

.entry-sidebar {
  grid-area: entry-sidebar;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* =============================================
   PAGINERING
   ============================================= */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: 2.5rem 0 3rem;
  list-style: none;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid #e10707;
  font-size: .82rem;
  font-weight: 600;
  color: #e10707;
  background: transparent;
  text-decoration: none;
  transition: background .15s, color .15s;
}

/* Inner span in «» knoppen geen eigen stijl geven */
.pagination .page-link span {
  border: none;
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  color: inherit;
}

.pagination .page-link:hover {
  background: #e10707;
  color: #fffaee;
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  background: #e10707;
  color: #fffaee;
}

.pagination .page-item.disabled .page-link {
  border-color: #ebeaea;
  color: #ccc;
}

/* =============================================
   LIJST PAGINA (categorie / tag)
   ============================================= */

.page-header {
  padding: 2.5rem 0 1rem;
  border-bottom: 2px solid #e10707;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: .02em;
}

.page-description {
  font-size: .95rem;
  color: #747474;
  margin-top: .5rem;
}

/* =============================================
   SINGLE POST
   ============================================= */

.single-post {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.single-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .35rem;
}

/* Twee-kolommen layout: titel+datum rechts boven, sidebar begint bij body */
.single-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-areas:
    ".       header"
    "sidebar body";
  column-gap: 3rem;
  align-items: start;
}

.single-header-area { grid-area: header; }
.single-sidebar     { grid-area: sidebar; }
.single-body        { grid-area: body; }

/* Reageer-regel */
.reageer-regel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ebeaea;
  font-size: .88rem;
  color: #747474;
}
.reageer-regel a { color: #e10707; }
.reageer-regel a:hover { text-decoration: underline; }

/* Datum boven de inhoud, altijd zichtbaar */
.single-post-date {
  display: block;
  font-size: .78rem;
  color: #747474;
  margin-bottom: 1.75rem;
}

/* Mobiele metadata: standaard verborgen (desktop toont sidebar) */
.single-meta-mobile { display: none; }

/* Sidebar metadata — gedeeld door .single-sidebar en .entry-sidebar */
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.sidebar-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #aaaaaa;
}

.sidebar-value {
  font-size: .82rem;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.sidebar-copy .copy-url-btn {
  justify-content: flex-start;
  padding: 0;
  border: none;
  font-size: .78rem;
}

/* Categorie in alle sidebars zelfde kleur als tags */
.single-sidebar .post-cat,
.single-meta-mobile .post-cat,
.entry-sidebar .post-cat {
  color: #747474;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: .82rem;
}
.single-sidebar .post-cat:hover,
.single-meta-mobile .post-cat:hover,
.entry-sidebar .post-cat:hover {
  color: #e10707;
}

.single-image {
  margin-bottom: 2rem;
}
.single-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Post content */
.single-content { font-size: 1.2rem; line-height: 1.75; }

.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4 {
  margin: 1.8em 0 .6em;
  line-height: 1.3;
}
.single-content h2 { font-size: 1.4rem; }
.single-content h3 { font-size: 1.15rem; }

.single-content p { margin-bottom: 1.2em; }

.single-content a { color: #e10707; }
.single-content a:hover { text-decoration: underline; }

.single-content ul, .single-content ol {
  margin: 0 0 1.2em 1.5em;
}
.single-content li { margin-bottom: .3em; }

.single-content blockquote {
  position: relative;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem;
  font-style: normal;
  color: #333333;
  margin: 2em auto;
  padding: 1.5em 1.5em 1em 1.5em;
  max-width: 88%;
  border: none;
  background: none;
}
.single-content blockquote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: #e10707;
  line-height: 1;
  position: absolute;
  top: -.5rem;
  left: -.25rem;
}

.single-content pre, .single-content code {
  font-family: Menlo, Consolas, monaco, monospace;
  font-size: .88em;
  background: #f6f6f6;
  border-radius: 3px;
}
.single-content pre {
  padding: 1em 1.25em;
  overflow-x: auto;
  margin-bottom: 1.2em;
}
.single-content code { padding: .15em .4em; }
.single-content pre code { padding: 0; background: none; }

.single-content img {
  margin: 1.5em 0;
  max-width: 100%;
}

.single-content hr {
  border: none;
  border-top: 1px solid #ebeaea;
  margin: 2em 0;
}


.post-tag {
  font-size: .78rem;
  color: #747474;
  border: 1px solid #ebeaea;
  padding: .2rem .6rem;
  border-radius: 2px;
}
.post-tag:hover { color: #e10707; border-color: #e10707; text-decoration: none; }

/* Post navigatie */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ebeaea;
}

.post-nav-prev, .post-nav-next {
  display: flex;
  flex-direction: column;
  max-width: 46%;
  color: #333333;
  text-decoration: none;
}
.post-nav-next { text-align: right; margin-left: auto; }
.post-nav-label {
  font-size: .75rem;
  color: #747474;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.post-nav-title { font-size: .9rem; font-weight: 600; color: #e10707; }
.post-nav-prev:hover .post-nav-title,
.post-nav-next:hover .post-nav-title { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: #fffef9;
  border-top: 1px solid #ebeaea;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-follow strong {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.footer-links a { font-size: .85rem; color: #333333; }
.footer-links a:hover { color: #e10707; }

.footer-license {
  font-size: .78rem;
  color: #747474;
  max-width: 500px;
}
.footer-license a { color: #747474; text-decoration: underline; }
.footer-license a:hover { color: #e10707; }

/* =============================================
   WEBMENTIONS
   ============================================= */

.webmentions {
  max-width: 740px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid #ebeaea;
}

.webmentions-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Formulier */
.webmention-send { margin-bottom: 2rem; }

.webmention-send-label {
  font-size: .85rem;
  color: #747474;
  margin-bottom: .5rem;
}

.webmention-form-row {
  display: flex;
  gap: .5rem;
}

.webmention-url-input {
  flex: 1;
  padding: .5rem .75rem;
  border: 1px solid #ebeaea;
  font-size: .88rem;
  font-family: inherit;
  color: #333333;
  outline: none;
}
.webmention-url-input:focus { border-color: #e10707; outline: 2px solid #e10707; outline-offset: 0; }

.webmention-submit {
  padding: .5rem 1rem;
  background: #e10707;
  color: #ffffff;
  border: none;
  font-size: .88rem;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
}
.webmention-submit:hover { background: #c00; }

/* Facepile (likes/boosts) */
.wm-facepile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: 2rem;
}

.wm-facepile-label {
  font-size: .82rem;
  color: #747474;
  margin-right: .25rem;
}

.wm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #ebeaea;
}

.wm-avatar-sm { width: 28px; height: 28px; }

.wm-avatar-placeholder {
  display: inline-block;
  background: #ebeaea;
}

/* Commentaren */
.wm-comments-title {
  font-size: .95rem;
  font-weight: 700;
  color: #747474;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.25rem;
}

.wm-comment {
  padding: 1rem 0;
  border-bottom: 1px solid #ebeaea;
}
.wm-comment:last-child { border-bottom: none; }

.wm-comment-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}

.wm-comment-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wm-author {
  font-size: .88rem;
  font-weight: 600;
  color: #333333;
}
.wm-author:hover { color: #e10707; }

.wm-date {
  font-size: .75rem;
  color: #747474;
}

.wm-source {
  font-size: .85rem;
  color: #aaa;
  text-decoration: none;
}
.wm-source:hover { color: #e10707; }

.wm-comment-content {
  font-size: .92rem;
  line-height: 1.6;
  color: #444;
  padding-left: calc(36px + .6rem);
}
.wm-comment-content a { color: #e10707; }

/* =============================================
   ZOEKKNOP IN NAV
   ============================================= */

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: #333333;
  padding: .5rem .85rem;
  transition: color .15s;
}
.nav-search-btn:hover { color: #e10707; }

/* =============================================
   ZOEKOVERLAY
   ============================================= */

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 500;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }

body.search-open { overflow: hidden; }

.search-box {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  border-top: 3px solid #e10707;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

.search-input-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeaea;
}

.search-input {
  flex: 1;
  border: none;
  outline: 2px solid transparent;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-family: inherit;
  color: #333333;
  background: transparent;
}
.search-input::placeholder { color: #aaa; }

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: #747474;
  padding: .5rem 1rem;
  line-height: 1;
  transition: color .15s;
}
.search-close:hover { color: #e10707; }

.search-results {
  list-style: none;
  max-height: 420px;
  overflow-y: auto;
}

.search-result-item {
  border-bottom: 1px solid #ebeaea;
}
.search-result-item:last-child { border-bottom: none; }

.search-result-link {
  display: flex;
  flex-direction: column;
  padding: .85rem 1.25rem;
  text-decoration: none;
  transition: background .12s;
}
.search-result-link:hover { background: #f6f6f6; }

.search-result-title {
  font-size: .95rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: .2rem;
}
.search-result-link:hover .search-result-title { color: #e10707; }

.search-result-meta {
  font-size: .75rem;
  color: #747474;
}

.search-no-results {
  padding: 1.25rem;
  font-size: .9rem;
  color: #747474;
}

.search-inline {
  margin-top: 1.5rem;
}
.search-inline .search-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: .75rem 1rem;
  background: #fffef9;
}

/* =============================================
   KOPIEER URL KNOP
   ============================================= */

.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: none;
  border: 1px solid #ebeaea;
  color: #747474;
  font-family: inherit;
  font-size: .82rem;
  padding: .4rem .85rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.copy-url-btn:hover {
  color: #e10707;
  border-color: #e10707;
}
.copy-url-btn.copied {
  color: #e10707;
  border-color: #e10707;
}

.copy-url-manual {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: .5rem;
}

.copy-url-manual[hidden] {
  display: none;
}

.copy-url-input {
  width: 100%;
  padding: .4rem .6rem;
  border: 1px solid #e10707;
  font-family: inherit;
  font-size: .78rem;
  color: #333333;
  background: #fffef9;
}

.copy-url-hint {
  font-size: .72rem;
  color: #747474;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 640px) {
  .post-entry-title { font-size: 1.5rem; }

  .single-title { font-size: 1.5rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #ebeaea;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .site-nav.open { display: block; }

  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link { padding: .6rem 0; font-size: .95rem; }

  .dropdown {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    margin-bottom: .5rem;
  }
  .dropdown-link { padding: .3rem 0; }

  /* Entry layout op mobiel: één kolom, sidebar verborgen */
  .entry-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "entry-header"
      "entry-body";
    gap: 0;
  }
  .entry-sidebar { display: none; }

  /* Archieflijsten: sidebar (maand/jaar) wél tonen op mobiel */
  .post-list .entry-layout {
    grid-template-areas:
      "entry-header"
      "entry-sidebar"
      "entry-body";
  }
  .post-list .entry-sidebar {
    display: flex;
    border-bottom: 1px solid #ebeaea;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
  }

  /* Verberg desktop-sidebar; toon mobiele metadata onderaan */
  .single-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "body";
    gap: 0;
  }
  .single-sidebar { display: none; }
  .single-meta-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ebeaea;
  }

  .post-nav { flex-direction: column; gap: 1rem; }
  .post-nav-next { text-align: left; margin-left: 0; }
  .post-nav-prev, .post-nav-next { max-width: 100%; }

  .footer-inner { flex-direction: column; gap: 1rem; }
}

/* Isso commentaren */
.isso-commentaren {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ebeaea;
}

.isso-commentaren-titel {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  display: list-item;
  margin-bottom: 2rem;
}

.isso-blokkade-melding {
  font-size: .82rem;
  color: #747474;
  margin-bottom: 1.5rem;
}

#isso-thread .isso-post-action input[type=submit],
#isso-thread .isso-post-action input[type=button] {
  background-color: #e10707;
  border-color: #e10707;
  color: #ffffff;
}

#isso-thread .isso-post-action input[type=submit]:hover,
#isso-thread .isso-post-action input[type=button]:hover {
  background-color: #c00606;
  border-color: #c00606;
}
