body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.language-selector {
  position: absolute;
  top: 10px;
  right: 120px;  /* ook hier links van het logo */
  display: flex;
  gap: 15px;
  font-size: 14px;
}

.language-selector a {
  color: #0044aa;
  text-decoration: none;
  font-weight: bold;
}

.language-selector a:hover {
  text-decoration: underline;
}

.logo {
  position: sticky;
  top: 5px;
  height: 80px;
  width: auto;
  margin-left: auto;
  margin-right: 20px;
  display: block;
  z-index: 2000;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* voor vloeiende hover */
  cursor: pointer; /* laat zien dat het klikbaar is */
}

/* Hover-effect */
.logo:hover {
  transform: scale(1.1);          /* licht vergroten */
}

/* Menu-knop altijd linksboven vast */
#menu-button {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #0044aa;
  color: white;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 0em;
  line-height: 1.5;
  cursor: pointer;
  z-index: 1100; /* boven menu */
  border-radius: 8px; /* afgeronde hoeken */
}

#menu-button:hover + #mobile-menu,
#mobile-menu:hover {
  display: block;
}

/* Mobiele menu */
#mobile-menu {
  display: none;
  background: #0044aa;
  color: white; /* witte tekst */
  padding: 10px;
  position: fixed;
  top: 40px; /* net onder menu-knop */
  left: 10px;
  width: 180px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  z-index: 1000;
  /* Scrollbar verbergen / minimaliseren */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: transparent transparent;
}

/* Voor Chrome, Edge, Safari */
#mobile-menu::-webkit-scrollbar {
  width: 6px;
}
#mobile-menu::-webkit-scrollbar-track {
  background: transparent;
}
#mobile-menu::-webkit-scrollbar-thumb {
  background-color: transparent;
}

/* Lijststijl */
#mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

#mobile-menu li {
  margin: 4px 0;
}

#mobile-menu a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 4px 0;
  transition: all 0.2s ease;
}

/* Hover effect */
#mobile-menu a:hover {
  text-decoration: underline;
}

/* Als menu open is */
#mobile-menu.open {
  display: block;
}

/* Titel */
.hero {
  justify-content: center; /* centreert de inhoud horizontaal */
  background-color: #0044aa;
  padding: 50px; /* Voeg wat ruimte toe rondom de inhoud */
  position: relative;     /* maakt het makkelijker om t.o.v. deze sectie uit te lijnen */
}

.hero-text {
  text-align: center;
}

.hero h1 {
  color: white;
  margin: 0.5rem 0;
  font-size: 2.5em;
  letter-spacing: 1px;
  text-align: center; /* Centreert de tekst */
}

.hero h2 {
  color: white;
  margin-left: 20px; /* Verschuift de titel iets naar rechts */
  margin-top: 0.5rem;
  font-size: 1em;
  text-align: center; /* Centreert de tekst */
  font-style: italic;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text {
    margin-left: 0;
  }
}

main {
  padding: 40px;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0044aa;
  margin-bottom: 1rem;
  text-align: center;
  margin-top: 3rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0044aa;
}

/* Algemene layout voor klikbare onderdelen */
.intro {
  margin-bottom: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
  color: #444;
  text-align: center;
}

.visie-groep {
  margin-left: 1.2rem; /* subtiele inspringing */
}

