/* Custom CSS to widen the content area for Lake Shore Model 346 documentation */

/* Increase max-width of the main content area */
.wy-nav-content {
    max-width: 1000px !important;  /* Default is 800px */
}

/* Alternative: Use full width (uncomment if you want even wider) */
/*
.wy-nav-content {
    max-width: none !important;
}
*/

/* Ensure tables are responsive and fit within the content area */
.wy-table-responsive table {
    width: 100%;
}

/* Force table text to wrap instead of expanding table width */
.wy-table-responsive table td,
.wy-table-responsive table th {
    overflow-wrap: break-word;  /* Break long words only when necessary */
    white-space: normal !important;
}

/* Prevent horizontal overflow on tables */
.wy-table-responsive {
    overflow-x: visible !important;
}

.rst-content table.docutils {
    width: 100% !important;
}

/* Optional: Adjust font size if content feels cramped after widening */
/*
.wy-nav-content {
    font-size: 95%;
}
*/

/* Center text in tables with centered-table class */
.centered-table td,
.centered-table th {
    text-align: center !important;
}
