/* Keep the map entrance in the shrine band, not a separate white strip. */
.hero .map-entry-bar{display:flex;align-items:center;text-align:left;background:#100b08;padding:10px 6%;min-height:68px}
.hero .hero-shrine{padding-top:0}
#templeMap .map-courts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto repeat(4,minmax(110px,auto));gap:12px}
#templeMap .map-wing,#templeMap .map-axis{display:grid;grid-template-rows:subgrid;grid-row:1 / 6;gap:12px;min-width:0}
#templeMap .map-wing:first-child{grid-column:1}
#templeMap .map-axis{grid-column:2}
#templeMap .map-wing:last-child{grid-column:3}
#templeMap .map-courts h3{margin:8px 0;text-align:center;align-self:center;overflow-wrap:anywhere}
#templeMap .map-courts .map-hall{display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere}
#templeMap .map-courts .map-you{align-self:center}
@media(max-width:650px){
 #templeMap .map-paper{padding:12px 6px;margin:0 6px}
 #templeMap .map-courts{gap:6px;grid-template-rows:auto repeat(4,minmax(105px,auto))}
 #templeMap .map-wing,#templeMap .map-axis{gap:6px}
 #templeMap .map-courts h3{font-size:16px;line-height:1.5;letter-spacing:0}
 #templeMap .map-courts .map-hall{padding:10px 4px}
 #templeMap .map-courts .map-hall strong{font-size:17px;line-height:1.5;letter-spacing:0}
 #templeMap .map-courts .map-hall small{font-size:12px;line-height:1.5;letter-spacing:0}
 #templeMap .map-courts .map-hall span{display:none}
 #templeMap .map-courts .map-you{font-size:14px;line-height:1.5;padding:4px;overflow-wrap:anywhere}
}

/* Extension courtyards retain their left/right location at every width. */
#templeMap .map-extensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;align-items:start}
#templeMap .map-extensions .map-extension{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;min-width:0}
#templeMap .map-extensions .map-caption{min-height:54px;display:flex;align-items:center;justify-content:center;letter-spacing:0;overflow-wrap:anywhere}
#templeMap .map-extensions .map-hall{min-height:145px;display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere}
@media(max-width:650px){
 #templeMap .map-extensions{gap:8px}
 #templeMap .map-extensions .map-extension{gap:8px}
 #templeMap .map-extensions .map-caption{font-size:16px;line-height:1.5;min-height:72px}
 #templeMap .map-extensions .map-hall{padding:10px 6px;min-height:130px}
 #templeMap .map-extensions .map-hall strong{font-size:18px;line-height:1.5}
 #templeMap .map-extensions .map-hall small,#templeMap .map-extensions .map-hall span{font-size:13px;line-height:1.5;letter-spacing:0}
}
