.home-listing-map {
  margin-block: clamp(1.25rem, 4vw, 2.5rem) 0;
  padding: clamp(1rem, 3vw, 2rem);
  background: #f9faf5;
  border: 1px solid #cfddd3;
  border-radius: 1rem;
}
.home-listing-map-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-bottom: 1rem;
}
.home-listing-map h2 { margin: .25rem 0; font-size: clamp(1.7rem, 4vw, 2.5rem); }
#home-listing-map-canvas {
  isolation: isolate;
  height: clamp(280px, 47vw, 440px);
  border-radius: .65rem;
  background: #e7ede6;
}
#home-listing-map-status { margin-top: .65rem; }
.home-map-disclosures { font-size: .85rem; }
.home-map-disclosures summary { cursor: pointer; }
.home-map-disclosures img { max-width: 100%; }
.home-listing-pin {
  display: inline-block;
  transform: translate(-50%, -100%);
  padding: .27rem .52rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #183e35;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 5px #183e3555;
}
.home-listing-map .leaflet-popup-content a { color: #185844; text-decoration: underline; }
#ask-ccp { padding: .7rem 1rem; margin-block: .85rem 1.75rem; }
#ask-ccp h2 { font-size: 1.2rem; margin: 0; }
#ask-ccp form { margin: 0; flex: 1 1 17rem; flex-wrap: nowrap; }
#ask-ccp input { min-width: 0; }
#ask-ccp .ccp-assistant-icon { width: 1.65rem; height: 1.65rem; }
#ask-ccp [data-assistant-answer]:empty { margin: 0; }
#ask-ccp { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
#ask-ccp [data-assistant-answer]:not(:empty),
#ask-ccp [data-assistant-links]:not(:empty) { flex-basis: 100%; }

.home-listing-cluster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 3px solid white;
  border-radius: 50%;
  background: #183e35;
  color: white;
  box-shadow: 0 2px 7px #183e3577;
  font: 700 16px/1 Arial, sans-serif;
}
.home-listing-cluster-icon:hover .home-listing-cluster,
.home-listing-cluster-icon:focus-visible .home-listing-cluster {
  background: #2c6957;
}

.home-map-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.home-map-filters button, #home-map-more {
  min-height: 42px;
  border: 1px solid #b7cdc0;
  border-radius: .5rem;
  padding: .45rem .85rem;
  background: #fff;
  color: #183e35;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.home-map-filters button[aria-pressed="true"] { background: #183e35; color: #fff; border-color: #183e35; }
.home-map-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr); gap: 1rem; }
.home-map-results {
  max-height: clamp(280px, 47vw, 440px);
  overflow: auto;
  padding: .75rem;
  border: 1px solid #cfddd3;
  border-radius: .65rem;
  background: #fff;
}
.home-map-results h3 { margin: 0 0 .6rem; font: 700 1rem/1.4 Arial, sans-serif; }
.home-map-card { display: flex; gap: .65rem; padding: .65rem 0; border-top: 1px solid #e1e8e2; }
.home-map-card img { width: 76px; height: 64px; object-fit: cover; border-radius: .35rem; flex: none; }
.home-map-card div { min-width: 0; display: grid; gap: .15rem; align-content: start; }
.home-map-card a { text-decoration: underline; text-underline-offset: .16em; overflow-wrap: anywhere; }
.home-map-card small { color: #486456; line-height: 1.3; }
#home-map-more { margin-top: .65rem; }
@media (max-width: 720px) {
  .home-map-layout { grid-template-columns: minmax(0, 1fr); }
  .home-map-results { max-height: 300px; }
}
