/* Story map (td38): black on white, Times, hairline rules; only the road lines carry colour. */
.rt-smap { margin: 1.5rem 0; padding: 0; font-family: "Times New Roman", Times, "Nimbus Roman", serif; color: var(--wp--preset--color--contrast, #000); max-width: 100%; }
.rt-smap__map { position: relative; height: 340px; border: 1px solid #000; background: #f4f4f2; overflow: hidden; }
@media (min-width: 700px) { .rt-smap__map { height: 400px; } }
.rt-smap__data { display: none; }
.rt-smap__map .rt-smap__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-smap__wait { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; padding: 0 16px; text-align: center; color: #555; font-size: .95rem; }
.rt-smap__map.is-live .rt-smap__wait { display: none; }
.rt-smap .maplibregl-ctrl-attrib { display: none; }
.rt-smap .maplibregl-cooperative-gesture-screen { font-family: inherit; }
.rt-smap__pop { font: 15px/1.35 "Times New Roman", Times, serif; color: #000; padding-right: 12px; }
.rt-smap .maplibregl-popup-content { border-radius: 0; border: 1px solid #000; box-shadow: none; padding: 8px 10px; }
.rt-smap .maplibregl-popup-close-button { font-size: 20px; width: 32px; height: 32px; }
.rt-smap__legend { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: .5rem 0 0; padding: 0; font-size: .9rem; }
.rt-smap__key { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.rt-smap__sw { display: inline-block; width: 26px; height: 0; border-top: 5px solid #c4161c; }
.rt-smap__key--restricted .rt-smap__sw { border-top: 0; height: 5px; background: repeating-linear-gradient(90deg, #d97a00 0 5px, #fff 5px 7px, #d97a00 7px 9px); }
.rt-smap__key--detour .rt-smap__sw { border-top: 4px dashed #111; }
.rt-smap__cap { margin: .75rem 0 0; font-size: 1rem; line-height: 1.45; }
.rt-smap__h { display: block; font-weight: bold; margin: 0 0 .25rem; }
.rt-smap__list { margin: 0 0 .5rem; padding-left: 1.1rem; }
.rt-smap__item { margin: 0 0 .25rem; overflow-wrap: anywhere; }
.rt-smap__sev { font-weight: bold; }
.rt-smap__attr { display: block; font-size: .8rem; color: #555; }
.rt-smap__attr a { color: inherit; }
/* td49: park + place keys. */
.rt-smap__key--park .rt-smap__sw { border-top: 0; height: 12px; width: 18px; background: rgba(46,125,50,.35); box-shadow: inset 0 0 0 1.5px #2e7d32; }
.rt-smap__key--place .rt-smap__sw { border-top: 0; width: 12px; height: 12px; border-radius: 50%; background: #111; }
