Median Layout and Typical Sections