.post-toc {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-block: 1px solid currentColor;
    text-align: start;
    font-size: .95em;
    line-height: 1.6;
}

.post-toc ul {
    margin: .35rem 0 0;
    padding-inline-start: 1.25rem;
}

.post-toc li {
    margin: .15rem 0;
}

.post-toc a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
    overflow-wrap: anywhere;
}

[id^="post-section-"] {
    scroll-margin-top: 1rem;
}
