Some Spanish schools allow students to leave early amid sweltering heat