The pubs sector experienced mixed fortunes in 2018 as changing trends and higher costs hit trading