/* Preserve Xwrite's card dimensions while showing the complete cover.
   The category selector includes series posts created before the builder. */
.xw-article-media.kaskt-series-cover .articleList__item--fig img,
.xw-article-media.category-av-series .articleList__item--fig img {
    object-fit: contain;
    object-position: center;
}

/* Put the category badge above the artwork, including on narrow cards. */
.articleList.type-card .xw-article-media.kaskt-series-cover:has(.article-category .list-label) .articleList__item--fig,
.articleList.type-card .xw-article-media.category-av-series:has(.article-category .list-label) .articleList__item--fig {
    margin-top: 34px;
}
