
  /* PITTSBURGH */
  #map {
    position: absolute;
    top: 0; /* height of navbar */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .leaflet-control-attribution {
    display: none !important;
  }
  
  /* MAP LEGEND */
  .map-legend {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: transparent;
    font-size: 13px;
    color: white;
  }
  .legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 2px black;
  }  
  .map-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 9999;
    transition: width 0.4s ease;
  }
  .container.panel-open .map-wrapper {
    width: 50vw;
  } 

  /* MAP POPUP */
  .popup-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 12px 0;
  }
  .leaflet-popup-content-wrapper {
    max-width: none !important;
    min-width: 400px;
    width: auto !important;
    height: 300px;
    overflow: scroll;
    border-radius: 12px !important;
  }
  .leaflet-popup-content::-webkit-scrollbar{
    display: none;
  }
  .leaflet-popup-content-wrapper, .leaflet-popup-tip{
    background: rgba(80, 60, 60, 0.9) !important;
    color: white !important;
  }
  .leaflet-popup-content {
    width: 360px !important;
    max-height: 270px;
    font-size: 14px;
    line-height: 1.4 !important;
    overflow-y: auto;
  }
  .leaflet-popup-content i{
    font-size: 14px;
  }
  .leaflet-popup-content b{
    font-size: 14px;
  }
  .leaflet-popup-close-button{
    padding: 14px 24px 0 0 !important;
  }
  .leaflet-popup.custom-popup .leaflet-popup-content-wrapper {
    height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    color: white;
    border-radius: 0;
  }
  .leaflet-popup.text-popup .leaflet-popup-content-wrapper {
    min-width: 500px;
    max-width: 800px;
  }
  .leaflet-popup.custom-popup .leaflet-popup-content {
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    margin: 0;
    /* padding: 15px; */
    line-height: 1.4;
    font-size: 16px;
  }
  .leaflet-popup-tip { 
    display: none;   /* Remove the popup pointer */
  }
  .leaflet-popup.custom-popup .leaflet-popup-content img,
  .leaflet-popup.custom-popup .leaflet-popup-content video {
    /* Ensure images and videos inside popups scale nicely */
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin-top: 5px;
    border-radius: 0 !important;
    display: block; 
  }

  /* .leaflet-right{
    right: ;
  } */

  .legend {
    background: transparent;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    font-size: 14px;
    line-height: 18px;
  }
  .legend h4 {
    margin: 0 0 5px;
    font-size: 16px;
  }
  .legend-item {
    cursor: pointer;
    margin: 4px 0;
    display: flex;
    align-items: center;
  }
  .legend-item img {
    margin-right: 6px;
  }

  /* VIEW FULL MAP BUTTON */
  #toggle-panel {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    position: absolute;
    bottom: 24px;
    left: 32px;
    cursor: pointer;
    z-index: 100000;
  }
  .hidden {
    display: none;
  }

  /*TEXT STYLING */
  h2{
    font-family: "sloop-script-one";
    font-weight: 400;
    font-style: normal;
  }

  @media (max-width: 700px){
    .leaflet-popup-content-wrapper {
      max-width: none !important;
      min-width: 80vw;
      width: auto !important;
      max-height: 50vh;
      overflow: scroll;
    }
    .leaflet-popup-content {
      max-width: calc(80vw - 20px) !important;
      max-height: calc(50vh - 20px);
      font-size: 14px;
      line-height: 1.4 !important;
      overflow-y: auto;
    }
  }