/* Clear long navigation labels at all sizes; separate title and photograph regions. */
.site-header .header-row nav{min-width:0}.site-header .nav-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;align-items:stretch}.site-header .nav-links>a,.site-header .nav-links>.memory-action{white-space:normal;text-align:center;font-size:13px;line-height:1.25;padding:8px 9px;min-height:50px}.site-header .nav-links .memory-button{white-space:normal;line-height:1.25}
@media(max-width:1279px){.site-header .header-row{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px}.site-header .header-row nav{width:100%}.site-header .nav-links{border-top:1px solid var(--ink);padding-top:12px}}
@media(max-width:900px){.site-header .nav-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.site-header .nav-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}.site-header .nav-links>a,.site-header .nav-links>.memory-action{font-size:12px;padding:8px 5px;min-height:58px}}
.book-contents-intro{max-width:none!important;width:100%;text-wrap:pretty}.book-facts{flex-wrap:wrap}.book-facts span{white-space:normal}
.chapter-promo img{width:112px!important;height:auto!important;max-height:165px;object-fit:contain!important;filter:none!important;box-shadow:none!important}
/* A dedicated heading band guarantees no photograph intersects the title. The wider image area enlarges the original artwork rather than squeezing it. */
#explore .topic-photo{aspect-ratio:auto;min-height:260px;display:block;padding:16px 18px 10px;overflow:hidden}
#explore .topic-photo .topic-label{display:block;position:relative;z-index:2;transform:none;font-size:clamp(24px,2.4vw,32px);line-height:1.04;white-space:normal}
#explore .topic-photo .topic-label br{display:none}
#explore .topic-photo .topic-art{position:absolute;inset:auto 8px 7px 8px;width:calc(100% - 16px);height:190px;object-fit:contain;object-position:center bottom;z-index:1;filter:none}
#explore .topic-photo b{display:none}
@media(max-width:620px){#explore .topic-photo{min-height:225px;padding:14px 14px 8px}#explore .topic-photo .topic-label{font-size:24px}#explore .topic-photo .topic-art{height:160px}}
