/* Homepage-only book clarity and grade browsing. Other pages are unchanged. */
.home-book-browser{padding-block:16px 52px}.home-book-browser .browse-heading h2{font-size:32px}.home-book-browser .browse-heading>p{max-width:360px;font-size:14px}.home-grade-groups{display:grid;gap:13px}.home-grade-group{border:1px solid #dcddef;border-radius:9px;background:white;overflow:hidden}.home-grade-group summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;background:#f2f2fc;cursor:pointer;list-style:none}.home-grade-group summary::-webkit-details-marker{display:none}.home-grade-group summary>span:first-child{display:flex;align-items:center;gap:20px}.home-grade-group summary strong{font-size:21px;color:#151529}.home-grade-group summary small{font-size:12px;color:#565674}.home-grade-toggle{font-size:27px;color:#3533cc}.home-grade-group[open] .home-grade-toggle{transform:rotate(45deg)}.home-grade-books{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;padding:24px}.home-grade-book{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;min-width:0;border-radius:5px;padding-bottom:8px}.home-grade-cover{display:flex;align-items:center;justify-content:center;width:100%;height:160px;background:#f8f8fc;border-radius:6px}.home-grade-cover img{width:auto;height:auto;max-width:100%;max-height:150px;object-fit:contain}.home-grade-book strong{font-size:13px;line-height:1.5;color:#202036}.home-grade-book>span:last-child{font-size:10px;color:#626279;line-height:1.6}.home-grade-book:hover strong{color:#3533cc;text-decoration:underline}.home-grade-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid #e6e6f2}.home-grade-actions a{font-size:13px;color:#3533cc;font-weight:700}.home-grade-note{font-size:12px;color:#565e70;margin-top:16px}.hero-cover{image-rendering:auto}.home-hero .hero-cover{object-fit:contain}
@media(max-width:1000px){.home-grade-books{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-grade-cover{height:180px}.home-grade-cover img{max-height:165px}}
@media(max-width:600px){.home-book-browser{padding-block:8px 34px}.home-book-browser .browse-heading h2{font-size:27px}.home-grade-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;padding:18px 14px}.home-grade-cover{height:155px}.home-grade-cover img{max-height:145px}.home-grade-group summary{padding:15px 17px}.home-grade-group summary>span:first-child{gap:12px}.home-grade-group summary strong{font-size:20px}.home-grade-group summary small{font-size:11px}.home-grade-actions{padding:16px;gap:14px}.home-grade-actions a{font-size:12px}.home-grade-book strong{font-size:13px}}

.primary-promotion.container {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  margin-block: 1.25rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: #101c3a;
  border: 1px solid #ebba09;
  border-radius: 1.25rem;
  color: #fff;
}
.primary-promotion-copy { display: grid; gap: .65rem; }
.primary-promotion-copy h2,
.primary-promotion-copy p { color: inherit; margin: 0; }
.primary-promotion-copy h2 { font-size: clamp(2rem, 5vw, 3.45rem); line-height: 1; }
.primary-promotion-copy .primary-promotion-dates { font-weight: 750; color: #ffd323; }
.primary-promotion-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem; }
.primary-promotion-price strong { color: #ffd323; font-size: clamp(1.55rem, 4vw, 2.3rem); }
.primary-promotion-link {
  display: inline-block;
  justify-self: start;
  margin-top: .25rem;
  padding: .75rem 1rem;
  background: #ffd323;
  border-radius: .65rem;
  color: #101c3a;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.primary-promotion-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.primary-promotion-poster { display: block; width: 100%; height: auto; border-radius: .55rem; }
@media (max-width: 44rem) {
  .primary-promotion.container { grid-template-columns: minmax(0, 1fr); }
  .primary-promotion-poster { max-width: 20rem; justify-self: center; }
}

.primary-promotion[hidden] { display: none; }
