/* LSAPS Syllabus Table Styles */

.lsaps-syllabus {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 750px;
    margin: 0 auto;
    overflow-x: auto;
}

.lsaps-syllabus-table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    border: 2px solid #999 !important;
}

.lsaps-syllabus-table th,
.lsaps-syllabus-table td {
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
    border: 1px solid #999;
}

/* Column widths */
.lsaps-syllabus-table th:nth-child(1),
.lsaps-syllabus-table td:nth-child(1) {
    width: 17%;
}

.lsaps-syllabus-table th:nth-child(2),
.lsaps-syllabus-table td:nth-child(2) {
    width: 63%;
}

.lsaps-syllabus-table th:nth-child(3),
.lsaps-syllabus-table td:nth-child(3) {
    width: 20%;
}

/* Header */
.lsaps-syllabus-table thead th {
    background-color: #9fa8c4 !important;
    line-height: 1.8;
}

/* Month headings */
.lsaps-syllabus h3 {
    margin-top: 25px;
    margin-bottom: 8px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .lsaps-syllabus-table {
        font-size: 0.85em;
        width: 100%;
    }

    .lsaps-syllabus-table th,
    .lsaps-syllabus-table td {
        padding: 6px;
    }
}