/* Long-form article typography only. Keep blog index, chrome and sidebars untouched. */
.sk-post .sk-post-content {
    width: 100%;
    max-width: 68ch;
    margin-inline: auto;
    color: #253044;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    overflow-wrap: break-word;
}

.sk-post .sk-post-content p {
    margin: 0 0 1.15em;
}

.sk-post .sk-post-content h2 {
    margin: 2em 0 .65em;
    color: #172033;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.sk-post .sk-post-content h3 {
    margin: 1.7em 0 .6em;
    color: #172033;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    text-wrap: balance;
}

.sk-post .sk-post-content :is(h2, h3):first-child {
    margin-top: 0;
}

.sk-post .sk-post-content :is(ul, ol) {
    margin: 0 0 1.25em;
    padding-left: 1.45em;
}

.sk-post .sk-post-content li {
    margin: .45em 0;
    padding-left: .18em;
}

.sk-post .sk-post-content li::marker {
    color: #0f7b75;
    font-weight: 700;
}

.sk-post .sk-post-content blockquote {
    margin: 1.6em 0;
    padding: .15em 0 .15em 1.15em;
    border-left: 3px solid #0f7b75;
    color: #4f5f78;
    font-size: 1.02em;
}

.sk-post .sk-post-content blockquote > :last-child {
    margin-bottom: 0;
}

.sk-post .sk-post-content a {
    color: #2457d6;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.sk-post .sk-post-content a:hover {
    color: #0f7b75;
}

.sk-post .sk-post-content :is(img, video, iframe) {
    display: block;
    max-width: 100%;
    height: auto;
    margin-block: 1.55em;
}

.sk-post .sk-post-content figure {
    max-width: 100%;
    margin: 1.55em 0;
}

.sk-post .sk-post-content figure :is(img, video, iframe) {
    margin-block: 0;
}

.sk-post .sk-post-content figcaption {
    margin-top: .65em;
    color: #6d7890;
    font-size: 14px;
    line-height: 1.5;
}

.sk-post .sk-post-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.55em 0;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.sk-post .sk-post-content :is(th, td) {
    min-width: 8em;
    padding: .7em .8em;
    border: 1px solid #dfe7f1;
    text-align: left;
    vertical-align: top;
}

.sk-post .sk-post-content th {
    color: #172033;
    background: #f7f9fc;
    font-weight: 700;
}

.sk-post .sk-post-content pre {
    max-width: 100%;
    margin: 1.55em 0;
    padding: 1em;
    overflow-x: auto;
    border-radius: 8px;
    background: #172033;
    color: #f7f9fc;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

.sk-post .sk-post-content :not(pre) > code {
    padding: .12em .32em;
    border-radius: 4px;
    background: #eef2f7;
    color: #253044;
    font-size: .9em;
}

.sk-post .sk-post-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #dfe7f1;
}

/* Generated article navigation: inline overview plus the desktop sticky contents. */
.sk-post .sk-post-content :is(h2, h3)[id] {
    scroll-margin-top: 96px;
}

.sk-post .sk-post-inline-toc {
    margin: 0 0 32px;
    padding: 22px 24px;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    background: #fff;
}

.sk-post .sk-post-inline-toc h2 {
    margin: 0 0 15px;
    color: #172033;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.sk-post .sk-post-inline-toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sk-post .sk-post-inline-toc li {
    min-width: 0;
}

.sk-post .sk-post-inline-toc li.sub {
    padding-left: 18px;
}

.sk-post .sk-post-inline-toc a {
    display: block;
    padding: 5px 8px;
    border-radius: 7px;
    color: #0f7b75;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sk-post .sk-post-inline-toc li.sub a {
    color: #526078;
    font-size: 14px;
    font-weight: 600;
}

.sk-post .sk-post-inline-toc a:hover {
    background: #f7f9fc;
}

.sk-post .sk-post-inline-toc a:focus-visible {
    outline: 3px solid rgba(15, 123, 117, .28);
    outline-offset: 1px;
}

.sk-post .sk-post-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
}

.sk-post .sk-post-sidebar .sk-post-toc {
    position: static;
    box-sizing: border-box;
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-gutter: stable;
    scroll-padding-block: 12px;
}

.sk-post .sk-post-sidebar .sk-post-toc h2 {
    margin-bottom: 14px;
}

.sk-post .sk-post-sidebar .sk-post-toc ol {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sk-post .sk-post-sidebar .sk-post-toc li {
    min-width: 0;
}

.sk-post .sk-post-sidebar .sk-post-toc li.sub {
    padding-left: 9px;
}

.sk-post .sk-post-sidebar .sk-post-toc a {
    margin: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow-wrap: anywhere;
}

.sk-post .sk-post-sidebar .sk-post-toc a::after {
    display: none;
}

.sk-post .sk-post-sidebar .sk-post-toc:focus-visible,
.sk-post .sk-post-sidebar .sk-post-toc a:focus-visible {
    outline: 3px solid rgba(15, 123, 117, .28);
    outline-offset: -3px;
}

@media (max-width: 640px) {
    .sk-post .sk-post-content {
        max-width: none;
        font-size: 17px;
        line-height: 1.72;
    }

    .sk-post .sk-post-content h2 {
        margin-top: 1.75em;
        font-size: 25px;
        line-height: 1.28;
    }

    .sk-post .sk-post-content h3 {
        margin-top: 1.55em;
        font-size: 21px;
    }

    .sk-post .sk-post-content :is(ul, ol) {
        padding-left: 1.25em;
    }

    .sk-post .sk-post-content blockquote {
        padding-left: .9em;
    }

    .sk-post .sk-post-inline-toc {
        margin-bottom: 26px;
        padding: 17px 16px;
    }

    .sk-post .sk-post-inline-toc h2 {
        font-size: 16px;
    }

    .sk-post .sk-post-inline-toc a {
        padding: 5px 4px;
        font-size: 15px;
    }

    .sk-post .sk-post-inline-toc li.sub {
        padding-left: 13px;
    }
}

@media (max-width: 980px) {
    .sk-post .sk-post-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .sk-post .sk-post-sidebar .sk-post-toc {
        display: none;
    }
}
