/* 学术风格样式表 */

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

/* 基础设置 */
body {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 响应式设置 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    body {
        font-size: 15px;
    }
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Heiti SC", "SimHei", sans-serif;
    font-weight: bold;
    margin: 20px 0;
    line-height: 1.3;
}

h1 {
    font-size: 24px;
    text-align: center;
    margin: 30px 0;
}

h2 {
    font-size: 20px;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 5px;
}

h3 {
    font-size: 18px;
}

/* 段落样式 */
p {
    margin: 15px 0;
    text-align: justify;
    text-indent: 2em;
}

/* 列表样式 */
ol, ul {
    margin: 15px 0;
    padding-left: 30px;
}

ol li {
    list-style-type: decimal;
    margin: 8px 0;
}

ul li {
    list-style-type: disc;
    margin: 8px 0;
}

/* 链接样式 */
a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #CCCCCC;
}

a:hover {
    color: #333333;
    border-bottom: 1px solid #333333;
}

/* 头部样式 */
header {
    padding: 30px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 30px;
}

header h1 {
    margin: 0 0 10px 0;
    text-align: center;
}

header p {
    text-align: center;
    text-indent: 0;
    color: #333333;
}

/* 导航样式 */
nav {
    margin-bottom: 30px;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 15px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 15px;
}

nav a {
    border-bottom: none;
}

nav a:hover {
    border-bottom: none;
    text-decoration: underline;
}

/* 响应式导航 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 5px 0;
    }
}

/* 主要内容区域 */
main {
    margin-bottom: 40px;
}

/* 英雄区域 */
.hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.hero h2 {
    font-size: 22px;
    border-bottom: none;
    margin-bottom: 15px;
}

.hero p {
    text-indent: 0;
    font-size: 18px;
    color: #333333;
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.content-item h3 {
    text-align: center;
    border-bottom: none;
    margin-top: 0;
}

.content-item p {
    text-indent: 0;
    text-align: center;
}

/* 文章样式 */
article header h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* 引用样式 */
blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 3px solid #000000;
    font-family: "Kaiti SC", "STKaiti", serif;
    background-color: #f9f9f9;
}

blockquote p {
    text-indent: 0;
    margin: 0;
}

/* 页脚样式 */
footer {
    padding: 20px 0;
    border-top: 1px solid #CCCCCC;
    text-align: center;
    color: #333333;
    font-size: 14px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #000000;
    padding: 8px 12px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* 参考文献样式 */
.references {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #CCCCCC;
}

.references h2 {
    text-align: left;
    font-size: 20px;
}

.references ol {
    padding-left: 30px;
}

.references li {
    margin: 10px 0;
    text-align: left;
}