/* The same destinations and order are available from every primary navigation. */
nav[aria-label="Primary navigation"] .vsta-main-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem 1rem;
}
nav[aria-label="Primary navigation"] .vsta-main-links > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: .9375rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
}
nav[aria-label="Primary navigation"] .vsta-main-links > a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.site-footer .footer-credits p.footer-layla-credit {
  margin: .8rem auto 0;
  max-width: 26ch;
  font-size: .9375rem;
  line-height: 1.6;
}
.site-footer .footer-layla-credit a {
  color: #f2dfbd;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.site-footer .footer-layla-credit a:focus-visible {
  outline: 3px solid #f2dfbd;
  outline-offset: 4px;
}
/* Give both classroom titles their rounded cover lettering, including linked text. */
.home-page #childrens-book .classroom-story-title,
.home-page #childrens-book .classroom-story-title a,
.home-page #childrens-book .classroom-story-title em {
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 900;
  font-style: normal;
}
.home-page #childrens-book .story-rocco em { color: #0c4770; }
.home-page #childrens-book .story-layla em { color: #8b0a25; }
@media (max-width: 620px) {
  body nav[aria-label="Primary navigation"] .vsta-main-links,
  body.home-page #top nav[aria-label="Primary navigation"] .vsta-main-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%;
    gap: .15rem .75rem;
  }
  body nav[aria-label="Primary navigation"] .vsta-main-links > a,
  body.home-page #top nav[aria-label="Primary navigation"] .vsta-main-links > a {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    padding-inline: .15rem;
  }
}

/* Publication positions provide context while every title stands on its own. */
.book-series-label {
  display: block;
  margin: 0 0 .35rem;
  color: inherit;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: none;
}
.home-page .sibling-shelf p.book-series-label {
  margin: 0 0 .35rem;
  color: #4b5760;
  font-size: .875rem;
  line-height: 1.5;
}
.home-page #books .book-eyebrow { min-height: 3.7em; }
.books-order-note {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: #e0e9eb;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}
