/* Outer wrapper for the TOC, including title and TOC content */
.toc-wrapper {
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500!important;        /* Set font weight for all text inside */
    font-size: 1.05rem;      /* Set font size for all text inside */
}

/* Style for the TOC title */
.toc-title {
    margin-bottom: 10px;
}

.toc-title span {
    font-size: 200%; /* Set font size to 200% for title */
    color: #333;
}

/* Style for main headers with numbers */
.static-toc ol {
    list-style-type: decimal; /* Use decimal style for top-level ordered list */
    padding-left: 20px;       /* Indent to create hierarchy */
    margin: 0;
}

/* Style for nested headers with bullet points */
.static-toc ol ol {
    list-style-type: disc;    /* Use disc style for nested lists */
    padding-left: 20px;       /* Indent nested lists */
    margin: 0;
}

/* List item spacing */
.static-toc ol li {
    margin: 8px 0;
}

/* Link styling */
.static-toc .toc-link {
    color: #333;
    text-decoration: none;
    padding-left: 5px;
    display: block;
    border-radius: 4px;
    transition: none;
    margin: 0;
}

/* Hover styling for links */
.static-toc .toc-link:hover {
    color: #ca0819;
    background-color: transparent;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    /* Reduce padding and margin for the wrapper */
    .toc-wrapper {
        padding: 10px;
    }

    /* Adjust title font size */
    .toc-title span {
        font-size: 150%; /* Slightly smaller font size */
    }
}
.static-toc .toc-list a{
    font-weight: 500!important;        /* Set font weight for all text inside */
}
