/*
Theme Name: VersVinder
Theme URI: https://versvinder.nl
Author: VersVinder
Description: Thema passend bij de VersVinder app - streekproducten in de regio
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&family=Lora:wght@400;500;600;700&display=swap');

:root {
  --primary: #2D5A3D;
  --primary-light: #3d7a55;
  --accent: #76B654;
  --accent-light: #9bcc7c;
  --secondary: #b5d4a0;
  --background: #ffffff;
  --foreground: #1e3d2a;
  --muted: #f0f5ed;
  --muted-foreground: #5a7a65;
  --border: #d4e6cc;
  --yellow-orange: #F5A623;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

/* Header */
#masthead {
  background-color: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Desktop: menu gecentreerd */
@media (min-width: 769px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .site-branding {
    justify-self: start;
  }
  #site-navigation {
    justify-self: center;
  }
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.site-title a {
  color: #ffffff !important;
}

.site-description {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

/* Navigation */
#site-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.main-navigation ul li a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  background-color: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* Hero sectie */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(118,182,84,0.15) 0%, transparent 70%);
}

.hero-section h1 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  position: relative;
  box-shadow: 0 4px 15px rgba(118,182,84,0.4);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(118,182,84,0.5);
}

.btn-secondary {
  display: inline-block;
  position: relative;
  z-index: 1;
  background-color: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

/* Main content */
#primary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Post */
article.post {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}

article.post:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

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

.post-content-inner {
  padding: 1.5rem;
}

.entry-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.entry-title a {
  color: var(--foreground);
}

.entry-title a:hover {
  color: var(--primary);
}

.entry-meta {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.entry-summary p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--accent);
}

/* Sidebar widget */
.widget {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

/* Badge */
.badge {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--foreground);
}

/* Feature section */
.features-section {
  background: var(--muted);
  padding: 4rem 2rem;
}

.features-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.features-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Footer */
#colophon {
  background-color: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

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

.nav-links a,
.nav-links span,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--foreground);
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links .page-numbers:not(.current):not(.dots):hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.nav-links .current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Vorige/Volgende knoppen groter en groen */
.nav-links .prev,
.nav-links .next,
.nav-links a.prev,
.nav-links a.next {
  background: var(--accent);
  color: white !important;
  border-color: var(--accent);
  padding: 0 1.25rem;
  font-weight: 700;
}

.nav-links .prev:hover,
.nav-links .next:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.nav-links .dots {
  border: none;
  background: transparent;
  color: var(--muted-foreground);
}


/* ================================
   HAMBURGER MENU
   ================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--primary);
    z-index: 400;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-branding {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.15); color: white; }
.mobile-menu #mobile-primary-menu { list-style: none; padding: 1rem 0; margin: 0; }
.mobile-menu #mobile-primary-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu #mobile-primary-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.mobile-menu #mobile-primary-menu li a:hover { background: rgba(255,255,255,0.1); color: white; }
.mobile-menu #mobile-primary-menu li.current-menu-item a { color: var(--accent); font-weight: 700; }

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex !important; }
  .main-navigation { display: none !important; }
  .site-header-inner {
    padding: 0 1rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  #primary {
    padding: 2rem 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}



/* Menu icoontjes */
.menu-icon {
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2rem;
    line-height: 1;
}

/* Desktop: icoontje iets kleiner */
.main-navigation .menu-icon {
    font-size: 0.9rem;
}

/* Mobiel: icoontje groter en meer ruimte */
.mobile-menu .menu-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Over pagina styling */
.intro-tagline {
    font-size: 1.25rem;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 2rem !important;
}

.beliefs-grid p {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem !important;
    border-left: 3px solid var(--accent);
}

.entry-content h2.has-text-align-center {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.entry-content p.has-text-align-center {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--foreground);
}

.wp-block-button__link {
    background-color: var(--accent) !important;
    color: white !important;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.wp-block-button__link:hover {
    background-color: var(--accent-light) !important;
}

/* WordPress block editor styling voor frontend */
.entry-content .wp-block-columns {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.entry-content .wp-block-column {
    flex: 1;
    min-width: 0;
}
.entry-content .wp-block-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1rem;
}
.entry-content .wp-block-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}
.entry-content .wp-block-list li:last-child {
    border-bottom: none;
}
.entry-content ol.wp-block-list {
    counter-reset: steps;
    list-style: none;
    padding-left: 0;
}
.entry-content ol.wp-block-list li {
    counter-increment: steps;
    padding: 0.75rem 0.75rem 0.75rem 3rem;
    position: relative;
    background: var(--muted);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    border-bottom: none;
}
.entry-content ol.wp-block-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: white;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.entry-content .wp-block-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.entry-content .wp-block-separator {
    border: none;
    border-top: 2px solid var(--border);
    margin: 2.5rem 0;
}
.entry-content .wp-block-buttons {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
.entry-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}
.entry-content .wp-block-group .beliefs-grid p {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .entry-content .wp-block-columns {
        flex-direction: column;
        gap: 0;
    }
}

