.map-discovery[hidden], .map-canvas [hidden], #tour-map-pin[hidden], .then-now-stops[hidden], #tour-guide[hidden] { display: none; }
.map-discovery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  padding: clamp(.75rem, 2vw, 1.15rem);
  border: 1px solid #5d644b;
  background: #e6e9ce;
  color: #252d20;
}
.map-discovery form, .tour-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.map-discovery label { font-weight: 700; }
.map-discovery button, .map-discovery select {
  min-height: 44px;
  padding: .4rem .65rem;
  color: inherit;
  background: #fff8e5;
  border: 1px solid #52583c;
  border-radius: .2rem;
  font: inherit;
}
.map-discovery button { cursor: pointer; font-weight: 700; }
.map-discovery button:disabled { opacity: .65; cursor: default; }
.map-discovery button[aria-pressed="true"], .map-discovery button[type="submit"] { background: #d8ec89; }
#tour-guide { flex: 1 0 100%; border-top: 1px solid #939975; }
#tour-position { margin: .55rem 0 0; font-weight: 800; }
#tour-note { margin: .15rem 0 .5rem; }
.tour-actions a { margin-right: .4rem; font-weight: 700; }
.then-now-markers a, #tour-map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-height: 36px;
  max-width: 8rem;
  padding: .18rem .45rem;
  border: 2px solid #2d3026;
  border-radius: .35rem;
  text-align: center;
  text-decoration: none;
  font: bold clamp(.7rem, 1.5vw, 1.1rem)/1.15 Georgia, serif;
  box-shadow: 0 2px 5px #1c210c75;
}
.then-now-markers a { z-index: 6; background: #fff0bc; color: #392c17; }
#tour-map-pin {
  z-index: 7;
  min-width: 44px;
  min-height: 44px;
  background: #d8f366;
  color: #1d2a15;
  border-radius: 50%;
  font-size: 1.3rem;
  box-shadow: 0 0 0 4px #fcf5c4aa, 0 2px 8px #111a0b99;
}
.then-now-stops, .gazette-newsstand { margin: 1.5rem 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #8c7857; background: #fff6dd; }
.then-now-stops h2, .gazette-newsstand h2 { margin: 0 0 .6em; font: bold clamp(1.5rem, 4vw, 2.6rem)/1.1 Georgia, serif; }
.then-now-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.then-now-grid article { padding: .85rem; border: 1px solid #bcac8a; scroll-margin-top: 1rem; }
.then-now-grid h3, .newsstand-edition h3 { margin: 0; font: bold 1.25rem/1.2 Georgia, serif; }
.then-now-grid img { display: block; width: 100%; max-height: 9rem; height: auto; object-fit: contain; object-position: left; margin-top: .6rem; }
.then-now-grid p { margin: .6rem 0; }
.gazette-newsstand { max-width: 800px; border-top: 6px solid #603025; scroll-margin-top: 1rem; }
.gazette-newsstand summary { width: fit-content; padding: .55rem .75rem; border: 1px solid #603025; color: #fff6dd; background: #603025; font-weight: 700; cursor: pointer; }
.newsstand-edition { margin-top: 1rem; border-top: 3px double #603025; }
.newsstand-edition article { padding: 0 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid #bcac8a; }
.newsstand-edition p { margin: .55rem 0; }
