.wp-core-locations-map {
  position: relative;
}

.wp-core-locations-map__notice {
  margin: 0 0 1rem;
  color: #586171;
  font-size: 0.95rem;
}

.wp-core-locations-map__canvas {
  width: 100%;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3fb 0%, #dfe8f5 100%);
  border: 1px solid rgba(21, 64, 150, 0.1);
}

.wp-core-locations-map .gm-style img {
  max-width: none;
  border-radius: 0;
}

.wp-core-locations-map__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
  color: #586171;
  font-size: 0.95rem;
  text-align: center;
}

.wp-core-location-card {
  width: 100%;
  max-width: 280px;
  color: #16213d;
}

.wp-core-location-card__media {
  margin: 0;
}

.wp-core-location-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto;
  border-radius: 24px 24px 0 0 !important;
}

.wp-core-location-card__body {
  padding: 0.7rem 0.8rem 0.82rem;
}

.wp-core-location-card h4 {
  margin: 0 0 0.28rem;
  color: #16213d;
  font-size: 1rem !important;
  line-height: 1.15;
}

.wp-core-location-card p {
  margin: 0;
  color: #586171;
  font-size: 0.72rem !important;
  line-height: 1.35;
}

.wp-core-location-card p+p {
  margin-top: 0.16rem;
}

.wp-core-location-card a {
  color: var(--color-primary);
  text-decoration: none;
}

.wp-core-location-card a:hover {
  text-decoration: underline;
}

.wp-core-locations-map .gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  max-height: none !important;
}

.wp-core-locations-map .gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
  padding: 0 !important;
}

.wp-core-locations-map .gm-style .gm-style-iw-chr {
  position: absolute !important;
  right: 7px !important;
  top: 5px !important;
}

.wp-core-locations-map .gm-style .gm-ui-hover-effect {
  top: 8px !important;
  right: 8px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96) !important;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(17, 26, 52, 0.16);
}

.wp-core-locations-map .gm-style .gm-ui-hover-effect span {
  margin: 3px !important;
}

.wp-core-locations-map .gm-style .gm-style-iw-tc {
  display: none;
}
