#mapbox-globe {
  width: 100%;
  height: calc(100vh - 75px);
  min-height: calc(100vh - 75px);
  overflow: hidden;
  background: #1b3421;
  position: relative;
}

#mapbox-globe::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(
      circle at center,
      rgba(38, 168, 70, 0.10) 0%,
      rgba(38, 168, 70, 0.12) 42%,
      rgba(27, 52, 33, 0.35) 72%,
      rgba(27, 52, 33, 0.78) 100%
    );
}

#mapbox-globe .mapboxgl-control-container {
  position: relative;
  z-index: 5;
}

.mapbox-location-popup {
  color: #1b3421;
  font-family: "neue-haas-grotesk-display", Arial, sans-serif;
  min-width: 230px;
  max-width: 290px;
}

.mapbox-location-popup h3 {
  color: #1b3421;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 28px 14px 0;
}

.mapbox-location-popup p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.mapbox-location-meta,
.mapbox-location-detail,
.mapbox-location-coords {
  border-top: 1px solid rgba(27, 52, 33, 0.12);
  padding-top: 10px;
}

.mapbox-location-meta,
.mapbox-location-coords {
  display: grid;
  gap: 3px;
}

.mapbox-location-detail {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.mapbox-location-coords {
  margin-top: 10px;
  display: none;
}

.mapbox-location-popup span {
  color: #898b8d;
  display: block;
  font-family: "ibm-plex-sans-condensed", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.mapbox-location-popup strong {
  color: #26a846;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

#mapbox-globe .mapboxgl-popup {
  z-index: 6;
}

#mapbox-globe .mapboxgl-popup-content {
  border: 1px solid rgba(38, 168, 70, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  padding: 18px;
  min-width: 300px;
}

#mapbox-globe .mapboxgl-popup-close-button {
  align-items: center;
  background: #f5f6f6;
  border: 1px solid rgba(27, 52, 33, 0.12);
  border-radius: 999px;
  color: #1b3421;
  display: flex;
  font-size: 18px;
  height: 26px;
  justify-content: center;
  line-height: 1;
  right: 10px;
  top: 10px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  width: 26px;
}

#mapbox-globe .mapboxgl-popup-close-button:hover,
#mapbox-globe .mapboxgl-popup-close-button:focus {
  background: #26a846;
  border-color: #26a846;
  color: #fff;
  outline: none;
}

#mapbox-globe .mapboxgl-popup-tip {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.16));
}

.block-location-item {
  cursor: pointer;
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.block-location-item.is-mapbox-active {
  background-color: rgba(38, 168, 70, 0.08);
}

.block-location-item.is-mapbox-active {
  padding-left: 10px;
}

.mapboxgl-marker.is-mapbox-active svg {
  filter: drop-shadow(0 0 10px rgba(38, 168, 70, 0.75));
}

@media only screen and (max-width: 768px) {
  #mapbox-globe {
    height: calc(70vh - 75px);
    min-height: calc(70vh - 75px);
  }
}
