@charset "utf-8";

/* ==============================================
   1. 基础样式重置与全局设置
   ============================================== */
/* 基础元素重置 */
html, body, div, span, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section, summary, time, mark, audio, video,
object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, input, button, select, textarea {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    background: transparent;
    font-size: 100%;
    vertical-align: baseline;
}

/* 统一盒模型 */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* HTML基础设置 */
html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth; /* 全局平滑滚动 */
}

/* HTML5标签兼容 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 列表样式重置 */
ul, li, nav ul {
    list-style: none;
}

/* 引用样式重置 */
blockquote {
    quotes: none;
}
blockquote:before, blockquote:after {
    content: none;
}

/* 链接基础样式 */
a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* 表单元素基础样式 */
input, button, select, textarea {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 图片基础样式 */
img {
    max-width: 100%;
    height: auto;
}

/* 标记样式 */
ins {
    color: #323841;
    background-color: #ff9;
    text-decoration: none;
}
mark {
    color: #323841;
    background-color: #ff9;
    font-weight: bold;
    font-style: italic;
}

/* 选中文本样式 */
*::selection {
    background: var(--primary-color);
    color: #ffffff;
    text-shadow: none;
}
*::-moz-selection {
    background: var(--primary-color);
    color: #ffffff;
    text-shadow: none;
}


/* ==============================================
   2. 字体引入与CSS变量定义
   ============================================== */
/* 字体引入 */
@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-L.otf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* 全局CSS变量 */
:root {
    /* 颜色系统 */
    --primary-color: #ff6600; /* 主色：橙色 */
    --primary-color-dark: #e55c00; /* 主色深色（hover用） */
    --text-primary: #333; /* 主要文本色 */
    --text-secondary: #666; /* 次要文本色 */
    --text-tertiary: #999; /*  tertiary文本色 */
    --bg-primary: #fff; /* 主要背景色 */
    --bg-secondary: #f8f8f8; /* 次要背景色 */
    --bg-tertiary: #eee; /*  tertiary背景色 */
    --border-color: #ddd; /* 边框色 */
    --error-color: #e74c3c; /* 错误色 */
    --error-bg: #fff5f5; /* 错误背景色 */
    --success-color: #2ecc71; /* 成功色 */
    --dark-bg: #333; /* 深色背景 */

    /* 布局尺寸 */
    --header-height: 160px; /* 头部高度 */

    /* 基础参数 */
    --base-font-size: 16px; /* 基础字体大小 */
    --nav-item-padding: 0.9375rem 1.25rem; /* 导航项内边距 */
}


/* ==============================================
   3. 页面整体布局
   ============================================== */
body {
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif, Comfortaa;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: clamp(0.875rem, 1.5vw, 1rem); /* 响应式字体 */
    overflow-x: hidden;
    /* flex布局推footer到底部 - 优化版本 */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 使用视口高度 */
    margin: 0; /* 移除默认margin */
}

/* 主体内容容器 */
.main {
    padding: 5px 0;
    margin-top: var(--header-height); /* 与头部保持距离 */
    flex: 1 0 auto; /* 填充剩余空间，不允许收缩 */
    width: 100%; /* 确保宽度100% */
}
/* 内容容器 */
#content-container {
    padding: 5px;
    flex: 1;
    min-height: 100vh; /* 保底高度 */
    overflow: auto;
}


/* ==============================================
   4. 头部与导航样式
   ============================================== */
/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9375rem 1.25rem;
    margin: 0 auto 10px;
    max-width: 1200px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* 搜索框样式 */
.search-box {
    display: flex;
    align-items: center;
    min-width: 50%; /* PC端最小宽度 */
}

.search-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    height: 2.5rem;
}

.search-btn {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    height: 2.5rem;
    white-space: nowrap;
}
.search-btn:hover {
    background-color: var(--primary-color-dark);
}

/* 导航栏样式 */
.navigation {
    display: block;
    position: relative;
    background: #f5f5f5;
    border-radius: 5px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
}

.nav-container li {
    margin: 0;
}

.nav-container li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    transition: background-color 0.3s ease;
}

/* 导航选中状态 */
.nav-container li a.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-main li a {
    display: block;
    padding: 12px 20px;
    color: #333;
}
.nav-main li a.active {
    background: var(--primary-color);
    color: white;
}
.nav-main li a:hover:not(.active) {
    background: #f0f0f0;
}

/* 更多导航内容 */
.more-nav-content a {
    display: flex;
    padding: 12px 20px;
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 1rem;
}
.more-nav-content a:hover {
    background: var(--bg-tertiary);
}
.more-nav-content a.active {
    background: var(--primary-color);
    color: white;
}