.visie-link {
  display: inline-block;
  background-color: #f2f0fc;
  color: #0044aa;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0em;
  line-height: 1.5;
  cursor: pointer;
  margin: 0.4rem 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.visie-link:hover {
  background-color: #e2d8fa;
  color: #2a1a5c;
}

.visie-sublink {
  display: inline-block;
  background-color: #f2f0fc85;
  color: #3a2c61;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  cursor: pointer;
  margin: 0.4rem 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.visie-sublink:hover {
  background-color: #e2d8fa70;
  color: #483970;
  font-style: italic;
}

.uitleg {
  margin-left: 1rem;
  padding: 0.6rem 1rem;
  border-left: 3px solid #d6cbf8;
  background-color: #f9f8ff;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 0.95rem;
  color: #333;
}

.subvisie-item {
  margin-left: 1.2rem;
}

.hidden {
  display: none;
}
/* Responsief (heeft dit wel nog waarde?) */
@media (max-width: 600px) {
  .kernwoord {
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
  }
}

.footer {
  background-color: #0044aa;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.footer-link {
  color: white;
}

.footer-link:hover {
  background-color: #e2d8fa;
  color: #2a1a5c;
}

/* Als we verkozen zijn */
/* Hoofd-toggle (voor secties) */
.toggle-heading {
  cursor: pointer;
  margin-top: 3em;
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #0044aa;
  transition: font-weight 0.2s ease; /* maakt de verandering vloeiend */
  text-align: center;
}

.toggle-heading:hover {
  color: #3d3d88;
  font-weight: 700; /* iets dikker bij hover */
}

/* Sub-toggle (voor items binnen een sectie) */
.sub-toggle {
  display: inline-block;
  background-color: #f2f0fc;
  color: #0044aa;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0em;
  line-height: 1.5;
  cursor: pointer;
  margin: 0.4rem 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;   /* haalt de zwarte rand weg */
  outline: none;  /* haalt de blauwe rand weg die bij focus kan verschijnen */
}

.sub-toggle:hover {
  background-color: #e2d8fa;
  color: #2a1a5c;
}

/* Uitklapbare inhoud */
.sub-content {
  margin-left: 0.9rem;
  border-left: 1px solid #cfc8ec;
  padding-left: 0.5rem;
  color: #333;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hidden {
  display: none;
}

.initiatief {
  margin-bottom: 2rem;
  margin-left: 3rem;
  margin-right: 3rem;
  color: #444;
  text-align: center;
}

.sublist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}



/* sub sub secties op statuten pagina */
.sub-sub-toggle {
  display: block;
  background: none;
  border: none;
  color: #49156c;
  text-align: left;
  cursor: pointer;
  margin-top: 0.5rem;
  padding: 0.3rem 0.5rem;
}

.sub-sub-toggle:hover {
  text-decoration: underline;
}

.sub-sub-content {
  display: none;
  margin-left: 2rem;
  padding: 0.5rem 1rem;
  background-color: #f2f2f2;
  border-left: 3px solid #ccc;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.sub-sub-content.open {
  display: block;
}

/* voor sub sub sub onderdelen, statuten pagina */
.sub-sub-sub-toggle {
  background: none;
  border: none;
  color: #532b6d;
  text-align: left;
  cursor: pointer;
  margin-left: 1.2rem;
}

.sub-sub-sub-toggle:hover {
  text-decoration: underline;
}

.sub-sub-sub-content {
  display: none;
  margin-left: 1.5rem; /* kleinere inspringing */
  padding: 0.3rem 0.6rem; /* minder padding */
  border-left: 2px solid #bbb; /* subtieler randje */
  color: #333;
}

.sub-sub-sub-content.open {
  display: block;
}

/* alle overbodige witruimte bovenaan verwijderen */
body {
  text-align: center;
}

/* afbeeldingen bij ACHTERGROND */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: 1rem auto;
  overflow: hidden; /* voorkomt dat iets buiten beeld schuift */
}

/* BASISSTIJL voor grotere schermen */
.slide {
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 300px; /* of iets meer als je dat mooi vindt */
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden; /* voorkomt uitspringen */
}

.slide.fade {
  display: flex;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto; /* Centert de afbeelding ook verticaal */
}

.slide figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Verwijder ruimte als bijschrift leeg is */
.slide figcaption:empty {
  display: none;
}

.slide figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

.quote-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  background-color: #f9f9f9;
  border-radius: 1rem;
  font-size: 1rem;
  font-style: italic;
  color: #333;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

/* MEDIA QUERIES VOOR RESPONSIVITEIT */

/* Tablets */
@media (max-width: 768px) {
  .slide {
    height: 380px;
    padding: 0.8rem;
  }

  .slide img {
    max-height: 250px;
  }

  .quote-slide {
    font-size: 1rem;
    padding: 1.5rem;
  }

  .slide figcaption {
    font-size: 0.8rem;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  .slide {
    height: 320px;
    padding: 0.5rem;
  }

  .slide img {
    max-height: 200px;
  }

  .quote-slide {
    font-size: 1rem;
    padding: 1rem;
  }

  .slide figcaption {
    font-size: 0.75rem;
  }
}

.slide-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 10px;
  font-size: 18px;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Voor de titels op de partij-organisatie pagina */
.partij-link {
  display: inline-block;
  background-color: #f2f0fc;
  color: #0044aa;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.partij-link:hover {
  background-color: #e2d8fa;
  color: #2a1a5c;
}

.partij-links {
  text-align: center; /* Zet de inline-block knoppen in het midden */
}

/* Stijl voor de inklap-openklap knopjes */
.toggle-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000; /* Zorgt dat ze boven andere elementen blijven */
}

.toggle-controls button {
  background-color: #666666;
  color: white;
  border: none;
  padding: 0.6em 1em;
  border-radius: 0.4rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.toggle-controls button:hover {
  background-color: #6d3b8e;
}

/* voor het springen naar een specifiek artikel bij een link */
[id^="art"] {
  scroll-margin-top: 60px; /* Zorgt dat bij scrollen naar een id de top wat lager uitkomt */
}

/* voor de geld transparantie pagina */
.tabel-container {
  padding: 1rem;
  border-radius: 0.5rem;
}

.sectie-header {
  font-weight: 600;
  font-size: 1.2rem;
  color: #0044aa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.sectie-header:hover {
  color: #6a3d88;
}

.subsectie {
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.subsectie-header {
  cursor: pointer;
  color: #4b2167;
  display: flex;
  justify-content: space-between;
}

.subsectie-header:hover {
  color: #603e77;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

th, td {
  border-bottom: 1px solid #ccc;
  padding: 0.5rem;
  text-align: left;
}

th {
  background: #f0f0f0;
}

.saldo {
  font-size: 1rem;
  color: #0044aa;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid #0044aa;
}

    .fin-section {
  background-color: #0044aa;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  border-radius: 6px;
}

.fin-subsection {
  padding-left: 1rem;
}

.fin-total {
  float: right;
  font-weight: normal;
}

.toggle-sub {
  background-color: #f5f5f5;
  padding-left: 1rem;
  margin: 0.5rem 0;
  border-left: 2px solid #0044aa;
}

