Assign a class to first element in category in loop
If wp_reset_postdata() doesn’t work as expected you can backup the original $post object by inserting global $post; // if you aren’t in global scope $postBk=$post; before doing your WP_Query and restore it with $post=$postBk; right after wp_reset_postdata();