/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.body_jz {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部信息栏 */
.top_header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.top_header .header_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.top_header .header_links a {
    margin-left: 15px;
    color: #666;
    text-decoration: none;
}

.top_header .header_links a:hover {
    color: #C40000;
}

/* Logo区域 */
.top_logo {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.top_logo .logo img {
    height: 80px;
}

.top_logo .search_box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
}

.top_logo .search_box input {
    border: none;
    outline: none;
    width: 200px;
    margin-right: 5px;
}

.top_logo .search_box button {
    background-color: #C40000;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* 主导航 */
.main_nav {
    background-color: #0F3881;
    height: 50px;
    line-height: 50px;
    position: relative;
}

.main_nav ul {
    list-style: none;
    display: flex;
    position: relative;
}

.main_nav ul li {
    position: relative;
}

.main_nav ul li a {
    display: block;
    padding: 0 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.main_nav ul li a:hover,
.main_nav ul li.active a {
    background-color: #1A56A8;
}

/* 页面标题 */
.page_title {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.page_title h1 {
    color: #0F3881;
    font-size: 24px;
    font-weight: bold;
}

/* 内容区域 */
.content_area {
    min-height: 600px;
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* PDF嵌入样式 */
.pdf_container {
    width: 100%;
    height: 800px;
    border: none;
}

/* 教材简介页面样式 */
.textbook_intro {
    margin-bottom: 50px;
    padding-top: 20px;
}

.textbook_intro h2 {
    color: #0F3881;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0F3881;
}

.textbook_intro p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.textbook_intro ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.textbook_intro ul li {
    margin-bottom: 10px;
}

/* 锚点导航 */
.anchor_nav {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.anchor_nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.anchor_nav ul li a {
    color: #0F3881;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.anchor_nav ul li a:hover,
.anchor_nav ul li a.active {
    background-color: #0F3881;
    color: white;
}

/* 页脚 */
.footer_db {
    background-color: #0F3881;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer {
    display: flex;
    justify-content: space-between;
}

.footer .footer_left {
    width: 70%;
}

.footer .footer_right {
    width: 30%;
    text-align: right;
}

.footer .footer_links {
    margin-bottom: 15px;
}

.footer .footer_links a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.footer .footer_info {
    font-size: 14px;
    line-height: 1.8;
}

.footer .footer_info p {
    margin-bottom: 5px;
}

.footer .footer_right img {
    width: 120px;
    height: 120px;
    margin-left: 20px;
}

