Remove blank space and advertisement text on unfilled ad

Just in case you wouldn’t be aware of it, the CSS :has selector isn’t widely supported, notably Firefox: