body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.language-selector {
  color: white; /* Zorgt ervoor dat de verticale strepen ook wit zijn */
  display: flex;
  gap: 15px; /* Houdt de knoppen mooi gescheiden */
  justify-content: center; /* Centreert het menu */
  margin-top: 10px; /* Voeg wat ruimte toe */
  position: absolute; /* Zorgt ervoor dat het helemaal bovenaan blijft */
  top: 10px; /* Kleine afstand van de bovenkant */
  right: 20px; /* Houdt het rechts uitgelijnd */
  font-size: 14px; /* Compacte tekstgrootte */
}

.language-selector a {
  color: white; /* Zorgt ervoor dat de tekst altijd wit is */
  text-decoration: none; /* Verwijdert standaard onderstreping */
  font-weight: bold; /* Maakt de tekst iets sterker zichtbaar
  margin: 0 10px; /* Houd wat ruimte tussen de opties */
}

.language-selector a:hover {
  text-decoration: underline; /* Subtiele onderstreping bij hover */}

.hero {
  display: flex; /* Zorgt ervoor dat tekst en logo naast elkaar staan */
  align-items: center; /* Houdt alles netjes uitgelijnd */
  justify-content: space-between; /* Tekst links, logo rechts */
  background-color: #350357;
}

.hero img.logo {
  height: 100px; /* Pas de grootte aan zoals gewenst */
  width: auto; /* Behoudt de juiste verhoudingen */
}

.hero h1 {
  color: white;
  margin-left: 20px; /* Verschuift de titel iets naar rechts */
  font-size: 2.5em;
  letter-spacing: 1px;
  text-align: center; /* Centreert de tekst */
  flex: 1; /* Laat het element de beschikbare ruimte innemen */
}

nav ul {
  display: flex;
  list-style: none;
  background-color: #350357;
  padding: 10px;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

nav ul li a:hover {
  color: #cccccc; /* Maak de tekst lichter bij hover */
}

main {
  padding: 20px;
}

.quotes {
  background: #f0f0f0;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.3em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.quote {
  min-height: 150px; /* Stel een minimale hoogte in */
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  font-style: italic;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.quote.small-font {
  font-size: 0.8em !important; /* Kleiner lettertype voor lange quotes */
}

.quote.visible {
  opacity: 1;
}

.quote-meta {
  font-size: 0.6em; /* Maakt de tekst kleiner dan de quote */
  color: #666; /* Geeft een subtiele, minder opvallende kleur */
  margin-top: 10px;
}


.quotes button {
  font-size: 1.5em;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}

.quotes button:hover {
  color: #350357;
}

.quote-btn {
  background-color: #ddd;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2em;
  color: #555;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quote-btn:hover {
  background-color: #ccc;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    margin: 10px 0;
  }
}

h2 {
  font-size: 1.05rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #3a2774;
  margin-top: 2.5rem;
}

/* Algemene layout voor klikbare onderdelen */
.intro {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
  color: #444;
  text-align: center;
}

.visie-intro {
  margin-bottom: 1rem;
  font-style: italic;
  color: #444;
}

.visie-groep {
  margin-left: 1.2rem; /* subtiele inspringing */
}

.visie-link {
  display: inline-block;
  background-color: #f2f0fc;
  color: #3a2774;
  font-weight: 500;
  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-link:hover {
  background-color: #e2d8fa;
  color: #2a1a5c;
}

.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;
  }
}

/* Als we verkozen zijn */
.toggle-heading {
  cursor: pointer;
  margin-top: 1.5em;
  position: relative;
  font-size: 1.05rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #3a2774;
  padding-left: 0.5rem;
}

.toggle-content {
  display: none;
  margin-left: 1rem;
  background-color: #f9f9f9;
  border-left: 4px solid #483483;
  border-radius: 0.5rem;
  font-size: 0.89rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border-left: 2px solid #ccc;
}

.toggle-content.open {
  display: block;
}

.styled-list {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.styled-list li {
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
}

/* PAGINA STATUTEN bv */
.sublist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.sub-toggle {
  display: block;
  background: none;
  border: none;
  color: #3a2774;
  text-align: left;
  font-size: 0.97rem;
  padding: 0.3rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.sub-toggle:hover {
  text-decoration: underline;
}

.sub-content {
  display: none;
  margin-left: 1rem;
  color: #333;
  font-size: 0.88rem;
}

/* sub sub secties op statuten pagina */
.sub-sub-toggle {
  display: block;
  background: none;
  border: none;
  color: #49156c;
  text-align: left;
  font-size: 0.93rem; 
  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;
  font-size: 0.86rem;
  margin-top: 0.5rem;
}

.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;
  font-size: 0.9rem;
  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 */
  font-size: 0.84rem;
  color: #333;
}

.sub-sub-sub-content.open {
  display: block;
}

/* alle overbodige witruimte bovenaan verwijderen */
.page-header {
  height: 80px;
  display: flex; /* Zorgt ervoor dat tekst en logo naast elkaar staan */
  align-items: center; /* Houdt alles netjes uitgelijnd */
  justify-content: space-between; /* Tekst links, logo rechts */
  background-color: #350357;
}

.page-header img.logo {
  height: 60px; /* Pas de grootte aan zoals gewenst */
  width: auto; /* Behoudt de juiste verhoudingen */
}

.page-header h1 {
  color: white;
  margin-left: 20px; /* Verschuift de titel iets naar rechts */
  font-size: 2.5em;
  text-align: center;
  flex: 1; /* Laat het element de beschikbare ruimte innemen */
}

/* 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: 1.2rem;
  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: 1.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;
}

/* Navigatie dropdown */
.navbar {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #350357;
  padding: 0.5rem 0;
  list-style: none;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 160px;
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #350357;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Voor de statuten deelpagina en zo */
.breadcrumb {
  font-size: 1rem;
  font-weight: 400;
  margin: 10px 0 5px 10px;
  color: #350357;
}

/* Voor de titels op de partij-organisatie pagina */
.partij-link {
  display: inline-block;
  background-color: #f2f0fc;
  color: #3a2774;
  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;
}

/* 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;
  font-size: 0.9rem;
  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: #350357;
  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: #350357;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid #350357;
}

    .fin-section {
  background-color: #350357;
  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 #350357;
}
