take pains over
take (great) pains over (something)
To expend a lot of time, effort, and care doing something. Your tutor took great pains over your instruction, but it's obvious that you've totally wasted his time and our money! It's clear that the owners have taken great pains over the interior design of the new restaurant. My grandmother always took pains over her appearance throughout her life, so losing her hair during her cancer treatment was especially difficult for her.
take pains over something
Fig. to deal with something with great care. (See also take pains with someone or something.) She certainly takes pains over her work. You will have to take pains over this if you want it to be done right.