/* neighborhood map */

#map-illustration {
  position: relative;
  z-index: 1;
}

.map-illustration {
  display: none;
}

.communities-page#map-illustration {
  display: none;
}

.communities-slider__slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26vh 30px 125px;
  text-shadow: 0px 0px 6px #000000;
}

.communities-slider__slide h3 {
  font-family: var(--awb-typography1-font-family) !important;
  text-transform: uppercase !important;
  margin: 0px;
  font-size: 32px !important;
  line-height: 1 !important;
  text-align: center;
}

.communities-slider__slide .slide__cta {
  background-color: var(--map-button-text-color);
  color: var(--map-button-color);
  letter-spacing: 2px;
  font-family: var(--awb-typography2-font-family) !important;
  font-size: 1rem !important;
}

.communities-slider-pagination {
  bottom: 45px !important;
}

@media screen and (min-width: 768px) {
  #map-illustration {
    margin-top: -75px;
  }

  .communities-page#map-illustration {
    display: block;
  }

  .map-illustration {
    display: block;
  }

  .communities-slider {
    display: none;
  }

  #full-map-image {
    width: 100%;
    filter: grayscale();
  }

  #hover-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  #hover-overlay h4 {
    position: absolute;
    font-size: 1.25rem;
    font-family: var(--h3_typography-font-family);
    z-index: 1;
    text-shadow: 0px 0px 8px black;
    border: 3px solid var(--map-button-text-color);
    border-radius: 100px;
    padding: 0px 25px;
    background-color: var(--map-button-color);
    color: var(--map-button-text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 2px;
  }

  #hover-overlay h4 svg {
    width: 20px;
    filter: drop-shadow(0px 0px 8px black);
  }

  #hover-overlay h4 svg path {
    fill: var(--map-button-text-color);
  }

  #hover-overlay .quad-title-1 {
    top: 40%;
    left: 9%;
  }

  #hover-overlay .quad-title-2 {
    top: 21%;
    right: 25%;
  }

  #hover-overlay .quad-title-3 {
    bottom: 28%;
    left: 33%;
  }

  #hover-overlay .quad-title-4 {
    bottom: 21%;
    right: 12%;
  }

  .map-quad-hover-image {
    position: absolute;
  }

  .quad-area-1 {
    width: 53.08%;
  }

  .quad-area-2 {
    width: 76.75%;
    right: 0;
  }

  .quad-area-3 {
    width: 53.95%;
    bottom: 0;
    left: 0;
  }

  .quad-area-4 {
    width: 61.65%;
    bottom: 0;
    right: 0;
  }

  #map-illustration .slide__bgCredit {
    bottom: 15px !important;
  }
}