/* literatures.css */

.literature-container {
    max-width: 1000px; /* 容器最大宽度为 1000px */
    margin: 2rem auto; /* 上下边距2rem，左右自动，实现水平居中 */
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 
  h1 和 h3 默认在容器内左对齐。
  它们的字体大小继承自全局 styles.css，保持不变。
*/
.literature-container h1 {
    color: #1e5631; /* 沿用主题色 */
    margin-bottom: 0.5rem;
}

.literature-container h3 {
    color: #1e5631;
    font-weight: 600; /* 副标题加粗 */
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

/* 文献列表的样式 */
.literature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 设置每个文献条目之间的间距 */
}

.literature-item .title {
    display: block; /* 标题单独占一行 */
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

a.title {
    text-decoration: underline;
}

.literature-item .doi {
    font-size: 0.9em;
    color: #555;
    word-break: break-all; /* 防止过长的DOI字符串溢出容器 */
}


