/* Hide the left navigation sidebar */
#sidebar,
.sidebar,
nav.sidebar,
.nav-chapters,
.mobile-nav-chapters,
.nav-wrapper,
#menu-bar-hover-placeholder,
#sidebar-toggle-anchor,
.sidebar-scrollbox,
#sidebar-resize-indicator {
    display: none !important;
    width: 0 !important;
    visibility: hidden !important;
}

/* Expand the main content to full width */
#page-wrapper.page-wrapper,
.page-wrapper {
    margin-left: 0 !important;
    margin-inline-start: 0 !important;
    transform: none !important;
}

#content,
.content,
main {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 40px !important;
}

/* Hide the sidebar toggle button */
#sidebar-toggle,
.sidebar-toggle,
#menu-bar .left-buttons #sidebar-toggle {
    display: none !important;
}

/* Adjust menu bar */
#menu-bar .left-buttons {
    margin-left: 15px !important;
}
