/*
Theme Name:     Reisinspiratie
Theme URI:      https://reisinspiratie.online
Description:    Child theme voor Divi
Author:         Digital Verbeek
Author URI:     https://reisinspiratie.online
Template:       Divi
Version:        1.0
*/

/* Voeg hier je eigen CSS toe */

#leafletmap {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 30px 0;
}

.leaflet-popup-content-wrapper {
  background: #fff8f0;
  color: #333;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
}

.leaflet-popup-tip {
  background: #fff8f0;
}

.leaflet-marker-icon:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* === HEIGHT NORMALIZER voor subnavigatie strip === */

/* 1) Sectie, row, module: wis verticale ruimte */
.rv-subnav-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Divi geeft rows vaak interne top/bottom padding mee */
.rv-subnav-section .et_pb_row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Code-module heeft soms standaard bottom margin */
.rv-subnav-section .et_pb_code {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 2) UL en LI: geen extra ruimte */
.rv-subnav__list {
  margin: 0 !important;
  padding: 0 !important;
}
.rv-subnav__item {
  margin: 0 !important;
  padding: 0 !important;
}

/* 3) Links: bepaal de TOTALE hoogte met padding (consistent) */
.rv-subnav__link {
  /* kies 44–48px als prettige klikhoogte; hieronder ~44px */
  font-size: 16px;
  line-height: 1;                 /* geen extra lijnruimte */
  padding: 14px 16px;             /* ↑ = totale hoogte-driver */
  border-bottom-width: 3px;       /* indicator-hoogte constant */
  box-sizing: border-box;
}

/* 4) Voorkom dat Theme Builder-varianten afwijken */
.et_pb_section.rv-subnav-section,
.et_pb_section_1_tb_body.rv-subnav-section,
.et_pb_section_3.rv-subnav-section {
  min-height: unset !important;   /* sommige layouts forceren min-height */
}

/* 5) Haal eventuele Divi separators/overlays weg op de sectie */
.rv-subnav-section:before,
.rv-subnav-section:after {
  content: none !important;
  display: none !important;
}

/* 6) Als Divi globale presets toch margins op laatste row zetten */
.rv-subnav-section .et_pb_row:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 7) Foutje dat soms voorkomt: paragrafen in links/ul */
.rv-subnav__link p { 
  margin: 0 !important; 
  padding: 0 !important; 
}

/* Container afmetingen matching site-breedte */
.rv-container .rv-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

/* Kop als “Dag”-kop stijl */
.rv-section-title {
  font-size: 32px;
  line-height: 1.2;
  margin: 10px 0 16px;
  color: #111;
  border-bottom: 3px solid #F26522;
  display: inline-block;
  padding-bottom: 6px;
}
@media (max-width: 767px){
  .rv-section-title { font-size: 26px; }
}

/* Subkop (“Voorbeeld”) */
.rv-section-subtitle {
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

/* Intro-omschrijving van de voorbeeldroute */
.rv-intro { margin-bottom: 18px; }

/* Tabel routedelen */
.rv-table-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}
.rv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rv-table thead th {
  text-align: left;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 12px 14px;
  font-weight: 700;
  color: #111;
}
.rv-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f2f2f2;
  vertical-align: top;
}
.rv-table tbody tr:last-child td { border-bottom: none; }
.rv-table a { color: #F26522; text-decoration: none; }
.rv-table a:hover { text-decoration: underline; }

/* Smal scherm: maak de tabel horizontaal scrollbaar */
@media (max-width: 980px) {
  .rv-table-wrap { overflow-x: auto; }
  .rv-table { min-width: 760px; }
}
