.individual-neighborhood-map-feat-wrapper{
  h2.label{
    color: #000;
    text-transform: uppercase;
  }
}

.individual-neighborhood-map-feat #map,
#map {
  height: 500px;
  width: 100%;
  z-index: 1;
}

.individual-neighborhood-map-feat .map-wrapper {
  position: relative;
}

.neighborhood-map-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.neighborhood-map-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.neighborhood-map-card {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.neighborhood-map-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #eee;
}

.neighborhood-map-card-content {
  padding: 15px 20px;
  background: white;
  text-align: center;
}

.neighborhood-map-card-title {
  margin: 0 !important;
  text-transform: capitalize;
  color: #000;
  text-align: center;
}

.star-marker-icon {
  background: transparent;
  border: none;
}
.star-marker-icon svg {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease;
}
.star-marker-icon:hover svg {
  transform: scale(1.2);
}

.ck.ck-balloon-panel.ck-balloon-panel_visible {
    z-index: 999999 !important;
}

@media screen and (max-width: 767px) {
  #map {
    height: 350px !important;
  }

  .neighborhood-map-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 0;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .neighborhood-map-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    margin-top: 30px;
    max-width: 300px;
    margin: auto;
  }

  .neighborhood-map-card {
    display: block;
    box-shadow: none;
    background: transparent;
    position: relative;
    margin: 0 auto;
  }

  .neighborhood-map-card-image {
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .neighborhood-map-card-content {
    position: relative;
    margin-top: -40px;
    margin-right: 15px;
    margin-left: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: white;
    z-index: 5;
    text-align: left;
  }
}