Improve styles for medium layout