/*
Theme Name: Custom Zó! Theme
Author: Jouw Naam
Description: Geoptimaliseerde stijlen voor het Custom Zó! WordPress-thema met zachter kleurenpalet
Version: 1.1
*/

/* ========== Kleuren en typografie ========== */
:root {
    --color-blue: #003882;
    --color-pink: #E2007A;
    /* --color-pink: #D94F8C; */
    --color-pink-hover: #ea709e;
    --color-yellow: #F9D162;
    --color-yellow-hover: #e6c149;
    --color-text: #003882;
    --color-gray: #444;
    --color-bg: #f9f9f9;
    --color-footer-bg: #f2f2f2;
    --font-main: Arial, sans-serif;
}

/* ========== Algemene Opmaak ========== */
body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
}

.container {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
    padding: 5px;

    /* typografie */
    line-height: 1.6;
    font-size: 1rem;
    color: var(--color-text);
}

/* Paragrafen */
.container p {
        /* lucht onder alinea’s */
  font-size: 1.05rem;       /* net wat groter, modern */
  color: var(--color-text);
  margin-bottom: 1em;   /* iets ruimte eronder */
  margin-top: 0.2em;
  line-height: 1.6;  
}

/* Koppen */
.container h1,
.container h2,
.container h3,
.container h4,
.container h5,
.container h6 {
  font-family: var(--font-main);
  color: var(--color-text); /* blauw */
  margin-top: 1em;
  margin-bottom: 0.2em;
  line-height: 1.25;
  font-weight: bold;
}

/* Specifieke heading groottes */
.container h1 {
  font-size: 2rem;  /* ± 32px */
  color: var(--color-pink); /* opvallend */
}
.container h2 {
  font-size: 1.6rem; /* ± 26px */
}
.container h3 {
  font-size: 1.3rem; /* ± 21px */
}
.container h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--color-blue);
}

/* Lijsten */
.container ul,
.container ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
.container li {
  margin-bottom: 0.4em;
}

/* Links */
.container a {
  color: var(--color-pink);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}
.container a:hover {
  color: var(--color-pink-hover);
  text-decoration: underline;
}
/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--color-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* optioneel: subtiele schaduw */
}

/* ========== Navigatie ========== */
.main-nav {
    background-color: var(--color-pink);
    padding: 4px 0; 
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.main-nav li { position: relative; }

.main-nav a {
    color: #fff !important; 
    font-size: 1em !important;
    font-weight: bold !important;
    text-decoration: none !important;
    padding: 6px 12px !important;   /* compacter menu */
    line-height: 1.2  !important;  /* minder lucht ertussen */
}

.main-nav a:hover {
  background-color: var(--color-pink-hover) !important;
  color: #fff !important; /* zorg dat tekst wit blijft */
  text-decoration: none !important;
}

/* Dropdowns */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-pink);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    z-index: 1000;
}
.main-nav li:hover > ul {
    display: block;
}
.main-nav ul ul a {
    display: block;
    padding: 6px 12px;     /* compacter (lager) */
    background-color: var(--color-pink);
    color: white;
    font-size: 0.95em;     /* eventueel ook iets kleiner */
    line-height: 1.2;      /* strakker */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;   /* voorkomt afbreken */
}
.main-nav ul ul a:hover {
    background-color: var(--color-pink-hover);
}

/* ========== Hero ========== */
.hero-container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  padding: 20px 20px 0px;
}


.hero {
    color: var(--color-blue);
    text-align : left;
}

.hero h1 {
    font-size: 2.5em;
}

.hero p:last-child {
    margin-bottom: 0; /* haalt die extra witruimte weg */
}

.btn {
  background: var(--color-pink);
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  border-radius: 5px;         /* terug naar subtiel hoekje */
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--color-pink-hover);
  transform: translateY(-2px); /* subtiele lift */
}

.btn:active {
  transform: translateY(0); /* knop 'klikt' terug */
} 

/* ========== Berichten en Artikelen ========== */
.post {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.post h2 {
    margin-top: 0;
}

.post-title {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 14px;
    color: #ddd;
}

.post-excerpt,
.post-intro,
.post-body {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--color-text);
}

.post-intro {
    font-weight: bold;
    margin-bottom: 20px;
}

.post-body {
    min-width: 0;
}

.post-featured-img,
.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.post-image {
    width: 300px;
    flex: 0 0 300px;
}

/* Personen */

