/* One quiet row of direct edition choices; the cover remains the focal point. */
.book-editions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 .5rem;
  width: 100%;
  margin: .65rem auto;
  padding: 0;
  list-style: none;
  text-align: center;
}
.book-editions li { display: flex; align-items: center; margin: 0; padding: 0; }
.book-editions li + li::before { content: "·"; margin-right: .5rem; color: currentColor; opacity: .6; }
.book-editions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .25rem;
  border: 0;
  border-radius: .2rem;
  background: none;
  color: inherit;
  font: 600 .9375rem/1.5 var(--vsta-reading-font);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.book-editions a:hover { text-decoration-thickness: 2px; }
.book-editions a:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.home-page #books .detail-link { justify-content: center; }
.home-page #books .detail-link > span[aria-hidden="true"] { display: none; }
.home-page #books .book-actions .book-editions { margin: 0 auto; gap: 0; }
.home-page #books .book-editions a { font-size: .875rem; padding-inline: .2rem; }
.home-page #books .book-editions li + li::before { margin-inline: .15rem; }
.home-page #childrens-book .book-editions { margin: .35rem auto; gap: 0 .4rem; }
.home-page #childrens-book .book-editions a { font-size: .875rem; }
.theme-books .book-actions:has(.book-editions) {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.theme-books .book-actions .book-editions { margin: 0 auto; }
.theme-books .book-editions a,
.resource-header .book-editions a,
main .book-editions a {
  width: auto; min-height: 44px; padding: .45rem .25rem;
  border: 0; background: none; box-shadow: none; color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .9375rem/1.5 var(--vsta-reading-font);
  text-decoration: underline; text-underline-offset: .22em;
}
.home-page #books .book-editions .edition-other a { color: #48636a; }
.resource-header .book-editions { margin-block: .9rem .35rem; }
.resource-header .hero-actions { margin-top: .35rem; }
.details-list .book-editions { justify-content: center; margin: 0 auto; }
.book-figure .other-retailer { margin: .25rem auto 0; font: 14px/1.5 var(--vsta-reading-font); }
.book-figure .other-retailer a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; color: inherit;
  text-decoration: underline; text-underline-offset: .2em;
}
@media (max-width: 420px) {
  .book-editions { gap: 0 .25rem; }
  .book-editions li + li::before { margin-right: .25rem; }
  .book-editions a { font-size: .875rem; }
}
