#reading-order {
  --ro-green: #213e3a;
  --ro-green-deep: #162820;
  --ro-ivory: #fff7e4;
  --ro-amber: #c99a45;
  --ro-amber-edge: #bb955c;
  --ro-brown: #71392b;
  --ro-ink: #2b2118;
}

/* Grid */

#reading-order .reading-order-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

#reading-order .reading-order-list > .book-card-shell {
  display: flex;
  min-width: 0;
  margin: 0;
  color: var(--ro-ink);
  background: var(--ro-ivory);
  border: 1px solid var(--ro-amber-edge);
  border-radius: 0.4rem;
  box-shadow: 0 6px 18px #452a1714;
}

@media (max-width: 760px) {
  #reading-order .reading-order-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

/* Card body: stacked by default, consistent cover position */

#reading-order .reading-order-list > .book-card-shell .book-card-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-content: start;
  width: 100%;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
}

#reading-order .reading-order-list > .book-card-shell .book-card-media {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  justify-self: center;
  width: min(100%, 9rem);
  transform: none;
}

#reading-order .reading-order-list > .book-card-shell .book-card-media .cover-thumb {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  box-shadow: 0 0.6rem 1.2rem rgba(25, 13, 11, 0.35);
  outline: 1px solid rgba(187, 149, 92, 0.6);
}

#reading-order .reading-order-list > .book-card-shell .book-card-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  filter: none;
}

/* Horizontal: cover left, text right (wide desktop and mid-width single column) */
@media (min-width: 561px) and (max-width: 760px), (min-width: 1100px) {
  #reading-order .reading-order-list > .book-card-shell .book-card-body {
    grid-template-columns: clamp(7rem, 31%, 9rem) minmax(0, 1fr);
    gap: clamp(0.9rem, 2vw, 1.5rem);
    align-items: start;
  }

  #reading-order .reading-order-list > .book-card-shell .book-card-media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  #reading-order .reading-order-list > .book-card-shell .book-card-main {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Order label */

#reading-order .reading-order-book {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.1rem;
  color: var(--ro-brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

#reading-order .reading-order-book::after {
  content: "";
  flex: 1 1 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ro-amber), transparent);
}

/* Text */

#reading-order .reading-order-list .card-head {
  margin: 0;
}

#reading-order .reading-order-list .card-head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw + 0.7rem, 1.55rem);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#reading-order .reading-order-list .book-card-blurb {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Links and CTAs */

#reading-order .reading-order-list .book-primary-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  min-height: 44px;
  margin-top: auto;
}

#reading-order .reading-order-list .store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

#reading-order .reading-order-list .store-button {
  display: inline-flex;
  flex: 1 1 9rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

/* Focus */

#reading-order a:focus-visible,
#reading-order summary:focus-visible {
  outline: 3px solid var(--ro-green);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ro-ivory);
  border-radius: 2px;
}

/* Reading questions (FAQ) */

#reading-order .reading-guide-faq {
  max-width: 52rem;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  color: var(--ro-ink);
  background: var(--ro-ivory);
  border: 1px solid var(--ro-amber-edge);
  border-left: 4px solid var(--ro-amber);
  border-radius: 4px;
}

#reading-order .reading-guide-faq h3 {
  margin: 0 0 0.5rem;
  color: var(--ro-green);
  font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.35rem);
  line-height: 1.25;
}

#reading-order .reading-guide-faq details {
  border-top: 1px solid rgba(187, 149, 92, 0.55);
}

#reading-order .reading-guide-faq summary {
  min-height: 44px;
  padding: 0.7rem 0.25rem;
  color: var(--ro-green-deep);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

#reading-order .reading-guide-faq details[open] > summary {
  color: var(--ro-brown);
}

#reading-order .reading-guide-faq details > p {
  max-width: 68ch;
  margin: 0 0 0.9rem;
  padding: 0 0.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#reading-order .reading-guide-faq a {
  color: var(--ro-brown);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#reading-order .reading-guide-faq a:hover {
  color: var(--ro-green);
}

@media (max-width: 400px) {
  #reading-order .reading-guide-faq {
    padding: 0.9rem;
    border-left-width: 3px;
  }
}
