#block-pvu-content {
  width: 100%;
  margin: 0;
  max-width: 100vw;
}

main{
  margin-top: 0;
}

#block-pvu-breadcrumbs{
  display: none;
}

#block-pvu-page-title{
  display: none;
}

input{
  width: 100%;
}

p{
  margin: 0;
}

.map-view-content {
  position: relative;
  height: 80vh;
}

#map-container {
  width: 100%; /* Full width */
  height: 100%;
  position: absolute; /* Positioned absolutely to allow panels to overlay it */
  top: 0;
  left: 0;
  z-index: 1; /* Base z-index for the map */
}

.map-pane {
  position: absolute; 
  width: 20%; 
  padding: 1em;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.9); 
  z-index: 2;
  overflow-y: auto; 
}

.map-sidebar-expand {
  padding: 0.5em 0.5em;
  cursor: pointer;
  display: none;
  z-index: 9;
  position: absolute;
  top: 1.5em;
  left: 0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 0;
}

.map-sidebar-collapse {
  position: absolute;
  line-height: 0;
  top: 1em;
  right: 1em;
  z-index: 10;
  cursor: pointer;
}

.filter-panel {
  left: 1em;
  top: 1em;
  bottom: 1em;
}

.display-panel {
  right: 1em;
    top: 1em;
    bottom: 1em;
}

.detailed-content {
  height: 100%;
}


@media (max-width: 768px) {
  .map-pane {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2; /* Ensure panels remain on top in mobile view */
  }

  #map-container {
    height: 50vh; /* Reduce map height in mobile view */
  }
}

.content-item {
  max-height: 150px;
  border: 1px solid;
  padding: 5%;
  overflow: hidden; /* Prevent overflowing content */
}

.item-title {
  font-size: 20px;
  font-weight: bold;
}

.item-type {
  font-size: 15px;
}

.item-description {
  font-size: 15px;
  overflow: hidden; /* Hide overflow */
  text-overflow: ellipsis; /* Add ellipsis to indicate overflow */
  display: -webkit-box; /* Support for Webkit browsers */
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical; /* Required for webkit-clamp */
  max-height: 3em; /* Adjust max-height based on the number of lines and line height */
  line-height: 1.5em; /* Ensure consistent line spacing */
}

.sorting{
  display: flex;
}

.sort-text{
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.sort-dropdown{
  margin-bottom: 0;
  margin-left: 10px;
}