/* Scoped to category cards; leave theme placeholders as they are. */
body.category .kf-archive-grid .kf-archive-card .kf-archive-image:not(.is-empty) {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    line-height: 0 !important;
    flex: 0 0 auto !important;
}
body.category .kf-archive-grid .kf-archive-card .kf-archive-image:not(.is-empty) > img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
}
