/* ============================================
   PHILOSOPHY & PSYCHOLOGY OF EXPLANATION
   Minimal Academic Theme (GitHub Pages style)
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.75;
    color: #1a1a1a;
    background: #fafafa;
}

/* Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 40px 80px;
}

/* Header */
.header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: none;
}

.header h1 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.subtitle {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Typography */
h2 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    color: #111;
    letter-spacing: -0.01em;
}

h3 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 21px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 14px;
    color: #222;
}

h4 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #333;
}

h5 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #3d444d;
}

p {
    margin-bottom: 16px;
    color: #333;
}

a {
    color: #1a5fb4;
    text-decoration: none;
    transition: color 0.15s ease;
    border-bottom: 1px solid rgba(26, 95, 180, 0.25);
}

a:hover {
    color: #0d47a1;
    border-bottom-color: rgba(13, 71, 161, 0.5);
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 1.5em;
}

li {
    margin-bottom: 6px;
    line-height: 1.6;
}

ul li::marker {
    color: #8b949e;
}

em {
    font-style: italic;
}

strong {
    font-weight: 600;
}

/* Course info */
.course-info {
    margin-bottom: 20px;
}

.course-details {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 0;
    letter-spacing: 0.01em;
    font-weight: 400;
}

/* Instructor block */
.instructor {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.instructor-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.instructor-info {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.instructor-detail {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Description block */
.description {
    margin-bottom: 28px;
}

/* Application notice */
.application-notice {
    margin-bottom: 40px;
    padding: 16px 20px;
    border-left: 3px solid #0969da;
    background: #f6f8fa;
    border-radius: 0 4px 4px 0;
}

.application-notice p {
    font-size: 17px;
    line-height: 1.7;
    color: #24292f;
    margin-bottom: 0;
}

.description p {
    font-size: 21px;
    line-height: 1.8;
    color: #333;
    max-width: 72ch;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

.section-header {
    margin-bottom: 28px;
}

.section-badge {
    display: none; /* Hide decorative badges */
}

.section-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.section-subtitle {
    color: #57606a;
    font-size: 16px;
    margin-bottom: 0;
}

/* Schedule Parts */
.schedule-part {
    margin-bottom: 48px;
    padding: 28px 28px 24px 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.part-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.part-number {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.02em;
    background: #333;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.part-info h3 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 23px;
    font-weight: 600;
    margin: 0;
    display: block;
    color: #111;
    letter-spacing: -0.01em;
}

.part-info span {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    display: block;
    font-size: 16px;
    color: #777;
    margin-top: 3px;
    letter-spacing: 0.01em;
}

/* Week entries - simple list style */
.schedule-week {
    padding: 20px 14px;
    margin: 0 -14px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.15s ease;
    border-radius: 4px;
}

.schedule-week:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.schedule-week:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.week-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.week-number {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 3px;
}

.session-date {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-left: 12px;
}

.session-date::before {
    content: "";
}

.week-topic {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
    line-height: 1.4;
}

.week-readings {
    font-size: 20px;
    color: #333;
    line-height: 1.65;
    padding-left: 1px;
    border-left: 2px solid #e0e0e0;
    margin-left: 0;
    padding-left: 14px;
}

.reading-primary {
    margin-bottom: 4px;
}

.reading-secondary {
    font-size: 17px;
    color: #777;
    padding-left: 0;
    margin-top: 4px;
    font-style: italic;
}

.reading-secondary::before {
    content: "Secondary reading: ";
    font-style: normal;
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.reading-note {
    font-size: 18px;
    color: #555;
    padding-left: 0;
    margin-top: 6px;
    line-height: 1.6;
}

/* Student presentations part - no number badge */
.part-presentations .part-number {
    background: transparent;
    border: 2px dashed #ccc;
    color: transparent;
}

/* Footer */
.footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.footer a {
    color: #777;
    border-bottom: none;
}

.footer a:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 700px) {
    .container {
        padding: 32px 20px 48px;
    }

    .header h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 22px;
    }

    .section-title {
        font-size: 13px;
    }

    .schedule-part {
        padding: 20px 18px 16px 18px;
        margin-left: -8px;
        margin-right: -8px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .part-header {
        gap: 12px;
    }

    .part-info h3 {
        font-size: 18px;
    }

    .week-header {
        flex-wrap: wrap;
        gap: 6px;
    }

    .week-number {
        font-size: 11px;
    }

    .session-date {
        margin-left: 0;
        display: block;
        margin-top: 4px;
    }

    .week-topic {
        font-size: 18px;
    }

    .week-readings {
        font-size: 18px;
        padding-left: 12px;
    }
}

/* Print */
@media print {
    .container {
        max-width: none;
        padding: 0;
    }
}
