.platformPublishBody {
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(14, 99, 156, 0.18), transparent 68%),
    var(--bg);
}

.platformReaderSection {
  padding-top: 34px;
}

.platformPublishEmbed .markdown-document.rich-editor {
  max-width: 980px;
  margin: 0 auto;
}

.platformPublishEmbed .markdown-document.rich-editor > h1:first-child {
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.9;
  margin-bottom: 22px;
}

.platformPublishEmbed .markdown-document.rich-editor > h1:first-child + p {
  color: #dfe8f2;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  max-width: 860px;
}

.platformPublishEmbed .markdown-document.rich-editor img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.platformPublishEmbed .markdown-document table,
.platformPublishEmbed .markdown-document .katex,
.platformPublishEmbed .markdown-document .katex-display,
.platformPublishEmbed .markdown-document math {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.platformPublishEmbed .markdown-document table,
.platformPublishEmbed .markdown-document .katex-display > .katex,
.platformPublishEmbed .markdown-document math {
  display: block;
}

@media (max-width: 720px) {
  .platformPublishBody .nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .platformPublishBody .brand {
    min-width: 0;
  }

  .platformPublishBody .ctaRow {
    width: 100%;
    justify-content: flex-start;
  }

  .platformPublishBody .ctaRow .btn.primary {
    max-width: 100%;
    white-space: normal;
  }
}
