/* Desktop: the reader can slide the side navigation away for a wider page (nav-toggle.js).
   Sidebar sizes live in storyteller-v1.css; at 1024px and below the app turns the sidebar into a drawer. */
.nav-toggle,.nav-hide{display:none}
@media (min-width:1025px){
  #sidebar > .nav-hide{display:grid;place-items:center;position:absolute;z-index:21;top:58px;right:12px;width:32px;height:32px;padding:0;
    border:1.5px solid #d6b56a;border-radius:50%;background:#0d2f31;color:#f0c66e;cursor:pointer;box-shadow:0 0 0 4px #0b2a2c;transition:background .2s,color .2s}
  #sidebar > .nav-hide:hover{background:#d6b56a;color:#0b2a2c}
  body.nav-hidden .nav-toggle{display:grid;place-items:center;flex:none;width:42px;height:42px;margin-right:6px;border-radius:12px;border:1px solid rgba(185,138,50,.45);background:#fffaf0;color:#2e1d10;font-size:1.2rem;line-height:1;cursor:pointer}
  body.nav-hidden .nav-toggle:hover{background:#f6e6c2}
  .sidebar{transition:transform .28s ease}
  main{transition:margin-left .28s ease}
  body.nav-hidden .sidebar{transform:translateX(-105%)}
  body.nav-hidden main{margin-left:0}
}
@media (prefers-reduced-motion:reduce){.sidebar,main{transition:none!important}}
