/* PeakMade Map — the Landing Page's Neighborhood › Interactive map on any page, classes renamed pmmap- so the two
   plugins never clash. Fonts come from the page; the brand color from PeakMade › Map › Settings (--pmmap-brand, used
   exactly as entered). Plain, scoped resets keep the theme's button and list styles out of the list. */
.pmmap {
  --pmmap-r: 28px; --pmmap-r-sm: 18px; --pmmap-ink-2: #6E6E73;
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; align-items: stretch; margin: 24px 0; text-align: left;
  font-size: 16px; line-height: 1.4;
}
.pmmap *, .pmmap *::before, .pmmap *::after { box-sizing: border-box; }
.pmmap :where(p, ul, li) { margin: 0; padding: 0; }
.pmmap ul { list-style: none; }
.pmmap button { margin: 0; min-height: 0; box-shadow: none; font: inherit; color: inherit; text-transform: none; letter-spacing: normal; line-height: 1.3; }
.pmmap :focus-visible { outline: 3px solid color-mix(in srgb, var(--pmmap-brand) 70%, transparent); outline-offset: 2px; }
.pmmap[data-list="below"], .pmmap[data-list="none"] { grid-template-columns: minmax(0, 1fr); }
.pmmap[data-list="below"] .pmmap-list { order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.pmmap[data-list="below"] .pmmap-all { grid-column: 1 / -1; justify-self: start; }
.pmmap-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pmmap .pmmap-all { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 16px; border: 1.5px solid var(--pmmap-brand); border-radius: 980px; background: #FFFFFF; color: var(--pmmap-brand); font-size: 14px; font-weight: 600; cursor: pointer; }
.pmmap .pmmap-all[aria-pressed="true"] { background: var(--pmmap-brand); color: #FFFFFF; }
.pmmap-all span { font-weight: 500; opacity: .75; }
.pmmap-cat { border-radius: var(--pmmap-r-sm); background: #FFFFFF; color: #1D1D1F; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04); }
.pmmap-cat.is-on { box-shadow: 0 0 0 2px var(--pmmap-brand); }
.pmmap .pmmap-ch { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 0; background: none; color: #1D1D1F; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.pmmap-ch i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.pmmap-ch span { font-size: 13px; font-weight: 500; color: var(--pmmap-ink-2); }
.pmmap-cat ul { padding: 0 8px 10px; }
.pmmap .pmmap-cat li button { display: grid; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: #1D1D1F; font-size: 15px; text-align: left; cursor: pointer; }
.pmmap .pmmap-cat li button:hover, .pmmap .pmmap-cat li button.is-sel { background: #F2F2F4; }
.pmmap-cat li small { font-size: 13px; color: var(--pmmap-ink-2); }
.pmmap-map { position: relative; overflow: hidden; min-height: 540px; border-radius: var(--pmmap-r); background: #F5F5F7; }
.pmmap-wait { display: grid; place-items: center; height: 100%; min-height: inherit; color: var(--pmmap-ink-2); font-size: 15px; }
.pmmap .pmmap-pin { position: absolute; width: 26px; height: 26px; margin: -26px 0 0 -13px; padding: 0; border: 0; border-radius: 50% 50% 50% 0; background: var(--c, #8A8F94); box-shadow: 0 2px 6px rgba(0, 0, 0, .3), inset 0 0 0 3px rgba(255, 255, 255, .9); transform: rotate(-45deg); cursor: pointer; transition: transform .2s, opacity .2s; }
.pmmap .pmmap-pin.is-sel { transform: rotate(-45deg) scale(1.35); z-index: 3; }
.pmmap .pmmap-pin.is-dim { opacity: .18; pointer-events: none; }
.pmmap .pmmap-pin.is-home { width: 64px; height: 64px; margin: -64px 0 0 -32px; background: var(--pmmap-brand); box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 3px #FFFFFF; z-index: 4; }
.pmmap-pin.is-home span { display: grid; place-items: center; width: 100%; height: 100%; transform: rotate(45deg); }
.pmmap-pin.is-home span img { width: 62%; height: 62%; object-fit: contain; }
.pmmap-pin.is-home img.is-white { filter: brightness(0) invert(1); }
.pmmap .pmmap-pin.is-image { width: 56px; height: 56px; margin: -56px 0 0 -28px; border-radius: 0; background: none; box-shadow: none; transform: none; }
.pmmap-pin.is-image img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.pmmap-card { display: grid; gap: 4px; max-width: 240px; padding: 2px 4px 4px; font-size: 14px; color: #1D1D1F; }
.pmmap-card b { font-size: 15.5px; }
.pmmap-card span { color: var(--pmmap-ink-2); }
.pmmap-card .pmmap-tag { justify-self: start; padding: 2px 8px; border-radius: 980px; background: color-mix(in srgb, var(--c) 16%, #FFFFFF); color: var(--c); font-size: 12px; font-weight: 600; }
.pmmap-card a { margin-top: 4px; color: var(--pmmap-brand); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
  .pmmap, .pmmap[data-list="below"] { grid-template-columns: minmax(0, 1fr); }
  .pmmap-list, .pmmap[data-list="below"] .pmmap-list { order: 2; display: flex; }
  .pmmap-map { min-height: 400px; }
}

/* Icon pins (Pins › Icon inside) and hand-drawn routes */
.pmmap .pmmap-pin.is-icon { width: 34px; height: 34px; margin: -34px 0 0 -17px; }
.pmmap-pin.is-icon svg { display: block; width: 60%; height: 60%; margin: 20%; transform: rotate(45deg); fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pmmap .pmmap-pin.is-icon.is-sel { transform: rotate(-45deg) scale(1.25); }
.pmmap[data-pins="icons"] .pmmap-ch { grid-template-columns: 28px minmax(0, 1fr) auto; }
.pmmap[data-pins="icons"] .pmmap-ch i { display: grid; place-items: center; width: 28px; height: 28px; }
.pmmap-ch i svg { width: 16px; height: 16px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pmmap-routes { display: grid; gap: 4px; padding: 10px 8px; border-radius: var(--pmmap-r-sm); background: #FFFFFF; color: #1D1D1F; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04); }
.pmmap-rh { padding: 4px 8px 6px; font-size: 16px; font-weight: 600; }
.pmmap .pmmap-routes button { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 10px; background: none; color: #1D1D1F; font-size: 15px; text-align: left; cursor: pointer; }
.pmmap .pmmap-routes button:hover, .pmmap .pmmap-routes button.is-sel { background: #F2F2F4; }
.pmmap-routes small { display: block; font-size: 13px; color: var(--pmmap-ink-2); }
.pmmap-routes i { width: 30px; height: 6px; border-radius: 3px; background: var(--c); }
.pmmap-routes i.is-walk { background: radial-gradient(circle, var(--c) 2.5px, transparent 3px) 0 50% / 8px 6px repeat-x; }
.pmmap-routes i.is-dash { background: repeating-linear-gradient(90deg, var(--c) 0 9px, transparent 9px 14px); }
.pmmap-rstop { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px var(--c); transition: opacity .25s; }
.pmmap-rlabel { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 980px; background: #FFFFFF; color: #1D1D1F; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); font-size: 12.5px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%); transition: opacity .25s; }
.pmmap-rlabel i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pmmap-rstop.is-dim, .pmmap-rlabel.is-dim { opacity: .15; }

/* Areas: list swatch and the name on the map */
.pmmap-areas .pmmap-asw { width: 30px; height: 20px; border-radius: 5px; background: color-mix(in srgb, var(--c) var(--a), #FFFFFF); box-shadow: inset 0 0 0 2px var(--c); }
.pmmap-areas .pmmap-asw.is-dash { box-shadow: none; outline: 2px dashed var(--c); outline-offset: -2px; }
.pmmap-areas .pmmap-asw.is-none { box-shadow: none; }
.pmmap-alabel { position: absolute; transform: translate(-50%, -50%); width: max-content; max-width: 240px; text-align: center; font-weight: 700; font-size: 13.5px; line-height: 1.15; letter-spacing: .01em; color: var(--c); pointer-events: none; text-shadow: 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 6px #FFFFFF, 0 0 9px #FFFFFF; transition: opacity .25s; }
.pmmap-alabel.is-dim { opacity: .3; }
@media (max-width: 640px) { .pmmap-alabel { font-size: 12px; max-width: 160px; } }

/* Credit for an area outline taken from OpenStreetMap (Areas › Outline from), under the map */
.pmmap-credit { grid-column: 2; margin: -14px 4px 0 0; text-align: right; font-size: 11.5px; line-height: 1.3; color: var(--pmmap-ink-2); }
.pmmap-credit a { color: inherit; text-decoration: underline; }
.pmmap[data-list="below"] .pmmap-credit, .pmmap[data-list="none"] .pmmap-credit, .pmmap:not(:has(.pmmap-list)) .pmmap-credit { grid-column: 1; }
@media (max-width: 860px) { .pmmap .pmmap-credit { grid-column: 1; order: 1; } .pmmap-list { order: 2; } }
/* Several buildings: the page's building has the big pin, the others a smaller one; buildings close together share one
   pin with a tag per building until zoomed in close. */
.pmmap .pmmap-pin[hidden], .pmmap .pmmap-bgrp[hidden] { display: none; }
.pmmap .pmmap-pin.is-home.is-alt { width: 44px; height: 44px; margin: -44px 0 0 -22px; z-index: 3; }
.pmmap .pmmap-pin.is-image.is-alt { width: 40px; height: 40px; margin: -40px 0 0 -20px; }
.pmmap .pmmap-bgrp { position: absolute; width: 0; height: 0; z-index: 5; }
.pmmap .pmmap-bgrp .pmmap-pin { left: 0; top: 0; }
.pmmap .pmmap-btags { position: absolute; left: 40px; top: -58px; display: grid; gap: 4px; width: max-content; }
.pmmap .pmmap-btag { padding: 4px 10px; border: 1.5px solid var(--pmmap-brand); border-radius: 980px; background: #FFFFFF; color: var(--pmmap-brand); font-size: 12.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.pmmap .pmmap-btag.is-sel, .pmmap .pmmap-btag:hover { background: var(--pmmap-brand); color: #FFFFFF; }
.pmmap-also { display: grid; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid #E5E5EA; }
.pmmap-also small { color: var(--pmmap-ink-2); font-size: 12px; }
.pmmap-card .pmmap-also button { padding: 2px 0; border: 0; background: none; color: var(--pmmap-brand); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.pmmap-blds i { width: 14px; height: 14px; margin-left: 8px; border-radius: 50% 50% 50% 0; background: var(--pmmap-brand); transform: rotate(-45deg); opacity: .45; }
.pmmap .pmmap-blds button.is-sel i { opacity: 1; }
