Media queries optimization