Palermo to Naples

We are traveling on the intercity notte sleeper train with a 2 person berth overnight. I think the last time we took an overnight train was through India in 2020 (just before everything shut down). We decided to take the overnight train to avoid 8 hour daytime train and, since we have never been to Naples, are spending 2 nights there before going onward to Rome (via faster train).