.path-map section.region-bottom,
.path-map section.region-footer {
  display: none;
}




.geolocation-map-wrapper,
.geolocation-map-container.leaflet-container {
  border-radius: 5px;
  overflow: hidden;
}

/* Leaflet sometimes draws panes beyond the container, clip them too */
.geolocation-map-container.leaflet-container .leaflet-pane,
.geolocation-map-container.leaflet-container .leaflet-tile-pane,
.geolocation-map-container.leaflet-container .leaflet-map-pane {
  border-radius: 5px;
}


.geolocation-map-wrapper {
  position: relative;
}

.map-detail-panel {
  position: absolute;
  top: 6rem;
  left: 4rem;
  right: auto;
  z-index: 1000;
  width: 420px;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  overflow: auto;
}
.teaser-right .map-detail-panel {
  left: auto;
  right: 4rem;
}
.nomads-map .node--view-mode-teaser .field--name-field-defaults-tags.field__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}



/* ========== Map ========== */

/* MAP PAGE, full viewport map, no page scroll, navbar floating above map */
body.path-map {
  margin: 0;
  overflow: hidden;
}

/* Remove Drupal toolbar offset on map page */
body.path-map,
body.path-map.toolbar-horizontal,
body.path-map.toolbar-fixed,
body.path-map.toolbar-tray-open {
  padding-top: 0 !important;
}

/* Full viewport page shell */
body.path-map,
body.path-map .dialog-off-canvas-main-canvas,
body.path-map .region-content,
body.path-map .nomads-content,
body.path-map #block-nomads-content,
body.path-map .view-map,
body.path-map .view-map .view-content,
body.path-map .geolocation-map-wrapper {
  height: 100vh;
  min-height: 100vh;
}

/* Remove width constraints and spacing */
body.path-map .nomads-inner,
body.path-map .nomads-inner--constrained,
body.path-map .nomads-content,
body.path-map .region-content,
body.path-map .view-map,
body.path-map .view-map .view-content,
body.path-map #block-nomads-content {
  max-width: none !important;
  width: 100vw;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide normal page content below the map */
body.path-map footer,
body.path-map .region-footer,
body.path-map .geolocation-location,
body.path-map .location-content {
  display: none !important;
}

/* Make the map fill the whole viewport */
body.path-map .geolocation-map-wrapper,
body.path-map .geolocation-map-container,
body.path-map .leaflet-container {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Floating navbar over the map */
body.path-map .nomads-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0 50px;
}
body.path-map .region-title {
  display: none;
}

/* Keep navbar inner full width too */
body.path-map .nomads-navbar__inner {
  max-width: none !important;
  width: 100%;
}

/* Push map controls below floating navbar */
body.path-map .leaflet-top {
  top: 90px;
}

/* Optional, hide Drupal admin toolbar completely on map page */
body.path-map #toolbar-administration {
  display: none !important;
}


#map.combined-map-virtual-field {
  height: clamp(320px, 70vh, 1100px);
}

#map .views-element-container,
#map .view,
#map .view-content,
#map .geolocation-map-wrapper,
#map .geolocation-map-container {
  height: 100%;
}
#map.combined-map-virtual-field {
  height: 695px;
}


.date-location-table table {
  table-layout: fixed;
  font-size: 15pt;
  font-weight: 600;
  color:#0570A1;
  margin: 0 auto 15px;
}
.date-location-table td {
  padding: 3px 30px;
}

