/* projects-map.css — Projects island (plan §3.5). Neutral styling that sits
   inside the captured Elementor pages; tune to brand later. */
.gpm { --gpm-accent: #b8894b; --gpm-ink: #222; --gpm-line: #e3e3e3; font-family: inherit; }

.gpm-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 16px;
}
.gpm-select, .gpm-search {
  padding: 9px 12px; border: 1px solid var(--gpm-line); border-radius: 6px;
  font: inherit; background: #fff; color: var(--gpm-ink); min-width: 180px;
}
.gpm-search { flex: 1 1 220px; }
.gpm-count { color: #777; font-size: 14px; margin-left: auto; white-space: nowrap; }
.gpm-reset {
  padding: 9px 14px; border: 1px solid var(--gpm-line); border-radius: 6px;
  background: #fff; cursor: pointer; font: inherit; color: var(--gpm-ink);
}
.gpm-reset:hover { border-color: var(--gpm-accent); color: var(--gpm-accent); }

.gpm-map {
  width: 100%; height: 72vh; min-height: 540px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--gpm-line); margin-bottom: 22px; z-index: 0;
}

.gpm-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gpm-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--gpm-line); border-radius: 8px; overflow: hidden;
  background: #fff; transition: box-shadow .15s, transform .15s;
}
.gpm-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.10); transform: translateY(-2px); }
.gpm-card-img {
  display: block; height: 140px; background: #eee center/cover no-repeat;
}
.gpm-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.gpm-card-title { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--gpm-ink); }
.gpm-card-meta { font-size: 12.5px; color: #777; }

.gpm-pop { min-width: 180px; font-size: 13px; }
.gpm-pop-meta { color: #777; }
.gpm-pop a { color: var(--gpm-accent); font-weight: 600; text-decoration: none; }

.gpm-error { color: #b00; }

@media (max-width: 640px) {
  .gpm-map { height: 340px; }
  .gpm-count { margin-left: 0; }
}

/* ── Circular photo markers (WordPress qt-places look) ─────────────── */
.gpm-mk-wrap { background: transparent !important; border: 0 !important; }
.gpm-mk {
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  background-size: cover; background-position: center; background-color: #ddd;
  border: 3px solid #ffe32b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 2px 5px rgba(0, 0, 0, .35);
}
.gpm-mk-wrap:hover { z-index: 1000 !important; }
.gpm-mk-wrap:hover .gpm-mk { transform: scale(1.12); transition: transform .12s ease; }
.gpm-mk--cluster { position: relative; }
.gpm-mk__count {
  position: absolute; right: -3px; bottom: -3px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: #000; color: #fff; border: 2px solid #ffe32b; border-radius: 999px;
  font: 700 11px/1 system-ui, sans-serif;
}

/* ── Surface-band filter chips (row above the map) ─────────────────── */
.gpm-bands {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 0 0 16px;
}
.gpm-band {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: #1b1b1b; color: #fff; border: 1px solid #1b1b1b; border-radius: 999px;
  padding: 8px 15px; font: 600 12px/1 inherit; white-space: nowrap;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.gpm-band::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  background: #ffe32b; flex: none;
}
.gpm-band:hover { background: #000; }
.gpm-band.is-active { background: #ffe32b; color: #000; border-color: #000; }
.gpm-band.is-active::before { background: #000; }
