/* Site-wide styles for Steven M. Schneider Academic Profile */

body {
    font-family: "Computer Modern", "Latin Modern Roman", "Times New Roman", serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    line-height: 1.4;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.header { margin-bottom: 20px; }

.name {
    font-size: 1.8em;
    font-weight: bold;
    color: #8C1515;
    margin: 0;
}

.email {
    font-size: 0.8em;
    color: #666;
    margin: 2px 0;
    font-family: "Courier New", monospace;
}

.titles { font-size: 0.75em; color: #333; margin: 0; }
.fellowship { font-size: 0.75em; color: #666; margin: 2px 0 0 0; }

.title-link { color: #8C1515; text-decoration: none; }
.title-link:hover { text-decoration: underline; }

.navigation {
    margin: 15px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}

.nav-link {
    color: #8C1515;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: bold;
    margin: 0 8px;
    cursor: pointer;
}
.nav-link:hover { text-decoration: underline; }
.nav-link.active { color: #333; text-decoration: underline; }

/* Page content wrapper */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
    font-size: 0.9em;
    color: #333;
}

.page-container p {
    font-size: 0.95em;
    margin-bottom: 1.2em;
    text-align: justify;
    hyphens: auto;
    line-height: 1.6;
}

.page-container strong { color: #8C1515; }
.page-container p:first-child { margin-top: 0; }

/* Drop cap on first paragraph */
.page-container p:first-child::first-letter {
    font-size: 3.5em;
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    color: #8C1515;
    font-weight: bold;
}

.page-container h2 {
    color: #8C1515;
    font-size: 1.4em;
    margin: 1.5em 0 0.8em 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
}

.page-container h3 { color: #333; font-size: 1.1em; margin: 1.2em 0 0.6em 0; }

.page-container ul, .page-container ol { margin: 1em 0; padding-left: 2em; }
.page-container li { margin-bottom: 0.5em; }

.page-container a { color: #8C1515; text-decoration: none; }
.page-container a:hover { text-decoration: underline; }

.page-container em { font-style: italic; color: #555; }

/* Course listing styles */
.course-category { margin-bottom: 2em; }
.course-category h3 {
    color: #8C1515;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
    margin-bottom: 0.8em;
}

.course-list { list-style: none; padding-left: 0; }
.course-list li { padding: 0.3em 0; border-bottom: 1px dotted #eee; }
.course-list li:last-child { border-bottom: none; }

.year-range {
    float: right;
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

/* Stats box */
.stats-box {
    background: linear-gradient(135deg, #8C1515, #A91D1D);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}
.stats-box h3 { color: white; margin: 0 0 10px 0; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item { background: rgba(255,255,255,0.2); padding: 10px; border-radius: 5px; }
.stat-number { font-size: 1.5em; font-weight: bold; }
.stat-label { font-size: 0.8em; opacity: 0.9; }

/* Artifact card */
.artifact-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.artifact-title {
    color: #8C1515;
    font-weight: bold;
    font-size: 1.3em;
    margin: 0 0 8px 0;
}

.artifact-description {
    font-style: italic;
    color: #555;
    margin-bottom: 12px;
}

.artifact-meta {
    border-top: 1px dotted #ccc;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
}

.meta-item { display: inline-block; margin-right: 20px; }
.meta-label { font-weight: bold; color: #333; }

.artifact-link {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    border: 1px solid #8C1515;
    color: #8C1515;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
}
.artifact-link:hover {
    background-color: #8C1515;
    color: white;
    text-decoration: none;
}

/* Transcript listing */
.transcript-list { list-style: none; padding-left: 0; }
.transcript-list li {
    padding: 0.5em 0;
    border-bottom: 1px dotted #eee;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.transcript-list li:last-child { border-bottom: none; }
.transcript-list a { color: #8C1515; text-decoration: none; }
.transcript-list a:hover { text-decoration: underline; }
.transcript-date { font-size: 0.82em; color: #999; font-style: italic; }
