.temple-detail .temple-source {
  margin: 1.6rem 0 0;
  border-top: 1px solid #cbb991;
  padding-top: 1.25rem;
}
.temple-detail .temple-source > h3 {
  margin: 0 0 0.65rem;
}
.temple-detail .temple-source h4 {
  font-family: var(--mincho);
  font-size: 1.1rem;
  margin: 1.3rem 0 0.6rem;
}
.temple-detail .source-bibliography {
  font-size: 0.88rem;
}
.temple-detail .temple-source blockquote {
  margin: 0.4rem 0 0;
  padding: 0.8rem 1rem;
  background: #f4efe3;
  border-left: 3px solid var(--gold);
  overflow-wrap: anywhere;
}
.temple-detail .source-reading {
  font-family: var(--mincho);
}
.temple-detail .temple-source blockquote p,
.temple-detail .source-modern p {
  margin: 0 0 0.8rem;
}
.temple-detail .temple-source blockquote p:last-child,
.temple-detail .source-modern p:last-child {
  margin-bottom: 0;
}
.temple-detail .temple-source figure {
  margin: 1rem 0;
}
.temple-detail .temple-source figcaption {
  font-size: 0.88rem;
  margin-top: 0.55rem;
}
.temple-detail .tsukiji-map-pair > figure {
  margin: 1.35rem 0;
}
.temple-detail .tsukiji-map-pair .tsukiji-map-link {
  display: block;
}
.temple-detail .tsukiji-map-pair img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #bcaa84;
}
.temple-detail .tsukiji-map-pair figcaption strong {
  display: block;
  font-family: var(--mincho);
  font-size: 1rem;
}
.temple-detail .tsukiji-map-pair figcaption a {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .temple-detail .temple-source blockquote {
    padding: 0.7rem 0.75rem;
  }
}

.temple-detail .archive-heading {
  width: min(900px, calc(100% - 2rem));
  margin: 1.5rem auto;
  padding: clamp(0.9rem, 3.2vw, 1.85rem);
  box-sizing: border-box;
  background: #f9f5e9;
  border: 1px solid #bcaa84;
  text-align: center;
}
.temple-detail .archive-heading h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 3vw, 1.35rem);
  margin: 0;
  padding: 0.65rem 0.5rem;
  font-family: var(--mincho);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  color: #fffbed;
  letter-spacing: 0.12em;
  line-height: 1.55;
  background: linear-gradient(110deg, #2a483a, #163629);
  border: 1px solid #b29960;
}
.temple-detail .archive-heading h1::before,
.temple-detail .archive-heading h1::after {
  content: "";
  width: clamp(0.8rem, 8vw, 3.5rem);
  height: 1px;
  background: #c8ad72;
}
.temple-detail .archive-toc {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1rem 0 0;
}
.temple-detail .archive-toc a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding: 0.2rem;
  box-sizing: border-box;
  background: #fffdf6;
  color: #203e32;
  border: 1px solid #cbbc9b;
  font-family: var(--mincho);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.temple-detail .archive-toc a:hover,
.temple-detail .archive-toc a:focus-visible {
  background: #e9eee2;
  text-decoration: underline;
}
@media (max-width: 680px) {
  .temple-detail .archive-toc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.temple-detail .archive-item {
  scroll-margin-top: 2rem;
}
.temple-detail .archive-item .temple-source {
  border: 0;
  margin-top: 0;
  padding-top: 0;
}