/* ==============================================
   5. 面包屑导航
   ============================================== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 5px;
    padding: 2px 20px;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: 6px;
}

.breadcrumb a {
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s;
}
.breadcrumb a:hover {
    color: var(--primary-color);
    background-color: var(--bg-primary);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-tertiary);
}

/* ==============================================
   6. 新闻列表页样式
   ============================================== */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

/* 容器间距控制 */
.news-container:first-of-type { margin-bottom: 0; }
.news-container:nth-of-type(2) { margin: 5px auto; }
.news-container:last-of-type { margin-top: 0; }

/* 新闻卡片容器 */
.news-wrapper {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 模块标题区域 */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.module-header-1 {
    display: flex;
    justify-content: flex-start; /* 子元素左对齐（核心修改） */
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}


.module-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: bold;
    color: #333;
    word-wrap: break-word; /* 可保留，长单词仍可能强制换行（如需完全不换行可删除） */
    overflow-wrap: break-word; /* 同上 */
    white-space: nowrap; /* 核心修改：文本不换行，横向平铺显示 */
}
.module-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
}
.module-more:hover {
    text-decoration: underline;
}

/* 新闻列表 */
.news-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 400px; /* 基础保底高度 */
}

/* 新闻列表项 */
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px dashed var(--border-color);
    transition: background-color 0.3s;
}
.news-item:last-child {
    border-bottom: none;
}

/* 新闻内容区域 */
.news-content {
    flex: 1;
    min-width: 0; /* 允许内容换行 */
}
.news-content a {
    color: var(--text-primary);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    display: block;
    transition: color 0.3s;
    word-wrap: break-word;
}
.news-content a:hover {
    color: var(--primary-color);
}

/* 新闻日期 */
.news-date {
    color: var(--text-tertiary);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    margin-left: 20px;
    white-space: nowrap;
}

/* 新闻二级分类导航 */
.news-categories {
    list-style: none;
    padding: 0;
    margin: 10px 0 0; /* 上外边距10px，其他方向0 */
    display: flex; /* 横向排列 */
    gap: 2px; /* 分类项间距 */
    flex-wrap: wrap; /* 超出换行 */
    width: 100%; /* 占满父容器宽度 */
    justify-content: center; /* 居中对齐（核心修改） */
}
.news-categories li {
    margin: 0;
}

.news-categories li a {
    display: block;
    padding: 5px 10px;
    color: #333;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 5px; /* 四角圆角幅度5px */
}

/* 分类高亮状态 */
.news-categories li.active a {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

/* 分类悬停效果（非高亮） */
.news-categories li:not(.active) a:hover {
    background-color: #eee;
    color: var(--primary-color);
}


/* ==============================================
   7. 分页导航样式
   ============================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px;
}

.pagination.justify-content-center {
    justify-content: center;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pagination li.page-item {
    margin: 0 2px;
}

/* 分页链接统一样式 */
.pagination .page-link {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: var(--bg-primary);
    cursor: pointer;
}

/* 禁用状态 */
.pagination li.disabled .page-link {
    background-color: var(--bg-secondary);
    color: var(--text-tertiary);
    cursor: not-allowed;
    border-color: #ddd;
}

/* 激活状态 */
.pagination li.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: bold;
}

/* 页码按钮 */
.pagination li.page-num .page-link {
    min-width: 40px;
    text-align: center;
}

/* 页码hover效果 */
.pagination li:not(.disabled) .page-link:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 跳转页码表单 */
.pagination .jumpto {
    display: flex;
    align-items: center;
    margin-left: 10px;
    gap: 5px;
}

.pagination .page_number {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
}
.pagination .page_number:focus {
    outline: none;
    border-color: var(--primary-color);
}

.pagination .submit {
    padding: 6px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}
.pagination .submit:hover {
    background-color: var(--primary-color-dark);
}


/* ==============================================
   8. 新闻详情页样式
   ============================================== */
.news-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* 详情标题 */
.news-detail-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

/* 详情元信息 */
.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    position: relative;
    margin: 0 auto 30px;
    width: 100%;
    flex-wrap: wrap;
    text-align: center;
}

/* 元信息上下虚线 */
.news-detail-meta::before,
.news-detail-meta::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #999,
        #999 5px,
        transparent 5px,
        transparent 10px
    );
    mask-image: linear-gradient(to right, transparent, black 70%, black 30%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 70%, black 30%, transparent);
}
.news-detail-meta::before { top: 0; }
.news-detail-meta::after { bottom: 0; }

/* 元信息内容 */
.news-source, .news-time, .news-category {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* 新闻分享 */
.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}
.news-share a {
    color: var(--text-secondary);
}
.news-share a:hover {
    color: var(--primary-color);
}

