Spain's official COVID-19 death toll passes 40,000 mark