/* Font size for PRIMARY navigation links (Left Sidebar) */
.md-sidebar--primary .md-nav__link {
    font-size: 0.85rem;
    line-height: 1.3;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Font size for PRIMARY section headers */
.md-sidebar--primary .md-nav__title {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Spacing between PRIMARY items */
.md-sidebar--primary .md-nav__item {
    padding-bottom: 0.1rem;
}

/* Font size for SECONDARY navigation links (Table of Contents) */
.md-sidebar--secondary .md-nav__link {
    font-size: 0.6rem;
    line-height: 1.1;
    padding-top: 0.05rem;
    padding-bottom: 0.05rem;
}

.md-sidebar--secondary .md-nav__title {
    font-size: 0.65rem;
}

/* Hide 'Made with Material for MkDocs' footer link only */
.md-footer-copyright__highlight,
.md-footer__meta .md-copyright a[href*="squidfunk"] {
    display: none !important;
}

/* Ensure the copyright text itself is visible */
.md-footer__meta .md-copyright {
    display: block !important;
    visibility: visible !important;
}

/* Prevent table first column from wrapping */
.md-typeset table:not([class]) td:first-child,
.md-typeset table:not([class]) th:first-child {
    white-space: nowrap;
}

/* Ensure code in tables doesn't wrap */
.md-typeset table:not([class]) code {
    white-space: nowrap;
}

/* Grid layout for side-by-side content */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}