/* Remove legacy layout spacers within the electives CMS content. */
.vb-electives-courses .bg-pentagon,
.vb-electives-courses .col-md-1 { display: none; }

.vb-electives-courses .col-md-10 {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 0;
}

.vb-electives-courses h4 {
    margin: 0 0 28px;
    color: var(--vb-navy);
    font: 700 28px/1.3 var(--vb-serif);
}

.vb-course-content.vb-electives-courses .table-responsive {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.vb-course-content.vb-electives-courses .table-responsive > table {
    min-width: 0;
    table-layout: fixed;
    border-style: hidden !important;
}

.vb-course-content.vb-electives-courses table :is(th, td) {
    padding: 20px 24px !important;
    font-size: 17px;
    line-height: 1.55;
    vertical-align: middle;
    overflow-wrap: break-word;
}

.vb-course-content.vb-electives-courses table th {
    background: var(--vb-blue) !important;
    font-size: 17px;
    font-weight: 700;
}

.vb-course-content.vb-electives-courses table :is(th, td):first-child {
    width: 88px !important;
    min-width: 0;
    padding-inline: 12px !important;
    text-align: center;
    white-space: nowrap;
}

.vb-course-content.vb-electives-courses table :is(th, td):last-child {
    width: auto !important;
    text-align: left;
}

.vb-electives-courses table td:first-child { color: var(--vb-blue); font-weight: 600; }
.vb-electives-courses table td:last-child { color: var(--vb-navy); font-weight: 600; }

.vb-electives-courses .table-responsive:focus-visible {
    outline: 2px solid var(--vb-blue);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .vb-electives-courses h4 { font-size: 26px; margin-bottom: 24px; }
    .vb-course-content.vb-electives-courses table :is(th, td) { padding: 18px !important; }
    .vb-course-content.vb-electives-courses table :is(th, td):first-child { width: 68px !important; }
}

@media (max-width: 600px) {
    .vb-electives-courses h4 { font-size: 24px; }
    .vb-course-content.vb-electives-courses table :is(th, td) { padding: 16px 12px !important; font-size: 16px !important; }
    .vb-course-content.vb-electives-courses table :is(th, td):first-child {
        width: 56px !important;
        padding-inline: 6px !important;
        font-size: 14px !important;
    }
}
