/* -----------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------- */

/* Widen the content area (furo default is ~46em) */
:root {
    --font-size--normal: 0.9rem;   /* body text: slightly smaller than furo default (1rem) */
    --content-width: 100%;
}

/* -----------------------------------------------------------------------
   Typography — article body
   ----------------------------------------------------------------------- */

/* Pull down heading margins to reduce vertical sprawl */
article h1 { margin-top: 0.6em; margin-bottom: 0.35em; }
article h2 { margin-top: 1.1em; margin-bottom: 0.3em; }
article h3 { margin-top: 0.9em; margin-bottom: 0.25em; }

/* Tighten paragraph spacing */
article p { margin-top: 0.4em; margin-bottom: 0.5em; }

/* -----------------------------------------------------------------------
   Tables
   ----------------------------------------------------------------------- */

article table {
    font-size: 0.845rem;       /* compact table text */
    border-collapse: collapse;
    width: 100%;
}

article thead tr {
    background-color: var(--color-background-secondary);
}

article th,
article td {
    padding: 0.32em 0.75em;
    border: 1px solid var(--color-background-border);
    vertical-align: top;
}

/* Zebra stripe for readability */
article tbody tr:nth-child(even) {
    background-color: var(--color-background-secondary);
}

/* Inline code inside tables — prevent overflow and keep compact */
article td code,
article th code {
    font-size: 0.82rem;
    padding: 0.05em 0.3em;
    white-space: nowrap;
}

/* -----------------------------------------------------------------------
   Code blocks
   ----------------------------------------------------------------------- */

article .highlight pre,
article pre {
    font-size: 0.82rem;
    padding: 0.75em 1em;
}

/* -----------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */

/* Hide the "Made with Sphinx and Furo" footer credit */
.bottom-of-page .left-details {
    font-size: 0;
}
.bottom-of-page .left-details .copyright {
    font-size: 0.81rem;
}
