SAN JUAN, Costa Rica (AP) — Governing party candidate wins Costa Rica presidential ballot, defeating rival who opposed same-sex marriage.