/* Static events map (share-sections/events-map.php) — ported from production. */

.map_head_v2 {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.map_title_v2 {
  margin: 0;
  text-transform: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 57px;
  letter-spacing: -1.69px;
  color: var(--ink-900);
}

.map_subtitle_v2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 21px;
  line-height: 24px;
  color: #5A5D75;
}

.map_content {
  margin-top: 20px;
  position: relative;
}

.map_content img {
  border-radius: 20px;
}

.map_content-mob {
  display: none;
}

@media screen and (max-width: 767px) {
  .map_body {
    padding: 20px 0 !important;
  }

  .map_content-mob {
    display: block;
    margin: 20px 0;
    height: 400px;
    position: relative;
  }

  .map_content {
    display: none;
  }

  .map_head {
    margin: 0 16px 4px 16px;
  }

  .map_head img {
    float: left;
  }

  .marker {
    margin-right: 0;
  }
}

@media screen and (min-width: 768px) {
  .map_head {
    display: flex;
  }
}

.panzoom-parent {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
  display: block;
}

#panzoom-element {
  height: 100%;
  width: auto;
  max-width: none !important;
  display: block;
  touch-action: none;
}

.zoom-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #F2F2F2;
  padding: 6px 10px;
  color: #333333;
  font-size: 12px;
  font-weight: 300;
  max-width: 54px;
  min-width: 54px;
}

.map_controls {
  position: absolute;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 10px 10px 10px;
}

.map-buttons {
  display: flex;
  gap: 8px;
}

.map-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #F2F2F2;
  border-radius: 8px;
}

.map-btn svg {
  width: 15px;
  height: 15px;
  display: block;
  min-width: 15px;
}

@media screen and (max-width: 576px) {
  section.map {
    padding: var(--space-8) 0;
  }

  .map_body {
    padding: 0 !important;
  }

  .map_head_v2 {
    gap: var(--space-2);
  }

  .map_title_v2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .map_subtitle_v2 {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-400);
  }

  .map_content-mob {
    margin: var(--space-6) 0 0;
    height: 396px;
  }

  .panzoom-parent {
    border-radius: 20px;
  }
}
