/* ================================
   BASE STYLES
   ================================ */
body {
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* ================================
   HEADER STYLES
   ================================ */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #00205B;
    letter-spacing: 0.5px;
}

.header .instructor {
    font-size: 16px;
    margin-bottom: 30px;
}

.course-info {
    margin-bottom: 30px;
}

.course-info p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 20px;
}

.info-section p {
    font-size: 16px;
    line-height: 1.6;
}

.info-section strong {
    font-weight: bold;
}

.lectures-section {
    margin-top: 40px;
    position: relative;
}

/* ================================
   SCHEDULE TABLE STYLES
   ================================ */
.schedule-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00205B;
}

table {
    width: 1000px;
    border-collapse: collapse;
    margin-bottom: 30px;
    table-layout: fixed;
    position: relative;
}

th {
    background-color: #00205B;
    color: white;
    padding: 16px 12px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    border-bottom: 2px solid #00205B;
}

td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.5;
}

/* Simple alternating row colors using classes */
tbody tr.row-even {
    background-color: #f8f8f8 !important;
}

tbody tr.row-odd {
    background-color: #ffffff !important;
}

/* Detail rows have subtle background */
tbody tr.lecture-details-row {
    background-color: #f0f0f0 !important;
}

.topic-header {
    background-color: #7C7E7F !important;
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 14px;
    text-align: center !important;
    padding: 16px 12px !important;
}

.lecture-number {
    font-weight: bold;
    width: 60px;
    color: #00205B;
    font-size: 16px;
}

.topic-cell {
    text-align: left;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #00205B;
    word-wrap: break-word;
    cursor: pointer;
}

.topic-cell:hover {
    color: #0066cc;
    text-decoration: underline;
}

.date-cell {
    width: 100px;
    font-size: 15px;
    color: #7C7E7F;
    font-weight: 500;
}

.reading-cell {
    width: 200px;
    font-size: 14px;
    text-align: left;
    padding-left: 12px;
    line-height: 1.4;
}

.assignment-cell {
    width: 140px;
    font-size: 14px;
    text-align: center;
}

.reading-cell a {
    color: #00205B;
    text-decoration: none;
    margin: 0 2px;
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 3px;
}

.reading-cell a:hover {
    text-decoration: underline;
    color: #00205B;
}

.reading-main {
    font-weight: 600;
    margin-bottom: 5px;
}

.reading-optional {
    color: #666;
    font-style: italic;
    font-size: 12px;
}

.email-link, .website-link {
    color: #00205B;
    text-decoration: none;
}

.email-link:hover, .website-link:hover {
    text-decoration: underline;
}

.placeholder {
    color: #7C7E7F;
    font-style: italic;
    font-size: 13px;
}

.resources-section {
    margin-top: 30px;
}

.resources-section h3 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
    color: #00205B;
}

.resources-section p {
    font-size: 16px;
    line-height: 1.6;
}

.resources-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.resources-section li {
    margin-bottom: 8px;
}

.resources-section a {
    color: #0066cc;
    text-decoration: underline;
}

.assessment-section {
    margin-top: 30px;
}

.assessment-section h3 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
    color: #00205B;
}

.assessment-list {
    margin-left: 20px;
}

.assessment-list li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.projects-section {
    margin-top: 30px;
}

.projects-section h3 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
    color: #00205B;
}

.project-themes {
    margin-left: 20px;
    margin-bottom: 20px;
}

.project-themes li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.projects-section p {
    font-size: 16px;
    line-height: 1.6;
}

.policies-section {
    margin-top: 30px;
}

.policies-section h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

.policies-section h4 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.policies-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.policies-section a {
    color: #0066cc;
    text-decoration: underline;
}

.banner-container {
    width: 100%;
    margin-bottom: 30px;
}

.banner-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* ================================
   EXPANDABLE LECTURE DETAILS
   ================================ */
.lecture-details {
    display: none;
    background-color: #f9f9f9;
    border-left: 4px solid #00205B;
    padding: 15px;
    margin: 5px 0 15px 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    text-align: left;
    width: 1000px;
    box-sizing: border-box;
    clear: both;
}

.lecture-details-row {
    background-color: #f9f9f9 !important;
}

.lecture-details-cell {
    padding: 15px !important;
    text-align: left !important;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}