Most high-speed trains in Italy, for instance, are air-conditioned, have wi-fi and have electrical outlets at each seat in all seating classes. Some trains only have second class seating, so even if you are holding a first-class rail pass you'll be riding second class on those trains.