/* Copyright (c) 2026 Gavin Burke
   This code is the property of Gavin Burke and is protected under applicable intellectual property laws.
   Unauthorized use, reproduction, or distribution is strictly prohibited. */

   @font-face {
    font-family: 'Times-Bold';
    src: url('../../../font/times-bold.ttf');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Times';
    src: url('../../../tree-fonts/times/times.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.table-of-content {
    width: 80%;
    /* font-family: KaTeX_Main, 'Palatino', serif !important; */
    font-family: 'Times-Bold' !important;
    font-weight: 600;
    font-size: 20px;
}

.table-of-content ol {
    display: block;
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

.table-of-content ol>li {
    display: table;
    counter-increment: item;
    margin: 0;
    margin-top: 12px;
    padding: 0;
    margin-bottom: 0.6em;
    font-family: 'Palatino' !important;
    font-size: 15px;
    /* width: 100%; */
}

.table-of-content ol>li:before {
    content: counters(item, ".") " ";
    display: table-cell;
    padding-right: 0.9em;
}

.table-of-content>ol>li:before {
    font-family: 'Times-Bold';
    position: relative;
    /* top: -3px; */
}

.table-of-content ol>.heading {
    position: relative;
}

.heading .flex-wrapper,
.sub-heading-container .flex-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.heading .flex-wrapper span,
.sub-heading-container .flex-wrapper span {
    margin: 0;
    align-self: baseline;
    /* line-height: 1; */
    font-family: 'Times-Bold';
}

.table-of-content ol .heading .sub-heading-container {
    width: 100%;
}

.sub-heading-container ol li .row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.sub-heading-container ol li .row span {
    margin: 0;
    font-family: 'Times';
}

.sub-heading-container ol li .row a {
    background: white;
    z-index: 1;
    padding: 0 10px 0 0;
    /* font-family: 'Palatino' !important; */
    font-family: 'Times' !important;
}

.sub-heading-container ol li .row:before {
    content: "";
    position: absolute;
    left: 0;
    right: 35px;
    height: 14px;
    vertical-align: bottom;
    background-image: radial-gradient(circle, black 1.375px, transparent 0px);
    background-size: 15px 20px;
    background-repeat: repeat-x;
    bottom: 5px;
}

.table-of-content ol .heading .sub-heading-container ol li {
    position: relative;
    line-height: 1.35;
}

.table-of-content ol>li:nth-child(n+10)::before,
.table-of-content ol>li ol>li:nth-child(n+10)::before {
    padding-right: 0.4em;
}

.table-of-content ol>li ol>li {
    margin: 0;
    font-weight: 100;
}

.table-of-content ol>li ol>li:before {
    content: counters(item, ".") " ";
    font-family: 'Times';
}

.table-of-content a {
    max-width: 90%;
    color: black;
    margin: 0;
    /* font-family: KaTeX_Main, 'Palatino', serif !important; */
    font-family: 'Times-Bold' !important;
}

/* .table-of-content .flex-wrapper a {
    line-height: 1;
    padding-top: 1px;
} */

.table-of-content li span {
    display: flex;
}

/* .table-of-content li span::before {
    content: "";
    background: repeating-linear-gradient(to right, currentColor, currentColor 1px, transparent 2px, transparent 12px);
    height: 1px;
    flex-grow: 1;
    display: inline-block;
    margin-top: 1em;
} */

.table-of-content ol>li {
    display: flex;
    flex-direction: row;
}

/* .table-of-content ol > li:has(ol){
    display: table;
} */
.row {
    margin: 0;
    display: flex;
}

