/* Small official retailer marks identify the direct edition choices. */
.book-edition-group {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .55rem 1rem; width: 100%; margin: .55rem auto;
}
.book-edition-group .retailer-mark {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 164px; width: 164px; padding: .25rem .75rem;
}
.book-edition-group .retailer-mark img { display: block; width: 140px; height: auto; }
.book-edition-group .retailer-mark .mark-light { display: none; }
.book-edition-group > .book-editions { width: auto; max-width: 100%; margin: 0 !important; }
:is(.theme-school,.theme-hospital,.theme-responders) .resource-header .mark-dark { display: none; }
:is(.theme-school,.theme-hospital,.theme-responders) .resource-header .mark-light { display: block; }
.home-page #books .book-edition-group { margin: 0 auto; gap: .35rem; }
.home-page #childrens-book .book-edition-group { margin: .25rem auto; gap: .25rem .5rem; }
.home-page #books .book-actions { gap: .3rem; }
.home-page #books .book-content .book-actions { margin-top: .75rem !important; }
.home-page #books .book-content .companion-printables { margin-top: .25rem !important; }
.home-page #books { padding-block: clamp(2.25rem, 3.8vw, 3rem); }
.home-page #books .book-image-wrap { height: 13rem; padding: 1rem; }
.home-page #books img.book-image {
  width: 7.65rem; height: 10.9rem; max-height: 10.9rem;
}
.home-page #books .book-content { padding: 1.05rem; }
.home-page #books .book-eyebrow { min-height: 3.15em; margin-bottom: .45rem; }
.home-page #books .book-content h3 { font-size: 1.4rem; line-height: 1.25; min-height: 2.5em; }
.home-page #books .book-content > p:not(.book-eyebrow) {
  line-height: 1.55; margin-block: .55rem .65rem;
}
.retailer-spark { width: 24px; height: 24px; flex: 0 0 24px; }
.resource-header .walmart-action { display: inline-flex; align-items: center; gap: .5rem; }
.other-retailer a { gap: .6rem; }
.distribution-note {
  max-width: 60rem; margin: 1.25rem auto 0; padding: .9rem .75rem .25rem;
  border-top: 1px solid #d9d1bf; text-align: center;
}
.distribution-note > p { margin: .2rem auto; font: 600 .875rem/1.6 var(--vsta-reading-font); }
.distribution-note details { margin: .2rem auto 0; padding: 0; max-width: 48rem; }
.distribution-note summary {
  display: list-item; min-height: 44px; padding: .65rem .5rem;
  font: 500 .875rem/1.6 var(--vsta-reading-font); cursor: pointer;
  list-style-position: inside; text-align: center;
}
.distribution-note details p { margin: .35rem auto .75rem; font: .9375rem/1.65 var(--vsta-reading-font); }
.distribution-note summary:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.home-page #childrens-book .distribution-note { margin-top: 1rem; padding-top: .6rem; }
.retailer-attribution { max-width: 54rem; margin: .65rem auto 0; font-size: .8125rem; line-height: 1.6; text-align: center; }
@media(max-width:640px) {
  .home-page #books .book-image-wrap { height: 12rem; }
  .home-page #books img.book-image { width: 7rem; height: 10rem; max-height: 10rem; }
  .home-page #books .book-content { padding: 1rem; }
  .book-edition-group { gap: .4rem .5rem; }
  .distribution-note { padding-inline: .25rem; }
}
@media print, (forced-colors:active) {
  .book-edition-group .retailer-mark .mark-light { display:none; }
  .book-edition-group .retailer-mark .mark-dark { display:block; }
}
