Hiking trails closed during heat wave