/* Actual book artwork stays uncropped; one preview system across catalogue and books. */
.pb-art.pb-cover{background:transparent;border:0;padding:0;max-width:360px;justify-self:center;width:100%}.pb-art.pb-cover img{width:100%;height:auto;max-height:none;aspect-ratio:auto;box-shadow:0 12px 30px #0b192c20}.pb-cover a{display:block}.pb-cover figcaption a{display:inline;text-decoration:underline}.pb-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.pb-preview-grid figure{margin:0;min-width:0}.pb-preview-grid figure>a{display:flex;align-items:center;justify-content:center;background:var(--color-surface);border:1px solid var(--color-line);padding:12px;aspect-ratio:1.3}.pb-preview-grid img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.pb-preview-grid figcaption{font-size:1rem;margin-top:10px;color:var(--color-muted)}.pb-preview-grid a:hover{border-color:var(--color-accent)}
.browse-link.pb-book-card{display:block;background:#f1f6fa;border:1px solid #dbe4eb;border-radius:6px;padding:24px;font-size:1rem}.pb-book-card img{display:block;width:100%;max-width:240px;height:auto;margin:0 auto 22px;box-shadow:0 8px 18px #0b192c20}.pb-book-card strong{font-size:1.125rem}.browse-grid:has(.pb-book-card){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){.pb-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.browse-grid:has(.pb-book-card){grid-template-columns:1fr}.pb-art.pb-cover{max-width:300px}}
@media(max-width:480px){.pb-preview-grid{grid-template-columns:1fr}.pb-art.pb-cover{max-width:260px}.pb-preview-grid figure>a{aspect-ratio:auto;min-height:180px}.pb-preview-grid img{max-height:none;width:100%}}

/* Matched front/back cover frames; preserve full master-page artwork. */
.pb-preview-grid .pb-cover-preview>a{aspect-ratio:30/37}.pb-preview-grid .pb-cover-preview img{width:100%;height:auto;max-height:100%;object-fit:contain}

/* Explicit seven-book catalogue: no dependency on :has() for layout. */
.pb-catalogue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.pb-catalogue-grid .pb-book-card{display:flex;flex-direction:column;gap:10px;min-width:0}.pb-catalogue-grid .pb-book-card img{display:block;width:100%;max-width:240px;aspect-ratio:30/37;height:auto;object-fit:contain;margin:0 auto 14px}.pb-catalogue-grid .pb-book-card strong{display:block}.pb-catalogue-grid .pb-book-card p{margin:0}.pb-catalogue-number{font-size:.875rem;color:#526173}.pb-catalogue-grid .pb-book-card>span:last-child{margin-top:auto;padding-top:8px}@media(max-width:850px){.pb-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.pb-catalogue-grid{grid-template-columns:1fr}}

/* Four thematic rows, three titles each, from series-catalogue.json. */
.pb-catalogue-row{margin-top:32px}.pb-catalogue-row>h3{font-size:1.35rem;margin:0 0 18px}.pb-catalogue-row .pb-catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pb-roadmap-group{margin-top:26px}.pb-roadmap-group h3{margin-bottom:14px}#flagship-playbooks{margin-top:36px}@media(max-width:850px){.pb-catalogue-row .pb-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.pb-catalogue-row .pb-catalogue-grid{grid-template-columns:1fr}}
