#map #search_div.hm-location-search,
#search_div.hm-location-search {
  position: absolute;
  top: 10px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 12;
  width: clamp(270px, 27vw, 390px) !important;
  max-width: min(390px, calc(100vw - 24px)) !important;
  height: auto !important;
  min-height: 48px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 999px !important;
  background: transparent;
  box-shadow: none;
  transform: none !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

.hm-location-search__control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: 100%;
  min-height: 48px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(16, 53, 74, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(11, 40, 56, 0.16);
  backdrop-filter: blur(10px);
}

.hm-location-search__control:focus-within {
  border-color: #1abb9b;
  box-shadow:
    0 0 0 2px rgba(26, 187, 155, 0.22),
    0 8px 24px rgba(11, 40, 56, 0.16);
}

#map #search_div.hm-location-search #vp_search,
#search_div.hm-location-search #vp_search {
  position: static;
  width: 100% !important;
  height: 40px !important;
  min-width: 0;
  margin: 0;
  padding: 0 11px 0 15px;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  outline: 0;
  background: transparent !important;
  color: #102f43;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}

#search_div.hm-location-search #vp_search::placeholder {
  color: #647986;
  opacity: 1;
}

#search_div.hm-location-search #vp_search:focus {
  box-shadow: none;
}

#map #search_div.hm-location-search #vp_search_button,
#search_div.hm-location-search #vp_search_button {
  position: static;
  display: inline-grid;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50% !important;
  background: #117f78;
  color: #fff;
  cursor: pointer;
}

#search_div.hm-location-search #vp_search_button:hover,
#search_div.hm-location-search #vp_search_button:focus-visible {
  background: #0c6964;
}

#search_div.hm-location-search #vp_search_button i,
#search_div.hm-location-search #vp_search_button svg {
  color: #fff !important;
  font-size: 18px !important;
}

.hm-location-search.is-loading #vp_search_button i,
.hm-location-search.is-loading #vp_search_button svg {
  animation: hm-location-search-pulse 0.9s ease-in-out infinite alternate;
}

.hm-location-search__results {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 53, 74, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 33, 48, 0.22);
}

.hm-location-search__results[hidden] {
  display: none;
}

.hm-location-search__list {
  max-height: min(430px, calc(100vh - 190px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hm-location-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid #e5edf0;
  background: #fff;
}

.hm-location-result-row:last-child {
  border-bottom: 0;
}

.hm-location-result {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  color: #102f43;
  text-align: left;
  cursor: pointer;
}

.hm-location-result:hover,
.hm-location-result:focus-visible,
.hm-location-result.is-active {
  outline: 0;
  background: #eaf7f5;
}

.hm-location-result__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-left: 1px solid #e5edf0;
  background: #f7faf9;
  color: #0d6964;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.hm-location-result__profile:hover,
.hm-location-result__profile:focus-visible {
  outline: 0;
  background: #dff3ef;
  color: #0a514e;
}

.hm-location-result__icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #dff3ef;
  color: #117f78;
}

.hm-location-result__copy {
  min-width: 0;
}

.hm-location-result__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.hm-location-result__label {
  color: #102f43;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.hm-location-result__type {
  padding: 4px 6px;
  border-radius: 3px;
  background: #edf3f5;
  color: #58707c;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.hm-location-search__attribution {
  padding: 7px 12px;
  border-top: 1px solid #e5edf0;
  background: #f7fafb;
  color: #71838c;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  text-align: right;
}

.hm-location-search__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hm-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@keyframes hm-location-search-pulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@media (min-width: 880px) {
  .hm-location-search__control {
    border-color: rgba(120, 101, 54, 0.3);
    background: rgba(250, 246, 229, 0.98);
    box-shadow: 0 8px 24px rgba(73, 61, 31, 0.18);
  }

  #map #search_div.hm-location-search #vp_search_button,
  #search_div.hm-location-search #vp_search_button {
    background: #786a43;
  }

  #search_div.hm-location-search #vp_search_button:hover,
  #search_div.hm-location-search #vp_search_button:focus-visible {
    background: #625633;
  }
}

@media (min-width: 880px) and (max-width: 1199px) {
  #map #search_div.hm-location-search,
  #search_div.hm-location-search {
    top: 10px !important;
    right: 12px !important;
    left: auto !important;
    width: clamp(180px, calc((100vw - 510px) / 2), 340px) !important;
    max-width: clamp(180px, calc((100vw - 510px) / 2), 340px) !important;
  }
}

@media (max-width: 879px) {
  .hm-app-brand {
    display: none !important;
  }

  #map #search_div.hm-location-search,
  #search_div.hm-location-search {
    top: 10px !important;
    right: 10px !important;
    left: 70px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 16;
  }

  .hm-location-search__control {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 48px;
  }

  #map #search_div.hm-location-search #vp_search,
  #search_div.hm-location-search #vp_search {
    height: 40px !important;
    padding: 0 6px 0 11px;
    font-size: 8.5px;
  }

  #map #search_div.hm-location-search #vp_search_button,
  #search_div.hm-location-search #vp_search_button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .hm-location-search__results {
    left: -60px;
    width: calc(100vw - 20px);
  }
}

@media (max-width: 767px) {

  .hm-location-search__list {
    max-height: min(390px, calc(100vh - 80px));
  }

  .hm-location-result {
    min-height: 54px;
  }

  .hm-location-result__label {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  #map #search_div.hm-location-search,
  #search_div.hm-location-search {
    right: 10px !important;
    left: 66px !important;
  }

  #map #search_div.hm-location-search #vp_search,
  #search_div.hm-location-search #vp_search {
    padding-left: 9px;
    font-size: 8px;
  }

  .hm-location-search__results {
    left: -56px;
  }
}
