/* Book covers retain their full artwork inside the standard taxonomy cards. */
:is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 198px;
    align-items: stretch;
}
:is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__media {
    position: relative;
    min-height: 198px;
    max-height: none;
    background: #f3f5f2;
}
:is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}
:is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__placeholder {
    height: 100%;
    min-height: 198px;
    max-height: none;
    font-size: 22px;
}
@media (max-width: 680px) {
    :is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    :is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__media,
    :is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__placeholder {
        min-height: 132px;
    }
    :is(.spma-tax-archive--books-tax, .spma-tax-directory--books-tax) .spma-tax-card__body {
        justify-content: center;
    }
}
