/* Maps (js/maps.js). Heights match the old WP Go Maps maps: 400px contact, 600px projects. */
.gtp-map {
  width: 100%;
  height: 400px;
  background: #e3e3e3;
}

.gtp-map--projects {
  height: 600px;
}

.gtp-map--project {
  height: 320px;
}

.pro-section__content--map {
  flex: 1;
  min-width: 0;
}

@media screen and (max-width: 767px) {
  .gtp-map--projects {
    height: 70vh;
  }
}

.gtp-map__marker {
  width: 30px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gtp-map__marker svg {
  display: block;
}

.gtp-map__marker[hidden] {
  display: none;
}

.gtp-map__count {
  position: absolute;
  top: 7px;
  left: 0;
  width: 30px;
  color: #fff;
  font: 400 12px/16px Inter, sans-serif;
  text-align: center;
}

.gtp-map__marker--many circle {
  fill: none;
}

.gtp-map .maplibregl-popup-content {
  padding: 15px 30px 15px 15px;
  border-radius: 0;
  color: #1f3764;
  font-family: Inter, sans-serif;
}

.gtp-map .gtp-map__popup h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #64bed2;
  font: 400 16px/1.3 CeraStencilPro-Light, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gtp-map .gtp-map__popup p {
  margin: 0;
  color: #1f3764;
  font-size: 13px;
  line-height: 1.4;
}

.gtp-map .gtp-map__popup .gtp-map__link {
  margin-top: 8px;
}

.gtp-map .gtp-map__popup .gtp-map__link a {
  color: #64bed2;
  text-decoration: underline;
}

.gtp-map .gtp-map__popup ul {
  max-height: 220px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.gtp-map .gtp-map__popup li {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}

.gtp-map .gtp-map__popup li::before,
.gtp-map .gtp-map__popup li::marker {
  content: none;
}

.gtp-map .gtp-map__popup li + li {
  margin-top: 6px;
}

.gtp-map .gtp-map__popup a {
  border: 0;
  box-shadow: none;
  color: #1f3764;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.gtp-map .gtp-map__popup a:hover,
.gtp-map .gtp-map__popup a:focus {
  color: #64bed2;
}

.gtp-map .maplibregl-popup-close-button {
  top: 4px;
  right: 6px;
  border: 0;
  background: none;
  color: #1f3764;
  font-size: 20px;
}

.gtp-map .maplibregl-popup-close-button:focus:not(:focus-visible) {
  outline: none;
}

.gtp-map .maplibregl-ctrl-attrib a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}
