/* Wide, left-aligned content for all pages except Release Notes.
   Loaded conditionally by theme/main.html, not globally.
   Explicit specificity supersedes the older empty-sidebar layout rules. */
html:root body .md-container .md-main[data-md-component="main"] > .md-main__inner.md-grid {
    display: flex !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    width: 100%;
    /* Match Material's standard .md-grid width used by header and tabs. */
    max-width: 61rem !important;
    margin-inline: auto !important;
}

html:root body .md-container .md-main[data-md-component="main"] > .md-main__inner.md-grid > .md-content {
    flex: 1 1 0%;
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    grid-column: auto !important;
}

/* Material's primary sidebar becomes a navigation drawer below this
   breakpoint. Preserve that drawer so mobile navigation stays available. */
@media screen and (min-width: 76.25em) {
    html:root body .md-container .md-main[data-md-component="main"] > .md-main__inner.md-grid > .md-sidebar--primary {
        display: none !important;
    }
}