/* Direct inschrijven knop */
.btn-signup {
    display: inline-block;
    position: relative;
    z-index: 1;
    background-color: var(--yellow-orange);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    margin-left: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}
.btn-signup:hover {
    background-color: #e09520;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,166,35,0.5);
}

@media (max-width: 768px) {
    .btn-signup {
        margin-left: 0;
        margin-top: 0.75rem;
        display: block;
        text-align: center;
    }
}

/* Nieuwsbrief sectie */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem 2rem;
    color: white;
}

.newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* MailPoet form styling in nieuwsbrief sectie */
.newsletter-section .mailpoet_form {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.newsletter-section .mailpoet_form input[type="text"],
.newsletter-section .mailpoet_form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: calc(var(--radius) - 2px);
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.newsletter-section .mailpoet_form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-section .mailpoet_form input[type="submit"],
.newsletter-section .mailpoet_submit {
    width: 100%;
    background: var(--accent) !important;
    color: white !important;
    border: none;
    padding: 0.875rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-section .mailpoet_form input[type="submit"]:hover {
    background: var(--accent-light) !important;
}

@media (max-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .newsletter-text h2 {
        font-size: 1.5rem;
    }
}

/* Footer legal links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-links a:hover {
    color: var(--accent);
}
.footer-legal-links span {
    color: rgba(255,255,255,0.3);
}

/* Nieuwsbrief formulier styling */
.vv-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.vv-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.vv-input::placeholder { color: rgba(255,255,255,0.6); }
.vv-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.2);
}
.vv-submit {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    transition: background 0.2s, transform 0.1s;
}
.vv-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}
.vv-privacy {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

/* Bevestigingsbericht */
.vv-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}
.vv-notice-success { background: var(--accent); color: white; }
.vv-notice-info { background: var(--primary); color: white; }
.vv-notice-error { background: #e05555; color: white; }
@keyframes slideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Contact Form 7 styling */
.vv-cf7-form label {
    display: block;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}
.vv-cf7-form .required { color: var(--accent); }
.vv-cf7-form input[type="text"],
.vv-cf7-form input[type="email"],
.vv-cf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    background: white;
    color: var(--foreground);
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin-bottom: 1rem;
}
.vv-cf7-form input:focus,
.vv-cf7-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,90,61,0.1);
}
.vv-cf7-form textarea { min-height: 150px; resize: vertical; }
.vv-cf7-submit {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    border-radius: var(--radius) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: 'Work Sans', sans-serif !important;
    transition: background 0.2s !important;
    width: 100%;
}
.vv-cf7-submit:hover { background: var(--primary-light) !important; }
.wpcf7-response-output {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-weight: 500;
    border: none !important;
}
.wpcf7-mail-sent-ok { background: #e8f5e0; color: #2d5a3d; }
.wpcf7-mail-sent-ng { background: #fde8e8; color: #c53030; }
.wpcf7-validation-errors { background: #fff3cd; color: #856404; }

/* Logo styling */
.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.custom-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
}
@media (max-width: 768px) {
    .custom-logo {
        height: 42px !important;
        max-width: 160px;
    }
}

/* Hero logo */
.hero-logo-wrap {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.hero-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: block;
    margin: 0 auto;
}

/* Hero knoppen groepering */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-signup {
    margin: 0;
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 300px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-signup {
        margin-top: 0;
    }
}

/* Floating nieuwsbrief widget */
.vv-nb-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    font-family: 'Source Sans 3', sans-serif;
}
.vv-nb-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}
.vv-nb-toggle:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
.vv-nb-dropdown {
    display: none;
    position: absolute;
    bottom: 3.5rem;
    right: 0;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
}
.vv-nb-float.open .vv-nb-dropdown {
    display: block;
    animation: fadeIn 0.2s ease;
}
.vv-nb-dropdown strong {
    display: block;
    color: var(--primary);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.vv-nb-dropdown .vv-input {
    border: 1.5px solid var(--border) !important;
    background: white !important;
    color: var(--foreground) !important;
    margin-bottom: 0.5rem;
}
.vv-nb-dropdown .vv-input::placeholder { color: var(--muted-foreground) !important; }
.vv-nb-dropdown .vv-submit {
    background: var(--accent);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Nieuwsbrief widget in sidebar/pagina */
.vv-newsletter-widget {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.vv-nb-title {
    color: var(--primary);
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem !important;
}
.vv-nb-desc {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
}
.vv-nb-compact .vv-input {
    border-color: var(--border) !important;
    background: white !important;
    color: var(--foreground) !important;
}
.vv-nb-compact .vv-input::placeholder { color: var(--muted-foreground) !important; }
.vv-nb-compact .vv-submit { background: var(--primary); }

@media (max-width: 768px) {
    .vv-nb-float { bottom: 1rem; right: 1rem; }
    .vv-nb-toggle span { display: none; }
    .vv-nb-dropdown { right: 0; width: 260px; }
}

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

.single-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid !important;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Override #primary voor single posts */
.single-template #primary,
body.single #primary {
    max-width: none;
    margin: 0;
    padding: 0;
}

.single-content {
    min-width: 0; /* Voorkomt tekst overflow */
}

.single-content .entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.single-content .entry-content * {
    max-width: 100%;
}

.entry-categories {
    margin-bottom: 0.75rem;
}
.entry-categories a {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Post navigatie knoppen */
.post-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    flex: 1;
    transition: all 0.2s;
    min-width: 0; /* Fix overflow */
    overflow: hidden;
}

.nav-btn-prev {
    background: var(--primary);
    color: white;
}
.nav-btn-prev:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(-3px);
}

.nav-btn-next {
    background: var(--accent);
    color: white;
    justify-content: flex-end;
    text-align: right;
}
.nav-btn-next:hover {
    background: var(--accent-light);
    color: white;
    transform: translateX(3px);
}

.nav-arrow {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.nav-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.nav-text small {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-text strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 200px;
}

.nav-btn {
    max-width: calc(50% - 0.5rem);
}

/* Zijbalk */
.single-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.sidebar-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-list li {
    border-bottom: 1px solid var(--border);
}
.category-list li:last-child { border-bottom: none; }
.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.category-list li a:hover { color: var(--primary); }
.category-list li.active a { color: var(--accent); font-weight: 700; }
.cat-count {
    background: var(--accent);
    color: white;
    border-radius: 9999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
}
.sidebar-cta h3 { color: white; border-bottom-color: rgba(255,255,255,0.3); }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    .single-sidebar { position: static; }
    .post-navigation { flex-direction: column; }
}

/* Rubrieken balk bovenaan blogpost */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.category-bar-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}
.cat-pill {
    display: inline-block;
    background: var(--muted);
    color: var(--foreground);
    border: 1.5px solid var(--border);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.cat-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.cat-pill.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: 700;
}
.cat-pill span {
    opacity: 0.7;
    font-size: 0.75rem;
}