.persoon-foto {
  width: 100px;
  height: 125px;
  object-fit: cover;   /* snijdt netjes af */
  border-radius: 0;    /* GEEN ronding */
  display: block;
  margin: 0 auto 10px; /* centreren en wat ruimte eronder */
}

/* Grid voor rollen-taxonomie */
.personen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important; /* ✅ altijd max 3 per rij */
  gap: 20px;
}

.persoon-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden; /* ✅ zorgt dat de foto gelijk loopt */
  transition: transform 0.2s ease;
}

.persoon-card:hover {
  transform: translateY(-4px);
}

.persoon-card .pc-foto {
  flex: 0 0 125px;
  max-width: 125px;
  height: auto;
}

.persoon-card .pc-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* ✅ geen ronding */
  display: block;
}

/* Tekst rechts */
.persoon-card .pc-details {
  padding: 5px;
  flex: 1;
}

.pc-details h3{
    font-size: 1.2rem !important;
}

.pc-details p {
    font-size: 0.8rem;
}
.pc-name {
  margin: 0 0 5px;
  font-size: 12px !important;
  font-weight: bold;
  color: var(--color-text); 
}

.pc-functie {
  margin: 0 0 10px;
  font-style: italic;
  color: var(--color-gray);
}

.pc-contact a {
  display: block;
  color: #0073aa;
  text-decoration: none;
  margin: 3px 0;
 
}

.pc-contact a:hover {
  text-decoration: underline;
}


@media (max-width: 800px) {
  .personen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .personen-grid {
    grid-template-columns: 1fr;
  }
}

.persoon-details {
  flex: 1;
  padding: 10px;
  overflow: hidden;
}

.persoon-naam {
  font-size: 1.1rem;   /* iets kleiner */
  margin: 0 0 5px 0;
  color: #34568B;      /* jouw tekstkleur */
  line-height: 1.3;
  word-wrap: break-word;
}

.persoon-functie {
  font-size: 0.9rem;   /* kleiner */
  color: #666;
  margin: 0 0 8px 0;
}

.persoon-contact {
  font-size: 0.85rem;  /* klein en subtiel */
  line-height: 1.4;
}

.persoon-contact a {
  display: block;      /* elk contactgegeven op nieuwe regel */
  color: #34568B;
  text-decoration: none;
  word-break: break-word; /* lange mailadressen breken netjes */
}

.persoon-contact a:hover {
  text-decoration: underline;
}


/* ========== Nieuwsfilter ========== */
#news-filter {
    background: #fff !important;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

#news-filter label {
    font-weight: bold;
    margin-right: 5px;
}

#news-filter select,
#news-filter input[type="date"] {
    padding: 5px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    min-width: 150px;
}

#news-filter button {
    background: var(--color-yellow) !important;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

#news-filter button:hover {
    background: var(--color-yellow-hover) !important;
}

/* ========== Featured Nieuws Layout ========== */
.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.featured-side {
    display: grid;
    grid-template-rows: 1fr 1fr; /* Verdeel de hoogte gelijk */
    gap: 20px;
    height: 100%; /* Zorgt dat het dezelfde hoogte heeft als .featured-main */
}

.featured-main,
.featured-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.featured-main {
    max-width: 940px;
    height: 524px;
}

.featured-item {
    max-width: 588px;
    height: 250px;
}

.featured-main a,
.featured-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-img,
.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.featured-main .overlay h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.featured-main .overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.featured-item .overlay h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.featured-item .overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.side-img {
    border-radius: 15px;
}

/* ========== Overlay ========== */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    overflow: hidden;
}

.overlay h2,
.overlay h3 {
    margin: 0;
    font-size: 18px;
}

.container-news {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 20px;
}

.container-news h1.archive-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--color-pink);
}

/* ========== Nieuwsberichten Grid ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch; /* zorgt dat alle tegels even hoog zijn */
}

.news-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;

  /* vaste hoogte voor strakke tegels */
  height: 220px;
}

.news-item .grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-item .overlay h3,
.news-item .overlay p {
    font-size: 1rem;
    line-height: 1.3;
    max-height: 2.6em;  /* max 2 regels */
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .overlay h3 {
  font-size: 1.1rem;
  font-weight: bold;
}

.news-item .overlay p {
  font-size: 0.9rem;
  opacity: 0.9;        /* subtieler */
}

/* ========== Related Posts ========== */
.related-posts {
    margin-top: 40px;
}

.related-posts h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* ========== Footer ========== */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-blue);
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-menu li {
    display: inline;
}

