/* Scoped styles: contact form and existing contact links are not changed. */
.ws-contact-map {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin-top: 26px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line, #3c4655);
  border-radius: 14px;
  background: var(--surface, #111827);
  color: var(--text, #f5f2ea);
}
.ws-contact-map h2,
.ws-contact-map h3 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ws-contact-map-notice,
.ws-contact-map-hint {
  margin: 12px 0 0;
  color: var(--muted, #b5bdc9);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.ws-contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
}
.ws-contact-map-toggle {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: var(--gold-light, #dbeafe);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.ws-contact-map-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--gold-light, #dbeafe);
  font-size: 13px;
  line-height: 1.6;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.ws-contact-map-toggle:focus-visible,
.ws-contact-map-link:focus-visible {
  outline: 2px solid var(--gold-light, #dbeafe);
  outline-offset: 4px;
}
.ws-contact-map-panel {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line, #3c4655);
  border-radius: 10px;
  background: #fff;
}
.ws-contact-map-panel[hidden],
.ws-contact-map-hint[hidden] { display: none; }
.ws-contact-map-panel iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(260px, 32vw, 360px);
  border: 0;
  color-scheme: light;
}
.ws-contact-map--footer { margin-block: 0 40px; scroll-margin-top: 110px; }
.ws-contact-map--footer .ws-contact-map-notice { max-width: 80ch; }
.ws-contact-map--footer .ws-contact-map-panel iframe { height: clamp(280px, 32vw, 420px); }
@media (max-width: 480px) {
  .ws-contact-map-actions { align-items: stretch; flex-direction: column; }
  .ws-contact-map-toggle { width: 100%; }
}
