To make these brownies gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that includes xanthan gum. Additionally, confirm that all other ingredients—especially the raspberry jam and chocolate—are certified gluten-free and manufactured in a gluten-free facility to avoid cross-contamination.