.toc .swiper-slide {
    width: fit-content;
}

.toc .heading h2 {
    white-space: nowrap;
}

.toc .heading {
    margin-bottom: 24px;
}

.toc {
    background-color: transparent;
    max-width: 1150px;
    width: 90%;
    margin: auto;
    padding: 0;
    /* color: white; */
}

.toc a {
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    border: transparent;
    padding: 10px 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background-color: rgb(42, 45, 53);
}

.toc a:active,
.toc a:hover,
.toc a:focus {
    color: #ffffff;
    background-color: rgb(42, 45, 53);
}

.toc .swiper-wrapper {
    padding-top: 20px;
    padding-bottom: 24px;
}

.toc-swiper .swiper-scrollbar {
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    margin-top: 30px;
}

.toc-swiper .swiper-scrollbar-drag {
    background: #ea396a;
    border-radius: 2px;
    width: 20%;
}

.toc-swiper {
    display: flex;
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}
@media (max-width: 865px) {
    .mobile {
        margin-left: 5%;
    }
    .first-hr {
        display: none;
    }
    .update {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .toc {
        max-width: 1150px;
        width: 100%;

        padding: 0;
    }

    .toc-swiper .swiper-scrollbar {
        background: rgba(255, 255, 255, 0.1);
        height: 4px;
        border-radius: 2px;
        margin-top: 30px;
        width: 90%;
    }

    .toc-swiper .swiper-scrollbar-drag {
        background: #ea396a;
        border-radius: 2px;
        width: 10%;
    }

    .swiper-horizontal > .swiper-scrollbar,
    .swiper-scrollbar.swiper-scrollbar-horizontal {
        width: 90% !important;
        margin: 0 auto;
    }
    hr.aut {
        display: flex;
        height: 1px;
        background-color: #1b273f;
    }
}
