#articleContent h1::before,
#articleContent h2::before,
#articleContent h3::before,
#articleContent h4::before,
#articleContent h5::before,
#articleContent h6::before {
    display: block;
    content: " ";
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

#articleContent :focus {
    outline: none;
}

.toc-fixed {
    position: fixed;
    top: 64px;
    height: 90vh;
    overflow: auto;
}

.toc-widget {
    width: 345px;
    padding-left: 20px;
}

.toc-widget .toc-title {
    padding: 35px 0 15px 17px;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
}

.toc-widget ol {
    padding: 0;
    list-style: none;
}

#toc-content {
    padding-bottom: 30px;
    overflow: auto;
}

#toc-content ol {
    padding-left: 10px;
}

#toc-content ol li {
    padding-left: 10px;
}

/*toc中标题折叠*/
.toc-item-wrapper svg {
    width: 1.2em;
    height: 1.2em; 
    rotate: 0deg;
    
}
.toc-item-wrapper{
    align-items: center; /* 垂直居中 */
    display: flex; /* 使用flex布局 */
    font-size: 1.2rem; /* 调整字体大小 */
    font-weight: bold; /* 设置字体加粗 */
}
.toc-list.evoldown span{
    display: flex;
    align-items: center; /* 垂直居中 */
}

.toc-list.evoldown span a{
    display: flex;
    align-items: center; /* 垂直居中 */
}
.toc-list.evoldown{
    background-color: white;
    width: 100%;
    border-radius: .5em .5em .5em .5em / .5em .5em .5em .5em;
}


#toc-content .toc-link:hover {
    color: #42b983;
    font-weight: 700;
    text-decoration: underline;
}

#toc-content .toc-link::before {
    background-color: transparent;
    max-height: 25px;

    position: absolute;
    right: 23.5vw;
    display: block;
}

#toc-content .is-active-link {
    color: #42b983;
}

#floating-toc-btn {
    position: fixed;
    right: 15px;
    bottom: 76px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 998;
}

#floating-toc-btn .btn-floating {
    width: 48px;
    height: 48px;
}

#floating-toc-btn .btn-floating i {
    line-height: 48px;
    font-size: 1.4rem;
}
