Power from 24VAC

A half-wave rectifier will actually give an unloaded output voltage higher than the bridge rectifier, because there is only 1 diode voltage drop instead of 2.

If the unloaded input voltage isn't much above the 40V limit of the device I linked to, then you could use a few diodes in series to drop a few volts.