Adjusted markup and CSS for improved responsive design