.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px;display:grid}.book-card{flex-direction:column;gap:10px;min-width:0;height:100%;display:flex}.book-cover-stage{isolation:isolate;background:#eeece5;border-radius:8px;flex:none;width:100%;height:268px;position:relative;overflow:hidden}.book-cover-stage img{object-fit:contain;width:auto;max-width:calc(100% - 30px);height:calc(100% - 30px);max-height:calc(100% - 30px);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:4px 8px 16px #0003}.book-card .eyebrow{letter-spacing:.1em;margin-top:4px;line-height:1.3}.book-card h3{overflow-wrap:break-word;min-height:3.9em;margin:0;line-height:1.3}.book-card .book-subtitle{min-height:2.9em;line-height:1.45;display:block}.book-card .book-description{flex:1;margin:0;line-height:1.55}.book-card .book-card-footer{border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:auto;padding-top:15px;display:grid}.book-card .book-card-footer .rate{white-space:nowrap;font-size:26px}.book-card .book-card-footer button{white-space:nowrap;min-width:0;padding:11px 14px}@supports (grid-template-rows:subgrid){@media (min-width:581px){.book-card{grid-row:span 6;grid-template-rows:subgrid;row-gap:10px;height:auto;display:grid}.book-card h3,.book-card .book-subtitle{min-height:0}.book-card .book-card-footer{margin-top:0}.book-card .book-description{flex:none}}}@media (max-width:1000px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-card h3{min-height:2.6em}.book-cover-stage{height:250px}}@media (max-width:580px){.book-grid{grid-template-columns:minmax(0,1fr);gap:16px}.book-cover-stage{height:270px}.book-card h3,.book-card .book-subtitle{min-height:0}.book-card .book-description{margin:2px 0 8px}.book-card .book-card-footer{padding-top:12px}.book-card .book-card-footer button{padding:11px 14px}.book-card .book-card-footer .rate{font-size:25px}}
