/* Layout corrections applied on top of the compiled site.
 *
 * There is no source project to rebuild, so refinements live here and are
 * loaded after the bundled styles. Class names in the build are hashed,
 * hence the substring selectors on the stable part of each name.
 */

/* Long-form prose ran the full width of the container, which is hard to
 * read. Hold it to most of the width rather than a character count, which
 * left too much empty space on wide screens. Only paragraphs that are
 * direct children of the page body are affected, so the two-column vita
 * and exhibition lists keep their existing layout.
 */
article[class*="PageContent"] > p,
article[class*="PageContent"] > blockquote {
  max-width: 85%;
}

/* Date columns in the vita lists are flex items sized by their own
 * content, so every row aligned differently as soon as one label was
 * wider than its neighbours. A fixed basis lines all rows up; 5rem
 * holds the longest form in use ("19.09.2020 –") without wrapping.
 */
article[class*="PageContent"] ul > li > p:first-child {
  -webkit-flex: 0 0 5rem;
  -ms-flex: 0 0 5rem;
  flex: 0 0 5rem;
}
