The Mountain-Top Monasteries of Meteora

In the northwest corner of Thessaly, just beyond the town of Kalambaka rise sandstone peaks where monks settled in around the 11th century. The clifftop monasteries of Meteora are a marvelous sight to gaze at, but why were these nearly inaccessible retreats built there in the first place?