/* Center the title and increase size */
h1 {
    text-align: center;
    font-size: 2.4em;
}

/* Add space between list items */
.toctree-wrapper li {
    margin-bottom: 10px;
}

/* Improve font appearance */
body {
    font-family: 'Segoe UI', sans-serif;
}

/* Add a subtle box around the toctree list */
.toctree-wrapper {
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

/* Add spacing between top-level list items in the toctree */
.toctree-wrapper > ul > li {
    margin-top: 1em;
    font-weight: bold;
}

/* Optional: indent and style nested items */
.toctree-wrapper ul ul {
    margin-left: 1.2em;
    font-weight: normal;
    line-height: 1.6;
}

/* Optional: make the links less harsh */
.toctree-wrapper a {
    color: #1a4b91;
    text-decoration: none;
}

.toctree-wrapper a:hover {
    text-decoration: underline;
}

/* Optional: subtle background for the toctree box */
.toctree-wrapper {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 1.2em;
    border-radius: 8px;
}

/* Top-level title (usually h1) */
h1 {
    font-size: 2.4em;
    border-bottom: 3px solid #1a4b91;
    padding-bottom: 0.3em;
    margin-bottom: 0.8em;
    font-weight: 700;
    color: #2a2a2a;
}

/* Section titles (usually h2) */
h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.2em;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
    color: #333;
}

/* Subsection titles (h3) */
h3 {
    font-size: 1.4em;
    margin-top: 1.2em;
    color: #444;
    font-weight: 500;
}
