/*
 * dbck主题主样式文件
 * 作者: Lucker
 * 版本: 1.0
 * 描述: 适用于期刊网站的ZBlog主题样式
 */

/* --------------------
 * 1. 变量定义
 * -------------------- */
:root {
    /* 主色调 - 蓝色系 */
    --primary-color: #2c6aa0;
    --primary-dark: #1a4a72;
    
    /* 辅助色 */
    --secondary-color: #f5f7fa;
    
    /* 文本与边框 */
    --text-color: #333;
    --border-color: #e1e8f0;
    
    /* 阴影效果 */
    --shadow-light: 0 3px 12px rgba(0,0,0,0.06);
    --shadow-medium: 0 6px 18px rgba(0,0,0,0.08);
    
    /* 边框圆角与过渡 */
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* --------------------
 * 2. 期刊简介样式
 * -------------------- */
.journal-intro {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    text-align: left;
}

.journal-image {
    flex: 0 0 160px;
    height: 228px;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.journal-text {
    flex: 1;
    max-width: 800px;
}

.journal-text p {
    margin-bottom: 12px;
    text-align: left;
    text-indent: 2em;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* 期刊简介移动端响应式 */
@media (max-width: 768px) {
    .journal-intro {
        flex-direction: column;
        align-items: center;
    }
    
    .journal-image {
        flex: none;
        margin-bottom: 20px;
        align-self: center;
    }
    
    .journal-text {
        width: 100%;
    }
}

/* --------------------
 * 3. 全局样式重置
 * -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.7;
    scroll-behavior: smooth;
}

/* --------------------
 * 4. 基础布局样式
 * -------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --------------------
 * 5. 按钮样式
 * -------------------- */
/* 主要按钮 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 次要按钮（年份筛选） */
.btnn {
    display: inline-block;
    background-color: #ccc;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 14px;
    margin: 0 5px;
}

.btnn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(0);
    box-shadow: none;
}

/* --------------------
 * 6. 头部样式
 * -------------------- */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 25px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

header a {
    color: white;
    text-decoration: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.logo h1,
.logo .logo-text {
    font-size: 26px;
    font-weight: 600;
    white-space: nowrap;
    color: white;
    margin: 0;
    padding: 0;
}

.logo a {
    color: white;
    text-decoration: none;
}

.contact-info {
    font-size: 14px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 导航样式 */
nav {
    background-color: rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0;
    backdrop-filter: blur(5px);
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    flex: 1;
    text-align: center;
    position: relative;
}

nav a {
    display: block;
    color: white;
    padding: 14px 15px;
    font-weight: 500;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
    transition: var(--transition);
}

nav li:last-child a {
    border-right: none;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 面包屑导航 */
.breadcrumbb {
    background-color: transparent;
    padding: 10px 0;
    border-radius: 0;
    box-shadow: none;
    margin: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbb a {
    color: #666;
    text-decoration: none;
}

.breadcrumbb a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbb span {
    color: #999;
    margin: 0 5px;
}

/* 主内容区域 */
.main-content {
    display: flex;
    margin: 35px 0;
    gap: 30px;
    flex-wrap: wrap;
}

.left-column {
    flex: 7;
    min-width: 0;
}

.right-column {
    flex: 3;
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

/* 文章列表样式 */
.news-detail-container {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.news-main {
    flex: 7;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 30px;
    transition: var(--transition);
}

.news-main:hover {
    box-shadow: var(--shadow-medium);
}

/* 侧边栏样式 */
.news-sidebar {
    flex: 3;
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

.sidebar-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.sidebar-section:hover {
    box-shadow: var(--shadow-medium);
}

.sidebar-title {
    font-size: 18px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 文章标题和元信息 */
.news-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.news-title {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.news-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* 文章内容样式 */
.news-content {
    font-size: 16px;
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 22px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.news-content h3 {
    color: var(--primary-dark);
    margin: 25px 0 12px;
    font-size: 18px;
}

.news-content ul, .news-content ol {
    margin: 15px 0 15px 20px;
}

.news-content li {
    margin-bottom: 8px;
}

.news-content blockquote {
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

/* 文章导航 */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.prev-news, .next-news {
    max-width: 45%;
}

.prev-news a, .next-news a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
}

.prev-news a:hover, .next-news a:hover {
    color: var(--primary-color);
}

.prev-news i {
    order: -1;
}

/* 过刊相关样式 */
.section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 28px;
    margin-bottom: 30px;
    transition: var(--transition);
}

/* 本期文章内容样式 */
.gc-article-list .section-title {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-article-list .section-title i {
    color: #2c6aa0;
    font-size: 18px;
}

/* 文章列表样式 */
.article-list-content {
    margin-top: 15px;
}

.article-list-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
}

.article-list-content a {
    color: #2c6aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-list-content a:hover {
    color: #1a4a72;
    text-decoration: underline;
}

.issue-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.section:hover {
    box-shadow: var(--shadow-medium);
}

.section-title {
    font-size: 22px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 过刊列表样式 - 优化后的样式，匹配原始模板 */
.full-width-issue-list,
.issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 25px;
    padding: 0;
    list-style: none;
    justify-items: center;
}

.issue-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 180px;
    text-align: center;
    transition: all 0.3s ease;
}

.issue-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.issue-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
    position: relative;
}

.issue-cover-container {
    width: 100%;
    height: 0;
    padding-bottom: 142.5%;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 4px 4px 0 0;
    background-color: #f8f9fa;
}

.issue-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.issue-item:hover .issue-cover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: none;
}

.issue-item-info {
    padding: 0;
    text-align: center;
    display: block;
    background-color: white;
    color: #333;
}

.issue-qishu {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    background-color: var(--primary-color);
    padding: 12px 0;
    border-radius: 0;
    margin-bottom: 0;
    line-height: 1.3;
    display: block;
    transition: all 0.3s ease;
    border: none;
}

.issue-item:hover .issue-qishu {
    background-color: var(--primary-dark);
}

/* 首页过刊目录显示专题名称 */
.full-width-issue-list .issue-item-title {
    font-size: 13px;
    color: #333;
    background-color: white;
    line-height: 1.3;
    margin: 0;
    padding: 10px 0;
    font-weight: normal;
    border-top: none;
    text-align: center;
}

.full-width-issue-list .issue-item-title small {
    font-size: inherit;
    color: inherit;
    background-color: white;
    font-weight: normal;
    display: block;
}

/* 过刊目录分类页不显示专题名称 */
.issue-list .issue-item-title {
    display: none;
}

/* 过刊头部样式 */
.issue-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.issue-header .issue-cover {
    flex: 0 0 160px;
    height: 228px;
    background-color: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 48px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.issue-header .issue-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.issue-header-info {
    flex: 1;
    padding-top: 10px;
}

.issue-header-title {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 600;
    text-align: left;
}

.issue-intro {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* 本期文章样式 */
.section-title {
    font-size: 22px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 28px;
    margin-bottom: 30px;
    transition: var(--transition);
}

/* 年筛选器 */
.year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
    padding: 10px 0;
}

.year-btn, .btnn {
    padding: 8px 20px;
    background-color: #f5f7fa;
    border-radius: 4px;
    color: #666;
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
}

.year-btn.active, .year-btn:hover, .btnn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 过刊列表 - 优化后的样式，匹配原始模板 */
.issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 25px;
    padding: 0;
    list-style: none;
    justify-items: center;
}

/* 分类页过刊项目样式与首页保持一致 */
.issue-list .issue-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 180px;
    text-align: center;
    transition: all 0.3s ease;
}

.issue-list .issue-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 分类页过刊封面样式与首页保持一致 */
.issue-list .issue-item .issue-cover {
    /* 继承通用样式 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.issue-list .issue-item:hover .issue-cover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: none;
}

.issue-list .issue-cover-container {
    /* 继承通用样式 */
    width: 100%;
    height: 0;
    padding-bottom: 142.5%;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.issue-list .issue-cover-container:hover {
    background-color: #f8f9fa;
}

/* 分类页过刊期数样式与首页保持一致 */
.issue-list .issue-item-info {
    padding: 0;
    text-align: center;
    display: block;
    background-color: white;
    color: #333;
}

.issue-list .issue-qishu {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    background-color: var(--primary-color);
    padding: 12px 0;
    margin: 0;
    line-height: 1.3;
    display: block;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.issue-list .issue-item:hover .issue-qishu {
    background-color: var(--primary-dark);
}

/* 确保issue-link在过刊列表中正常工作 */
.issue-list .issue-link {
    display: block;
    text-decoration: none;
    height: 100%;
    width: 100%;
    position: relative;
}

/* 微信二维码样式 */
.wechat-qrcode {
    background-color: #f9fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.wechat-qrcode h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.wechat-qrcode img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 auto 10px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 4px;
}

.wechat-qrcode p {
    font-size: 14px;
    color: #666;
}

/* 联系我们样式 */
.contact-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-details h3 {
    margin: 0 0 18px;
    color: var(--primary-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: #f9fafc;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #eef5fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
}

.contact-text {
    font-size: 15px;
}

.contact-text strong {
    color: #333;
    display: block;
    margin-bottom: 3px;
}

/* 新闻列表样式 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 新闻列表页面容器 */
.news-list-page {
    max-width: 100%;
    margin: 0 auto;
}

/* 新闻列表容器 */
.news-list-container {
    margin-top: 20px;
}

/* 新闻列表容器 */
.news-list-container {
    margin-top: 20px;
}

/* 新闻项样式 */
.news-item {
    padding: 20px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f9fafc;
}

.news-item:last-child {
    border-bottom: none;
}

/* 新闻项内容 */
.news-item-content {
    width: 100%;
}

/* 新闻日期 */
.news-item-date {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f5f7fa;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.news-item-date i {
    color: #2c6aa0;
    margin-right: 6px;
}

/* 新闻标题 */
.news-item-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.news-item-title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.news-item-title a:hover {
    color: #333;
    text-decoration: none;
}

/* 新闻摘要 */
.news-item-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

/* 阅读全文链接 */
.news-item-readmore {
    margin-top: 10px;
}

.news-item-readmore a {
    color: #2c6aa0;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.news-item-readmore a:hover {
    color: #2c6aa0;
}

.news-item-readmore a i {
    margin-left: 2px;
    font-size: 12px;
}
/* 首页新闻列表样式 */
.index-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.index-news-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: center;
    transition: var(--transition);
    line-height: 1.5;
}

.index-news-item:hover {
    background-color: #f9fafc;
    padding-left: 8px;
}

.index-news-item:last-child {
    border-bottom: none;
}

.index-news-date {
    color: #888;
    font-size: 14px;
    margin-right: 15px;
    min-width: 100px;
    text-align: center;
    background-color: #f5f7fa;
    padding: 4px 10px;
    border-radius: 4px;
}

.index-news-title {
    flex: 1;
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
}

.index-news-title:hover {
    color: var(--primary-dark);
}

/* 相关新闻样式 */
.related-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.related-news-item:hover {
    background-color: #f9f9f9;
}

.related-news-item:last-child {
    border-bottom: none;
}

.related-news-date {
    color: #999;
    font-size: 13px;
    margin-right: 15px;
    min-width: 80px;
    text-align: left;
    flex-shrink: 0;
    padding-top: 2px;
}

.related-news-item a {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

.related-news-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 热门新闻样式 */
.hot-issues-list {
    list-style: none;
}

.hot-issue-item {
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.hot-issue-item:hover {
    background-color: #f8f9fa;
}

.hot-issue-item:last-child {
    border-bottom: none;
}

.hot-issue-rank {
    width: 24px;
    height: 24px;
    background-color: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #666;
}

.hot-issue-item:nth-child(1) .hot-issue-rank {
    background-color: #ffebee;
    color: #e53935;
}

.hot-issue-item:nth-child(2) .hot-issue-rank {
    background-color: #fff3e0;
    color: #f57c00;
}

.hot-issue-item:nth-child(3) .hot-issue-rank {
    background-color: #e8f5e9;
    color: #43a047;
}

.hot-issue-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-color);
    text-decoration: none;
}

.hot-issue-title:hover {
    color: var(--primary-color);
}

/* 相关过刊样式 */
.related-issues {
    margin-top: 20px;
}

.related-issue-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    transition: background-color 0.3s ease;
    padding-left: 8px;
}

.related-issue-item:hover {
    background-color: #f9fafc;
    padding-left: 12px;
}

.related-issue-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-issue-link {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    font-weight: 500;
}

.related-issue-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 投稿相关样式 */
.submission-info {
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 18px;
    margin: 18px 0 25px;
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    line-height: 1.8;
}

.submission-notice {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    margin-top: 20px;
}

.submission-notice ul {
    list-style-type: disc;
    margin-left: 20px;
}

.submission-notice li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 微信悬浮二维码 */
.wechat-contact {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.qrcode {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
}

.wechat-contact:hover .qrcode {
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
}

.qrcode-content {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.qrcode-content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom-color: white;
}

.qrcode img {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 8px;
}

.qrcode p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
}

/* 分页样式 - 匹配原始模板 */
.pagebar {
    display: block;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

/* 原始模板的分页样式 */
.simple-pagination {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.simple-pagination a,
.simple-pagination span {
    display: inline-block;
    margin: 0 2px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.simple-pagination a:hover {
    background-color: #fff;
    color: #333;
    border-color: #ddd;
}

.simple-pagination .current {
    background-color: #2c6aa0;
    color: #fff;
    border-color: #2c6aa0;
}

.simple-pagination .space {
    border: none;
    background: none;
    padding: 5px 10px;
    color: #666;
}

.simple-pagination .prev,
.simple-pagination .next,
.simple-pagination .first,
.simple-pagination .last {
    padding: 3px 8px;
}

.simple-pagination .disabled {
    color: #999;
    cursor: default;
    background-color: #f5f5f5;
}

.simple-pagination .disabled:hover {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

/* 页脚样式 - 匹配原始模板 */
footer {
    background-color: #1a4a72;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    padding: 10px 0;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

/* 友情链接样式 - 匹配原始模板 */
.footer-info:first-child {
    border-top: none;
}

/* 页脚内的链接样式 */
footer .footer-info a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    padding: 0 2px;
    transition: color 0.3s ease;
}

footer .footer-info a:hover {
    color: #f0f7ff;
    text-decoration: underline;
}

/* 友情链接区域样式 */
.friend-links {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.friend-links .footer-info {
    color: #333;
    text-align: left;
    padding: 0;
    border: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.friend-links .footer-info span:first-child {
    margin-right: 15px;
    white-space: nowrap;
}

.friend-links .footer-info a {
    color: #2c6aa0;
    margin-right: 20px;
    text-decoration: none;
    display: inline-block;
}

.friend-links .footer-info a:hover {
    color: #1a4a72;
    text-decoration: underline;
}





/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-detail-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
        margin-top: 15px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 12px 15px;
    }
    
    nav a::after {
        display: none;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .issue-header {
        flex-direction: column;
    }
    
    .issue-cover {
        flex: none;
        width: 160px;
        height: 228px;
        margin: 0 auto 20px;
    }
    
    .issue-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-title {
        font-size: 24px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-news, .next-news {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 22px;
    }
    
    .section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .issue-title {
        font-size: 24px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-date {
        min-width: auto;
        width: 100%;
        text-align: left;
    }
    
    .full-width-issue-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .issue-list {
        grid-template-columns: 1fr;
    }
}

