/**
 * The locations widget style
 */

.location-widget {
  display: flex;
  width: 100%;
  height: 400px;
  margin-top: 110px;
  margin-bottom: 120px;
}

.location-widget .image-grid {
  display: flex;
  width: 75%;
}

.location-widget .image-item {
  position: relative;
  width: 32%;
  overflow: hidden; 
  margin-right: 1%;
}

.location-widget .image-item a {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.location-widget .image-item img {
  position: relative;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  height: 340px;
  
}

.location-widget .image-item .caption {
  color: black; 
  font-size: 16px;
  background-color: transparent;
  padding: 0 5px;
  text-align: left;
  height: 25px;
  line-height: 25px;
  margin-top: 30px;
}

.location-widget .scrollable-list {
  width: 25%;
  
  position: relative;
}

.location-widget .scrollable-list .list-container {
  overflow-y: auto;
  height: 342px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.location-widget .scrollable-list .list-container a {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.location-widget .scrollable-list .caption {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.location-widget .scrollable-list::-webkit-scrollbar {
  display: none;
}

.location-widget .list-item {
  margin-bottom: 30px;
  padding: 20px 2rem;
  border: 1px solid #000;
  border-radius: 500px;
  font-size: 16px;
  line-height: normal;
}

/* .location-widget .scrollable-list::after {
    content: '\2304';
    display: block;
    text-align: center;
    font-size: 20px;
    color: #888;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
} */

.location-widget .scrollable-list:hover::after{
    color: black;
}


@media (max-width: 768px) {
  .location-widget {
    flex-direction: column;
    overflow-x: hidden;
    height: unset;
    margin: 60px 0;
  }
  .location-widget .image-grid {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;

  }
  .image-grid::-webkit-scrollbar {
    display: none;
  }
  .location-widget .image-grid .image-item {
    width: 270px;
    flex: 0 0 auto;
  }
  .location-widget .image-grid .image-item img {
    height: 270px;
  }

  .location-widget .image-grid .image-item .caption {
    margin-top: 15px;
  }
  .location-widget .scrollable-list {
    width: 85%;
    margin-top: 40px;
  }

  .location-widget .scrollable-list .caption {
    margin-top: 15px;
  }

  .location-widget .scrollable-list .list-container {
    height: 310px;
    
  }

  .location-widget .scrollable-list .list-item {
    margin-bottom: 15px;
  }
}
