Creates a reusable 16:9 image size for card thumbnails in themes and custom blocks.
add_action( 'after_setup_theme', 'wpfolks_register_card_image_size' );
function wpfolks_register_card_image_size() {
add_image_size( 'card-thumbnail', 640, 360, true );
}