/* walk-his-streets.css: the page "Walk His Streets" (website idea 8, 17 Nov 2026). All rules begin .wlk- */
.wlk-main { --wlk-ink: #1c2a3f; --wlk-gold: #8a6420; --wlk-surface: #fffdf7; --wlk-line: rgba(190, 150, 70, 0.6); --wlk-soft: #5a4c38; --wlk-ring: #10203a; --wlk-halo: #fffdf6; }
.wlk-lead { max-width: 48rem; margin: 0 0 1.2rem; }
.wlk-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.wlk-left, .wlk-right { min-width: 0; }
[hidden].wlk-order, [hidden].wlk-step, [hidden].wlk-tools { display: none; }

/* ---- the map */
/* assets/site-improve.css sets "html:not(#_) ...[id] { scroll-margin-top: 4.6rem }", which leaves a chosen place under the bar of
   this page; the two rules below carry the same weight and one class more. */
html:not(#_) .wlk-main .wlk-mapbox { scroll-margin-top: calc(var(--stx-navh, 0px) + 4.2rem); }
html:not(#_) .wlk-main li.wlk-stop { scroll-margin-top: calc(var(--stx-navh, 0px) + 4.4rem); }
.wlk-tools { margin: 0 0 0.5rem; text-align: right; }
.wlk-frame { overflow: auto; max-height: 76vh; border: 1px solid var(--wlk-gold); border-radius: 6px; background: #f7f3ea; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.wlk-map { position: relative; width: 100%; }
.wlk-map img { display: block; width: 100%; height: auto; border: 0; }
@media (max-width: 640px) { .wlk-frame:not(.wlk-fit) .wlk-map { width: max(190%, 640px); } }   /* at 640 px no two numbers of the map overlap */
.wlk-frame.wlk-big .wlk-map { width: max(190%, 640px); }
.wlk-main a.wlk-pin { position: absolute; box-sizing: border-box; aspect-ratio: 1; min-width: 24px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.wlk-main a.wlk-pin.wlk-sq { border-radius: 3px; }
.wlk-main a.wlk-pin:hover { box-shadow: 0 0 0 2px var(--wlk-halo), 0 0 0 4px rgba(16, 32, 58, 0.55); }
.wlk-main a.wlk-pin.wlk-on { box-shadow: 0 0 0 2px var(--wlk-halo), 0 0 0 6px var(--wlk-ring), 0 0 0 8px var(--wlk-halo); }
.wlk-credit { margin: 0.5rem 0 0; font-size: 0.86rem; color: var(--wlk-soft); }

/* ---- the buttons */
.wlk-main button { font: inherit; font-size: 0.92rem; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid #8a7645; background: #fff; color: #1c2a3f; cursor: pointer; }
.wlk-main button:disabled { opacity: 0.45; cursor: default; }
.wlk-order { display: inline-flex; margin: 0 0 0.9rem; border: 1px solid #8a7645; border-radius: 999px; overflow: hidden; background: #fff; }
.wlk-main .wlk-order button { border: 0; border-radius: 0; background: transparent; }
.wlk-main .wlk-order button[aria-pressed="true"] { background: #1c2a3f; color: #fff; }
.wlk-step { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin: 1rem -0.4rem 0; padding: 0.55rem 0.6rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: #fbf7ee; border-top: 1px solid var(--wlk-line); box-shadow: 0 -6px 14px rgba(60, 45, 20, 0.1); }
.wlk-step span { flex: 1; text-align: center; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.86rem; color: var(--wlk-soft); }
/* The site-wide rule "body.cine-typography *:focus-visible" sets a pale gilt ring with !important. On this page's light surfaces that
   ring is under 3:1, so the rings below are set with !important and one more step of weight. */
body .wlk-main button:focus-visible, body .wlk-main summary:focus-visible, body .wlk-main .wlk-frame:focus-visible, body .wlk-main a:focus-visible { outline: 3px solid #10203a !important; outline-offset: 2px; }
body .wlk-main a.wlk-pin:focus-visible { outline: 3px solid #10203a !important; outline-offset: 3px; box-shadow: 0 0 0 3px #fffdf6; }
body .wlk-main .stx-hero a:focus-visible, body .wlk-main .stx-pills a:focus-visible { outline-color: #d8b366 !important; }   /* the head and the bar of the page are dark in both themes */

/* ---- the stops */
.wlk-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.wlk-stop { margin: 0; padding: 0.9rem 1rem 0.8rem; border: 1px solid var(--wlk-line); border-left: 4px solid transparent; border-radius: 6px; background: var(--wlk-surface); }
.wlk-stop.wlk-on { border-left-color: var(--wlk-ink); box-shadow: 0 2px 12px rgba(60, 45, 20, 0.14); }
.wlk-head { display: flex; gap: 0.8rem; align-items: flex-start; }
.wlk-num { flex: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid var(--wlk-ink); background: var(--wlk-ink); color: #fff;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.wlk-num.wlk-dash { background: var(--wlk-surface); color: var(--wlk-ink); border-style: dashed; }
.wlk-num.wlk-sq { border-radius: 5px; }
.wlk-num.wlk-x { background: var(--wlk-surface); color: #5a3f7a; border-color: #5a3f7a; }
.wlk-k { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--wlk-gold); }
.wlk-stop h3 { margin: 0.1rem 0 0; font-size: 1.22rem; line-height: 1.25; color: var(--wlk-ink); }
.wlk-years { margin: 0.1rem 0 0; font-size: 0.98rem; color: var(--wlk-soft); }
.wlk-say { margin: 0.6rem 0 0; }
.wlk-stop h4 { margin: 0.9rem 0 0.3rem; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wlk-gold); }
.wlk-stop dl { margin: 0; }
.wlk-stop dl > div { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); gap: 0.1rem 0.8rem; padding: 0.22rem 0; }
.wlk-stop dt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.78rem; color: var(--wlk-soft); padding-top: 0.14rem; }
.wlk-stop dd { margin: 0; overflow-wrap: anywhere; }
.wlk-street { padding: 0.3rem 0.7rem; border-left: 3px solid #d8b366; background: rgba(216, 179, 102, 0.1); border-radius: 0 4px 4px 0; }
.wlk-street + .wlk-street { margin-top: 0.4rem; }
.wlk-rows { margin: 0.9rem 0 0; border-top: 1px solid var(--wlk-line); }
.wlk-rows > summary { cursor: pointer; padding: 0.55rem 0; font-weight: 700; color: var(--wlk-ink); }
/* the site's own mark of a summary is a pale gilt ring, under 3:1 on this page's light cards, and sits above the line here */
body.cine-typography .wlk-main details > summary::before { top: 0.72rem; color: #7a5514; border-color: #8a6420; }
.wlk-rows ol { list-style: none; margin: 0; padding: 0; }
.wlk-rows li { margin: 0; padding: 0.45rem 0 0.5rem; border-top: 1px solid rgba(190, 150, 70, 0.3); }
.wlk-year { margin: 0 0 0.1rem; font-weight: 700; color: var(--wlk-ink); font-variant-numeric: tabular-nums; }
.wlk-src, .wlk-none { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--wlk-soft); }
.wlk-main a.wlk-c { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.8em; text-decoration: none; color: #7a5514; white-space: nowrap; }
.wlk-view { margin: 0.4rem 0 0.9rem; }
.wlk-view img { display: block; width: 100%; height: auto; border: 1px solid var(--wlk-line); border-radius: 4px; background: #efe6d2; }
.wlk-view figcaption { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.45; color: #3d3428; }
.wlk-view .wlk-credit { display: block; margin-top: 0.2rem; font-size: 0.84rem; }
.wlk-main a.wlk-chap { display: block; margin-top: 0.2rem; color: #7a5514; }
.wlk-tomap { margin: 0.7rem 0 0; font-size: 0.92rem; }
.wlk-main .wlk-tomap a { color: #7a5514; font-weight: 600; }
.wlk-offh { margin: 1.6rem 0 0.7rem; font-size: 1.15rem; color: var(--wlk-ink); }
.wlk-h3 { margin: 1.5rem 0 0.6rem; font-size: 1.15rem; color: var(--wlk-ink); }
.wlk-note { margin: 0; padding: 0.7rem 1rem; border-left: 4px solid #d8b366; background: rgba(216, 179, 102, 0.1); border-radius: 0 6px 6px 0; font-size: 0.96rem; }
.wlk-note p { margin: 0; }
#limits p, #how p { max-width: 50rem; }

@media (min-width: 980px) {
  .wlk-cols { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 1.8rem; align-items: start; }
  .wlk-left { position: sticky; top: calc(var(--stx-navh, 0px) + 3.6rem); }
  .wlk-frame { max-height: calc(100vh - var(--stx-navh, 0px) - 11.5rem); }
  .wlk-step { margin: 1rem 0 0; }
}
@media (max-width: 520px) {
  .wlk-stop dl > div { grid-template-columns: minmax(0, 1fr); }
  .wlk-stop dt { padding-top: 0.2rem; }
}

/* ---- dark theme */
html.theme-dark .wlk-main { --wlk-ink: #f1e7d0; --wlk-gold: #d8b366; --wlk-surface: #1f2e45; --wlk-line: rgba(216, 179, 102, 0.45); --wlk-soft: #c8b896; }
html.theme-dark .wlk-num { background: #e8cd8a; border-color: #e8cd8a; color: #141f30; }
html.theme-dark .wlk-num.wlk-dash { background: transparent; color: #e8cd8a; }
html.theme-dark .wlk-num.wlk-x { background: transparent; color: #cdb8ee; border-color: #cdb8ee; }
html.theme-dark .wlk-main button { background: #1f2e45; color: #f1e7d0; border-color: #a58f5b; }
html.theme-dark .wlk-order { background: #1f2e45; border-color: #a58f5b; }
html.theme-dark .wlk-main .wlk-order button { background: transparent; }
html.theme-dark .wlk-main .wlk-order button[aria-pressed="true"] { background: #e8cd8a; color: #141f30; }
html.theme-dark .wlk-step { background: #131d2b; box-shadow: 0 -6px 14px rgba(0, 0, 0, 0.35); }
html.theme-dark .wlk-view figcaption { color: #e3d8c0; }
html.theme-dark body.cine-typography .wlk-main details > summary::before { color: #e8cd8a; border-color: #e8cd8a; }
html.theme-dark .wlk-main a.wlk-c, html.theme-dark .wlk-main a.wlk-chap, html.theme-dark .wlk-main .wlk-tomap a { color: #e8cd8a; }
html.theme-dark .wlk-street, html.theme-dark .wlk-note { background: rgba(216, 179, 102, 0.1); }
html.theme-dark body .wlk-main button:focus-visible, html.theme-dark body .wlk-main summary:focus-visible, html.theme-dark body .wlk-main .wlk-frame:focus-visible, html.theme-dark body .wlk-main a:focus-visible { outline-color: #e8cd8a !important; }
html.theme-dark body .wlk-main a.wlk-pin:focus-visible { outline-color: #10203a !important; }   /* the map stays light in the dark theme */