/* 收藏按钮 */
.collect-btn {
    background-color: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.collect-btn:hover {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

/* 详情内容 */
.news-detail-content {
    color: var(--text-primary);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.8;
    margin-bottom: 30px;
}
.news-detail-content p {
    margin-bottom: 20px;
}
.news-detail-content h3 {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin: 30px 0 20px;
    font-weight: bold;
}

/* 详情图片 */
.news-image, .news-detail-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 5px;
}

/* 新闻分页（上/下一篇） */
.news-pagination {
    padding: 5px 0;
    border-top: 1px solid #eee;
}

.prev-news, .next-news {
    margin-bottom: 10px;
}
.prev-news span, .next-news span {
    color: #999;
    font-size: 0.875rem;
    margin-right: 10px;
}
.prev-news a, .next-news a {
    color: #666;
    font-size: 0.875rem;
    transition: color 0.3s;
}
.prev-news a:hover, .next-news a:hover {
    color: var(--primary-color);
}

/* 相关新闻 */
.related-news {

    padding-top: 10px;
    border-top: 1px solid #eee;
}
.related-news h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
}
.related-news ul {
    list-style: none;
}
.related-news li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}
.related-news li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}
.related-news li a {
    color: #666;
    font-size: 0.875rem;
    transition: color 0.3s;
}
.related-news li a:hover {
    color: var(--primary-color);
}


