/* Keep edition, title and footer in separate rows on small screens. */
@media (max-width: 900px) {
  .library .book {
    display: grid;
    grid-template-rows: 46px minmax(44px, 1fr) auto;
    row-gap: 8px;
    align-content: stretch;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .library .book small {
    margin: 0;
    line-height: 1.35;
    letter-spacing: .045em;
  }
  .library .book b {
    margin: 0;
    align-self: start;
    line-height: 1.25;
    letter-spacing: -.025em;
  }
  .library .book span {
    position: static;
    display: block;
    margin: 0;
    padding-top: 7px;
    border-top: 1px solid #0003;
    line-height: 1.35;
    font-size: .625rem;
  }
  .library .b2 span, .library .b5 span { border-top-color: #fff3; }
  .library .book::after { display: none; }
}
@media (max-width: 570px) {
  .library .book {
    height: 190px;
    padding: 12px;
    grid-template-rows: 40px minmax(44px, 1fr) auto;
  }
  .library .book small { font-size: .6rem; }
  .library .book b { font-size: .95rem; }
  .library .b5 b { font-size: .85rem; }
  .catalog h2 { line-height: 1.12; }
}
