/* Collective Metals — map.css
   Shared by the inline maps on the site and the standalone full-size SVG files,
   so a map looks the same wherever it is opened. Units are SVG user units. */

.map { display: block; width: 100%; height: auto; font-family: "Archivo", system-ui, sans-serif; }
.map text { font-family: inherit; }
.map-bg { fill: #F7F9FB; }
.map-frame { fill: none; stroke: #13263F; stroke-width: 1.5; }

/* geology fills carry their own colours */
.map .geology path, .map .claims path, .map .claims-regional, .map .basin { fill-rule: evenodd; }
.map .geology path { stroke: #FFFFFF; stroke-width: 0.6; stroke-opacity: 0.7; }
.map .lineaments path { fill: none; stroke: #4B5D74; stroke-width: 1.4; stroke-dasharray: 7 5; }
.map .neighbours path { fill: none; stroke: #7F93AA; stroke-width: 0.9; }
.map .road-casing { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.map .road { fill: none; stroke: #0066CC; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.map .claims path { fill: #33CC66; fill-opacity: 0.22; stroke: #1E8E47; stroke-width: 3; stroke-linejoin: round; }
.map .claim-label text { fill: #0A2A52; font-size: 17px; font-weight: 700; paint-order: stroke; stroke: #F7F9FB; stroke-width: 4px; stroke-linejoin: round; }
.map .claim-label .ha { font-size: 14px; font-weight: 500; }

.map .smdi-in circle, .map .smdi-in path { stroke: #FFFFFF; stroke-width: 2; }
.map .smdi-in.k-u circle { fill: #0A2A52; }
.map .smdi-in.k-ree path, .map .smdi-in.k-other circle { fill: #0066CC; }
.map .smdi-out circle, .map .smdi-out path { fill: #FFFFFF; stroke: #0A2A52; stroke-width: 1.6; }
.map .smdi-id { fill: #0A2A52; font-size: 14px; font-weight: 700; paint-order: stroke; stroke: #F7F9FB; stroke-width: 4px; stroke-linejoin: round; }
.map a:focus-visible circle, .map a:focus-visible path { stroke: #33CC66; stroke-width: 4; }
.map a:hover circle, .map a:hover path { stroke: #33CC66; }

.map .basin { fill: #DCE6F2; stroke: #3399CC; stroke-width: 1.2; }
.map .basin-label { fill: #3399CC; font-size: 30px; font-weight: 600; font-style: italic; }
.map .shears path { fill: none; stroke: #8DA0B5; stroke-width: 1.6; stroke-dasharray: 10 6; }
.map-regional .map-scale text, .map-regional .map-north text { font-size: 20px; }
.map .deposit circle { fill: #0A2A52; stroke: #FFFFFF; stroke-width: 1.5; }
.map .deposit-label { fill: #13263F; font-size: 23px; font-weight: 600; paint-order: stroke; stroke: #F7F9FB; stroke-width: 4px; stroke-linejoin: round; }
.map .claims-regional { fill: #33CC66; stroke: #1E8E47; stroke-width: 1.5; }
.map .rocas-ring { fill: none; stroke: #1E8E47; stroke-width: 2.5; }
.map .rocas-label { fill: #0A2A52; font-size: 30px; font-weight: 750; paint-order: stroke; stroke: #F7F9FB; stroke-width: 5px; stroke-linejoin: round; }

.map-ticks line { stroke: #13263F; stroke-width: 1; }
.map-ticks text { fill: #4B5D74; font-size: 11px; }
.map-scale text { fill: #13263F; font-size: 13px; }
.map-scale .sb-panel { fill: #FFFFFF; fill-opacity: 0.9; }
.map-scale .sb-dark { fill: #13263F; }
.map-scale .sb-light { fill: #FFFFFF; stroke: #13263F; stroke-width: 1; }
.map-north path { fill: #13263F; }
.map-north text { fill: #13263F; font-size: 13px; font-weight: 700; }

/* ---------- page furniture around a map (site only) ---------- */
.map-figure { margin: 0; }
.map-scroll { border-radius: 3px; overflow: hidden; }
.map-figure figcaption { font-size: 0.8125rem; color: #4B5D74; margin-top: 12px; max-width: 80ch; line-height: 1.5; }
.map-actions { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; font-size: 0.95rem; }
.map-hint { display: none; font-size: 0.8125rem; color: #4B5D74; margin: 8px 0 0; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; font-size: 0.9rem; }
.legend li { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.legend svg { flex: none; width: 28px; height: 18px; }

/* Phones: keep labels legible by letting the map run wider than the screen. */
@media (max-width: 700px) {
  .map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .map-scroll .map-property, .map-scroll .map-regional { width: 760px; max-width: none; }
  .map-hint { display: block; }
}
