/* Ready now borrows Made again's framed artwork, not its gallery layout.
   Keep the original shelf/card DOM, sizing, controls and flip behavior intact. */

/* The carousel reads from the left. Keep its title and curation together,
   with the price on the opposite edge, rather than a separate central axis. */
#typewriterWorkshop .cw-community-page .cd-ready > .cd-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
  text-align: left;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-ready-title {
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-curated-label {
  padding: 0;
  border: 0;
  color: var(--cw-community-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-offer {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  padding-top: 6px;
}

@media (max-width: 620px) {
  #typewriterWorkshop .cw-community-page .cd-ready > .cd-section-head {
    gap: 12px;
  }
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-card {
  border-radius: var(--cw-community-radius-inner);
}

/* Work-specific board colors live in community-visual-tokens.css. */

/* Only the picture is framed. The title, author and buying row sit on the
   page canvas, like compact captions beneath the Made again project boards. */
#typewriterWorkshop .cw-community-page .cd-ready .cd-front {
  padding: 0;
  border: 0;
  border-radius: var(--cw-community-radius-inner);
  background: transparent;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-image {
  aspect-ratio: auto;
  padding: 48px 12px 12px;
  border: 0;
  border-radius: var(--cw-community-radius-inner);
  background: var(--cd-ready-art, var(--cw-community-soft));
  transition: none;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: var(--cw-community-radius-control);
  background: transparent;
  object-fit: contain;
  object-position: center;
  /* A drop shadow here would shadow the entire colored board. */
  filter: none;
}

/* The hint and favorite retain their readable paper controls on the art board. */
#typewriterWorkshop .cw-community-page .cd-ready .cd-flip-cue {
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--cw-community-paper);
  color: var(--cw-community-ink);
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-image.has-image-error .community-image-fallback {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--cw-community-radius-control);
  background: var(--cw-community-paper);
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-card-body {
  padding: var(--cw-community-card-content-inset);
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-front h3 {
  font-size: var(--cw-community-type-card);
  font-weight: 600;
  line-height: 1.4;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-creator {
  margin: var(--cw-community-card-maker-gap);
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-card-bottom {
  padding-top: 0;
  border: 0;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-card-price {
  font-weight: 600;
}

#typewriterWorkshop .cw-community-page .cd-ready .cd-back {
  border-radius: var(--cw-community-radius-inner);
}
