FOR THE COOKIES: – 1 & 3/4 cups (210g) all-purpose flour – 2 & 1/2 tablespoons unsweetened natural cocoa powder – 1 & 1/2 teaspoons baking soda – 1/2 teaspoon baking powder – 1/2 teaspoon salt – 1 & 1/2 cups (300g) granulated sugar – 3/4 cup (170g) unsalted butter, softened – 1 large egg – 1 teaspoon vanilla extract – 1 tablespoon red gel food coloring FOR THE CREAM CHEESE FROSTING: – 8 ounces (226g) cream cheese, at room temperature – 1/2 cup (113g) unsalted butter, softened – 4 cups (440g) confectioners' sugar – 2 teaspoons vanilla extract – up to 2 tablespoons heavy cream, if needed