# File lib/asciidoctor/document.rb, line 437
  def first_section
    has_header? ? @header : (@blocks || []).detect{|e| e.is_a? Section}
  end