Updated media queries for .pane elements