.slowcloud-entry-content,
.slowcloud-editor-preview {
    color: var(--slowcloud-text, #243449);
    font-size: 1rem;
    line-height: 1.82;
    word-wrap: break-word;
}

.slowcloud-entry-content > :first-child,
.slowcloud-editor-preview > :first-child {
    margin-top: 0;
}

.slowcloud-entry-content > :last-child,
.slowcloud-editor-preview > :last-child {
    margin-bottom: 0;
}

.slowcloud-entry-content {
    scroll-behavior: smooth;
}

.slowcloud-entry-content :is(h2, h3, h4)[id] {
    scroll-margin-top: 24px;
}

.slowcloud-article-toc {
    margin: 0 0 1.6em;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--slowcloud-toc-bg, rgba(255, 255, 255, .58));
}

.slowcloud-article-toc__title {
    margin-bottom: 8px;
    color: var(--slowcloud-text, #243449);
    font-size: .94rem;
    font-weight: 700;
}

.slowcloud-article-toc__list {
    margin: 0;
    padding-left: 1.2em;
}

.slowcloud-article-toc__item {
    margin: 0;
    color: var(--slowcloud-muted, #6d7b8f);
    font-size: .92rem;
    line-height: 1.65;
}

.slowcloud-article-toc__item + .slowcloud-article-toc__item {
    margin-top: 2px;
}

.slowcloud-article-toc__item--level-3 {
    margin-left: 1em;
}

.slowcloud-article-toc__item--level-4 {
    margin-left: 2em;
}

.slowcloud-article-toc a {
    color: inherit;
}

.slowcloud-article-toc a:hover {
    color: var(--slowcloud-accent-deep, #507fb7);
}

.slowcloud-entry-content p,
.slowcloud-editor-preview p {
    margin: 1em 0;
}

.slowcloud-entry-content h1,
.slowcloud-entry-content h2,
.slowcloud-entry-content h3,
.slowcloud-entry-content h4,
.slowcloud-entry-content h5,
.slowcloud-entry-content h6,
.slowcloud-editor-preview h1,
.slowcloud-editor-preview h2,
.slowcloud-editor-preview h3,
.slowcloud-editor-preview h4,
.slowcloud-editor-preview h5,
.slowcloud-editor-preview h6 {
    margin: 1.5em 0 .65em;
    color: var(--slowcloud-text, #243449);
    font-weight: 700;
    line-height: 1.25;
}

.slowcloud-entry-content h1,
.slowcloud-editor-preview h1 {
    font-size: 1.9rem;
}

.slowcloud-entry-content h2,
.slowcloud-editor-preview h2 {
    font-size: 1.55rem;
}

.slowcloud-entry-content h3,
.slowcloud-editor-preview h3 {
    font-size: 1.3rem;
}

.slowcloud-entry-content h4,
.slowcloud-editor-preview h4 {
    font-size: 1.12rem;
}

.slowcloud-entry-content h5,
.slowcloud-editor-preview h5 {
    font-size: 1rem;
}

.slowcloud-entry-content h6,
.slowcloud-editor-preview h6 {
    color: var(--slowcloud-muted, #6d7b8f);
    font-size: .92rem;
}

.slowcloud-entry-content a,
.slowcloud-editor-preview a {
    color: var(--slowcloud-accent-deep, #507fb7);
    text-decoration: none;
}

.slowcloud-entry-content a:hover,
.slowcloud-editor-preview a:hover {
    color: var(--slowcloud-text, #243449);
}

.slowcloud-entry-content img,
.slowcloud-entry-content pre,
.slowcloud-entry-content blockquote,
.slowcloud-entry-content table,
.slowcloud-editor-preview img,
.slowcloud-editor-preview pre,
.slowcloud-editor-preview blockquote,
.slowcloud-editor-preview table {
    max-width: 100%;
}

.slowcloud-entry-content img,
.slowcloud-editor-preview img {
    height: auto;
    border-radius: 8px;
}

.slowcloud-entry-content ul,
.slowcloud-entry-content ol,
.slowcloud-editor-preview ul,
.slowcloud-editor-preview ol {
    margin: 1em 0;
    padding-left: 1.6em;
}

.slowcloud-entry-content li + li,
.slowcloud-editor-preview li + li {
    margin-top: .35em;
}

.slowcloud-entry-content blockquote,
.slowcloud-editor-preview blockquote {
    margin: 1.25em 0;
    padding: .2em 0 .2em 1.2em;
    border-left: 4px solid var(--slowcloud-line, rgba(94, 122, 161, .18));
    color: var(--slowcloud-muted, #6d7b8f);
}

.slowcloud-entry-content blockquote > :first-child,
.slowcloud-editor-preview blockquote > :first-child {
    margin-top: 0;
}

.slowcloud-entry-content blockquote > :last-child,
.slowcloud-editor-preview blockquote > :last-child {
    margin-bottom: 0;
}

.slowcloud-entry-content hr,
.slowcloud-editor-preview hr {
    width: 100%;
    margin: 2em 0;
    border: 0;
    border-top: 1px solid var(--slowcloud-line, rgba(94, 122, 161, .18));
}

.slowcloud-entry-content table,
.slowcloud-editor-preview table {
    width: 100%;
    margin: 1.25em 0;
    border-collapse: collapse;
    overflow-wrap: anywhere;
}

.slowcloud-entry-content th,
.slowcloud-entry-content td,
.slowcloud-editor-preview th,
.slowcloud-editor-preview td {
    padding: .65em .8em;
    border: 1px solid var(--slowcloud-line, rgba(94, 122, 161, .18));
    text-align: left;
    vertical-align: top;
}

.slowcloud-entry-content th,
.slowcloud-editor-preview th {
    background: rgba(122, 166, 216, .12);
    color: var(--slowcloud-text, #243449);
    font-weight: 700;
}

.slowcloud-entry-content :not(pre) > code,
.slowcloud-editor-preview :not(pre) > code {
    padding: .16em .38em;
    border-radius: 4px;
    background: rgba(122, 166, 216, .14);
    color: var(--slowcloud-accent-deep, #507fb7);
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: .92em;
}

.slowcloud-entry-content .summary::after,
.slowcloud-editor-preview .summary::after {
    display: block;
    margin: 2em 0;
    color: var(--slowcloud-muted, #6d7b8f);
    font-size: .86rem;
    text-align: center;
    content: "- more -";
}

.slowcloud-entry-content .embed,
.slowcloud-editor-preview .embed {
    height: 42px;
    margin: 1em 0;
    overflow: hidden;
    border: 1px solid var(--slowcloud-line, rgba(94, 122, 161, .18));
    border-radius: 8px;
    color: var(--slowcloud-muted, #6d7b8f);
    font-size: .86rem;
    line-height: 42px;
    text-align: center;
}
