/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.clearfloat::after {
    content: "";
    display: block;
    clear: both;
}

.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;
}

.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;
}

/* 下拉菜单 */
.main_nav ul li ul {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #1A56A8;
    width: 200px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main_nav ul li:hover ul {
    display: block;
}

.main_nav ul li ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main_nav ul li ul li a {
    padding: 0 15px;
    font-weight: normal;
}

.main_nav ul li ul li a:hover {
    background-color: #0F3881;
}

/* 轮播图 */
.slider {
    height: 400px;
    background-color: #f5f5f5;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider .slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.slider .slider-dots span.active {
    background-color: #C40000;
}

/* 内容区域 */
.content_area {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.left_content {
    width: 70%;
}

.right_content {
    width: 30%;
}

/* 模块标题 */
.module_title {
    border-bottom: 2px solid #0F3881;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module_title h2 {
    color: #0F3881;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 5px;
    position: relative;
}

.module_title h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #C40000;
}

.module_title a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.module_title a:hover {
    color: #C40000;
}

/* 教材展示 */
.textbook_display {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.textbook_display .textbook_header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.textbook_display .textbook_header h2 {
    color: #0F3881;
    font-size: 24px;
    margin-right: 20px;
}

.textbook_display .textbook_header span {
    background-color: #C40000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.textbook_display .textbook_content {
     align-items: flex-start; /* 顶部对齐，避免文字区域被拉长 */
}

/* 教材封面调整 */
.textbook_display .textbook_cover {
    width: 300px; /* 从250px增大到300px */
    height: 400px; /* 从320px增大到400px */
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* 增强阴影效果，突出封面 */
}

.textbook_display .textbook_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例填充容器，避免拉伸变形 */
    transition: transform 0.3s; /* 增加hover缩放效果（可选） */
}

/* 可选：鼠标悬停时轻微放大图片，增强交互感 */
.textbook_display .textbook_cover:hover img {
    transform: scale(1.02);
}

.textbook_display .textbook_info {
    flex-grow: 1;
}

.textbook_display .textbook_info p {
    margin-bottom: 15px;
}

.textbook_display .textbook_info strong {
    color: #0F3881;
}

.textbook_display .textbook_features {
    margin-top: 20px;
}

.textbook_display .textbook_features h3 {
    color: #0F3881;
    font-size: 18px;
    margin-bottom: 10px;
}

.textbook_display .textbook_features ul {
    list-style-type: disc;
    padding-left: 20px;
}

.textbook_display .textbook_features ul li {
    margin-bottom: 5px;
}

/* 申报材料 */
.application_materials {
    margin-top: 30px;
}

.application_materials .module_title {
    margin-bottom: 20px;
}

.application_materials .material_section {
    margin-bottom: 25px;
}

.application_materials .material_section h3 {
    color: #0F3881;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.application_materials .material_section ul {
    list-style-type: none;
}

.application_materials .material_section ul li {
    margin-bottom: 10px;
}

.application_materials .material_section ul li a {
    color: #333;
    text-decoration: none;
    display: inline-block;
    padding-left: 25px;
    position: relative;
}

.application_materials .material_section ul li a::before {
    content: "•";
    color: #C40000;
    position: absolute;
    left: 10px;
    top: 0;
}

.application_materials .material_section ul li a:hover {
    color: #C40000;
}

/* 教材资源导航 */
.textbook_nav {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.textbook_nav .nav_title {
    color: #0F3881;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.textbook_nav ul {
    list-style: none;
}

.textbook_nav ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.textbook_nav ul li:last-child {
    border-bottom: none;
}

.textbook_nav ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.textbook_nav ul li a:hover {
    color: #C40000;
    padding-left: 5px;
}

/* 教材数据统计 */
.textbook_stats {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
}

.textbook_stats .stats_title {
    color: #0F3881;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.textbook_stats .stat_item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.textbook_stats .stat_item:last-child {
    border-bottom: none;
}

.textbook_stats .stat_item .stat_label {
    color: #666;
}

.textbook_stats .stat_item .stat_value {
    font-weight: bold;
    color: #0F3881;
}

/* 页脚 */
.footer_db {
    background-color: #0F3881;
    color: white;
    padding: 30px 0;
}

.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;
}
    