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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    width: 80%;
    margin: 0 auto;
    padding: 40px 0 60px;
    background: #fff;
}

h1 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

h2 {
    font-size: 23px;
    font-weight: 600;
    margin-top: 44px;
    margin-bottom: 16px;
    color: #000;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 12px;
    color: #555;
}

p {
    margin-bottom: 16px;
    text-align: justify;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.topnav {
    display: flex;
    gap: 32px;
    padding-bottom: 14px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.topnav a {
    font-weight: 600;
    color: #555;
}

.topnav a.active {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
    margin-bottom: -14px;
}

.subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 0;
}

.section {
    margin-bottom: 36px;
}

.paper-list {
    list-style: none;
    padding-left: 0;
}

.paper-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 26px;
}

.paper-list li::before {
    content: "\2022";
    color: #999;
    font-weight: bold;
    position: absolute;
    left: 4px;
}

.paper-list li a {
    font-size: 17px;
    font-weight: 700;
}

.paper-list li a strong {
    font-weight: 700;
}

.paper-title {
    font-weight: 700;
}

.paper-meta {
    display: block;
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-left: 0;
}

.cv-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.cv-line .date {
    color: #666;
    white-space: nowrap;
}

.jmp {
    background-color: #f8f9fa;
    padding: 24px 28px;
    border-radius: 6px;
    margin-bottom: 36px;
}

.jmp-title {
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 8px;
    color: #000;
}

.jmp-note {
    font-style: italic;
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
}

.chinese {
    font-family: "PingFang SC", "Microsoft YaHei", "SimHei", Arial, sans-serif;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 32px 0;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.contact {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 17px;
    color: #333;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 44px;
}

.profile-pic {
    width: 600px;
    height: auto;
    flex-shrink: 0;
    border-radius: 4px;
}

.header-text {
    flex: 1;
}

.header-text .bio {
    margin-top: 20px;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    body {
        width: 92%;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .profile-pic {
        width: 230px;
    }

    .topnav {
        gap: 20px;
        font-size: 16px;
    }
}