.footer-menu a {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.95em;
    transition: 0.3s;
}

.footer-menu a:hover {
    text-decoration: underline;
}

/* ========== Metaslider ========== */
.metaslider {
    max-width: 1200px;     
    margin: 0 auto;         
    padding: 0 20px;        
}

.metaslider img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* ========== Header CTA-strook ========== */
.header-cta-bar {
    background-color: var(--color-pink); /* of een iets lichtere variant als je wilt */
    padding: 10px 0;
    width: 100%;
}

.header-cta-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 0.95em;
    flex-wrap: wrap;
    text-align: right;
}

.cta-text {
    color: white;
}

.cta-button {
    background-color: white;
    color: var(--color-pink);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--color-pink-hover);
    color: white;
}

@media (max-width: 768px) {
    .header-cta-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero .wp-block-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========== Dropdown Menu ========== */
.main-nav li {
    position: relative;
}

/* Verberg submenus standaard */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-pink);
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 80px;
    z-index: 1000;
    border-radius: 0 0 5px 5px;
}

/* Toon submenu bij hover */
.main-nav li:hover > ul {
    display: block;
}

/* Submenu links */
.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 10px 15px;
    background-color: var(--color-pink);
    color: white;
    display: block;
    font-size: 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav ul ul a:hover {
    background-color: var(--color-pink-hover);
    color: white;
}

.header-branding {
    display: flex;
    align-items: stretch; /* logo en foto even hoog */
    gap: 20px;
    padding: 0;
}
/* Logo met ruimte bovenin */
.logo img,
.custom-logo {
    max-height: 160px;   /* of jouw gewenste hoogte */
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    margin-top: 5px;    /* geeft wat blauwe ruimte boven */
    margin-bottom: 5px;  /* optioneel, beetje ademruimte */
}


/* Foto container */
.header-photo {
    position: relative;
    flex: 1;
}
.header-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* hoogte van de fade */
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
}

.photo-socials {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    gap: 12px;
}

.photo-socials a {
    font-size: 1.4em;
    color: #fff;
    text-shadow: 0 0 6px rgba(0,0,0,0.6), 0 0 12px rgba(0,0,0,0.4);
    transition: color 0.3s, transform 0.2s;
}
.photo-socials a:hover {
    color: var(--color-pink);
    transform: scale(1.1);
}


.photo-cta {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.photo-cta a {
    font-size: 1em;              /* normale tekstgrootte */
    font-weight: bold;           /* mag je aanpassen naar normaal */
    color: white;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: color 0.3s;
}
.photo-cta a:hover {
    color: var(--color-pink);    /* alleen kleur veranderen bij hover */
    transform: none;             /* geen scale-effect */
}

.menu-toggle {
    display: none;
}



.latest-news {
    padding-top: 0;
    margin-top: 0;
}

.latest-news h2 {
    margin: 0 0 15px 0;  /* alle marges boven = 0, onder = 15px */
}

section p:last-child {
    margin-bottom: 0;
}

section {
    margin-bottom: 0; 
}

.upcoming-events .event-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-left: 0;      /* reset */
  padding-left: 0;  
}

.upcoming-events .event-header i {
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--color-pink);
  font-size: 1.1em;
}

.upcoming-events .event-text {
  display: flex;
  flex-direction: column;
}

.upcoming-events .event-item {
  position: relative;
  padding-left: 28px; /* ruimte voor icoon */
  padding-top: 5px;
}
.upcoming-events .event-title {
  font-weight: bold;
  font-size: 1.05em;
  line-height: 1.3;
}

.upcoming-events .event-date {
  font-size: 0.9em;
  color: var(--color-text); 
  opacity: 0.8; 
  margin-top: 2px;
}




.hero .wp-block-group h3 {
  color: var(--color-pink);
  font-size: 1.2em;
  margin-bottom: 8px;
}

.hero .wp-block-columns {
  margin-bottom: 0em; 
}


/* Intro blokken in 2 kolommen */
.hero .wp-block-group {
  display: grid;
  grid-template-columns: 2fr 1fr; /* meer ruimte links */
  gap: 40px;
  margin-bottom: 15px;
}


/* ====== Contactformulier Layout ====== */

/* Labels */
.zo-contactform label {
  text-align: left;   /* nu links uitgelijnd */
  font-weight: bold;
  padding-top: 8px;
}

.zo-contactform {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 5px;   /* minder ruimte boven/onder */
  max-width: 600px;
}

