During Friday prayers the congregation of Muhammad Yousef, a young puritanical preacher in the Egyptian town of Mansoura, once spilled out into the alleys surrounding his mosque. Now Sheikh Muhammad counts it a good week if he fills half the place.
In Cairo, 68 miles to the south, unveiled women sit in street cafes, traditionally a male preserve, smoking water pipes. Some of the establishments serve alcohol, which Islam prohibits. "We're in religious decline," moans Sheikh Muhammad, whose despair is shared by clerics in many parts of the Arab world.
According to Arab Barometer, a pollster, much of the region is growing less religious. Voters who backed Islamists after the upheaval of the Arab Spring in 2011 have grown disillusioned with their performance and changed their minds. In Egypt support for imposing sharia (Islamic law) fell from 84 percent in 2011 to 34 percent in 2016. Egyptians are praying less, too.
In places such as Lebanon and Morocco, only half as many Muslims listen to recitals of the Qur'an today, compared with 2011. Gender equality in education and the workplace, long hindered by Muslim tradition, is widely accepted. "Society is driving change," says Michael Robbins, an American who heads Barometer.
But so, too, is a new crop of Arab leaders, who have adjusted their policies in line with the zeitgeist. They are acting, in part, out of political self-interest. The region's authoritarians, who once tried to co-opt Islamists, now view them as the biggest threat to their rule. By curbing the influence of clerics they are also weakening checks on their own power. Still, many Arab leaders seem genuinely interested in molding more secular and tolerant societies, even if their reforms do not extend to the political sphere.
The United Arab Emirates (UAE) has led the way in relaxing religious and social restrictions. While leading a regional campaign against Islamist movements, Muhammad bin Zayed, the crown prince of Abu Dhabi and the UAE's de facto leader, has financed the construction of Western university branches and art galleries. He has encouraged young women out of domestic seclusion and into military service, his daughter included. Female soldiers often walk the streets in uniform. In marked contrast to the region's post-independence nationalist leaders, who purged their societies of Armenians, Greeks, Italians and Jews, he has embraced diversity, though tough restrictions on citizenship persist.
In Egypt, President Abdel-Fattah al-Sisi has not only banned the Muslim Brotherhood, the region's pre-eminent Islamist movement, but denounced Al-Azhar, the Muslim world's oldest seat of learning, for "intolerance." He has closed thousands of mosques and said that Muslims must not sacrifice sheep in their homes during festivals without a license. On some beaches, burkinis — body-covering swimwear for conservative women — are banned. In a break from his predecessors, Sisi has attended Christmas mass in Cairo's Coptic cathedral three years in a row (though he doesn't stay long). "We're becoming more European," explains an Egyptian official.
The most remarkable, albeit nascent, transformation is in ultraconservative Saudi Arabia, where Muhammad bin Salman, the young crown prince, has curbed the religious police, sacked thousands of imams and launched a new Center for Moderation to censor "fake and extremist texts." Women will soon be allowed to drive cars and enter sports stadiums.