.bd-footer-content {
    display: none !important;
}

.prev-next-subtitle {
    display: none;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
}
h2 {
    font-size: 1.4rem;
}
h3 {
    font-size: 1.2rem;
}

/* Ensure Open Sans is used for sans-serif text */
body, p, a, li, div, span, input, button, .rst-content, .document {
    font-family: 'Open Sans', sans-serif, Arial !important;
}

/* Use Georgia for headings or serif text */
h1, h2, h3, h4, h5, h6, .toctree-wrapper, .caption-text {
    font-family: Georgia, Helvetica, 'Times New Roman', serif !important;
}

/* Ensure code blocks and preformatted text use a monospace font (optional) */
code, pre, .highlight, .code-block {
    font-family: 'Courier New', Courier, monospace !important;
}

/* Fix potential Material-UI or theme overrides */
.rst-content .section, .wy-nav-content, .wy-nav-content-wrap {
    font-family: 'Open Sans', sans-serif, Arial !important;
}

/* Make iframe fill the entire main content column (keeps sidebar visible) */
.iframe-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.full-main-iframe {
    width: 100% !important;
    height: 95vh !important;        
    min-height: 800px;              /* fallback for very short screens */
    border: none;
    display: block;
}

/*Program Styles*/
/* 1. Reset the table to look clean */
table.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
  }

/* 2. Header Styling - Uses a bottom border */
thead.table-header th {
border-bottom: 3px solid var(--pst-color-primary, #333); /* Uses theme color if available */
padding: 10px;
text-align: left;
font-weight: bold;
}

/* 3. Panel Dividers (e.g. "Panel 1...") */
tr.panel-header td {
border-top: 2px solid #888;
border-bottom: 2px solid #888;
padding-top: 15px;
padding-bottom: 15px;
font-size: 1.1em;
}

/* 4. The Abstract Row Styling */
tr.abstract-row td {
padding: 0; /* Remove default padding to let the detail box breathe */
border-bottom: 1px solid #ddd; /* Subtle separator between items */
}

/* 5. The container inside the details */
.abstract-content {
margin-left: 20px;       /* Indent to show hierarchy */
border-left: 4px solid #ccc; /* The vertical line */
padding-left: 15px;
padding-bottom: 10px;
margin-bottom: 10px;
opacity: 0.9;            /* Slightly softer text */
}

/* Remove border from the row immediately preceding an abstract so they look connected */
tr:has(+ tr.abstract-row) td {
    border-bottom: none;
}

/* Remove the right sidebar */
/* 1. Hide the right sidebar entirely */
.bd-sidebar-secondary {
    display: none;
}
/* 2. Override the width variables so the main content expands */
:root {
    --pst-sidebar-secondary: 0px;
}
/* 3. Force the article container to take up all remaining space */
.bd-article-container {
    max-width: 100% !important;
}
/* 4. Optional: Expand the inner content area (the actual text) */
.bd-content .bd-article {
    max-width: 100%; /* Or set to a specific px if you want a reading limit */
}