.zo-contactform input,
.zo-contactform textarea,
.zo-contactform select {
  padding: 6px;              /* kleiner tekstveld */
  margin: 0;                 /* extra spacing weghalen */
  font-family: var(--font-main);
  font-size: 0.95em;          /* net iets compacter */
}

.zo-contactform textarea {
  resize: vertical;
  min-height: 80px;          /* zodat hij niet te klein wordt */
}

/* Submit knop */
.zo-contactform button {
  grid-column: 2;              /* knop onder de velden */
  justify-self: start;
  margin-top: 10px;
  background: var(--color-pink);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.zo-contactform button:hover {
  background: var(--color-pink-hover);
}

.aanhef-options {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap; /* blijf op 1 regel */
}

.aanhef-options label {
  display: inline-flex;     /* bolletje + tekst naast elkaar */
  align-items: center;
  white-space: nowrap;      /* tekst mag niet afbreken */
  font-weight: normal;
  color: var(--color-text);
  font-size: 1em;
}

.aanhef-options input[type="radio"] {
  margin-right: 6px;        /* ruimte tussen bolletje en tekst */
}

/* ====== Meldingen ====== */
.form-error {
  background: #ffe0e0;
  border: 1px solid #ff5c5c;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #a00;
}

.form-success {
  background: #e0ffe5;
  border: 1px solid #5cffa3;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #006600;
}

.overlay h1,
.overlay h2,
.overlay h3,
.overlay h4,
.overlay h5,
.overlay h6,
.overlay p,
.overlay .post-meta {
  color: #fff !important;
  margin: 0;
}


/* Meta-informatie bij single berichten */
.post-meta {
    font-size: 0.8em;
    color: var(--color-text); 
    opacity: 0.7;         
    margin-bottom: 15px;  /* ruimte onder de meta */
    font-style: italic;   /* optioneel, geeft net wat elegantere look */
}

.post-meta a {
    color: inherit;       /* links dezelfde kleur als tekst */
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}


.news-container {
  max-width: 1000px;  /* zelfde als hero-container */
  width: 90%;
  margin: 0 auto;
  padding: 20px; /* optioneel zelfde spacing */
}


.icon-link {
  margin-right: 8px;
  font-size: 1.2em;
  color: #0073aa; /* jouw accentkleur */
}

.icon-link:hover {
  color: #25d366; /* WhatsApp groen bij hover */
}

.telefoon-nummer {
  margin-left: 5px;
  font-weight: 500;
}


.personen-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
/* Algemene knopstijl */
.btn,
.personen-filter .filter-btn {
  background: var(--color-pink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.personen-filter .filter-btn:hover {
  background-color: var(--color-pink-hover);
  color: #fff; 
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active,
.personen-filter .filter-btn:active {
  transform: translateY(0);
}

/* Variant: actieve filterknop */
.personen-filter .filter-btn.active {
  background: var(--color-blue);
}

.kandidaten-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kandidaat-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Foto links */
.kandidaat-foto {
  flex: 0 0 150px;
  max-width: 150px;
}
.kandidaat-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details rechts */
.kc-details {
  flex: 1;
  padding: 15px;
}

/* Label onderaan */
.lijst-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-pink);
  color: #fff;
  font-weight: bold;
  text-align: left;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-top-right-radius: 8px; /* optioneel mooi afgerond rechts */
}

.successen-grid {
  display: flex;
  flex-direction: column;
}

.succes-card {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin-top: 15px; /* ✅ ruimte tussen kaartjes */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.succes-card:last-child {
  margin-bottom: 0; /* geen extra ruimte onder de laatste */
}


.succes-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.succes-datum {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--color-pink);
  margin-bottom: 8px;
}

.succes-content {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.thema-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* actieve knop (bij huidig thema) */
.thema-nav .btn.active {
  background: var(--color-blue) !important;
}

.thema-nav .btn {
  background: var(--color-pink);
  color: #fff;
}

.thema-nav .btn:hover {
  background: var(--color-pink-hover);
  text-decoration: none;
  color: #fff;
}


/* Container */
.zo-newsletter {
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-family: var(--font-main);
}

/* Labels */
.zo-newsletter label {
  display: block;
  font-weight: bold;
  color: var(--color-text);
  margin-top: 12px;
  margin-bottom: 4px;
}

/* Input fields */
.zo-newsletter input[type=text],
.zo-newsletter input[type=email],
.zo-newsletter input[type=number] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.zo-newsletter input[type=text],
.zo-newsletter input[type=email],
.zo-newsletter input[type=number] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  margin-bottom: 12px; /* ✅ ruimte onder het veld */
  box-sizing: border-box;
}

/* Submit button styled as your .btn */
.zo-newsletter input[type=submit].btn {
  background: var(--color-pink);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  margin-top: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.zo-newsletter input[type=submit].btn:hover {
  background-color: var(--color-pink-hover);
  transform: translateY(-2px);
}

.zo-newsletter input[type=submit].btn:active {
  transform: translateY(0);
}

/* Client-side validation */
.zo-newsletter input:invalid {
  border-color: var(--color-pink);
}

.submenu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
      display: flex !important;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 10px;
      z-index: 1001;
  }
  .menu-toggle .hamburger {
      width: 30px;
      height: 3px;
      background-color: white;
      border-radius: 2px;
  }

  .main-nav .nav-menu {
      display: none;
      flex-direction: column;
      background: var(--color-pink);
      width: 100%;
      margin: 0;
      padding: 0;
  }
  .main-nav.active .nav-menu {
      display: flex;
  }

  .main-nav .nav-menu li {
      width: 100%;
  }

  /* hoofdlinks */
  .main-nav .nav-menu li > a {
      display: block;
      width: 100%;
      padding: 12px 20px;
      color: #fff;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      position: relative; /* referentie voor toggle */
      padding-right: 40px; /* ruimte voor +/− */
  }

  /* submenus dicht */
  .main-nav .nav-menu ul {
      max-height: 0;
      overflow: hidden;
      flex-direction: column;
      background: #c80065;
      margin: 0;
      padding: 0;
      transition: max-height 0.3s ease;
  }
  .main-nav .submenu-open > ul {
      max-height: 1000px; /* genoeg ruimte */
  }

  /* submenu inspringing */
  .main-nav .nav-menu ul li a {
      padding-left: 40px;
      border-left: 2px solid rgba(255,255,255,0.3);
  }

  /* toggle icoon */
  .submenu-toggle {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      z-index: 10;
  }

  .personen-grid {
    grid-template-columns: 1fr !important; /* 1 kolom */
  }

  .persoon-card {
    flex-direction: column;   /* ipv naast elkaar → onder elkaar */
    align-items: center;      /* centreren */
    text-align: center;       /* optioneel mooier */
  }

  .persoon-card .pc-foto {
    flex: 0 0 auto;   /* niet forceren */
    max-width: 100%;  /* foto mag breder */
    width: 100px;     /* of full width als je wilt */
    margin-bottom: 10px;
  }

  .persoon-card .pc-details {
    padding: 10px;
   
  }
  .news-grid {
    grid-template-columns: 1fr !important; /* 1 kolom */
  }

  .featured-news {
    grid-template-columns: 1fr !important; /* 1 kolom */
  }

  .featured-main {


    /* vaste hoogte voor strakke tegels */
    height: 220px !important;
  }

  .featured-main .overlay h2 {
    font-size: 1.2rem !important;
    
  }

  .personen-filter {
    display: block; /* geen flex, gewoon inline */
    margin-bottom: 20px;
    text-align: center; /* of left, wat jij mooier vindt */
  }

  .personen-filter .filter-btn {
    background: none;
    color: var(--color-pink);
    font-weight: normal;
    border-radius: 0;
    padding: 0;
    margin: 0 5px;
    text-decoration: none;
    display: inline;
    transition: none;
  }

  .personen-filter .filter-btn:hover {
    text-decoration: underline;
    background: none;
    color: var(--color-pink-hover);
    transform: none;
  }

  .personen-filter .filter-btn.active {
    color: var(--color-blue);
    font-weight: bold;
    text-decoration: underline;
    background: none;
  }

  .personen-filter .filter-btn:not(:last-child)::after {
    content: "  |";
    color: var(--color-gray); /* subtieler */
  }

  .zo-contactform {
    grid-template-columns: 1fr; /* labels en velden onder elkaar */
  }

  .zo-contactform label {
    padding-top: 0;
    margin-top: 10px;
  }

  .zo-contactform button {
    grid-column: 1; /* knop gewoon onderaan */
    justify-self: stretch; /* volle breedte */
    text-align: center;
  }

  .succes-card {
    margin-left: 5px;
    margin-right: 5px; /* ruimte aan beide kanten */
    width: auto;        /* laat 'm de beschikbare breedte nemen min marge */
  }

  .container{
    width: 90%;
  }
}


