/* Quiet, brand-led city network map. */
.offices-section .trust-heading .label {
  display: none;
}

.offices-section .trust-heading {
  margin-bottom: 38px;
}

.office-map-wrap.amap-map-wrap {
  position: relative;
  min-height: 560px;
  background: #073944;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  box-shadow: 0 30px 60px -38px rgba(1, 29, 37, .78);
  isolation: isolate;
}

.office-map-wrap.amap-map-wrap:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 401;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 68% 20%, rgba(183, 131, 94, .12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .045), transparent 45%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .13);
}

#office-region-map {
  height: 560px;
  min-height: 560px;
  background: #073944;
}

.amap-map-footer,
#office-region-map .leaflet-control-zoom {
  display: none !important;
}

#office-region-map .leaflet-control-attribution {
  right: auto;
  left: 10px;
  bottom: 8px;
  max-width: calc(100% - 20px);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(5, 38, 49, .68);
  color: rgba(215, 231, 227, .42);
  font-size: 8px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

#office-region-map .leaflet-control-attribution a {
  color: rgba(215, 231, 227, .56);
}

#office-region-map .leaflet-interactive {
  transition: fill .32s ease, fill-opacity .32s ease, stroke .32s ease, stroke-width .32s ease;
}

.office-network-line {
  stroke-linecap: round;
}

.office-city-marker {
  background: none;
  border: 0;
}

.city-map-dot {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #dce8e4;
  background: #5f8f91;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(133, 183, 179, .12), 0 4px 12px rgba(0, 24, 31, .45);
}

.city-map-name {
  position: absolute;
  top: -3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(231, 239, 236, .82);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 18px;
  text-shadow: 0 2px 7px rgba(1, 28, 36, .92);
}

.city-label-right .city-map-name { left: 24px; }
.city-label-left .city-map-name { right: 24px; }

.office-city-marker.is-selected .city-map-dot {
  background: #b7835e;
  border-color: #fff6ec;
  box-shadow: 0 0 0 7px rgba(183, 131, 94, .18), 0 4px 12px rgba(0, 24, 31, .46);
}

.office-city-marker.is-selected .city-map-name {
  border: 0;
  background: transparent;
  color: #f2c8a7;
  font-weight: 600;
}

@media (max-width: 760px) {
  .offices-section .trust-heading { margin-bottom: 28px; }
  .office-map-wrap.amap-map-wrap,
  #office-region-map {
    min-height: 430px;
    height: 430px;
  }
  .city-map-name { font-size: 12px; }
  #office-region-map .leaflet-control-attribution { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  #office-region-map .leaflet-interactive { transition: none; }
}
