/* Warm library-inspired navigation, shared by all public pages. */
body.td-editorial .td-site-header {
  background: #fbf7ed;
  border: 0;
  border-bottom: 1px solid #d8c8ae;
  box-shadow: 0 4px 18px #442c1710;
}
body.td-editorial .td-site-header .td-head-inner { min-height: 5.45rem; gap: 1.5rem; }
body.td-editorial .td-site-header .td-brand img { width: 6.4rem; height: 3.9rem; }
body.td-editorial .td-site-header .td-nav-items { gap: .4rem; }
body.td-editorial .td-site-header .td-publications { position: relative; display: inline-flex; align-items: center; border-radius: .55rem; }
body.td-editorial .td-site-header .td-publications-link,
body.td-editorial .td-site-header .td-nav-items > a {
  display: inline-flex; align-items: center; min-height: 2.8rem; padding: .65rem .95rem;
  color: #33291f; font-weight: 700; font-size: .92rem; text-decoration: none; border-radius: .5rem;
}
body.td-editorial .td-site-header .td-publications-link { padding-right: .95rem; }
body.td-editorial .td-site-header .td-publications > details { position: static; }
body.td-editorial .td-site-header .td-publications summary {
  display: grid; place-items: center; width: 2.2rem; height: 2.8rem; border-radius: .5rem; color: #655342;
}
body.td-editorial .td-site-header .td-publications .td-chevron { margin: 0; font-size: 1.15rem; line-height: 1; transition: transform .15s; }
body.td-editorial .td-site-header .td-publications details[open] .td-chevron { transform: rotate(180deg); }
body.td-editorial .td-site-header :is(.td-publications-link, .td-nav-items > a, .td-publications summary):hover,
body.td-editorial .td-site-header .td-nav-items > a[aria-current=page] { background: #f0e5d2; color: #284f3f; text-decoration: none; }
body.td-editorial .td-site-header .td-publication-menu {
  top: 100%; left: 0; width: min(39rem, 65vw); padding: 1rem;
  gap: .6rem; border: 1px solid #e2d4bd; border-bottom: 4px solid #aa7850;
  border-radius: .75rem; background: #fffdf7; box-shadow: 0 .9rem 2rem #3e291e28;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-.45rem);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
body.td-editorial .td-site-header .td-publications:is(:hover, :focus-within) .td-publication-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
body.td-editorial .td-site-header .td-publication-menu > div { padding: .15rem; }
body.td-editorial .td-site-header .td-publication-menu a { border-radius: .4rem; padding: .6rem .7rem; color: #45382d; font-size: .88rem; }
body.td-editorial .td-site-header .td-publication-menu a:hover { background: #f3ead9; color: #285442; text-decoration: none; }
body.td-editorial .td-site-header .td-head-action:not(.td-action-outline) {
  min-height: 2.8rem; padding: .65rem 1rem; border-radius: .5rem; background: #315d49; border-color: #315d49;
  box-shadow: 0 3px 0 #244537; color: #fff !important;
}
body.td-editorial .td-site-header .td-head-action:hover { background: #244a39; }
@media (max-width: 930px) {
  body.td-editorial .td-site-header .td-head-inner { min-height: 4.6rem; gap: .45rem; }
  body.td-editorial .td-site-header .td-brand img { width: 5.4rem; height: 3.3rem; }
  body.td-editorial .td-site-header .td-mobile-nav summary { padding: .55rem .75rem; border: 1px solid #e3d3bb; border-radius: .5rem; background: #fffaf0; font-size: .9rem; }
  body.td-editorial .td-site-header .td-mobile-nav nav { width: min(21rem, 100%); margin-top: .3rem; padding: .5rem .8rem; border: 1px solid #e2d4bd; border-bottom: 4px solid #aa7850; border-radius: .7rem; background: #fffdf7; box-shadow: 0 .9rem 2rem #3e291e28; }
  body.td-editorial .td-site-header .td-mobile-nav nav a { padding-inline: .45rem; }
  body.td-editorial .td-site-header .td-head-action:not(.td-action-outline) { min-height: 2.6rem; padding: .5rem .65rem; gap: .35rem; font-size: .79rem; }
}
@media (max-width: 370px) { body.td-editorial .td-site-header .td-bound { width: calc(100% - 1rem); } }
@media (prefers-reduced-motion: reduce) { body.td-editorial .td-site-header .td-publication-menu { transition: none; } }
