/* The 1254 × 1254 source is a 3 × 3 sprite with square 418 × 418 tiles.
 * Keep each viewport square so background-size: 300% 300% scales both axes
 * equally. This also preserves the original category-specific positions.
 */
body.wp-theme-apollo-kitchen .category-grid .category-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

body.wp-theme-apollo-kitchen .category-grid .category-photo > .food-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 300% 300%;
    background-repeat: no-repeat;
}
