encapsulating single post styles