/* Encyclopedia navigation and publication information. */
html[lang="en"] body.hb main:has(> .reference-library-hero) { max-width:1180px; padding-inline:clamp(16px,3vw,38px); }
html[lang="en"] body.hb main.library-page .reference-library-hero {
  display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);
  overflow:hidden; min-height:0; max-width:none; padding:0; margin:14px 0 26px;
  border:1px solid #d0dcda; border-radius:6px; background:#eff4f1; box-shadow:none;
}
.reference-library-intro { padding:clamp(20px,3vw,42px); min-width:0; }
html[lang="en"] body.hb main.library-page .reference-library-hero h1,
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > h1 {
  font:600 clamp(2.3rem,4.1vw,4rem)/1.08 "FF Display",Georgia,serif; color:#1d3540;
  letter-spacing:-.04em; margin:0 0 12px; max-width:24ch;
}
html[lang="en"] body.hb main.library-page .reference-library-hero .lead,
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > .lead {
  margin:0 0 10px; max-width:60ch; font:400 clamp(1rem,1.4vw,1.22rem)/1.5 var(--sans); color:#415a61;
}
.reference-action, .trust-primary a { display:inline-flex; align-items:center; min-height:44px; color:#204f5b; font-weight:600; text-underline-offset:3px; }
.reference-action { gap:8px; }
.reference-library-photo { position:relative; min-height:190px; overflow:hidden; }
html[lang="en"] body.hb main.library-page .reference-library-photo figure,
.reference-library-photo :is(.ph-box,picture,img) {
  width:100%; height:100%; display:block; margin:0; max-width:none; border:0; border-radius:0; object-fit:cover; aspect-ratio:auto;
}
html[lang="en"] body.hb main.library-page .reference-library-photo figure { position:absolute; inset:0; }
html[lang="en"] body.hb .reference-library-photo .story-photo-credit {
  position:absolute; right:6px; bottom:6px; max-width:calc(100% - 12px); padding:3px 7px; margin:0;
  border-radius:2px; background:#fffffff0; color:#41525b; font:400 .7rem/1.4 var(--sans);
}
.reference-library-photo .story-photo-credit a { color:inherit; }
html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-section { border-top:1px solid #d0dcda; margin:0; padding:22px 0; }
html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-section-heading h2,
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article > h2 {
  color:#1d3843; font:600 clamp(1.4rem,2.2vw,2.08rem)/1.17 "FF Display",Georgia,serif;
  letter-spacing:-.026em; margin:0 0 8px;
}
html[lang="en"] body.hb main.library-page .library-entries { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-entries a {
  border:1px solid #cbdad6; border-radius:4px; box-shadow:none; background:#fbfcfb; color:#244951;
}
.library-evidence { margin:12px 0 18px; border-top:1px solid #d0dcda; padding-top:12px; }
.library-evidence a { display:inline-flex; align-items:center; min-height:44px; font-weight:550; color:#2a5762; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) { max-width:1040px; padding-inline:clamp(16px,3.5vw,48px); }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body { margin:0; max-width:88ch; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > h1 { margin-top:14px; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > h2 { margin-top:28px; padding-top:16px; border-top:1px solid #d3dddb; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > p:not(.lead) { max-width:73ch; line-height:1.65; }
.trust-routes { display:flex; flex-wrap:wrap; column-gap:20px; margin:8px 0 20px; border-block:1px solid #cbdbd8; }
.trust-routes a { display:inline-flex; align-items:center; min-height:44px; color:#315862; font:550 .9rem/1.4 var(--sans); text-underline-offset:3px; }
.trust-routes a[aria-current="page"] { color:#1a353b; font-weight:700; text-decoration:none; border-bottom:2px solid #386b68; }
.trust-primary { display:flex; flex-wrap:wrap; gap:2px 17px; }
html[lang="en"] body.hb .ff-about .trust-example { margin:14px 0; padding:15px 18px; border-left:3px solid #486f65; background:#f0f5f1; color:#25443c; }
.trust-example > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 14px; margin-bottom:4px; }
.trust-example time { color:#546860; font:450 .8rem/1.4 var(--sans); }
.trust-example > a { display:inline-flex; align-items:center; min-height:44px; gap:8px; font-weight:600; color:#245143; }
html[lang="en"] body.hb .ff-about .trust-example p { font-size:.86rem; margin:0; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) .ff-vdef { border-block:1px solid #d2ded9; padding-block:12px; }
.ff-about:has(.trust-routes) :is(.ff-vdef dt,.ff-funding h2) { color:#264a44; }
html[lang="en"] body.hb main.ff-about:has(.trust-routes) .ff-funding { padding:16px 19px; background:#f2f5f0; border-left:3px solid #758967; }
main.ff-about:has(.trust-routes) :is(h2[id],section[id]),main.library-page:has(.reference-library-hero) h2[id] { scroll-margin-top:100px; }
main.ff-about:has(.trust-routes) :is(a,button,summary):focus-visible,
main.library-page:has(.reference-library-hero) :is(a,button,summary):focus-visible { outline:3px solid #337486; outline-offset:2px; }
@media (max-width:700px) {
  html[lang="en"] body.hb main.library-page .reference-library-hero { grid-template-columns:1fr; margin:7px 0 14px; }
  .reference-library-intro { padding:14px 15px 7px; }
  .reference-library-photo { min-height:0; height:clamp(78px,22vw,125px); }
  html[lang="en"] body.hb main.library-page .reference-library-hero h1,
  html[lang="en"] body.hb main.ff-about:has(.trust-routes) article.body > h1 { font-size:clamp(1.9rem,7vw,2.55rem); }
  html[lang="en"] body.hb main.library-page .library-entries { grid-template-columns:minmax(0,1fr); gap:6px; }
  html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-section { padding:15px 0; }
  .trust-routes { column-gap:14px; }
}
html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-entries > li {
  min-width:0; margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent;
}
html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-entries > li > a {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:start; gap:4px 12px;
  height:100%; min-height:84px; padding:14px 16px; box-sizing:border-box;
}
html[lang="en"] body.hb .library-entries > li > a > h3 { grid-column:1; margin:0; color:#22434c; font:600 1.22rem/1.3 var(--sans); }
html[lang="en"] body.hb .library-entries > li > a > p { grid-column:1; margin:0; font:400 .91rem/1.45 var(--sans); }
html[lang="en"] body.hb .library-entries > li > a > .library-card-arrow { grid-column:2; grid-row:1; align-self:start; }
@media (max-width:520px) {
  .trust-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:14px; }
  .trust-routes > a { width:fit-content; }
  html[lang="en"] body.hb main.library-page:has(.reference-library-hero) .library-entries > li > a { min-height:55px; padding:9px 12px; }
}
