/* MB44: reading layout and library controls; site navigation is unchanged. */
main[data-history-mb44] .h40-frame,main[data-history-mb44] .h44-guide{width:92%;max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box}
.h44-route{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;padding:.9rem 0}
.h44-route a{font-weight:750;text-decoration:none;border-bottom:2px solid #b99b5c;padding:.35rem 0}
.h44-find{border-top:1px solid #d8cdb8;padding:.7rem 0}
.h44-find>summary,.h44-editions>summary,.h44-map-plates>summary{cursor:pointer;font-weight:700;padding:.7rem 0}
.h44-search-tools{display:grid;grid-template-columns:minmax(12rem,1fr) auto minmax(12rem,1fr);gap:1rem;padding:1rem 0}
.h44-search-tools label,.h44-catalogue-controls label,.h44-chapter-select{display:flex;flex-direction:column;gap:.45rem;font-weight:650}
.h44-search-tools input,.h44-search-tools select,.h44-catalogue-controls input,.h44-catalogue-controls select,.h44-chapter-select select{max-width:100%;min-width:0;width:100%;box-sizing:border-box;border:1px solid #bba98a;border-radius:.35rem;background:#fff;padding:.65rem;color:#2b2520;font:inherit}
.h44-search-tools [data-dossier-status],.h44-search-tools [data-dossier-results]{grid-column:1/-1;margin:0}
.h44-search-tools button{align-self:end;padding:.65rem}
.h44-case{border:1px solid #d8cbb5;border-radius:8px;margin:1rem 0;background:#fffdf7;overflow:clip}
.h44-case>summary{display:grid;grid-template-columns:minmax(7rem,12rem) 1fr auto;gap:1rem;align-items:center;padding:1.15rem 1.4rem;cursor:pointer;list-style:none}
.h44-case>summary::-webkit-details-marker{display:none}
.h44-case>summary span{font-size:.85rem;color:#76582e}
.h44-case>summary strong{font-size:1.15rem;line-height:1.35;color:#69212d}
.h44-case>summary b{font-size:1.5rem;font-weight:400}
.h44-case[open]>summary{border-bottom:1px solid #e5d8c2;background:#f5eedf}
.h44-case[open]>summary b{transform:rotate(45deg)}
.h44-case-body{padding:1.2rem 1.6rem;line-height:1.8;max-width:100ch}
.h44-case-body p{margin:.2rem 0 1.2rem}
.h44-evidence{padding-left:1.3rem;margin:1.1rem 0 1.5rem;line-height:1.8}
.h44-evidence li{padding-left:.35rem;margin:0 0 1rem}
.h44-evidence strong{color:#60252b}
.h44-anchor{scroll-margin-top:7rem}
.h44-aliases:empty{display:none}
.h44-map-plates{margin-top:2rem;margin-bottom:2rem;border-top:1px solid #d8cbb5;border-bottom:1px solid #d8cbb5}
.h44-map-plates>.kh3810-crusades-slider{width:100%;margin:0}
main[data-history-mb44="crusades"] .h44-compact-hero{padding-top:2rem!important;padding-bottom:2rem!important;min-height:0!important}
main[data-history-mb44="crusades"] .h44-compact-hero .hero-inner{min-height:0!important;gap:2rem}
main[data-history-mb44="crusades"] .h44-compact-hero h1{font-size:clamp(2.2rem,3.4vw,3.4rem)!important;line-height:1.05;margin-bottom:.85rem}
main[data-history-mb44="crusades"] .h44-compact-hero .lead{font-size:1.04rem!important;line-height:1.6;max-width:62ch}
main[data-history-mb44="crusades"] .h44-compact-hero img{height:260px!important;max-height:260px!important;width:100%;object-fit:cover}
[data-source-catalogue-mb44]>section{width:92%;max-width:none;margin:2rem auto;box-sizing:border-box}
.h44-catalogue-controls{display:grid;grid-template-columns:2fr 1fr;gap:1rem;align-items:end;margin:1.5rem 0 .5rem}
.h44-catalogue-controls [role="status"]{grid-column:1/-1;margin:.2rem 0;color:#6b6151}
.h44-source-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;max-height:19rem;overflow:auto;border:1px solid #d8cbb5;border-radius:.4rem;padding:.8rem}
.h44-source-list a{display:flex;flex-direction:column;gap:.25rem;text-decoration:none;border:1px solid #e7dbc5;padding:.7rem;background:#fffdf8;border-radius:.3rem}
.h44-source-list a span{font-size:.78rem;color:#77684f}
.h44-source-list a[aria-current="true"]{border-color:#7e2331;background:#f7eadb}
.h44-source-list a[hidden],[data-source-record][hidden],.h44-chapter-select[hidden]{display:none!important}
[data-source-record]{scroll-margin-top:7rem}
[data-source-record]>p,[data-source-record]>blockquote{max-width:100ch;line-height:1.8}
.h44-facsimile{margin:1.5rem 0;max-width:960px}
.h44-facsimile img{width:auto;max-width:100%;height:auto;max-height:850px;object-fit:contain;display:block;background:#eee2c6}
.h44-facsimile figcaption{padding:.75rem 0;font-size:.92rem;line-height:1.6}
.h44-provenance{font-size:.88rem;line-height:1.6;overflow-wrap:anywhere;color:#6a6053}
.h44-back{border-top:1px solid #dfd3bf;margin-top:2rem;padding-top:1rem}
[data-history-library-mb44]{width:92%;max-width:none!important;margin-left:auto;margin-right:auto;box-sizing:border-box}
[data-history-library-mb44] [data-st-body]{max-width:100ch;margin:2rem auto;font-size:1.06rem;line-height:1.85}
[data-history-library-mb44] [data-st-body] p{margin:0 0 1.25rem;scroll-margin-top:7rem}
[data-history-library-mb44] [data-st-body] h3{margin:2.5rem 0 1rem;scroll-margin-top:7rem;color:#6c2630}
[data-history-library-mb44] [data-st-body] img{max-width:100%;height:auto}
[data-history-library-mb44] .h44-chapter-select{max-width:56rem;margin:1.3rem 0}
[data-history-library-mb44] [data-st-scope]{font-weight:650}
.h44-case>summary:focus-visible,.h44-route a:focus-visible,.h44-source-list a:focus-visible{outline:3px solid #b58c3f;outline-offset:3px}
@media(max-width:760px){.h44-case>summary{grid-template-columns:1fr auto;padding:1rem}.h44-case>summary span{grid-column:1/-1}.h44-case-body{padding:1rem}.h44-search-tools,.h44-catalogue-controls{grid-template-columns:1fr}.h44-source-list{grid-template-columns:1fr;max-height:17rem}.h44-search-tools button{justify-self:start}.h44-route{gap:.5rem 1rem;font-size:.94rem}main[data-history-mb44="crusades"] .h44-compact-hero img{height:180px!important;max-height:180px!important}}
/* Figure captions belong below the image, never in a narrow flex column beside it. */
main[data-history-mb44]>.hero{align-items:center!important}
main[data-history-mb44]>.hero .hero-art{display:block!important;min-height:0!important;height:auto!important;min-width:0}
main[data-history-mb44]>.hero .hero-art img{display:block;min-height:0!important;max-width:100%;width:100%;height:clamp(230px,27vw,420px);object-fit:cover}
main[data-history-mb44]>.hero .hero-art figcaption{display:block;width:100%;box-sizing:border-box;padding:.65rem .2rem;line-height:1.45;font-size:.82rem;color:inherit}
main[data-history-mb44="crusades"]>.h44-compact-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:2rem!important}
main[data-history-mb44="crusades"]>.h44-compact-hero .hero-copy{padding:1.6rem!important;min-width:0}
main[data-history-mb44="crusades"]>.h44-compact-hero .hero-art img{min-height:0!important;height:260px!important}
@media(max-width:760px){main[data-history-mb44="crusades"]>.h44-compact-hero{grid-template-columns:1fr!important}main[data-history-mb44="crusades"]>.h44-compact-hero .hero-art img{height:180px!important}}
