add grid layout to archives and related styling/custom query function