.toc__container {
    /* padding-top: var(--mar-44) !important; */
    /* padding-bottom: var(--mar-80); */
    /* margin-bottom: var(--mar-80); */

    /* background-color: #0f0f0f; */

    & h2 {
        margin-bottom: 28px !important;
        color: white !important;
    }

    &.second {
        margin-bottom: 0 !important;
        margin-top: var(--mar-44);
    }

    & .embla__container {
        gap: 8px !important;
    }
}

.toc__wrapper .embla__container .embla__slide {
    flex: unset !important;
}

.toc__wrapper .embla__container {
    gap: 3px;
}

.toc__wrapper a {
    padding: 8px 16px !important;
    background-color: #020E28;
    text-transform: none !important;
    font-weight: 400 !important;
    border: 1px solid #012053 !important;
    /* border: none !important; */
    color: #999999 !important;
    border-radius: 100px !important;
}

.toc__wrapper a:hover {
    color: white !important;
    scale: 1 !important;
    background-color: var(--accent1) !important;
    /* color: inherit !important; */
}

/*  */
/*  */
/*  */
/*  */
/*  */
.tocPagination {
    margin-top: 24px;
    overflow: hidden;
    width: 100%;
    height: 4px;

    background-color: #04153B;

    position: relative;
    cursor: grab;
    border-radius: var(--brad);
}

.tocPagination.dragging {
    cursor: grabbing;
}

.tocPagination_progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--accent1);
    width: 0%;
    max-width: unset !important;
    pointer-events: none;
    transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    border-radius: var(--brad);
}

@media (max-width: 1024px) {
    .toc__wrapper {
        /* margin-bottom: 50px; */
    }
}

@media (max-width: 768px) {
    .tocPagination {
        /* margin-top: 0px; */
    }

    .toc__wrapper a {
        min-width: max-content;
    }

    .toc__wrapper {
        /* padding: 24px 0 !important; */
    }
}