/* Complete images and a consistent, readable route through long pages. */
:root{--hh-header-clearance:180px}
main [id],main section{scroll-margin-top:var(--hh-header-clearance)!important}
.site-head{background:#071636}
.site-head .head-in{height:auto;min-height:0;padding-top:12px;padding-bottom:12px}
.site-head a.hh-site-brand.hh-site-brand{height:auto!important;width:190px!important;padding:6px 10px!important}
.site-head .nav{top:100%}
.book-page-nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:24px auto;padding:18px 0;border-bottom:1px solid #d4d8dd;color:#142840}
.book-page-nav strong{width:100%;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em}
.book-page-nav a{display:flex;align-items:center;min-height:44px;max-width:100%;padding:9px 14px;border:1px solid #b9c4ce;background:#fff;color:#142840;border-radius:6px;font-size:.9rem;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.book-page-nav a:hover{background:#f5eedc;border-color:#b48a3c}
main :is(p,li){overflow-wrap:break-word}
main :is(.actions,.tm-actions){flex-wrap:wrap}
main :is(.actions,.tm-actions) .btn{max-width:100%;white-space:normal;line-height:1.4}
.hh-catalogue-art{margin:0 0 18px;background:#f4f0e8;padding:12px;text-align:center;border:1px solid #e1ded5}
.hh-catalogue-art img{display:block;max-width:100%;width:auto;height:170px;object-fit:contain!important;margin:auto}
.hh-catalogue-art figcaption{margin-top:8px;color:#4c5b69;font-size:.75rem;line-height:1.4}
.hh-catalogue-card{min-width:0}
.hh-catalogue-card>a:last-child{display:inline-block;padding:10px 0;min-height:44px}
.resource-controls :is(input,select){min-height:44px}
.tm-overview{display:grid!important;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);column-gap:clamp(24px,4vw,64px);align-items:start}
.tm-overview>.tm-cover{grid-column:1;grid-row:1/8;width:100%;max-width:320px;height:auto;justify-self:center}
.tm-overview>:not(.tm-cover){grid-column:2}
.tm-overview h1{margin-top:0}
.tm-opening-art{margin:24px 0 44px}
.tm-opening-art img{display:block;width:100%;height:auto;object-fit:contain}
.tm-story{max-width:850px}
@media(max-width:760px){
 :root{--hh-header-clearance:150px}
 .site-head{background:#071636}
.site-head .head-in{height:auto;min-height:0;padding-top:12px;padding-bottom:12px}
.site-head a.hh-site-brand.hh-site-brand{height:auto!important;width:150px!important}
 .book-page-nav{width:calc(100% - 34px);padding:16px 0;margin:16px auto;gap:8px}
 .book-page-nav a{font-size:.85rem;padding:8px 10px}
 .tm-overview{grid-template-columns:minmax(0,1fr)}
 .tm-overview>.tm-cover{grid-column:1;grid-row:auto;max-width:220px;margin-bottom:24px}
 .tm-overview>:not(.tm-cover){grid-column:1}
 .hh-catalogue-art img{height:150px}
}
@media print{.book-page-nav{display:none}.hh-catalogue-art img{height:auto;max-height:180px}}

@media(min-width:900px){main .resource-intro.hh-full-art-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center}main .resource-intro.hh-full-art-hero>.wrap{width:auto;margin:0;padding:32px!important}}

/* Keep keyboard focus visible on light and dark surfaces, including at reflow widths. */
a.hh-skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
a.hh-skip-link:focus,.skip:focus,.skip-link:focus{position:fixed;inset:12px auto auto 12px;z-index:10000;background:#fff;color:#071636;padding:12px 16px;border-radius:6px}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #234f83;outline-offset:3px;box-shadow:0 0 0 3px #fff}
main[tabindex="-1"],main :focus-visible{scroll-margin-top:var(--hh-header-clearance)}
@media(forced-colors:active){:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:Highlight}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

.footer .hh-footer-heading{color:#fff;font-family:inherit;font-size:1em;line-height:inherit;letter-spacing:normal;margin:0 0 1.33em}
.book-index-filter-options,.hh-optional-sections{margin-block:1rem}
.book-index-filter-options>summary,.hh-optional-sections>summary{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.6rem .9rem;border:1px solid #a5b6b6;border-radius:8px;background:#fff;color:#102443;font-weight:650;cursor:pointer}
.book-index-filter-options>summary::before,.hh-optional-sections>summary::before{content:"+";font-weight:700}
.book-index-filter-options[open]>summary::before,.hh-optional-sections[open]>summary::before{content:"−"}
.book-index-filter-options>summary:focus-visible,.hh-optional-sections>summary:focus-visible{outline:3px solid #0b5960;outline-offset:2px}
.book-index-filter-options .book-filter-grid{margin-top:.75rem}
