/* The globe map, after Mira's: grey globe, round photo pins, one count pin when far out. Loaded after site.css. */
.mapwrap { background: transparent; }
/* MapLibre's stylesheet loads later and sets position: relative on the map box, which collapses it to no height. */
.mapwrap .map, .mapwrap .map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapwrap .map { opacity: 0; transition: opacity 0.9s var(--ease); }
.mapwrap .maplibregl-canvas { filter: grayscale(1); }
.mapwrap.is-ready .map { opacity: 1; }
.mapwrap.is-failed::after { content: 'The map could not load'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); }
.map__overlay { background: transparent; backdrop-filter: none; cursor: pointer; }
.map__overlay span { background: none; padding: 0; font-family: var(--display); font-size: 2.75rem; font-weight: 400; letter-spacing: -0.005em; text-transform: none; color: var(--ink); text-shadow: 0 0 1.2rem #fff, 0 0 0.4rem #fff; }
.map__zoom { position: absolute; right: 0.4rem; bottom: 2.6rem; z-index: 6; display: flex; flex-direction: column; gap: 0.6rem; }
.map__zoom button { width: 2.6rem; height: 2.6rem; font-family: var(--text); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--ink); }
.map__zoom button:hover { opacity: 0.55; }
.mpin { cursor: pointer; }
.mpin--site { display: flex; align-items: center; gap: 0.55rem; height: 2.7rem; padding: 0 1.15rem; border-radius: 99rem; background: var(--ink); color: #fff; border: 2px solid #fff; box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.28); white-space: nowrap; transition: background 0.3s; }
.mpin--site:hover { background: #000; }
.mpin--site img { height: 1.05rem; width: auto; display: block; }
.mpin--site span { font-family: var(--display); font-size: 1rem; }
.mpin--site i { font-style: normal; font-family: var(--display); font-size: 1rem; line-height: 1; padding-left: 0.55rem; border-left: 1px solid rgba(255, 255, 255, 0.4); }
.is-far .mpin--site, .is-far .mpin--place { display: none; }
.mpin--count { width: 3.3rem; height: 3.3rem; border-radius: 99rem; background: #5f5f5f; color: #fff; display: grid; place-items: center; font-family: var(--text); font-weight: 300; font-size: 1.15rem; box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.mpin--count:hover { transform: scale(1.1); }
.mpin--place { width: 11px; height: 11px; border-radius: 99rem; background: #fff; border: 2px solid var(--ink); }
.maplibregl-map { font-family: var(--text); }
.maplibregl-popup-content { border-radius: 0; padding: 0.9rem 1.1rem; font-size: 13px; line-height: 1.45; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16); }
.maplibregl-popup-content b { font-family: var(--display); font-weight: 400; font-size: 18px; display: block; }
.maplibregl-popup-content a { text-decoration: underline; }
.maplibregl-ctrl-attrib { font-size: 10px; }
@media (max-width: 640px) {
  .map__overlay span { font-size: 1.9rem; }
  .mpin--site { height: 2.4rem; padding: 0 0.9rem; }
}
