In recent years, Mexico and the United States have stepped up drug enforcement efforts, pushing more of the drug trade to sea routes and forcing drug smugglers to find more creative ways to hide their contraband.

The cargo was aboard the freight ship Dover Strait and had been loaded in Costa Rica, the navy said.