.book-list > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.book-list > ul > li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--pst-color-border);
    border-radius: 0.5rem;
    background: var(--pst-color-surface);
}

.book-list > ul > li > p {
    margin: 0;
}

.book-list > ul > li > p:first-child {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Make room for both settings buttons at typical laptop widths. */
@media (max-width: 1399.98px) {
    #pst-header .search-button__kbd-shortcut {
        display: none;
    }
}


/* Sidebar title (e.g. 固体物理目次) links to the volume's top page.
   Keep the title's color in every link state; only underline it on hover. */
nav.bd-links .bd-links__title-link,
nav.bd-links .bd-links__title-link:visited,
nav.bd-links .bd-links__title-link:hover,
nav.bd-links .bd-links__title-link:active {
    color: inherit;
    text-decoration: none;
}

nav.bd-links .bd-links__title-link:hover {
    text-decoration: underline;
}