/* ==============================================
   9. 搜索页面样式
   ============================================== */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-params {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-params .search-input {
    flex: 1;
    min-width: 250px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.filter-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-item label {
    font-weight: 500;
    color: #333;
}

.filter-select, .date-picker {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.clear-filters-btn {
    padding: 6px 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.clear-filters-btn:hover {
    background-color: #5a6268;
}

.search-stats {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.search-results {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.search-result-item {
    padding: 5px;
    border-bottom: 5px solid #eee;
}
.search-result-item:last-child {
    border-bottom: none;
}

.result-title {
    margin-top: 0;
}
.result-title a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    word-wrap: break-word;
    white-space: normal;
    display: block;
}

.result-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.result-category {
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
}

.result-summary {
    font-family: inherit;
    line-height: inherit;
    color: inherit;
    font-size: inherit;
    margin-bottom: 15px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.current-position {
    margin-bottom: 20px;
    font-size: 14px;
}
.current-position a {
    text-decoration: none;
}
.current-position a:hover {
    text-decoration: underline;
}


/* ==============================================
   10. 交互模块（点赞、微信）
   ============================================== */
.interaction-module {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.like-section {
    flex: 1;
}
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* 图标、文字、数字之间的间距 */
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none; /* 去掉下划线 */
    color: inherit; /* 继承文本颜色 */
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.like-icon {
    font-size: 1rem;
}

.like-count {
    font-weight: bold;
}

.wechat-section {
    flex: 1;
    text-align: right;
}

.wechat-info {
    display: inline-block;
    text-align: center;
}

.wechat-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.wechat-qrcode {
    display: inline-block;
    padding: 5px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
.wechat-qrcode img {
    width: 100px;
    height: 100px;
}


/* ==============================================
   11. 招商加盟页面样式
   ============================================== */
.join-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

.join-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.join-content {
    padding: 40px;
}

.join-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.join-intro {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}
.join-intro p {
    margin-bottom: 15px;
}

.join-advantages {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}
.join-advantages h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}
.join-advantages ul {
    list-style: none;
    padding-left: 0;
}
.join-advantages li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #666;
    line-height: 1.6;
}
.join-advantages li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

.join-form-section {
    margin-top: 40px;
}
.join-form-section h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.join-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 表单验证错误 */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    background-color: var(--error-bg);
}
.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 验证码区域 */
.verification-code {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.verification-code input {
    flex: 1;
}

.get-code-btn {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background-color 0.3s;
}
.get-code-btn:hover {
    background-color: var(--primary-color-dark);
}
.get-code-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 图片验证码 */
.captcha-image {
    width: 120px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--bg-secondary);
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
    min-height: 40px;
}
.captcha-image:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.2);
}

/* 提交按钮 */
.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: var(--primary-color-dark);
}


/* ==============================================
   12. 页脚样式
   ============================================== */
/* 页脚样式 - 优化版本 */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 0;
    margin-top: auto; /* 自动margin推到最底部 */
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    width: 100%;
    flex-shrink: 0; /* 固定高度不压缩 */
    height: 100px; /* 固定高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-bottom {
    padding: 5px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 5px 0;
    color: #ffffff;
}
.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}


/* ==============================================
   13. 响应式调整
   ============================================== */
/* 平板设备 */
@media screen and (max-width: 1023px) {
    .module-header-1 {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 移动设备 */
@media screen and (max-width: 768px) {
    /* 调整基础变量 */
    :root {
        --header-height: 110px;
        --base-font-size: 14px;
        --nav-item-padding: 0.75rem 1rem;
    }

    /* 头部调整 */
    .header-container {
        flex-wrap: wrap;
        align-items: center;
        padding: 0.5rem;
        flex-direction: row;
        justify-content: space-between;
    }
    .logo {
        display: none;
    }

    /* 搜索框调整 */
    .search-box {
        width: 100%;
        margin: 0;
        display: flex;
    }
    .search-input {
        font-size: 0.875rem;
        height: 2.25rem;
    }
    .search-btn {
        font-size: 0.875rem;
        height: 2.25rem;
        padding: 0.5rem 1rem;
    }

    /* 新闻列表调整 */
    .news-container {
        padding: 5px;
    }
    .module-title {
        font-size: 1.25rem;
    }
    .news-item {
        padding: 10px;
        flex-wrap: nowrap;
    }
    .news-content a {
        font-size: 0.875rem;
        margin-bottom: 0;
    }
    .news-date {
        font-size: 0.75rem;
        width: auto;
        margin-left: 10px;
        margin-top: 0;
        text-align: right;
        white-space: nowrap;
    }



    /* 分页调整 */
    .pagination {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px 10px;
        justify-content: space-between;
    }
    .pagination::-webkit-scrollbar {
        display: none;
    }
    .pagination a {
        flex-shrink: 0;
        min-width: 36px;
        padding: 6px 10px;
        font-size: 0.875rem;
        text-align: center;
    }
    .pagination .page-prev, .pagination .page-next {
        white-space: nowrap;
        min-width: 70px;
    }
    .pagination a:nth-child(n+6):nth-child(-n+8) {
        display: none;
    }

    /* 新闻详情调整 */
    .news-detail {
        padding: 20px 15px;
    }
    .news-detail-title {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        text-align: center;
    }
    .news-detail-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 5px 0;
    }
    .news-share {
        margin-left: 0;
    }
    .news-detail-content {
        font-size: clamp(0.875rem, 1.2vw, 1rem);
    }
    .news-detail-content h3 {
        font-size: clamp(1rem, 1.5vw, 1.25rem);
    }

    /* 交互模块调整 */
    .interaction-module {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    .wechat-section {
        text-align: center;
    }
    .wechat-qrcode img {
        width: 80px;
        height: 80px;
    }
    .like-btn {
        width: 100%;
        justify-content: center;
    }

    /* 页脚调整 */
    .footer {
        padding: 10px 0;
    }
    .footer-bottom {
        font-size: 0.8rem;
    }

    /* 招商加盟调整 */
    .join-content {
        padding: 20px 15px;
    }
    .join-title {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        margin-bottom: 20px;
    }
    .join-intro, .join-advantages {
        margin-bottom: 30px;
    }
    .join-advantages {
        padding: 15px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half {
        width: 100%;
    }
    .verification-code {
        flex-direction: column;
    }
    .get-code-btn {
        width: 100%;
    }
    .submit-btn {
        padding: 12px;
        font-size: clamp(0.875rem, 1.2vw, 1rem);
    }

    /* 图片验证码调整 */
    .captcha-image {
        width: 100px;
        height: 36px;
        margin-top: 5px;
    }
}

/* 分页移动端补充调整 */
@media screen and (max-width: 768px) {
    .pagination {
        overflow-x: auto;
        justify-content: center;
        align-items: center;
        padding: 10px 5px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        flex-wrap: nowrap;
    }
    .pagination ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .pagination li.page-item {
        flex-shrink: 0;
    }

    /* 隐藏中间页码和跳转表单 */
    .pagination li.page-num { display: none; }
    .pagination .jumpto { display: none; }

    /* 页码信息样式 */
    .pagination li.disabled:first-child .page-link {
        padding: 6px 12px;
        font-size: 0.875rem;
        background-color: var(--bg-primary);
        color: var(--text-secondary);
        border-color: var(--border-color);
        cursor: default;
        border-radius: 4px;
    }

    /* 上一页/下一页按钮 */
    .pagination .page-prev,
    .pagination .page-next,
    .pagination li:nth-child(2) .page-link,
    .pagination li:nth-child(5) .page-link {
        white-space: nowrap;
        padding: 6px 16px;
        font-size: 0.875rem;
        min-width: 80px;
        text-align: center;
        border-radius: 4px;
        background-color: var(--bg-primary);
        border: 1px solid var(--border-color);
    }
    .pagination li:nth-child(2) .page-link {
        color: var(--text-tertiary);
        cursor: not-allowed;
        background-color: var(--bg-secondary);
    }
    .pagination li:nth-child(5) .page-link {
        color: var(--text-secondary);
        transition: all 0.3s;
    }
    .pagination li:nth-child(5) .page-link:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
}

/* 加载提示样式 */
.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}
