/* Aanvullingen statische versie bataviahof.nl
   Kleuren uit het Enfold-thema: groen #46542d, olijf #8d935a, goud #ae9a64, zand #f4f3f0, tekst #3d3c39 */

/* ---------- Homepage: hero minder hoog (alleen desktop/tablet) ---------- */
@media only screen and (min-width: 768px) {
  #top.home #full_slider_1 .avia-slideshow-inner {
    padding-bottom: 42% !important;   /* was 62,5% (16:10) */
    height: 0 !important;
  }
  #top.home #full_slider_1 .avia-slideshow li {
    position: absolute !important;
    top: 0; left: 0;
    height: 100%;
  }
  #top.home #full_slider_1 .avia-slide-wrap { height: 100%; }
  #top.home #full_slider_1 .avia-slideshow li img {
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
  }
}

/* ---------- Homepage: CTA naar de inloopbijeenkomst ---------- */
.bh-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
  padding: 16px 0;
  color: #f4f3f0;
}
.bh-cta__text { flex: 1 1 520px; min-width: 0; }
#top .bh-cta__eyebrow {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ae9a64;
}
#top .bh-cta__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  color: #f4f3f0;
  text-transform: none;
}
#top .bh-cta p.bh-cta__lead { margin: 0 0 20px; font-size: 20px; line-height: 1.5; color: #f4f3f0; }
.bh-cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 !important;
  padding: 0;
  list-style: none !important;
}
#top .bh-cta__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  color: #f4f3f0;
  list-style: none;
}
.bh-cta__facts svg { flex: none; width: 20px; height: 20px; stroke: #ae9a64; }
#top a.bh-cta__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  min-height: 44px;
  background: #f4f3f0;
  color: #46542d;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
#top a.bh-cta__button svg { width: 20px; height: 20px; stroke: currentColor; transition: transform .3s ease; }
#top a.bh-cta__button:hover,
#top a.bh-cta__button:focus-visible { background: #ae9a64; color: #ffffff; }
#top a.bh-cta__button:hover svg { transform: translateX(4px); }
#top a.bh-cta__button:focus-visible { outline: 2px solid #f4f3f0; outline-offset: 3px; }
@media only screen and (max-width: 767px) {
  #top .bh-cta__title { font-size: 32px; }
  #top a.bh-cta__button { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ---------- Inloopbijeenkomst: beeld + tekst ---------- */
.bh-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}
.bh-split__media { flex: 1 1 440px; min-width: 0; margin: 0; }
.bh-split__media img { display: block; width: 100%; height: auto; }
.bh-split__media figcaption { margin-top: 8px; font-size: 15px; color: #6b6a65; }
.bh-split__text { flex: 1 1 420px; min-width: 0; }

/* ---------- Inloopbijeenkomst: planning als tijdlijn ---------- */
.bh-planning {
  counter-reset: stap;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 32px !important;
  padding: 0 !important;
  list-style: none !important;
  position: relative;
}
.bh-planning::before {            /* verbindingslijn */
  content: "";
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed #ae9a64;
}
#top .bh-planning li {
  counter-increment: stap;
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
  list-style: none;
}
.bh-planning li::before {         /* genummerde stip */
  content: counter(stap);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #8d935a;
  color: #46542d;
  font-size: 24px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
}
.bh-planning li:hover::before { transform: scale(1.08); }
.bh-planning li.is-next::before { background: #46542d; border-color: #46542d; color: #f4f3f0; box-shadow: 0 0 0 6px rgba(141,147,90,.25); }
.bh-planning li.is-open::before { border-style: dashed; color: #6f744a; }
.bh-planning__when {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6f744a;  /* donkerder dan #8d935a voor leesbaarheid op wit */
}
.bh-planning__what {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #46542d;
}
.bh-planning li.is-open .bh-planning__what { color: #6b6a65; }

/* tijdlijn verticaal op smalle schermen */
@media only screen and (max-width: 767px) {
  .bh-planning { grid-template-columns: 1fr; gap: 20px; }
  .bh-planning::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #ae9a64; }
  #top .bh-planning li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: center; text-align: left; }
  .bh-planning li::before { grid-row: 1 / span 2; margin: 0; }
  .bh-planning__when { align-self: end; }
  .bh-planning__what { align-self: start; }
}
