Synthesis of Intermediate-Mass Elements in Classical Novae: From Si to Ca