/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 14px;
}

/* 容器 */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 头部 */
header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.name {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #000;
}

.name-chinese {
    font-size: 18px;
    font-weight: 400;
    color: #666;
}

/* 主要内容 */
main {
    margin-top: 0;
}

section {
    margin-bottom: 30px;
}

/* 简介区域 */
.intro-section {
    margin-bottom: 40px;
}

.intro-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
    min-width: 0;
}

.intro-text p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-photo {
    flex-shrink: 0;
}

.profile-photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
}

.cv-section {
    margin: 20px 0;
}

.cv-link {
    color: #274483;
    text-decoration: none;
    font-weight: normal;
}

.cv-link:hover {
    text-decoration: underline;
}

/* 联系信息 */
.contact {
    margin-bottom: 0;
}

.contact {
    line-height: 1.8;
}

.contact a {
    color: #274483;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* 论文部分 */
.papers h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 30px;
}

.paper-item {
    margin-bottom: 25px;
    padding-left: 20px;
    position: relative;
}

.paper-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.paper-title {
    margin-bottom: 8px;
    line-height: 1.6;
    display: block;
}

.paper-title a {
    color: #274483;
    text-decoration: none;
    font-weight: normal;
}

.paper-title a:hover {
    text-decoration: underline;
}

.authors {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

.paper-status {
    color: #666;
    font-style: italic;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

/* 摘要折叠 */
.abstract-toggle {
    margin-top: 8px;
}

.abstract-toggle summary {
    cursor: pointer;
    color: #274483;
    font-weight: normal;
    list-style: none;
    user-select: none;
    outline: none;
}

.abstract-toggle summary::-webkit-details-marker {
    display: none;
}

.abstract-toggle summary::before {
    content: "▸ ";
    display: inline-block;
    margin-right: 3px;
    transition: transform 0.2s;
}

.abstract-toggle[open] summary::before {
    transform: rotate(90deg);
}

.abstract-toggle summary:hover {
    text-decoration: underline;
}

.abstract {
    margin-top: 10px;
    padding-left: 15px;
    text-align: justify;
    color: #444;
    line-height: 1.7;
    font-size: 13px;
}

/* 页脚 */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.last-updated {
    color: #666;
    font-size: 12px;
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .intro-content {
        flex-direction: column;
        gap: 30px;
    }

    .intro-photo {
        order: -1;
        align-self: center;
    }

    .profile-photo {
        width: 220px;
        height: 275px;
    }

    .name {
        font-size: 30px;
    }

    .name-chinese {
        font-size: 16px;
    }

    .intro-text p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 180px;
        height: 225px;
    }

    .name {
        font-size: 26px;
    }

    .name-chinese {
        font-size: 14px;
    }

    .paper-item {
        padding-left: 15px;
    }

    .intro-content {
        gap: 20px;
    }
}

