This invention relates to compounds of formula I, their use as inhibitors of the microsomal prostaglandin E2 synthase-1 (mPGES-1), pharmaceutical compositions containing them, and their use as medicaments for the treatment and/or prevention of inflammatory diseases and associated conditions such as inflammatory/nociceptive pain. A, M, R1, R2, R7, Ra, Rb, Q3, Q4, Q6, Z2, Z4, Z5, Z6 and W have meanings given in the description.