/* ==================== 全局基础样式（全站通用） ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    z-index: inherit;
}
body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

/* ==================== 头部样式（全站通用） ==================== */
header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 2px solid #ff4400;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 99;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #ff4400;
    text-decoration: none;
    letter-spacing: 3px;
    display: inline-block;
    text-shadow: 0 0 2px #ff4400, 0 2px 3px rgba(255,68,0,0.2);
}

/* ==================== 导航栏样式（全站通用） ==================== */
.nav-bar {
    background-color: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    width: 100%;
    position: relative;
    z-index: 9999 !important;
    overflow: visible !important;
    text-align: center;
}
/* PC端导航 */
.nav-list-pc {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px 15px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-list-pc li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 15px;
    white-space: nowrap;
    display: inline-block;
}
.nav-list-pc li a.active,
.nav-list-pc li a:hover {
    background-color: #fff5f0;
    color: #ff4400;
    font-weight: 600;
}
/* 移动端导航容器 */
.nav-mobile-wrap {
    display: none;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 9999 !important;
    overflow: visible !important;
    height: 36px;
    line-height: 36px;
}
.nav-list-mobile {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
    align-items: center;
}
.nav-list-mobile li {
    flex-shrink: 0;
    height: 28px;
    line-height: 28px;
}
.nav-list-mobile li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 0 10px;
    border-radius: 14px;
    white-space: nowrap;
    display: block;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
}
.nav-list-mobile li a.active,
.nav-list-mobile li a:hover {
    background-color: #fff5f0;
    color: #ff4400;
    font-weight: 600;
}
/* 更多栏目按钮 */
.nav-more-btn {
    position: absolute;
    right: 20px;
    top: 4px;
    background-color: #fff5f0;
    color: #ff4400;
    border: none;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 14px;
    cursor: pointer;
    z-index: 99999 !important;
    outline: none;
    height: 28px;
    line-height: 28px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    display: none;
    min-width: 70px;
    text-align: center;
}
/* 更多栏目菜单 */
.nav-more-menu {
    display: none !important;
    position: fixed !important;
    right: 20px !important;
    top: 100px !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    padding: 8px 0 !important;
    z-index: 99998 !important;
    min-width: 120px !important;
    border: 1px solid #f5f5f5 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
.nav-more-menu.show {
    display: block !important;
}
.nav-more-menu li a {
    display: block;
    padding: 10px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent !important;
}
.nav-more-menu li a.active,
.nav-more-menu li a:hover {
    background-color: #fff5f0 !important;
    color: #ff4400 !important;
}

/* ==================== 底部样式（全站通用） ==================== */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
    margin-top: 20px;
    border-top: 2px solid #ff4400;
    width: 100%;
    position: relative;
    z-index: 1;
}
.copyright {
    color: #ff4400;
    font-size: 14px;
    margin-bottom: 5px;
}
.contact {
    color: #666;
    font-size: 13px;
}

/* ==================== 栏目页专属样式 ==================== */
/* 栏目页头部 */
.column-header {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff4400;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}
.column-header h1 {
    font-size: 20px;
    color: #ff4400;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}
/* 栏目页文章列表 */
.article-list {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.article-item {
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    align-items: center;
    width: 100%;
}
.article-title {
    flex: 1;
    max-width: calc(100% - 90px);
    padding-right: 10px;
    overflow: hidden;
}
.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}
.article-title a:hover {
    color: #ff4400;
}
.article-time {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
    width: 80px;
    text-align: right;
}

/* ==================== 首页专属样式 ==================== */
/* 首页banner */
.home-banner {
    width: 100%;
    height: 200px;
    background-color: #ff4400;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
/* 首页双栏布局 */
.main-content,
.home-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 20px;
}
.content-left, .content-right,
.home-left, .home-right {
    flex: 1;
    min-width: 340px;
}
.home-right {
    width: 300px;
}
/* 首页栏目标题 */
.column-title {
    background-color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #ffe0d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0 0;
}
.column-name {
    font-size: 16px;
    font-weight: 700;
    color: #ff4400;
    text-decoration: none;
}
.more-link {
    color: #ff4400;
    text-decoration: none;
    font-size: 13px;
    padding: 2px 8px;
    background-color: #fff5f0;
    border-radius: 3px;
}
/* 首页栏目列表 */
.column-list {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 15px;
}
.news-list {
    list-style: none;
}
.news-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list li a {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.news-list li a:hover {
    color: #ff4400;
}
/* 首页文章卡片 */
.article-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.article-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}
.article-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}
/* 首页侧边栏 */
.sidebar-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.sidebar-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ff4400;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

