Derating is taken as a straight line between the datasheet points (full load up to the knee, the stated percentage at the maximum operating temperature). Check the curve and mounting orientation in the datasheet. Peak ratings are taken as stated; ask the maker how they derate with temperature.