body {
    font-family: Optima, Candara, Calibri, Arial, sans-serif;
    margin-top: 20px;
    /* font-family: 'Tangerine', serif; */
}

code {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 85%;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #00A0FF;
    text-decoration: underline;
}

.title {
    font-size: 38px;
    font-weight: 400;
    /* color: #8C1515; */
    /* center */
    text-align: center;
}

.title2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}


.section {
    /* margin-bottom: 24px; */
    margin-top: 24px;
    display: block;
}

.subsection{
    margin-top: 16px;
    margin-bottom: 32px;
}

#overview .subsection{
    margin-bottom: 12px;
}

.para-heading {
    margin-bottom: 0px;
    margin-top: 24px;
    font-weight: 600;
    font-size: 20px;
}

.para-heading-inline {
    font-weight: 600;
    font-size: 16px;
}

.top {
    padding-top: 40px;
}

.navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.28rem;
    /* color: #0044ee; */
    font-weight: 400;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 16px;
}

.site-header nav {
    justify-self: end;
}

.site-header .seas-logo-header {
    justify-self: center;
}

.seas-logo-nav {
    height: 32px;
    width: auto;
    margin-right: 8px;
}

.seas-logo-header {
    height: 64px;
    width: auto;
    margin-bottom: 8px;
}

.header-spacer {
    height: 32px;
}

h1 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 16px;
    color: #8C1515;
}

h2 {
    /* font-family: 'Fira Sans', sans-serif; */
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 16px;
    margin-top: 24px;
}

h3 {
    /* font-family: 'Fira Sans', sans-serif; */
    font-weight: 300;
    font-size: 18px;
}

h4 {
    /* font-family: 'Fira Sans', sans-serif; */
    font-weight: 200;
    font-size: 18px;
}

h5 {
    /* font-family: 'Fira Sans', sans-serif; */
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 4px;
    margin-top: 22px;
}

p {
    font-size: 17px;
    margin-bottom: 10px;
}

#schedule table th:nth-child(2),
#schedule table td:nth-child(2) {
    min-width: 108px;
    width: 108px;
}

#schedule table th:nth-child(3),
#schedule table td:nth-child(3) {
    min-width: 200px;
    width: 200px;
}

#schedule table th:nth-child(6),
#schedule table td:nth-child(6) {
    max-width: 160px;
    width: 160px;
}

.footer {
    /* position: fixed; */
    background-color: white;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.site-footer {
    text-align: center;
}

/* FAQ List Styling */
.faq-list {
    margin-top: 16px;
}

.faq-item {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

/* Discussion Schedule Styling - Inline Version */
.discussion-schedule-inline {
    margin: 16px 0;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    overflow-x: auto;
}

.schedule-row {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.schedule-cell {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.schedule-cell:hover {
    background-color: #e9ecef;
    border-color: #8C1515;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.schedule-cell .duration {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #8C1515;
    margin-bottom: 8px;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #8C1515;
}

.schedule-cell .activity {
    font-size: 13px;
    line-height: 1.3;
    color: #333;
}

.total-time {
    text-align: center;
    margin-top: 12px;
    padding: 8px 12px;
    background-color: #e7f3ff;
    border-radius: 4px;
    border-left: 3px solid #0066cc;
}

.total-time time {
    font-weight: 600;
    color: #0066cc;
    font-size: 14px;
}

/* Responsive Design for Schedule - Mobile */
@media (max-width: 768px) {
    .discussion-schedule-inline {
        padding: 12px;
    }
    
    .schedule-row {
        gap: 8px;
    }
    
    .schedule-cell {
        min-width: 120px;
        padding: 8px;
    }
    
    .schedule-cell .duration {
        font-size: 12px;
        padding: 3px 6px;
        margin-bottom: 6px;
    }
    
    .schedule-cell .activity {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .schedule-cell {
        min-width: 100px;
        padding: 6px;
    }
    
    .schedule-cell .activity {
        font-size: 11px;
    }
}

/* Lead paragraph styling */
.lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Paper Reading Strategy Styling - Compact */
.reading-passes {
    margin: 16px 0;
}

.reading-pass {
    margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.reading-pass:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.pass-header {
    background: linear-gradient(135deg, #8C1515, #a8322e);
    color: white;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
}

.pass-header h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.pass-goal {
    font-size: 15px;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}

.pass-content {
    padding: 16px;
}

.pass-content h4 {
    color: #8C1515;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 2px;
}

.pass-content h4:first-child {
    margin-top: 0;
}

.pass-content ul {
    margin-bottom: 12px;
}

.pass-content li {
    margin-bottom: 4px;
    line-height: 1.5;
    font-size: 16px;
}

.tip {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 12px 0;
    border-left: 3px solid #f39c12;
    font-size: 15px;
}

.tip strong {
    color: #d68910;
}

.evaluation-lens {
    background-color: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 12px 0;
    border-left: 3px solid #17a2b8;
    font-size: 15px;
}

.evaluation-lens h4 {
    color: #17a2b8;
    margin-top: 0;
    border: none;
    padding: 0;
    font-size: 15px;
}

.strategy-summary {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 16px;
    margin-top: 20px;
    border-left: 3px solid #28a745;
}

.strategy-summary p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.5;
}

.strategy-summary strong {
    color: #28a745;
}

.reference-links {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.reference-links h4 {
    color: #8C1515;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.reference-links ul {
    margin: 0;
    padding: 0;
}

.reference-links li {
    margin-bottom: 8px;
    list-style: none;
    padding-left: 0;
}

.reference-links a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
}

.reference-links a:hover {
    background-color: #8C1515;
    color: white;
    border-color: #8C1515;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(140, 21, 21, 0.3);
}

/* Responsive Design for Reading Strategy - Compact */
@media (max-width: 768px) {
    .pass-header {
        padding: 10px 12px;
    }
    
    .pass-header h3 {
        font-size: 17px;
    }
    
    .pass-content {
        padding: 12px;
    }
    
    .tip, .evaluation-lens {
        padding: 8px 10px;
    }
    
    .strategy-summary {
        padding: 12px;
    }
}
