/* leeftijdsindeling */ 
.age-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 600px) {
  .age-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .age-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.age-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.age-card span {
  color: #666;
  font-size: 0.9em;
}
/* einde leeftijdsindeling */

/*  nieuws */

.bericht-afbeelding {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bericht-afbeelding img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.categorie-datum {
    font-size: 14px;
    margin-bottom: 6px;
}

.categorie-datum .cat {
    font-weight: 600;
    color: #c00;
    margin-right: 4px;
}
/* einde nieuws */

/* zoekresultaten pagina */
.search-overzicht {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
}

.search-overzicht h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #10B242;
}

.search-lijst {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  background: #f9f9f9;
  padding: 12px 16px;
  border-left: 5px solid #10B242;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.search-label {
  font-weight: bold;
  color: #555;
}

.search-titel {
  font-size: 1.1em;
  color: #333;
}

@media (max-width: 600px) {
  .search-item {
    grid-template-columns: 1fr;
  }
  .search-label {
    margin-bottom: 5px;
  }
}

.search-knop {
  margin-top: 30px;
  text-align: center;
}

.search-knop a {
  display: inline-block;
  background-color: #10B242;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.search-knop a:hover {
  background-color: #0e9a3a;
}

.search-knop i {
  margin-right: 8px;
}

input[type="submit"],
button[type="submit"] {
    color: #000 !important;        /* tekstkleur */
    -webkit-text-fill-color: #000; /* iOS fix */
}

input[type="submit"]:active,
button[type="submit"]:active {
    color: #000 !important;
    -webkit-text-fill-color: #000;
}

/* eind zoekresultaten pagina */

/* sponsoren */ 
 .sponsoren-sectie {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
  }

  .sponsoren-sectie h2 {
  display: block;
  width: 100%;          /* neemt de volle breedte van de viewport */
  background-color: #10B242;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.8em;
  text-align: center;
  margin: 0 0 30px 0;   /* marge onder de kop */
}
.sponsoren-sectie {
  margin: 60px auto;
  padding: 0 20px;
}

.sponsoren-grid {
  max-width: 1200px;
  margin: 0 auto;
}


  .swiper {
    padding-bottom: 3rem;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

.sponsor-kaart {
  width: 300px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; /* zorgt voor visuele balans */
}

.sponsor-kaart img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto; /* extra centrering fallback */
}

  .swiper-pagination-bullet {
    background: #666;
  }

  /* einde sponsoren */
  /* footer */
   .site-footer {
      background-color: #222;
      color: #eee;
      padding: 40px 20px;
      font-size: 0.95em;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-col h4 {
      color: #fff;
      margin-bottom: 12px;
      font-size: 1.1em;
    }

    .footer-col ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    /*.footer-col ul li {
      margin-bottom: 8px;
    } */

    .footer-col ul li a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-col ul li a:hover {
      color: #10B242;
    }

    .footer-col.adres p {
      margin: 0;
      line-height: 1.5;
    }

    @media (max-width: 600px) {
      .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer-col.adres {
        order: -1;
      }
    }
/* einde footer */    
/* header */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: white;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1em 2em;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .logo-link {
  position: relative; /* referentie voor positionering */
  display: inline-block;
}

.logo {
  height: 90px; /* maak het logo groter */
  width: auto;
  position: absolute;
  top: -20px;   /* laat het logo boven de header uitsteken */
  left: 0;      /* uitlijnen aan de linkerkant */
  z-index: 200; /* boven de hero-afbeelding en header */
}

    #menu-toggle {
      display: none;
    }
    .menu-icon {
      font-size: 1.8em;
      color: black;
      cursor: pointer;
      display: none;
    }

    nav { flex-grow: 1; }
    .menu {
      display: flex;
      gap: 1.5em;
      list-style: none;
      margin: 0;
      padding: 0;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .menu li { position: relative; }
    .menu li a {
      color: black;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      padding: 0.6em 1em;
      display: block;
      border-radius: 8px;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    .menu li a:hover {
      background-color: #f0f0f0;
      color: #10B242;
    }

    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: white;
      border-radius: 12px;
      list-style: none;
      padding: 0.5em 0;
      margin: 0;
      min-width: 200px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      z-index: 1000;
    }
    .submenu li a {
      padding: 0.8em 1.2em;
      color: black;
      text-decoration: none;
      font-size: 0.95em;
      display: block;
      border-radius: 8px;
    }
    .submenu li a:hover {
      background-color: #f0f0f0;
      color: #10B242;
    }
    .dropdown:hover .submenu { display: block; }

    .join-button {
      color: white !important;  
      background-color: #e30613;
      color: white;
      padding: 10px 16px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }
    .join-button:hover { 
     background-color: #10B242!important;
 	 color: white;  }
    

    .search-form {
      display: flex;
      gap: .5rem;
      align-items: center;
    }
    .search-form input[type="search"] {
      max-width: 16rem;
      padding: .4rem .6rem;
      border: 1px solid #ccc;
      border-radius: 6px;
    }
    .search-form button {
      padding: .4rem .8rem;
      border: 1px solid #ccc;
      background: #fff;
      border-radius: 6px;
      cursor: pointer;
    }
    .search-form button:hover {
      background: #f0f0f0;
      color: #10B242;
    }
    .visually-hidden {
      position: absolute !important;
      height: 1px; width: 1px;
      overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
      white-space: nowrap;
    }

    @media (max-width: 768px) {
      .menu-icon { display: block; }
      nav { width: 100%; }
      .menu {
        flex-direction: column;
        display: none;
        background-color: white;
        width: 100%;
        margin-top: 1em;
        border-radius: 12px;
        padding: 1em;
        gap: .75em;
        align-items: stretch;
      }
      #menu-toggle:checked + label + nav .menu { display: flex; }
      .submenu {
        position: static;
        box-shadow: none;
        border-radius: 8px;
        background-color: #f9f9f9;
      }
      .dropdown:hover .submenu {
        display: flex;
        flex-direction: column;
      }
      logo {
    height: 70px;
    top: -10px;
  }
      .search-form {
        width: 100%;
      }
      .search-form input[type="search"] {
        flex: 1;
        max-width: 100%;
      }
    }

/* Tweede niveau submenu rechts naast het eerste */
.menu .submenu .right-submenu {
  position: relative;
}

.menu .submenu .submenu-right {
  position: absolute;
  top: 0;
  left: 100%; /* opent rechts */
  display: none;
  background: white;
  min-width: 180px;
  z-index: 9999;
  border-left: 1px solid #ddd;
}


.menu .submenu .right-submenu:hover > .submenu-right {
  display: block;
}


.menu .submenu .submenu-right li a {
  white-space: nowrap;
}

@media (max-width: 768px) {

  /* Tweede niveau submenu op mobiel onder elkaar */
  .menu .submenu .submenu-right {
    position: static;
    left: 0;
    top: auto;
    display: none;
    background: #f9f9f9;
    border-left: none;
    margin-left: 1rem; /* optioneel: kleine inspringing */
  }

  .menu .submenu .right-submenu:hover > .submenu-right {
    display: block;
  }
}

/* einde header */    
/* hero */
  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: sans-serif;
      background-color: white;
    }

    header.hero-image {
      position: relative;
      width: 100%;
      height: 70vh;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slide.active {
      opacity: 1;
    }

.overlay-lines {
  position: absolute;
  bottom: -20px;   
  left: 0;
  width: 100%;
  height: 130%;  
  object-fit: cover; 
  pointer-events: none;
  z-index: 2;
}


    @media (max-width: 768px) {
      header.hero-image {
        height: 25vh;
      }

      .overlay-lines {
        height: 95%; 
      }
    }
/* einde hero */    