By Dominic Evans and Erika Solomon
BEIRUT (Reuters) - Pope Benedict urged Arab leaders on Sunday at a huge open-air Mass in Lebanon to work for reconciliation in a Middle East riven by Syria's civil war and blazing with fury over a film mocking the Muslim Prophet Mohammad.
"May God grant to your country, to Syria and to the Middle East, the gift of peaceful hearts, the silencing of weapons and the cessation of all violence," the pope said in a prayer after Mass that organizers said was attended by 350,000 people.
Activists say more than 27,000 people have been killed in Syria's 18-month-old, mainly Sunni Muslim uprising against President Bashar al-Assad, who belongs to the minority Alawite sect that grew out of Shi'ite Islam.
Few Christians, who form about 10 percent of Syria's population, have joined the uprising, fearing that it could bring hostile Islamists to power in a fight raging just 50 km (30 miles) east of Benedict's Mass in Beirut.
Addressing worshippers on the Mediterranean seafront, close to the front-line of Lebanon's 1975-1990 civil war, Benedict said Lebanese people "know all too well the tragedy of conflict and...the cry of the widow and the orphan".
"I appeal to the Arab countries that, as brothers, they might propose workable solutions respecting the dignity, the rights and the religion of every human person," the 85-year-old pontiff said.
Peace between warring factions and among the many religious groups in the Middle East has been a central theme of his visit to Lebanon, along with his call to Christians not to leave the region despite war and growing pressure from radical Islamists.
"In a world where violence constantly leaves behind its grim trail of death and destruction, to serve justice and peace is urgently necessary," Benedict said.
The pope has made no reference during his three-day visit to a U.S-made film depicting the Prophet Mohammad which has caused unrest across the Muslim world, including a protest in north Lebanon on Friday in which one person was killed.
Politicians from all sectors of multi-faith Lebanon attended the Mass, including from the militant Shi'ite group Hezbollah. Leaders of the country's main religions all assured the Vatican of their support for the visit in advance.
The Mass took place on reclaimed land next to the port without any shade for the crowd, despite temperatures of more than 30 degrees centigrade (86 Fahrenheit).
The altar was shielded from the sun under a canopy, but the pope was seen mopping sweat from his forehead at one point.
Red Cross workers carried away at least two worshippers who fainted from the heat half way through the celebration.
Many in the crowd wore white caps bearing the motto of the visit, "salami o-tikum!" (Arabic for "my peace I give to you"), a phrase the pope, known as 'Baba' in Arabic, has repeated in several speeches.
Cedars of Lebanon, the country's symbol, featured in a white backdrop to the altar where the pope presided over the Mass, and on the white capes worn by prelates of the Maronite Church, the largest of six Christian churches here linked to the Vatican.
Prelates from other Eastern Catholic churches stood out in their distinctive gold or black vestments, in contrast to the green chasuble worn by the pope. Hymns in Arabic added a local touch to the Gregorian and classic Catholic works being sung.
Streets near Beirut's port were closed to traffic in the morning and soldiers manned main intersections. Three military helicopters buzzed overhead and a navy ship patrolled offshore.
Worshippers at the Mass were grateful the pope came to Lebanon, where Christians make up about a third of the population. Their community is split into a dozen churches and the Muslims into Sunnis, Shi'ites and Alawites, as well as the Druze whose traditions mix Shi'ism and other influences.
Eli Baalina, 17, a Lebanese Maronite, said the visit "came at a perfect time, when things were heating up a bit".
"He gave us a chance to stop and think about the bigger things in life," he said. "It's a good chance to reflect on the things like sectarianism and extremism, things that we all need to work to change about ourselves in this region."
A Filipino maid named Julianne, 31, said: "Everyone thinks the Middle East is only about Muslims, but there is a big Christian community and we should celebrate too."
Several in the crowd were heartened by the pope's repeated calls for Christians to stay in the Middle East, where war, emigration and discrimination have cut their ranks to 5 percent of the population now compared to 20 percent a century ago.
"His message is to give us pride and encouragement that it is worth the effort to work for coexistence and understanding and to ensure Christians remain here," said Maronite Silva Mansour, attending the Mass with her husband and month-old baby.
The German-born pontiff conducted the Mass in French and Latin and lay people also offered prayers in Arabic, Armenian, Greek and English.
(Writing by Tom Heneghan; Editing by Louise Ireland)
(c) Copyright Thomson Reuters 2012. Check for restrictions at: http://about.reuters.com/fulllegal.asp