/* Supercanic tokens for the shared map card (_shared/gmap). */
.gmap {
  --surface: var(--card-bg);
  --paper: var(--body-bg);
  --paper-2: var(--section-alt);
  --line: var(--card-border);
  --line-soft: var(--card-border);
  --line-bright: var(--card-border);
  --ink: var(--text);
  --ink-soft: var(--muted);
  --ink-muted: var(--muted);
  --green-ink: var(--green);
  --sc-green-dim: rgba(58,171,34,0.12);
  --sc-green-glow: rgba(58,171,34,0.2);
  --r-lg: 16px;
  padding: 3rem 0;
}
.gmap .gmap-card { max-width: var(--max-w); margin: 0 auto; }
.gmap .section-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
/* Google map section (scripts/gmap.py). Light card, one green accent. */
.gmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 21, 17, 0.04), 0 12px 32px -18px rgba(14, 21, 17, 0.22);
}
.gmap-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.gmap-head h2 { margin: 4px 0 0; }
.gmap-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.gmap-line svg { flex: none; margin-top: 3px; color: var(--green-ink); }
.gmap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gmap-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.gmap-btn:hover { border-color: var(--ink); background: var(--paper); }
.gmap-btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.gmap-btn-primary:hover { background: var(--sc-green-dim); border-color: var(--sc-green-dim); color: #fff; }
.gmap-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
}
.gmap-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.gmap-frame.is-loaded iframe { opacity: 1; }
.gmap-frame noscript iframe { opacity: 1; }
.gmap-facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.gmap-facade-pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-ink);
  box-shadow: 0 0 0 8px var(--sc-green-glow);
}
.gmap-facade-pin svg { width: 24px; height: 24px; }
.gmap-frame.is-loaded .gmap-facade { display: none; }
@media (max-width: 700px) {
  .gmap-head { padding: 18px 16px 14px; }
  .gmap-frame { aspect-ratio: 4 / 3; }
  .gmap-actions { width: 100%; }
  .gmap-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gmap-frame iframe { transition: none; }
}
