Preheat the Oven: Preheat to 350°F (175°C) and line a cupcake pan with paper liners.
Mix Dry Ingredients: Whisk flour, sugar, cocoa powder, baking powder, baking soda, and salt together.
Combine Wet Ingredients: Mix eggs, oil, buttermilk, and vanilla in another bowl.
Combine Mixtures: Gradually add wet ingredients to dry, stirring until just combined.
Bake the Cupcakes: Fill liners and bake for 18-20 minutes until a toothpick comes out clean.
Make the Filling: Heat jam until liquid, then set aside to cool.
Core the Cupcakes: Remove the center of each cupcake to create a well.
Fill with Jam: Spoon jam into each well generously.
Prepare the Frosting: Beat softened butter, then gradually add powdered sugar, cream, vanilla, and food coloring.
Frost the Cupcakes: Pipe or spread frosting on top of each cupcake.
Garnish: Add fresh raspberries on top for decoration.