Spain struggles to avoid downward spiral