/* Override this file to customise the theme's CSS for your site */

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }

h1, h2, h3, h4, h5, h6 { margin-bottom: 0.75rem; }

/* Full-width pages: no sidebar, wider content column (set fullwidth: true
   in front matter). Used for long-form technical docs where the sidebar's
   15rem column makes tables/code/diagrams cramped. */
.page--full {
    max-width: 80rem;
}

@media (min-width: 45rem) {
    .page--full {
        grid-template-areas:
          "header"
          "body"
          "footer";
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The theme ships zero border/line styling for tables (spacing only) —
   fine for short lists, illegible for dense reference tables. */
table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--off-fg);
}
th:first-child, td:first-child {
    padding-left: 0.75rem;
}
th {
    border-bottom: 2px solid var(--fg);
    font-weight: bold;
}
