/* --- 全局和字体设置 --- */
body {
    font-family: 'Source Serif Pro', serif; /* 衬线字体用于正文，更易读 */
    line-height: 1.7;
    background-color: #fdfdfd; /* 柔和的白色背景 */
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: 'Inter', sans-serif; /* 非衬线字体用于标题，更现代 */
    font-weight: 700;
    color: #222;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-top: 2em;
}

a {
    color: #007bff; /* 链接颜色 */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Logo 顶部 --- */
.logo-header {
    text-align: center;
    padding: 20px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.logo {
    max-width: 150px; /* 限制 Logo 大小 */
    height: auto;
}

/* --- 主内容容器 --- */
.container {
    max-width: 900px; /* 论文的最佳阅读宽度 */
    margin: 20px auto;
    padding: 0 20px;
}

/* --- 作者和单位 --- */
.authors {
    text-align: center;
    margin-top: 1.5em;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}

.affiliations, .contributions {
    margin-top: 1em;
    font-size: 0.95rem;
    color: #555;
}
.affiliations span, .contributions span {
    display: inline-block;
    margin: 0 10px;
}

/* --- 关键链接按钮 --- */
.metadata-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 2.5em 0;
}

.link-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    padding: 10px 18px;
    border-radius: 20px; /* 胶囊形状 */
    transition: all 0.2s ease;
}

.link-button:hover {
    background-color: #e0e0e0;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.link-button i {
    margin-right: 8px;
    color: #555;
}

/* --- 摘要和图表 --- */
.abstract p {
    font-size: 1.1rem;
    text-align: justify; /* 两端对齐 */
    color: #444;
}

.figure {
    margin-top: 2em;
}

.figure img {
    width: 100%; /* 图片响应式 */
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 1em;
}

.figure figcaption {
    margin-top: 1em;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    font-style: italic;
}

/* --- 页脚 --- */
footer {
    text-align: center;
    margin-top: 4em;
    padding: 2em 0;
    border-top: 1px solid #eaeaea;
    color: #888;
    font-size: 0.9rem;
}

/* --- 移动端响应式 --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .container {
        padding: 0 15px;
    }
    .metadata-links {
        flex-direction: column;
        align-items: center;
    }
    .link-button {
        width: 80%;
        text-align: center;
    }
}
