/* Shared book-card rows: every field follows the same track within a row of books. */
.catalog-grid{display:grid!important;grid-template-columns:repeat(var(--catalog-columns,3),minmax(0,1fr))!important;column-gap:2rem!important;row-gap:0!important;align-items:stretch!important;justify-items:stretch!important}
.catalog-card{display:grid;grid-row:span 9;grid-template-rows:subgrid;row-gap:0;min-width:0;padding-bottom:2.8rem;margin:0}
.trope-book-grid>.catalog-card{width:100%;max-width:220px;justify-self:center}
#vaultContent .catalog-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important}
.catalog-cover{position:relative;width:var(--catalog-cover-width,90%);aspect-ratio:2/3;margin:0 auto;align-self:start}
.catalog-cover>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:2/3;object-fit:contain!important;margin:0!important;border-radius:4px;box-shadow:0 4px 20px rgba(42,31,40,.15),0 12px 44px rgba(42,31,40,.18)}
.catalog-card>.catalog-series:not(:empty){padding-top:.9rem;padding-bottom:.25rem}
.catalog-series>*{font:600 .65rem/1.5 var(--sans)!important;letter-spacing:.15em;text-transform:uppercase;color:var(--mauve)!important;margin:0!important;padding:0!important;min-height:0!important}
.catalog-title:not(:empty){padding-bottom:.3rem}
.catalog-title>*{font:500 1.1rem/1.25 var(--serif)!important;color:var(--ink)!important;margin:0!important;padding:0!important;min-height:0!important}
.catalog-tropes:not(:empty){padding-bottom:.35rem}
.catalog-tropes>*{font:.75rem/1.6 var(--sans)!important;color:var(--ink-muted)!important;margin:0!important;padding:0!important;min-height:0!important}
.catalog-rating:not(:empty){padding-bottom:.4rem}
.catalog-rating>*{font:.75rem/1.6 var(--sans)!important;color:var(--mauve)!important;margin:0!important;padding:0!important;min-height:0!important}
.catalog-intro:not(:empty){padding-bottom:.6rem}
.catalog-intro>*{margin:0!important}
.catalog-blurb:not(:empty){padding:.25rem 0 .8rem}
.catalog-blurb>div,.catalog-blurb>details{margin:0!important}
.catalog-blurb button,.catalog-blurb summary{font:600 .72rem/1.5 var(--sans)!important;letter-spacing:.06em!important;padding:.25rem .8rem!important;border:1.5px solid var(--mauve-light)!important;border-radius:20px;margin:0!important}
.catalog-blurb button{display:block;width:fit-content}
.catalog-actions>div{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:.5rem!important;margin:0!important;padding:0!important}
.catalog-actions .btn-primary{display:inline-flex!important;align-items:center;justify-content:center;font-size:.72rem!important;line-height:1.4!important;padding:.55rem 1rem!important;min-height:2.2rem;white-space:nowrap}
.catalog-actions .btn-ghost{font-size:.72rem!important;margin:0!important;line-height:1.4}
.catalog-more:not(:empty){padding-top:.5rem}
.catalog-more>a{display:inline-block!important;margin:0!important;font:600 .72rem/1.5 var(--sans);color:var(--mauve-deep);text-decoration:none;white-space:normal!important}
.series-book-card{display:flex;flex-direction:column;align-items:center;width:100px;min-width:0}
.series-book-card img{display:block;width:80px!important;height:120px!important;object-fit:contain;aspect-ratio:2/3}
.series-book-card p{width:100%;min-height:2.6em}
.hoh-grid{row-gap:0!important;align-items:stretch}
.hoh-grid>.hoh-col{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;padding-bottom:2.5rem}
.hoh-grid .hoh-cover{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;margin-bottom:0;align-self:start}
.hoh-col>.eyebrow{margin:1.5rem 0 .5rem}
.hoh-col>h2{margin:0 0 .5rem}
.hoh-description p{color:var(--ink-light);margin-bottom:1rem}
@media(max-width:900px){.catalog-grid[data-columns="4"]{--catalog-columns:3!important}}
@media(max-width:768px){.catalog-grid,#vaultContent .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:1.3rem!important}}
@media(max-width:480px){.catalog-grid,#vaultContent .catalog-grid{grid-template-columns:minmax(0,1fr)!important;max-width:340px!important;margin-left:auto!important;margin-right:auto!important}.catalog-card{padding-bottom:2.5rem}}
@supports not (grid-template-rows:subgrid){.catalog-card{display:flex;flex-direction:column}.catalog-series{min-height:3.3rem}.catalog-title{min-height:3rem}.catalog-tropes{min-height:4rem}.catalog-rating{min-height:2rem}.catalog-actions{margin-top:auto}}
