.post-toc {
    margin: 0 0 40px;
    padding: 24px 28px 26px;
    background: #f5f7f3;
    border-left: 4px solid #75c152;
    border-radius: 4px;
}

.post-toc__title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #090a0a;
}

.entry-content .post-toc .post-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: post-toc;
}

.entry-content .post-toc .post-toc__item {
    position: relative;
    display: block;
    counter-increment: post-toc;
    margin: 0 0 10px;
    padding: 0 0 0 30px;
    list-style: none;
    font-size: 17px;
    line-height: 1.45;
}

.entry-content .post-toc .post-toc__item:last-child {
    margin-bottom: 0;
}

.entry-content .post-toc .post-toc__item::before {
    content: counter(post-toc) ".";
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
    color: #62a83f;
}

.entry-content nav.post-toc .post-toc__list .post-toc__link {
    color: #3a3d3f;
    text-decoration: none;
    border: 0;
    border-bottom: 1px solid rgba(117, 193, 82, .45);
    -webkit-transition: color .15s ease-out, border-color .15s ease-out;
    transition: color .15s ease-out, border-color .15s ease-out;
}

.entry-content nav.post-toc .post-toc__list .post-toc__link:hover,
.entry-content nav.post-toc .post-toc__list .post-toc__link:focus {
    color: #4f9a2f;
    border-bottom-color: #4f9a2f;
}

.entry-content h2[id] {
    scroll-margin-top: 110px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 767px) {
    .post-toc {
        margin: 0 0 30px;
        padding: 20px 20px 22px;
    }

    .post-toc__title {
        font-size: 16px;
    }

    .entry-content .post-toc .post-toc__item {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .post-toc {
        display: none;
    }
}
