/* css styles */

/* Make the margin sidebar wider */
#quarto-margin-sidebar {
    width: 400px !important;
    min-width: 400px !important;
    overflow: hidden !important; /* Hide scrollbars */
}

/* Adjust the main content area to accommodate wider sidebar */
.page-columns .page-full {
    grid-template-columns: 1fr 400px !important;
}

/* For larger screens, make it even wider */
@media (min-width: 1400px) {
    #quarto-margin-sidebar {
        width: 400px !important;
        min-width: 400px !important;
        overflow: hidden !important; /* Hide scrollbars */
    }
    
    .page-columns .page-full {
        grid-template-columns: 1fr 500px !important;
    }
}

/* Ensure the iframe fits nicely in the wider sidebar */
.margin-sidebar-content iframe {
    width: 100% !important;
    max-width: none !important;
}

/* Hide scrollbars for the entire sidebar content */
#quarto-margin-sidebar, 
#quarto-margin-sidebar * {
    overflow: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* Internet Explorer 10+ */
}

/* Hide scrollbars for webkit browsers (Chrome, Safari, Edge) */
#quarto-margin-sidebar::-webkit-scrollbar,
#quarto-margin-sidebar *::-webkit-scrollbar {
    display: none !important;
}
