/* Global Reset */
body {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 40px 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #1772d0;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #f09228;
}

h1, h2, h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
}

h1.name {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Header Section */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.bio-text {
    flex: 1;
}

.profile-photo {
    width: 200px;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    border-radius: 50%; /* 圆形头像，如果不想要圆形删掉这行 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.highlight-label {
    color: darkmagenta;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    margin-right: 5px;
}

.interest-title {
    font-weight: bold;
    color: #a52a2a; /* Brown */
}

.research-interests {
    margin-top: 10px;
}

.links {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

/* Papers Section */
.paper-row {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.paper-img {
    width: 180px;
    flex-shrink: 0;
}

.paper-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.paper-img img:hover {
    transform: scale(1.02);
}

.paper-info {
    flex: 1;
}

.paper-title {
    font-weight: 700;
    font-size: 17px;
    color: #000;
}

.authors {
    margin: 5px 0;
}

.star {
    color: red;
}

.venue {
    font-style: italic;
    margin-bottom: 5px;
}

.highlight {
    background-color: #ffffd0;
    color: #d00000;
    font-weight: bold;
    padding: 0 2px;
}

.abstract {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* Lists */
.news-list li, .honors-list li, .service-list li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column-reverse; /* 手机上头像在上面 */
        align-items: center;
        text-align: center;
    }
    
    .profile-photo {
        width: 160px;
        margin-bottom: 20px;
    }

    .paper-row {
        flex-direction: column;
    }

    .paper-img {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}

footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}