/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========== LEFT SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #fafafa;
    border-right: 1px solid #eee;
    padding: 40px 28px;
    overflow-y: auto;
    text-align: center;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
}

.sidebar-name {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.sidebar-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 18px;
}

.sidebar-links {
    margin-bottom: 18px;
}

.sidebar-links p {
    margin-bottom: 6px;
    font-size: 14px;
}

.sidebar-links a {
    color: #0366d6;
    text-decoration: none;
}

.sidebar-links a:hover {
    text-decoration: underline;
}

/* ========== MAIN CONTENT ========== */
.content {
    margin-left: 280px;
    padding: 40px 50px;
}

/* ========== SECTIONS ========== */
section {
    margin-bottom: 36px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eee;
}

section > p {
    margin-bottom: 12px;
}

/* ========== PAPER CARDS ========== */
.paper {
    margin-bottom: 24px;
}

.paper-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
}

.paper-title a {
    color: #111;
    text-decoration: none;
}

.paper-title a:hover {
    color: #0366d6;
    text-decoration: underline;
}

.paper-coauthors {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 3px;
}

.paper-status {
    font-size: 13px;
    color: #b8860b;
    font-weight: 600;
    margin-bottom: 3px;
}

details {
    margin-top: 5px;
}

summary {
    cursor: pointer;
    color: #0366d6;
    font-size: 13px;
    font-weight: 600;
}

summary:hover {
    text-decoration: underline;
}

details p {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
    text-align: justify;
    line-height: 1.6;
}

/* ========== FOOTER ========== */
footer {
    margin-top: 50px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.disclaimer {
    font-size: 12px;
    color: #999;
}

/* ========== LINKS ========== */
a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 30px 20px;
    }
    .content {
        margin-left: 0;
        padding: 30px 20px;
    }
}
