Effect of the Interface Transparency and Ferromagnetic Thickness on the Critical Temperature of NbN/Gd/NbN hybrid structure