.toc__wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--darkGray70);
}
.toc__wrapper_second {
    padding-top: 24px !important;
    padding-bottom: 0px !important;
    background-color: transparent !important;
}

.toc__wrapper h2 {
    text-align: center;
}
.toc__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: nowrap;
}
.toc__container > ul a {
    color: var(--textMain) !important;
    border-radius: 100px !important;
    font-weight: 400 !important;
}
.toc__container > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
}
.toc__wrapper_second .toc__container > ul a {
    color: #1c2132 !important;
}
.toc__wrapper_second .toc__container > ul li a {
    font-weight: 600 !important;
    border: 2px solid #c1c5dc !important;
}
.toc__container > ul li {
    flex: 1 1 100%;
    width: max-content;
    min-width: max-content;
}
.toc__container > ul:first-child a {
    /* width: 252px; */
}
.toc__container > ul:last-child > li {
    /* flex: 1 0 auto; */
}
.toc__container > ul:last-child a {
    /* width: 206px; */
}
@media (max-width: 1340px) {
    .toc__wrapper {
        /* max-width: 88%; */
    }
    .toc__container > ul {
        gap: 8px;
    }
    .toc__container {
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: -12%;
        margin-right: -4%;
        /* margin-right: -10%; */
        padding: 0px 0% 0 12%;
    }
    .toc__container ul li a {
        padding: 12px 16px !important;
    }
}
@media (max-width: 865px) {
}
@media (max-width: 768px) {
    .toc__container {
        margin-top: 0;
    }
}