/* Fix grote h2 titels in entry-content */
.entry-content h2 {
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
    color: var(--primary);
}
.entry-content h3 {
    font-size: 1.25rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}
.entry-title {
    font-size: 1.75rem !important;
}

/* Blog filterbar */
.blog-filter-bar {
    background: var(--muted);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.blog-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    color: var(--foreground);
    border: 1.5px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.filter-pill.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: 700;
}
.pill-count {
    background: rgba(255,255,255,0.3);
    border-radius: 9999px;
    padding: 0.05rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.filter-pill.active .pill-count {
    background: rgba(255,255,255,0.3);
}
.filter-pill:not(.active) .pill-count {
    background: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .blog-filter-inner {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Geen border op single blogpost */
.single article.post {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.single article.post:hover {
    box-shadow: none;
    transform: none;
}

/* Groene bladjes als lijstpunten in blogposts */
.entry-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}
.entry-content ul li {
    list-style: none !important;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    border: none !important;
    border-bottom: none !important;
}
.entry-content ul li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Genummerde lijsten gewoon houden */
.entry-content ol {
    padding-left: 1.5rem;
}
.entry-content ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 404 pagina */
.error-404-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}
.error-404-inner {
    max-width: 600px;
}
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.error-title {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.error-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.error-text {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.error-search {
    margin: 2rem 0;
}
.error-search p {
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.error-search .search-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.error-search input[type="search"] {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    width: 280px;
    max-width: 100%;
}
.error-search input[type="submit"] {
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}
.error-categories {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.error-categories h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Copyright tekst in footer */
.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Footer bottom - copyright en links gecentreerd */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}
.footer-legal-links {
    justify-content: center;
}

/* Footer grid - alles gecentreerd */
.footer-grid {
    text-align: center;
}
.footer-col {
    text-align: center;
}
.footer-col h4 {
    text-align: center;
}
.footer-col p {
    text-align: center;
}
.footer-col ul {
    text-align: center;
}
.footer-col ul li a {
    justify-content: center;
}
