I've been taught that in EM waves the electric and magnetic field are in phase. Nevertheless using Maxwell equation in absence of sources and solving the wave equation $$\square f=0$$ in cylindrical coordinates and under clindrical symmetry ($\frac{\partial f}{\partial \phi}=\frac{\partial f}{\partial z}=0$) one can get as solution the two fields with a only one nonzero component, and in the limit of $r>>\frac{\omega}{c}$ has:
$$\begin{cases} E_z\approx E_z^0\frac{1}{\sqrt{r}} \mathrm{sin}[\omega(\frac{r}{c}-t)-\frac{\pi}{4}] \\ B_{\phi}\approx-E_\phi^0\frac{1}{c\sqrt{r}} \mathrm{sin}[\omega(\frac{r}{c}-t)-\frac{\pi}{4}] \end{cases}$$
The two fields are out of phase! So is the in-phase relation between the two fields really a universal rule? Or is it valid only in some cases (such as the simplest case of a plane wave)