#wrapper {
    overflow: visible;
}

.stm_markup__content {
    width: 100% !important;
}

main {
    scroll-behavior: smooth;
}

#post-table-of-contents {
    top: 100px;
    height: max-content;
    margin-bottom: 30px;
}

#post-table-of-contents .post-links {
    list-style: none;
    padding: 0;
}

#post-table-of-contents .post-contents-list-item {
    padding-left: 10px;
    border-left: 1px solid #efefef;
    padding-top: 4px;
    padding-bottom: 4px;
}

#post-table-of-contents .post-contents-list-item a {
    font-size: 13px;
    color: #b2b2b2;
    transition: color .2s ease;
  
}

#post-table-of-contents .post-contents-list-item a.active {
    color: #000;
}

#post-table-of-contents .post-contents-list-item a.active::before {
    opacity: 1;
}

#post-table-of-contents .post-contents-list-item a::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 3px;
    bottom: 3px;
    width: 2px;
    opacity: 0;
    transition: all .2s ease;
}

#post-table-of-contents .post-contents-list-item a:hover {
    color: #000;
}

div:has(> #post-table-of-contents .post-links:empty) {
    display: none;
}

@media (min-width: 1100px) {
    .post-table-of-contents {
        display: grid;
        grid-template-columns: 25% 75%;
        column-gap: 30px;
    }



    div:has(> #post-table-of-contents) {
        top: 100px;
        position: sticky;
        position: -webkit-sticky;
    }

}