.post-article {
  width: 100%;
  min-width: 0;

  padding-block: var(--space-9) 0;
}

.post-article-section > * {
  width: var(--article-column);

  margin-inline: auto;
}

.post-article-section > .post-inline-image,
.post-article-section > .post-table,
.post-article-section > .post-table-caption,
.post-article-section > .post-code-block {
  width: var(--article-wide);
}

.post-article-section + .post-article-section {
  margin-top: var(--section-gap-tight);
}

.post-article-section h2,
.post-article-section h3,
.post-article-section h4 {
  margin-bottom: var(--space-4);

  overflow-wrap: break-word;
}

.post-article-section h2 {
  margin-top: 0;
}

.post-article-section h3 {
  margin-top: var(--space-9);
}

.post-article-section h4 {
  margin-top: var(--space-7);
}

.post-article-section p {
  margin-block: 0 var(--space-5);
}

.post-article-section > :last-child {
  margin-bottom: 0;
}

/* Prose links are the one place in the theme where a link is
   underlined. Inside running text, colour alone is not a
   sufficient signal. */

.post-article-section p a,
.post-article-section li a {
  color: var(--brand);

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition: color var(--motion-ui);
}

.post-article-section p a:hover,
.post-article-section li a:hover {
  text-decoration-thickness: 2px;
}

.post-article-list {
  margin-block: 0 var(--space-5);
  padding-left: var(--space-6);
}

.post-article-list li + li {
  margin-top: var(--space-3);
}

.post-article-list li::marker {
  color: var(--brand);
}

.post-article-list ul,
.post-article-list ol {
  margin-block: var(--space-3) 0;
  padding-left: var(--space-6);
}

.post-quote {
  margin-block: var(--block-gap);
  padding-left: var(--space-6);

  border-left:
    3px solid
    var(--brand);
}

.post-quote p {
  margin: 0;
}

.post-quote footer {
  margin-top: var(--space-3);

  color: var(--text-secondary);
}

.post-article-section p code,
.post-article-section li code,
.post-article-section td code {
  padding: 0.15em 0.4em;

  border-radius: var(--radius-xs);

  background: var(--surface-sunken);



  overflow-wrap: break-word;
}

@media (max-width: 720px) {

  .post-article {
    padding-top: var(--space-7);
  }

  .post-article-section h3 {
    margin-top: var(--space-7);
  }

}

.post-article-section { overflow-wrap: anywhere; }
