.atlas-page {
  padding-top: 24px;
}
.atlas-title .page-hero {
  padding-bottom: 18px;
}
.atlas-title .page-hero h1 {
  font-size: clamp(36px, 4vw, 55px);
}
.atlas-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 29%);
  grid-template-areas: "tools tools" "map index" "caption index";
  border: 1px solid #b8c2ae;
  border-radius: 7px;
  overflow: hidden;
  background: var(--white);
}
.atlas-tools {
  grid-area: tools;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 15px;
  background: #f0f1e6;
  border-bottom: 1px solid #c1cab7;
}
.atlas-tools .searchbox {
  max-width: 450px;
}
.atlas-tools .searchbox,
.atlas-tools .selectbox {
  min-height: 40px;
}
.atlas-tools .selectbox select {
  padding-top: 6px;
  padding-bottom: 6px;
}
.atlas-tools .selectbox:after {
  top: 14px;
}
.atlas-board {
  grid-area: map;
  position: relative;
  isolation: isolate;
  height: clamp(414px, 58vh, 660px);
  background: #e8ecdd;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.atlas-board:focus-visible {
  outline-offset: -4px;
}
.atlas-board.moving {
  cursor: grabbing;
}
.atlas-board canvas,
.mini-map canvas,
.atlas-pins {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  display: block;
}
.atlas-pins {
  pointer-events: none;
}
.atlas-pin,
.atlas-cluster {
  position: absolute;
  pointer-events: auto;
  display: grid;
  place-items: center;
}
.atlas-pin {
  width: 32px;
  height: 35px;
  transform: translate(-50%, -91%);
  z-index: 2;
}
.pin-drop {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.7px solid #fff9e8;
  border-radius: 50% 50% 50% 2px;
  background: #356346;
  transform: rotate(-45deg);
  box-shadow: -1px 1px 2px #3a4a3d66;
}
.pin-drop i {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: #f5f1d9;
}
.atlas-pin:focus-visible,
.atlas-pin:hover,
.atlas-pin.is-focus {
  z-index: 5;
}
.atlas-pin:hover .pin-drop,
.atlas-pin:focus-visible .pin-drop,
.atlas-pin.is-focus .pin-drop,
.mini-center .pin-drop {
  background: #a55a35;
  width: 25px;
  height: 25px;
}
.atlas-pin b {
  color: #254733;
  background: #fffbea;
  border: 1px solid #b9c0a8;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  padding: 2px 7px;
  pointer-events: none;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.atlas-cluster {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e3ead6;
  color: #2c5439;
  border: 1.5px solid #6c866b;
  box-shadow: 0 0 0 3px #f7f6e4b8;
  transform: translate(-50%, -50%);
  font:
    bold 15px Georgia,
    serif;
  z-index: 1;
}
.atlas-cluster:hover,
.atlas-cluster:focus-visible {
  color: white;
  background: var(--green);
}
.atlas-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 6;
  display: grid;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #a3af9c;
  box-shadow: 0 2px 6px #36492f24;
}
.atlas-controls button {
  width: 39px;
  height: 39px;
  font:
    22px Georgia,
    serif;
  color: var(--green);
  background: #fffcf2;
  display: grid;
  place-items: center;
  padding: 0;
}
.atlas-controls button + button {
  border-top: 1px solid #c2c9b8;
}
.atlas-controls button:hover {
  background: #e6eadb;
}
.atlas-controls button:focus-visible {
  outline-offset: -4px;
}
.atlas-controls .atlas-reset {
  font-size: 16px;
}
.atlas-compass {
  position: absolute;
  left: 14px;
  top: 12px;
  background: #fcf9e8ed;
  color: #56694f;
  text-align: center;
  font:
    600 10px Georgia,
    serif;
  border: 1px solid #bdc6af;
  border-radius: 16px;
  width: 23px;
  padding: 3px 0 4px;
  pointer-events: none;
}
.atlas-compass span {
  display: block;
  margin: 3px auto 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 3px 8px;
  border-color: transparent transparent #536950;
}
.atlas-scale {
  position: absolute;
  left: 15px;
  bottom: 13px;
  padding: 1px 0 0;
  line-height: 15px;
  border: solid #576d54;
  border-width: 0 1px 2px;
  color: #34533a;
  text-align: center;
  background: #f5f4e0dd;
  font-size: 11px;
  pointer-events: none;
}
.atlas-caption {
  grid-area: caption;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 12px;
  padding: 6px 12px;
  font-size: 12px;
  color: #546651;
  background: #eff0e4;
}
.atlas-caption a,
.atlas-footnote a,
.walk-refs a,
.local-reading small a,
.specimen small a,
.loc-source a,
.reading-section small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atlas-index {
  grid-area: index;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid #bdc7b3;
  position: relative;
}
#atlas-count {
  padding: 15px 17px 12px;
  border-bottom: 1px solid var(--line);
  background: #faf9ef;
}
#atlas-count h2 {
  font-size: 24px;
  line-height: 1.4;
}
#atlas-count p,
.atlas-footnote {
  font-size: 13px;
  color: var(--muted);
}
#atlas-results {
  flex: 1 1 0;
  overflow: auto;
  scrollbar-gutter: stable;
  padding: 0 13px 12px 17px;
}
.atlas-row {
  border-bottom: 1px solid #d9dfce;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}
.atlas-row > a:first-child {
  flex: 1;
  min-width: 0;
}
.atlas-row b {
  display: block;
  font: 700 17px/1.5 var(--serif);
}
.atlas-row small {
  color: var(--muted);
  font-size: 12px;
}
.atlas-row a:hover b {
  color: var(--ochre);
}
.atlas-row button {
  flex: none;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #d3dac8;
  border-radius: 50%;
}
.atlas-row button:hover {
  background: #e8edde;
}
.atlas-external {
  flex: none;
  text-decoration: underline;
  color: #5e705b;
  font-size: 12px;
}
.atlas-more {
  margin: 15px 0 4px;
}
.atlas-footnote {
  margin-top: 12px;
}
.park-position {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 24px;
  align-items: stretch;
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.park-position h2,
.reading-section h2,
.walk-index h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.4;
  margin: 5px 0 9px;
}
.park-position p,
.park-position li small {
  color: var(--muted);
}
.park-position h3 {
  font-size: 17px;
  font-family: var(--sans);
  margin: 16px 0 6px;
}
.park-position ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.park-position li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  font-size: 15px;
}
.park-position li a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.park-position li small {
  font-size: 12px;
  white-space: nowrap;
}
.loc-source {
  display: block;
  color: var(--muted);
  margin-top: 9px;
}
.mini-map {
  position: relative;
  display: grid;
  min-height: 195px;
  border: 1px solid #bdc7b3;
  border-radius: 5px;
  overflow: hidden;
}
.mini-map > b {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 3px;
  border: 1px solid #adb99e;
  padding: 6px 10px;
  color: var(--green);
  background: #fffbef;
  font-size: 14px;
}
.mini-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
}
.editorial,
.reading-section,
.walk-index {
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid #bcc7ae;
}
.editorial h2 {
  font-size: clamp(27px, 3vw, 41px);
  line-height: 1.36;
  margin: 7px 0 10px;
}
.editorial p,
.reading-section p {
  line-height: 1.9;
  color: #435746;
}
.walk-intro,
.local-reading p {
  max-width: 52em;
}
.local-reading p + p {
  margin-top: 8px;
}
.local-reading small,
.reading-section small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.walk-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.9fr);
  gap: clamp(20px, 4vw, 48px);
  margin: 19px 0 8px;
  align-items: start;
}
.walk-body h3 {
  font-size: 22px;
  margin: 0 0 8px;
}
.walk-stops ol {
  list-style: none;
  counter-reset: walk;
  padding: 0;
  margin: 0;
}
.walk-stops li {
  counter-increment: walk;
  position: relative;
  padding: 1px 0 17px 35px;
}
.walk-stops li + li {
  padding-top: 5px;
}
.walk-stops li:not(:last-child):after {
  position: absolute;
  content: "";
  left: 10px;
  top: 24px;
  bottom: -7px;
  width: 1px;
  background: #b2bfa6;
}
.walk-stops li:before {
  content: counter(walk);
  position: absolute;
  left: 0;
  top: 6px;
  width: 21px;
  height: 21px;
  border: 1px solid #789170;
  border-radius: 50%;
  text-align: center;
  font:
    600 13px/20px Georgia,
    serif;
  color: #385d3f;
  background: #f3f4e8;
}
.walk-stops h4 {
  margin: 0 0 3px;
  font: 700 20px/1.6 var(--serif);
}
.walk-margin {
  padding: 17px 20px;
  background: #edf0e4;
  border-left: 2px solid #9ba98b;
}
.walk-margin p {
  font-size: 15px;
}
.walk-margin h3:not(:first-child) {
  margin-top: 16px;
}
.walk-refs {
  color: var(--muted);
  font-size: 14px;
}
.walk-refs a {
  display: block;
  margin-top: 6px;
}
.specimen {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.specimen h3 {
  font-size: 21px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.specimen h3 span {
  color: #667457;
  font: 500 15px var(--sans);
}
.specimen p {
  margin-top: 3px;
}
.reading-section details summary {
  color: var(--green);
}
.park-years {
  margin: 0;
}
.park-years div {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.park-years dt {
  font-weight: 650;
  flex: none;
}
.park-years dd {
  margin: 0;
  color: #495b49;
}
.walk-index > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.walk-index a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.walk-index small,
.walk-index b {
  display: block;
}
.walk-index small {
  color: var(--muted);
}
.walk-index b {
  font: 700 19px/1.55 var(--serif);
}
.walk-index a:hover b {
  color: var(--ochre);
}
@media (max-width: 760px) {
  .atlas-workspace {
    grid-template-columns: 1fr;
    grid-template-areas: "tools" "map" "caption" "index";
  }
  .atlas-board {
    height: clamp(320px, 52svh, 475px);
  }
  .atlas-controls button {
    width: 38px;
    height: 38px;
  }
  .atlas-pins .atlas-pin {
    width: 34px;
    height: 35px;
  }
  .atlas-index {
    border-left: 0;
    border-top: 1px solid #bdc7b3;
  }
  #atlas-results {
    max-height: 355px;
    flex: auto;
  }
  .atlas-tools {
    padding: 8px;
    gap: 7px;
  }
  .atlas-tools .searchbox {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
  }
  .atlas-tools .searchbox input {
    min-width: 0;
    font-size: 14px;
  }
  .atlas-tools .selectbox select {
    font-size: 14px;
  }
  .atlas-caption {
    padding: 6px 8px;
  }
  .atlas-footnote {
    font-size: 12px;
  }
  .walk-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .park-position {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mini-map {
    min-height: 165px;
  }
}
@media (max-width: 540px) {
  .atlas-page {
    padding-top: 12px;
  }
  .atlas-page.wrap {
    width: calc(100% - 24px);
  }
  .mast nav {
    gap: clamp(12px, 4.8vw, 26px);
  }
  .walk-index > div:last-child {
    grid-template-columns: 1fr;
  }
  .walk-margin {
    padding: 14px;
  }
  .editorial,
  .reading-section {
    margin: 18px 0;
  }
}
.atlas-no-points {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: #faf8e9ef;
  border: 1px solid #c4cbb6;
  padding: 8px 12px;
  border-radius: 4px;
  color: #566850;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.atlas-pin.named {
  z-index: 4;
}
.atlas-pin.named .pin-drop {
  background: #965734;
}
.atlas-pin.named b {
  pointer-events: auto;
}
.atlas-pin.edge-left b {
  left: 2px;
  transform: none;
}
.atlas-pin.edge-right b {
  left: auto;
  right: 2px;
  transform: none;
}
.atlas-pin.edge-top b {
  top: 32px;
  bottom: auto;
}
.mini-attribution {
  position: absolute;
  bottom: 5px;
  left: 6px;
  font-size: 10px;
  color: #385844;
  background: #f7f7e8d4;
}
.atlas-pin.is-address:not(.is-focus) .pin-drop {
  background: #f5f5df;
  border-color: #58745d;
}
.atlas-pin.is-address:not(.is-focus) .pin-drop i {
  background: #607958;
}
.atlas-key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.atlas-key i {
  height: 9px;
  width: 9px;
  background: #4d7052;
  border: 1px solid #4d7052;
  border-radius: 50%;
}
.atlas-key i.address-key {
  background: #f5f5df;
  margin-left: 6px;
}
.atlas-key > span {
  padding-left: 6px;
}
.cluster-name {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #f9f6e4ec;
  border: 1px solid #c1c7b1;
  border-radius: 3px;
  padding: 1px 5px;
  color: #4a6148;
  font: 600 12px/1.5 var(--sans);
  white-space: nowrap;
  pointer-events: none;
}
.atlas-pin.named b {
  pointer-events: none;
}
.atlas-cluster:has(.cluster-name) {
  z-index: 3;
}
