#pilgrimage-map{height:60vh;min-height:320px;width:100%;border:2px solid var(--green);background:#e7ece5;z-index:0}
.route-note{font-weight:700;padding:14px;border:2px solid var(--gold);background:#fbf5e8}
.route-controls{display:flex;flex-wrap:wrap;gap:10px}.route-controls button,.temple-select{font:inherit;min-height:44px;padding:10px 14px;border:1px solid var(--green);border-radius:4px;background:#edf3ed;color:#234e42;cursor:pointer}.route-controls button:disabled{opacity:.5;cursor:default}button:focus-visible{outline:3px solid #bb852b;outline-offset:3px}
.route-legend{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px 20px}.route-legend li{margin:0}.route-legend span{display:inline-block;width:18px;height:18px;border-radius:50%;margin-right:8px;vertical-align:middle}
.route-marker{background:none;border:0}.route-marker span{display:flex;align-items:center;justify-content:center;width:100%;height:40px;border:2px solid white;border-radius:22px;color:white;font-size:16px;font-weight:700;box-shadow:0 1px 4px #333}
#pilgrimage-map .leaflet-popup-content{font-size:16px;line-height:1.7}#pilgrimage-map .leaflet-popup-content p{margin:10px 0}#pilgrimage-map a{min-height:0;padding:0;display:inline}#pilgrimage-map .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}#pilgrimage-map .leaflet-control-attribution{font-size:16px;line-height:1.5}
.route-table{table-layout:auto}.route-table th:first-child{width:3.5em}.route-table td{vertical-align:middle}.route-table tr[data-number]{cursor:pointer}.route-table tr.is-selected{background:#e3edda;box-shadow:inset 4px 0 var(--green)}.temple-select{display:block;text-align:left;font-weight:700;width:100%}.route-table td a{display:block}.route-table-wrap{overflow-x:auto}
@media(max-width:719px){.route-table th,.route-table td{padding:8px 4px}.route-table .temple-select{padding:8px 4px}.route-controls button{flex:1}#pilgrimage-map{min-height:300px}.route-table th:first-child{width:2.5em}}
.route-table{min-width:660px}.route-table td:nth-child(2){min-width:260px}.route-table .temple-photo-small{max-width:260px}.route-table .temple-photo-small img{max-width:160px}.route-table figcaption a{display:inline}
#pilgrimage-map .temple-photo-small{max-width:100%}#pilgrimage-map .temple-photo-small img{max-width:160px}
.home-map #pilgrimage-map{height:360px;min-height:360px;border-radius:12px}
