/* Preview only: match the approved sans-serif detail-page typography. */
html body .story h2,
html body .garden-chapter .chapter-title h2,
html body .info-heading-unified h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: clamp(28px, 2.9vw, 46px) !important;
  font-weight: 510 !important;
  line-height: 1.2 !important;
  letter-spacing: -.03em !important;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Fifth-floor photos 07–10: the wide interior view gets a full row; the
   material detail and the two following garden views share equal columns. */
html body .roof-pair--single-wide {display:block!important;grid-template-columns:none!important;width:100%!important}
html body .roof-pair--triplet {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:20px!important;width:100%!important}
html body .roof-pair--single-wide .roof-photo img {display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:#ebe8e1!important}
html body .roof-pair--triplet .roof-photo img {display:block!important;width:100%!important;height:clamp(300px,31vw,480px)!important;aspect-ratio:auto!important;object-fit:cover!important;background:#ebe8e1!important}
@media(max-width:760px){html body .roof-pair--triplet{grid-template-columns:1fr!important;gap:28px!important}html body .roof-pair--triplet .roof-photo img{height:auto!important;object-fit:contain!important}}

/* Identical index columns keep the two chapter titles on the same left edge. */
html body .garden-chapter .chapter-head {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

html body .garden-chapter .chapter-title h2 { margin: 0; }
html body .garden-chapter .chapter-title h2 > span {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 560px) {
  html body .story h2,
  html body .garden-chapter .chapter-title h2,
  html body .info-heading-unified h3 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  html body .garden-chapter .chapter-head {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  html body .garden-chapter .chapter-index {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
