Add support for nested media queries