A monastery flattened against the rock