/* ==========================================================================
   Text pages: About, Privacy, For sponsors, For organizers.
   templates/core/{about,privacy,for_sponsors,for_organizers}.html, loaded
   through {% block extra_css %}. Prose, steps, cards and buttons are
   site.css components as they are; only how they sit together here.

   One reading column (--measure). Each section starts under a hairline, as
   the sections of a festival page do. On the two audience pages the first
   section — the main path — has its action beside it from 56rem
   (.layout-split); on a phone the action follows the section, in the
   order of the text, so focus follows the screen.
   ========================================================================== */

.text-body > h2 {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}
.text-body > h2:first-child { margin-top: 0; }
.text-split + .text-body { margin-top: var(--space-7); }
main > .container > :last-child { padding-bottom: var(--space-8); }

/* The path and its action side by side. */
.text-split { align-items: start; }
.text-split .steps { margin-bottom: 0; }
.text-split .card h2 { margin-bottom: var(--space-3); }
.text-split .card p:not(.actions) { max-width: var(--measure); }
.text-split .card .actions { margin: var(--space-5) 0 0; }
.text-split .card ul { margin: 0; padding-left: 1.25rem; }
.text-split .card li + li { margin-top: var(--space-2); }
@media (min-width: 56rem) {
  /* Level with the section's heading, under the same hairline. */
  .text-split > aside { margin-top: calc(var(--space-4) + 1px); }
}
