Flexibility of work hours and location definitely goes a long way. One thing COVID did in Ukraine that could be called a positive was set a precedent that we could be working from home all the time and it doesn't hurt the productivity.
Of course, some employers would still ignore that for the sake of their fragile egos and illusion of control, but the place I work at actually reduced the office space to almost half of what it used to be. Unsurprisingly, this also helped when the war started and a lot of employees got displaced.
"No laws on Ceres, just cops" - The Expanse