/* ==================== 内容页专属样式 ==================== */
/* 面包屑导航 */
.breadcrumb {
    background-color: transparent;
    padding: 8px 0;
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}
.breadcrumb a {
    color: #ff4400;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
/* 内容页文章区域 */
.article {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(255,68,0,0.08);
    margin-bottom: 20px;
}
.article h1 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: 700;
}
.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #999;
    font-size: 13px;
    border-bottom: 1px solid #ffe0d0;
    padding-bottom: 15px;
}
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}
.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}
.article-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto;
    border-radius: 6px;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* ==================== 分页样式（全站通用） ==================== */
.pagination {
    text-align: center;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 5px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #eee;
}
.pagination a.active,
.pagination a:hover {
    background-color: #ff4400;
    color: #fff;
    border-color: #ff4400;
}

/* ==================== 响应式适配（全站通用） ==================== */
@media (max-width: 768px) {
    /* 全局适配 */
    .logo-text {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .nav-list-pc {
        display: none !important;
    }
    .nav-mobile-wrap {
        display: block !important;
    }
    .nav-more-btn {
        font-size: 13px;
        padding: 0 10px;
        min-width: 65px;
    }
    .nav-more-menu {
        top: 90px !important;
        right: 15px !important;
        min-width: 110px !important;
    }

    /* 栏目页适配 */
    .column-header {
        padding: 12px 10px;
    }
    .column-header h1 {
        font-size: 18px;
    }
    .article-list {
        padding: 10px;
        margin-bottom: 15px;
    }
    .article-item {
        padding: 10px 0;
    }
    .article-title {
        max-width: calc(100% - 80px);
    }
    .article-title a {
        font-size: 15px;
    }
    .article-time {
        font-size: 12px;
        width: 70px;
    }

    /* 首页适配 */
    .home-banner {
        height: 150px;
        font-size: 20px;
    }
    .main-content,
    .home-content {
        flex-direction: column;
        padding: 0 10px;
        gap: 15px;
    }
    .content-left, .content-right,
    .home-left, .home-right {
        min-width: 100%;
    }
    .home-right {
        width: 100%;
    }

    /* 内容页适配 */
    .article {
        padding: 15px 15px;
        margin: 0 0 20px 0;
        border-radius: 4px;
    }
    .breadcrumb {
        padding: 8px 0;
        margin: 0 0 10px 0;
    }
    .article h1 {
        font-size: 22px;
    }
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    .article-content {
        font-size: 16px;
    }

    /* 分页适配 */
    .pagination a {
        padding: 5px 10px;
        margin: 0 3px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    .nav-more-menu {
        top: 85px !important;
        right: 10px !important;
        min-width: 100px !important;
    }
    .nav-mobile-wrap {
        padding: 0 15px !important;
    }
    .nav-more-btn {
        right: 15px !important;
    }
}

@media (max-width: 320px) {
    .nav-more-menu {
        top: 85px !important;
        right: 10px !important;
        min-width: 100px !important;
    }
    .nav-mobile-wrap {
        padding: 0 15px !important;
    }
    .nav-more-btn {
        right: 15px !important;
    }
    .home-banner {
        height: 120px;
        font-size: 18px;
    }
}