.acf-trip-info {
    margin-top: 1rem;
}
.acf-trip-info p {
    margin: 0;
    line-height: 1.5;
}

.trip-days-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  overflow: visible;
  min-height: 100vh;
  flex-shrink: 0;
  margin-left: 2rem;
}

.trip-days-left {
  width: 40%;
  margin-left: 2rem;
}

.trip-days-right {
  width: 60%;
  position: sticky;
  top: 2rem;
  height: 100vh;
}

.trip-day-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.trip-experiences-wrapper {
  flex-grow: 1;
  margin-top: -2rem;
  padding-top: 0;
}

.trip-day-section .experience-item,
.trip-day-section .post-item {
  margin-bottom: 4rem;
}

.trip-day-section .experience-item img,
.trip-day-section .post-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-day-section .post-item a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: block;
}

.trip-day-section .post-item .post-details .post-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1.2;
  position: static;
  background: none;
  color: #000;
  padding: 0;
  text-align: left;
}

.trip-day-section .post-item .post-details .post-excerpt {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.day-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.day-label {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-number {
  font-size: 18px;
  line-height: 1;
}

#map {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .trip-days-wrapper {
    flex-direction: column;
  }

  .trip-days-left {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-left: 0rem;
  }

@media (max-width: 768px) {
.trip-days-right {
  width: 100%;
  position: sticky;
  top: 2rem;
  /* height: calc(100vh - 4rem);  eventueel */
  min-height: 400px; /* veilige minimumhoogte */
}

#map {
  width: 100%;
  height: 100%;
  display: block;
}
}

  .trip-day-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    align-items: center;
  }

  .trip-day-label {
    order: -1;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .trip-experiences-wrapper {
    order: 0;
    padding: 0;
    width: 100%;
  }
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;   
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gm-ui-hover-effect {
  display: none !important;
}

.gm-style-iw-ch {
  padding: 0 !important;
  margin: 0 !important;
}

.map-infowindow {
  margin: 0;
  padding: 4px 6px;         
  font-size: 11px;           
  color: #333;
  line-height: 1.3em;
  text-align: center;        
  background: #fff;          
  border: 1px solid #ccc;    
  border-radius: 0;          
  white-space: nowrap;       
}

/* Verbeterde styling voor de trip meta info box */
.trip-meta-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* Iets meer ruimte tussen de items */
    background-color: #fcfcfc;
    border: 1px solid #e9e9e9;
    padding: 1rem;
    margin: 2rem 0; /* Ruimte boven en onder het blok */
    border-radius: 8px; /* Rondere hoeken */
}

.trip-meta-item {
    flex: 1; /* Zorgt ervoor dat items de ruimte eerlijk verdelen */
    min-width: 150px; /* Voorkomt dat items te smal worden */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-left: none; /* We gebruiken geen verticale borders meer */
}

.trip-meta-item .meta-label {
    font-size: 0.85em;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.trip-meta-item .meta-value {
    color: #222;
}
