.post-body {
  overflow-wrap: anywhere;
}
.post-body h2,
.post-body h3 {
  margin-block: 1.45em .5em;
  line-height: 1.25;
}
.post-body :is(ul, ol) {
  padding-inline-start: 1.6em;
  margin-block: 1em;
}
.post-body li + li {
  margin-block-start: .4em;
}
.post-body blockquote {
  border-inline-start: 3px solid #a64129;
  margin: 1.5em 0;
  padding: .2em 1.25em;
  color: #3d5046;
}
.post-body [data-align="left"] { text-align: left; }
.post-body [data-align="center"] { text-align: center; }
.post-body [data-align="right"] { text-align: right; }
.post-body [data-color="forest"] { color: #314a3e; }
.post-body [data-color="terracotta"] { color: #84351f; }
.post-body [data-color="plum"] { color: #593a54; }
.post-body [data-color="slate"] { color: #374957; }
.post-body mark {
  background-color: #ffe5a1;
  color: #332a16;
}
.post-body hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #c9ccbd;
}
.post-body [data-callout] { padding: .75rem 1rem; }
.post-body [data-callout="note"] {
  border-inline-start: 4px solid #314a3e;
  background-color: #edf3ee;
}
.post-body [data-callout="reminder"] {
  border-inline-start: 4px solid #955209;
  background-color: #fff2d2;
}
.post-body a[data-button="primary"] {
  display: inline-block;
  padding: .625rem 1.125rem;
  border: 1px solid #314a3e;
  border-radius: 5px;
  background-color: #314a3e;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.post-body a[data-button="primary"]:hover { text-decoration: underline; }
.post-body [data-button="primary"] :is([data-color], mark) {
  background-color: transparent;
  color: inherit;
}
.post-body :is(.rich-photo, .rich-video) {
  margin: 1.8em 0;
}
.post-body figure img,
.journal-draft-preview .journal-cover-preview {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: .65rem;
}
.post-body figcaption {
  margin-block-start: .55em;
  font-size: .9rem;
  color: #514b43;
  line-height: 1.6;
}
@media (min-width: 44rem) {
  .post-body .journal-photo-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.25rem;
    margin-block: 1.8em;
  }
  .post-body .journal-photo-pair > figure {
    margin: 0;
  }
}
article:has(.journal-photo-pair) h1 {
  overflow-wrap: anywhere;
}
.post-body .rich-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: .65rem;
  background: #f3efe9;
}
.post-body .rich-video[data-provider="instagram"] {
  max-width: 34rem;
  margin-inline: auto;
}
.post-body .rich-video[data-provider="instagram"] iframe {
  min-height: clamp(30rem, 115vw, 42rem);
}
.rich-video-player summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  border-radius: .65rem;
  background: #24392c;
}
.rich-video-player summary::-webkit-details-marker {
  display: none;
}
.rich-video-player summary img {
  width: 100%;
  max-height: 27rem;
  object-fit: cover;
}
.rich-video-player summary span {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  padding: .45em .9em;
  border-radius: .4rem;
  background: #203c30;
  color: #fff;
  font-weight: 600;
}
.rich-video-player[open] summary {
  margin-block-end: .5rem;
}
.rich-video-player[open] summary img {
  display: none;
}
.rich-video-player[open] summary span {
  display: inline-block;
  position: static;
}
.journal-draft-preview {
  max-width: 50rem;
}
.journal-draft-preview .post-body {
  line-height: 1.65;
}
@media print {
  .post-body iframe,
  .rich-video-player > summary span {
    display: none;
  }
  .post-body figcaption a[href]::after {
    content: " (" attr(href) ")";
  }
}
