.temple-period-head{padding:20px 0 30px}.temple-period-head h1{letter-spacing:.05em;margin:12px 0 24px;font-size:clamp(32px,5vw,58px);font-weight:500}.temple-era-switch{border:1px solid #acaf9e;gap:0;width:min(100%,480px);margin:24px 0;display:flex}.temple-era-switch a{color:#455749;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:64px;padding:12px 16px;font-size:18px;text-decoration:none;display:flex}.temple-era-switch a+a{border-left:1px solid #acaf9e}.temple-era-switch span{margin-top:4px;font:11px/1.8 system-ui}.temple-era-switch a[aria-current=page]{color:var(--cream);background:#405747}.temple-era-switch a:focus-visible{outline-offset:4px;outline:3px solid #b15b3a}.temple-era-address{margin:0;font-size:20px;line-height:1.9}.temple-era-note{color:#687266;max-width:850px;font:13px/1.9 system-ui,sans-serif}.temple-hero{margin:0}.temple-hero>img{object-fit:cover;object-position:center;width:100%;height:auto;max-height:580px;display:block}.temple-hero figcaption,.temple-plan figcaption{color:#626d62;padding:14px 0;font:13px/1.9 system-ui}.temple-hero figcaption strong{color:#8c4937;font-weight:500}.temple-hero figcaption small{margin-top:7px;font-size:11px;display:block}.temple-period-page a{color:#914932}.temple-period-page .temple-era-switch a[aria-current=page]{color:var(--cream)}.temple-content-section{padding-top:52px;scroll-margin-top:90px}.temple-content-section h2{margin:8px 0 22px;font-size:clamp(24px,3vw,32px);font-weight:500}.temple-content-section>p{max-width:880px;line-height:2}.temple-plan{background:#f4f0e7;margin:0;padding:18px}.temple-plan img{object-fit:contain;width:100%;height:auto;max-height:780px;display:block}.temple-evidence-pair{grid-template-columns:1fr 1fr;gap:24px;margin:26px 0 0;display:grid}.temple-evidence-pair article{border-top:2px solid #637660;padding:12px 0}.temple-evidence-pair article+article{border-top:2px dashed #a87656}.temple-evidence-pair h3{font-size:17px;font-weight:500}.temple-evidence-pair p{color:#526052;font-size:14px;line-height:1.95}.temple-plan-note{background:#f0ecdf;border-left:3px solid #aaa48d;padding:20px 24px;font-size:14px;line-height:1.9}.temple-facts{margin:24px 0}.temple-facts>div{border-bottom:1px solid var(--line);grid-template-columns:160px 1fr;gap:20px;padding:15px 0;display:grid}.temple-facts dt{color:var(--muted);font-size:13px}.temple-facts dd{margin:0;line-height:1.9}.temple-source{border-top:1px solid var(--line);padding:16px 0}.temple-source h3{font-size:17px;font-weight:500}.temple-source p{font-size:14px;line-height:1.9}.temple-period-page ruby{ruby-position:over}@media (max-width:650px){.temple-evidence-pair{grid-template-columns:1fr;gap:10px}.temple-hero>img{object-fit:contain;max-height:none}.temple-facts>div{grid-template-columns:1fr;gap:7px}.temple-plan{padding:0}.temple-plan img{max-height:none}.temple-period-head{padding-top:12px}.temple-content-section{padding-top:38px}}.temple-hero-model>img{object-fit:contain;background:#eeeadd;height:560px}@media (max-width:650px){.temple-hero-model>img{height:420px}}.temple-period-head h1{line-height:1.25}.temple-period-head{padding-top:0}.temple-era-note{margin:8px 0 0}@media (min-width:900px){.temple-period-head{padding-right:0;position:relative}.temple-period-head h1{max-width:calc(100% - 400px);font-size:48px}.temple-period-head .geo-kicker{margin-top:8px}.temple-period-head .temple-era-switch{width:350px;margin:0;position:absolute;top:8px;right:0}.temple-period-head .temple-era-note{max-width:760px}.temple-period-page .temple-period-head{position:relative}}.temple-hero-photo-tone img{filter:brightness(1.04)saturate(1.1);object-fit:contain}.temple-hero-crop{aspect-ratio:2;background:#eeeadd;display:block;overflow:hidden}.temple-hero-crop>img{object-fit:cover;object-position:center top;transform-origin:50% 20%;width:100%;height:100%;display:block;transform:scale(1.12)}.temple-hero-photo-tone .temple-hero-crop>img{object-fit:cover}.temple-gallery{margin:20px 0 32px}.temple-gallery-stage{background:var(--paper);min-height:220px}.temple-gallery-stage>a{display:block}.temple-gallery-stage img{object-fit:contain;width:100%;height:clamp(240px,45vw,560px);display:block}.temple-gallery-controls{justify-content:center;align-items:center;gap:24px;display:flex}.temple-gallery-controls button{background:var(--cream);border:1px solid var(--line);min-width:48px;min-height:44px;color:var(--ink);cursor:pointer;font-size:24px}.temple-gallery-index{flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0;display:flex}.temple-gallery-index button{border:1px solid var(--line);background:var(--cream);color:var(--ink);cursor:pointer;padding:9px 12px;font:13px/1.5 system-ui}.temple-gallery-index button[aria-current=true]{background:var(--moss);color:var(--cream)}.temple-gallery button:focus-visible{outline:3px solid var(--verm);outline-offset:3px}.temple-gallery:focus-visible{outline:3px solid var(--verm);outline-offset:3px}.temple-sibling{flex-wrap:wrap;gap:18px;margin:18px 0 24px;font:14px/1.8 system-ui;display:flex}.temple-sibling a{padding:8px 0}.temple-hero img.provincial-reference-image{object-fit:contain;width:100%;height:auto;max-height:65vh;display:block}
