/* General Setup and Accessibility (Requirement 3, 6) */
body {
    background-color: rgb(20, 25, 30); /* Deep Charcoal Blue */
    color: rgb(255, 255, 255); /* Pure White - Max contrast (AAA) */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold; /* Requirement 6: Every font shall be in bold */
    line-height: 1.6;
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border: 5px solid rgb(190, 160, 80); /* Authoritative Ochre/Gold border */
    border-radius: 10px;
}

/* Headings and Sections */
h1 {
    text-align: center;
    color: rgb(190, 160, 80);
    padding: 10px;
    border-bottom: 2px solid rgb(190, 160, 80);
}

.section-heading,.sub-heading,.sub-sub-heading {
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 1px dashed rgb(190, 160, 80);
    color: rgb(255, 255, 255); 
}

p, ul, li {
    font-weight: bold; /* Ensure all content is bold */
    margin-bottom: 15px;
}

/* Navigation (TOC and Jump Links) */
#toc-nav {
    position: sticky;
    top: 0;
    background-color: rgb(20, 25, 30);
    padding: 15px 0;
    border-bottom: 3px solid rgb(190, 160, 80);
    z-index: 1000;
    text-align: center;
}

.toc-heading {
    color: rgb(190, 160, 80);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.toc-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 90%;
    margin: auto;
}

.jump-button {
    background-color: rgb(40, 50, 60);
    color: rgb(255, 255, 255);
    border: 2px solid rgb(190, 160, 80);
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.jump-button:hover {
    background-color: rgb(190, 160, 80);
    color: rgb(20, 25, 30);
}

/* Tables Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgb(30, 40, 50);
}

th, td {
    border: 2px solid rgb(190, 160, 80);
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

th {
    background-color: rgb(190, 160, 80);
    color: rgb(20, 25, 30);
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    color: rgb(190, 160, 80);
    font-size: 0.9em;
    padding-bottom: 10px;
}

/* Print Media Query (Requirement 4: Print Option) */
@media print {
    body {
        background-color: white!important;
        color: black!important;
        border: none;
    }

    main {
        border: none;
        box-shadow: none;
        color: black;
    }

    h1, h2, h3, h4,.disclaimer {
        color: #000!important; /* Force black for printing */
        border-color: #aaa!important;
    }

    #toc-nav,.print-button {
        display: none; /* Hide navigation and print button */
    }

    table {
        border-color: #000!important;
        background-color: #eee!important;
    }

    th {
        background-color: #ccc!important;
        color: #000!important;
    }
}