The theory of linear mode conversion near evanescent layers is generalized for non-one-dimensionally inhomogeneous gyrotropic media. Effects are found that cannot be described within the standard one-dimensional paradigm of wave tunneling through the evanescent region when the mode coupling region assumes essentially two-dimensional topology.