.article-table-contents-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: fit-content;
}

.article-table-contents-icon-up,
.article-table-contents-icon-down {
    font-weight: 700 !important;
    color: #000000;
}

.article-table-contents-title strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #263A4D;
}

.toc-level-1 a {
    color: #263A4D;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.0125em;
}

.toc-level-1 .cate-index {
    display: inline-block;
    min-width: 12px;
}

.toc-level-2 {
    padding-left: 24px;
}

    .toc-level-2 a {
        color: #263A4D;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.01em;
    }

        .toc-level-1 a:hover,
        .toc-level-2 a:hover {
            color: #11AD39;
        }


.article-table-contents-sidebar {
    padding: 8px 16px 40px 16px;
    gap: 0
}

.article-table-contents-sidebar__title {
    padding: 12px 0px 12px 0px;
    gap: 10px;
    border-bottom: 1px solid #E6E7E8;
}

    .article-table-contents-sidebar__title .header-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0.0125em;
        text-align: left;
        color: #00B14F;
    }

    .article-table-contents-sidebar__title .close-button {
        background-color: #f2f4f5;
        height: 24px;
        width: 24px;
        border-radius: 99px;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 18px;
        font-size: 18px;
        right: 16px;
    }

        .article-table-contents-sidebar__title .close-button i::before {
            font-size: 14px;
            line-height: 28px;
        }

.article-table-contents-sidebar .table-of-content .block-category {
    padding: 12px 0;
    border-bottom: 1px solid #E6E7E8;
}

    .article-table-contents-sidebar .table-of-content .block-category .toc-level-2 a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* width: 245px; */
    }

    .article-table-contents-sidebar .table-of-content .block-category .toc-level-1 span {
        /* color: #11AD39; */
    }

.article-table-contents-sidebar .toc-level-2-wrap {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px !important;
}

    .article-table-contents-sidebar .toc-level-2-wrap a {
        color: #7F878F;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.01em;
        text-align: left;
        font-family: Inter;
    }

    .article-table-contents-sidebar .toc-level-2-wrap .toc-level-2 {
        padding-left: 0;
    }

        .article-table-contents-sidebar .toc-level-2-wrap .toc-level-2 a:hover {
            text-decoration: underline;
        }

.article-table-contents-sidebar .block-category:last-child {
    border: 0
}
.article-table-contents {
    padding: 16px 20px;
    /* border: dashed 2px #e6e6e6; */
    border-radius: 8px;
    background: #F2F4F5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smoothy-scroll {
    scroll-behavior: smooth;
    scroll-margin: 300px;
}

.mini-table-of-contents-button {
    display: none;
    position: fixed;
    opacity: 0.8;
    z-index: 1;
    top: 50%;
    transform: translateX(-60px);
    transition: visibility 0s, opacity 0.2s linear;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: #02b04e;
    padding: 3px 8px;
    border-radius: 4px;
}

    .mini-table-of-contents-button:hover {
        opacity: 1;
    }

.mini-table-contents {
    display: none;
    /* max-width: 450px; */
    max-width: 300px;
    width: 100%;
    position: fixed;
    top: 78px;
    left: 0px;
    height: calc(100vh - 72px);
    background-color: #fff;
    /* border: 2px solid #dadada; */
    z-index: 5;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(1, 18, 34, 0.04);
    border-top: 1px solid #e9e9e9;
}

.article-table-contents .header-icon {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: center;
    width: 20px;
    height: 20px;
    color: #212F3F;
}

.mini-table-contents .article-table-contents {
    border: none;
    border-radius: 0;
    background-color: unset;
}

.mini-table-contents .close-button {
    position: absolute;
    right: 10px;
    font-size: 20px;
    top: 5px;
    cursor: pointer;
}

.table-of-content {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-level-1 {
    font-weight: 700;
}


.toc-level-2 {
    font-size: 14px;
    line-height: 24px;
}

.block-category {
}


.article-table-contents-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: fit-content;
}

.article-table-contents-icon-up,
.article-table-contents-icon-down {
    font-weight: 700 !important;
    color: #000000;
}

.article-table-contents-title strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #263A4D;
}

.toc-level-1 a {
    color: #263A4D;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.0125em;
}

.toc-level-1 .cate-index {
    display: inline-block;
    min-width: 12px;
}

.toc-level-2 {
    padding-left: 24px;
}

    .toc-level-2 a {
        color: #263A4D;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.01em;
    }

        .toc-level-1 a:hover,
        .toc-level-2 a:hover {
            color: #11AD39;
        }


.article-table-contents-sidebar {
    padding: 8px 16px 40px 16px;
    gap: 0
}

.article-table-contents-sidebar__title {
    padding: 12px 0px 12px 0px;
    gap: 10px;
    border-bottom: 1px solid #E6E7E8;
}

    .article-table-contents-sidebar__title .header-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0.0125em;
        text-align: left;
        color: #00B14F;
    }

    .article-table-contents-sidebar__title .close-button {
        background-color: #f2f4f5;
        height: 24px;
        width: 24px;
        border-radius: 99px;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 18px;
        font-size: 18px;
        right: 16px;
    }

        .article-table-contents-sidebar__title .close-button i::before {
            font-size: 14px;
            line-height: 28px;
        }

.article-table-contents-sidebar .table-of-content .block-category {
    padding: 12px 0;
    border-bottom: 1px solid #E6E7E8;
}

    .article-table-contents-sidebar .table-of-content .block-category .toc-level-2 a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* width: 245px; */
    }

    .article-table-contents-sidebar .table-of-content .block-category .toc-level-1 span {
        /* color: #11AD39; */
    }

.article-table-contents-sidebar .toc-level-2-wrap {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px !important;
}

    .article-table-contents-sidebar .toc-level-2-wrap a {
        color: #7F878F;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.01em;
        text-align: left;
        font-family: Inter;
    }

    .article-table-contents-sidebar .toc-level-2-wrap .toc-level-2 {
        padding-left: 0;
    }

        .article-table-contents-sidebar .toc-level-2-wrap .toc-level-2 a:hover {
            text-decoration: underline;
        }

.article-table-contents-sidebar .block-category:last-child {
    border: 0
}
