.project-location-map {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw) clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background: #faf7f3;
  color: #161616;
  box-shadow: 0 18px 48px rgba(22, 22, 22, .08);
}

.project-location-map__canvas {
  position: relative;
  width: 100%;
  height: 320px;
  min-height: 0;
  overflow: hidden;
  background: #e8ded2;
  isolation: isolate;
}

.project-location-map__leaflet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #e8ded2;
}

.project-location-map .leaflet-container {
  font-family: 'Open Sans', sans-serif;
  cursor: grab;
}

.project-location-map .leaflet-container:active { cursor: grabbing; }

.project-location-map .leaflet-tile-pane {
  filter: grayscale(.76) sepia(.28) saturate(.72) brightness(1.05) contrast(.92);
}

.project-location-map .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(10, 10, 10, .16);
}

.project-location-map .leaflet-control-zoom a {
  width: 38px;
  height: 38px;
  border: 0;
  border-bottom: 1px solid rgba(214, 177, 121, .35);
  background: rgba(10, 10, 10, .92);
  color: #d6b179;
  font: 300 24px/37px 'Open Sans', sans-serif;
  transition: background-color .25s ease, color .25s ease;
}

.project-location-map .leaflet-control-zoom a:last-child { border-bottom: 0; }
.project-location-map .leaflet-control-zoom a:hover,
.project-location-map .leaflet-control-zoom a:focus-visible {
  background: #d6b179;
  color: #0a0a0a;
}

.project-location-map .leaflet-control-attribution {
  padding: 3px 7px;
  background: rgba(250, 247, 243, .9);
  color: rgba(22, 22, 22, .68);
  font-size: 9px;
  line-height: 1.35;
}

.project-location-map .leaflet-control-attribution a {
  color: #705a3d;
  text-decoration: none;
}

.project-location-map__marker {
  border: 0;
  background: transparent;
}

.project-location-map__marker-pulse,
.project-location-map__marker-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.project-location-map__marker-pulse {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(214, 177, 121, .92);
  background: rgba(214, 177, 121, .18);
  animation: project-location-pulse 2.4s cubic-bezier(.16, 1, .3, 1) infinite;
}

.project-location-map__marker-dot {
  width: 18px;
  height: 18px;
  border: 4px solid #d6b179;
  background: #0c0c0c;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .96), 0 8px 20px rgba(10, 10, 10, .22);
}

.project-location-map .project-location-map__tooltip {
  margin-left: 2px;
  padding: 7px 10px 8px;
  border: 0;
  border-radius: 0;
  background: #0c0c0c;
  box-shadow: 0 8px 22px rgba(10, 10, 10, .2);
  color: #fff;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
}

.project-location-map .project-location-map__tooltip::before {
  left: -7px;
  margin-top: -7px;
  border-width: 7px 7px 7px 0;
  border-right-color: #0c0c0c;
}

.project-location-map__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px 16px;
  border-top: 1px solid rgba(140, 118, 89, .2);
  background: #faf7f3;
  color: #161616 !important;
}

.project-location-map__caption-project {
  color: #8c7659 !important;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.project-location-map__caption-place {
  color: rgba(22, 22, 22, .66) !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 639px) {
  .project-location-map__canvas {
    height: clamp(390px, 105vw, 430px);
  }

  .project-location-map .leaflet-tile-pane {
    filter: grayscale(.42) sepia(.16) saturate(.95) brightness(1.02) contrast(1.05);
  }

  .project-location-map__marker-pulse {
    width: 40px;
    height: 40px;
  }

  .project-location-map__marker-dot {
    width: 20px;
    height: 20px;
  }

  .project-location-map .project-location-map__tooltip {
    padding: 8px 11px 9px;
    font-size: 18px;
  }

  .project-location-map__caption-place { font-size: 14px; }
}

.project-location-map__fallback {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  padding: 24px;
  background: #e8ded2;
  color: #161616 !important;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  text-decoration: none;
}

.project-location-map__fallback strong {
  color: #8c7659;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 28px;
}

@keyframes project-location-pulse {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.7); }
  75%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); }
}

@media (min-width: 640px) {
  .project-location-map__canvas {
    height: clamp(420px, 40vw, 540px);
  }

  .project-location-map__caption {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 17px max(32px, calc((100vw - 1152px) / 2 + 32px)) 19px;
  }

  .project-location-map .project-location-map__tooltip {
    padding: 8px 13px 9px;
    font-size: clamp(19px, 2vw, 24px);
  }

  .project-location-map__caption-project { font-size: 30px; }
  .project-location-map__caption-place { font-size: 13px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .project-location-map__marker-pulse { display: none; animation: none; }
}
