/* Container Formatting */
.legal-document {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

/* Typography styles */
.legal-document h1 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 5px;
    border-bottom: 2px solid lightgray;
    padding-bottom: 10px;
}

.legal-document .meta-date {
    font-size: 14px;
    color: #aaaaaa;
    margin-top: 0;
    margin-bottom: 30px;
}

.legal-document h2 {
    font-size: 20px;
    color: #dddddd;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 5px;
}

.legal-document h3 {
    font-size: 16px;
    color: #aaaaaa;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-document p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Bulleted Lists formatting */
.legal-document ul {
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-document li {
    margin-bottom: 8px;
}

/* Table of Contents Box styling */
.legal-toc {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.legal-toc h2 {
    font-size: 18px !important;
    margin-top: 0 !important;
    border-bottom: 1px solid #dcdcdc !important;
}

.legal-toc ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.legal-toc li {
    margin-bottom: 6px;
}

.legal-toc a {
    color: #0056b3;
    text-decoration: none;
}

.legal-toc a:hover {
    text-decoration: underline;
}