/* Meta TOC Container */
.meta-toc {
    margin-bottom: 25px;
}

.box-readmore, .wrap-toc {
    padding: 8px 15px;
    border: 1px solid #dedede;
    margin-bottom: 2rem;
    border-radius: 5px;
    background-color: #eeeeee;
    transition: all 0.2s ease-in-out;
}

/* TOC Header Title */
.tt-toc, .toc-head {
    position: relative;
    font-size: 18px;
    text-transform: uppercase;
    font-family: arial;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}


.tt-toc svg, .toc-head svg {
    transition: transform 0.25s ease;
}

.tt-toc.is-open svg, .toc-head.is-open svg {
    transform: rotate(180deg);
}

/* TOC List */
.box-readmore ul, .wrap-toc ul, ul.toc-list {
    list-style-type: none;
    counter-reset: item;
    margin-bottom: 0px;
    padding-left: 0px !important;
    margin-top: 10px;
    display: none;
}

.box-readmore ul li, .wrap-toc ul li, ul.toc-list li {
    display: table;
    counter-increment: item;
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 15px;
}

.box-readmore ul li::before, .wrap-toc ul li::before, ul.toc-list li::before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 6px;
    font-weight: 600;
    color: #0f172a;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list li a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.toc-list li a:hover{
    color: red !important;
}

.toc-list ul {
    padding-left: 18px !important;
    margin-top: 6px;
    display: block !important;
}

