/* Custom additions on top of poole.css + lanyon.css (Lanyon theme). */

/* ---- Sidebar pinned: visible at all times ---- */
.sidebar {
  left: 0;              /* override off-canvas hiding (-14rem) */
  visibility: visible;
}
.sidebar-toggle {
  display: none;        /* no longer need the hamburger toggle */
}
@media (min-width: 48em) {
  .wrap {
    margin-left: 14rem; /* make room for the fixed sidebar */
  }
}
@media (max-width: 47.9em) {
  .sidebar {
    position: static;   /* on phones: sidebar sits on top as a block */
    width: auto;
  }
}

/* Sidebar starts below the site-name line (masthead: 1rem padding-top +
   25px title + 1rem padding-bottom + 1px border = 3.7rem) */
@media (min-width: 48em) {
  .sidebar {
    top: 3.7rem;
  }
}

/* Sidebar: accommodate the longer tab list */
.sidebar-nav-item {
  font-size: 0.95rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* Language switcher */
.lang-switch a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}
.lang-switch a:hover {
  color: #fff;
}

/* Supplementary notes under citations / roles */
.note {
  color: #9a9a9a;
  font-size: 0.85em;
}

/* Page typography tweaks */
.page p {
  line-height: 1.6;
}
.page-title small {
  font-size: 0.6em;
  font-weight: normal;
  color: #9a9a9a;
}

/* Site name (masthead) at the leftmost top, above the sidebar */
@media (min-width: 48em) {
  .masthead .container {
    margin-left: 0;
    max-width: none;
    padding-left: 1.5rem;   /* align with sidebar item padding */
  }
}
