Graham Holdings is buying Leaf Group, an online company that creates fitness and wellness-oriented brands, for $8.5 per share, or about $323 million. The deal is expected to close in June-July 2021.