/*
 * Unfold's base styles set every element's margin to 0, and neither rich text editor puts
 * paragraph spacing back. A paragraph break therefore looked like a single line break in the
 * editor but arrived as a spaced paragraph in an email or on the site, and editors added empty
 * paragraphs to get the gap they could not see. These restore the spacing readers get: the
 * browser's default for <p>.
 */
.ck-content p,
trix-editor p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.ck-content p:first-child,
trix-editor p:first-child {
  margin-top: 0;
}

.ck-content p:last-child,
trix-editor p:last-child {
  margin-bottom: 0;
}
