/**
 * Master Profile v2 — Location section (address + map)
 * Issue #8 (epic-movewvge-df9ze) — design brief: docs/design-system-v2/master-profile-proteam-and-map.md §5.4
 * Tokens-only — no hardcoded colors.
 */

.mp-location {
  /* mp-location reuses .mp-section-card frame; nothing to override at root */
}

.mp-location__address {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin: 0 0 var(--space-4);
  line-height: 1.5;
}

.mp-location__map {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 240px;
  max-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.mp-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Click-to-load placeholder (privacy + LCP) */
.mp-location__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: var(--space-4);
  text-align: center;
  transition: background var(--transition-fast);
}

.mp-location__placeholder:hover,
.mp-location__placeholder:focus-visible {
  background: var(--color-surface);
  outline: none;
}

.mp-location__placeholder span {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mp-location__placeholder small {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.mp-location__provider {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: var(--space-2) 0 0;
  letter-spacing: 0.04em;
}

.mp-location__cta {
  margin-top: var(--space-4);
  /* min touch target 44px is provided by .btn--primary */
}

/* Mobile: taller aspect for readability */
@media (max-width: 768px) {
  .mp-location__map {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
}
