.neighbourhood-map {
  --map-water: #dfe9ec;
  --map-land: #f9f7f0;
  --map-grid: #7e8582;
  --map-shore: #9eafb5;
  --map-creek: #a9c4cc;
  --map-value: #314b45;
  --map-central: #213442;
  --map-villas: #754a3c;
  --map-rail: #99544b;
  margin-block: clamp(27px, 5vw, 50px);
}
.neighbourhood-map h2 {
  margin-bottom: 14px;
  font: 400 clamp(1.9rem, 5.5vw, 2.65rem)/1.05 var(--display);
  letter-spacing: -.028em;
}
.neighbourhood-map__figure {
  display: grid;
  align-items: start;
  gap: 16px;
  margin: 0;
}
.neighbourhood-map__drawing {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--map-water);
}
.neighbourhood-map__sea { fill: var(--map-water); }
.neighbourhood-map__coast { fill: var(--map-land); stroke: var(--map-shore); stroke-width: 2; }
.neighbourhood-map__grid { fill: none; stroke: var(--map-grid); stroke-opacity: .15; }
.neighbourhood-map__creek { fill: none; stroke: var(--map-creek); stroke-width: 7; stroke-linecap: round; }
.neighbourhood-map__creek--marina { stroke-width: 4; }
.neighbourhood-map__palm {
  fill: none;
  stroke: var(--map-shore);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.neighbourhood-map__rail {
  fill: none;
  stroke: var(--map-rail);
  stroke-width: 2.5;
  stroke-dasharray: 4 4;
  stroke-linecap: round;
}
.neighbourhood-map__compass { fill: var(--map-central); font-size: 15px; font-weight: 700; }
.neighbourhood-map__compass text { fill: var(--ink); }
.neighbourhood-map__feature {
  fill: var(--ink);
  stroke: var(--map-land);
  stroke-width: 3px;
  paint-order: stroke;
  font-size: 15px;
  font-style: italic;
}
.neighbourhood-map__label {
  fill: var(--ink);
  stroke: var(--map-land);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke;
  font-size: 19px;
  font-weight: 700;
}
.neighbourhood-map__feature--water, .neighbourhood-map__label--water { stroke: var(--map-water); }
.neighbourhood-map__marker { fill: var(--map-value); stroke: var(--paper); stroke-width: 1.5px; }
.neighbourhood-map__marker path { fill: var(--map-central); }
.neighbourhood-map__marker rect { fill: var(--map-villas); }
.neighbourhood-map__caption {
  font-size: .9rem;
  line-height: 1.5;
}
.neighbourhood-map__legend {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}
.neighbourhood-map__legend li, .neighbourhood-map__group h3 {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.neighbourhood-map__symbol, .neighbourhood-map__line-key {
  display: inline-block;
  flex: 0 0 9px;
  height: 9px;
}
.neighbourhood-map__symbol--value { background: var(--map-value); border-radius: 50%; }
.neighbourhood-map__symbol--central { background: var(--map-central); transform: rotate(45deg) scale(.83); }
.neighbourhood-map__symbol--villas { background: var(--map-villas); }
.neighbourhood-map__line-key {
  flex-basis: 13px;
  height: 0;
  margin-inline-end: -4px;
  border-top: 2px dashed var(--map-rail);
}
.neighbourhood-map__profiles {
  display: grid;
  gap: 18px 25px;
  margin-top: clamp(23px, 4vw, 33px);
}
.neighbourhood-map__group {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.neighbourhood-map__group h3 { font: 700 .94rem/1.25 var(--body); }
.neighbourhood-map__group dl { display: grid; gap: 12px; margin: 12px 0 0; }
.neighbourhood-map__group dt { font-weight: 700; line-height: 1.28; }
.neighbourhood-map__group dd { margin: 3px 0 0; font-size: .96rem; line-height: 1.5; }
.neighbourhood-map__rent { margin-top: 20px; font-size: .92rem; line-height: 1.5; }
.neighbourhood-map__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 5px;
}
.neighbourhood-map__sources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .87rem;
  text-underline-offset: .2em;
}

@media (min-width: 740px) {
  .neighbourhood-map__figure { grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: 21px; }
  .neighbourhood-map__caption { padding-top: 3px; }
  .neighbourhood-map__profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (forced-colors: active) {
  .neighbourhood-map__symbol { background: CanvasText; forced-color-adjust: none; }
}
