/* ===== 内页专用样式 - 通过父类隔离，不影响首页 ===== */

/* 为内页body添加特定类名，确保样式只在内页生效 */
body.inner-page {
    /* 内页特有样式可以放在这里 */
}

/* 栏目大图样式 - 只在.inner-page下生效 */
body.inner-page .section-banner {
    background: linear-gradient(135deg, #56b2ac 0%, #3cb371 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

body.inner-page .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body.inner-page .page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 三列布局容器 ===== */
body.inner-page .content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

/* ===== 左侧导航样式 ===== */
body.inner-page .sidebar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

body.inner-page .category-nav h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #56b2ac;
}

body.inner-page .category-nav ul {
    list-style: none;
}

body.inner-page .category-nav li {
    margin-bottom: 8px;
}

body.inner-page .category-nav a {
    color: #555;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

body.inner-page .category-nav a:hover,
body.inner-page .category-nav a.active {
    background: #56b2ac;
    color: white;
    transform: translateX(5px);
    border-left-color: #3cb371;
}

/* ===== 主内容区样式 ===== */
body.inner-page .main-content {
    min-height: 500px;
}

/* 新闻列表样式 */
body.inner-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

body.inner-page .news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #eee;
}

body.inner-page .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

body.inner-page .news-item .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

body.inner-page .news-item .card-content {
    padding: 25px;
}

body.inner-page .news-item h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

body.inner-page .news-item h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

body.inner-page .news-item h2 a:hover {
    color: #56b2ac;
}

body.inner-page .news-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

body.inner-page .news-item .date {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 产品列表样式 */
body.inner-page .product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

body.inner-page .product-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #eee;
}

body.inner-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

body.inner-page .product-card img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

body.inner-page .product-card h3 {
    color: #2c3e50;
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

body.inner-page .product-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

body.inner-page .product-card .btn {
    display: inline-block;
    background: #56b2ac;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

body.inner-page .product-card .btn:hover {
    background: #3cb371;
    transform: translateY(-1px);
}

/* ===== 右侧辅助区样式 ===== */
body.inner-page .sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

body.inner-page .right-top, 
body.inner-page .right-bottom {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

body.inner-page .right-top h3, 
body.inner-page .right-bottom h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 新闻简报小卡片 */
body.inner-page .news-feed {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.inner-page .news-card-mini {
    display: flex;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
}

body.inner-page .news-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.inner-page .news-card-mini .card-image {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

body.inner-page .news-card-mini .card-content {
    padding: 12px 15px;
    flex: 1;
}

body.inner-page .news-card-mini h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.3;
    color: #2c3e50;
}

body.inner-page .news-card-mini h4 a {
    color: inherit;
    text-decoration: none;
}

body.inner-page .news-card-mini h4 a:hover {
    color: #56b2ac;
}

body.inner-page .news-card-mini p {
    font-size: 0.8rem;
    color: #777;
}

/* 产品轮播样式 */
body.inner-page .product-carousel {
    display: grid;
    gap: 15px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    body.inner-page .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.inner-page .sidebar {
        order: 2;
        position: static;
    }
    
    body.inner-page .main-content {
        order: 1;
    }
    
    body.inner-page .sidebar-right {
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body.inner-page .section-banner {
        padding: 100px 0 40px;
        margin-top: 60px;
    }
    
    body.inner-page .page-title {
        font-size: 2rem;
    }
    
    body.inner-page .product-list {
        grid-template-columns: 1fr;
    }
    
    body.inner-page .sidebar-right {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body.inner-page .news-item .card-content {
        padding: 20px;
    }
    
    body.inner-page .product-card {
        padding: 20px;
    }
    
    body.inner-page .right-top, 
    body.inner-page .right-bottom {
        padding: 20px;
    }
}
/* 通用导航栏基础样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #f8f9fa; /* 内页默认背景色（浅灰色） */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 内页滚动增强效果 */
.header.inner-scrolled {
    background: #ffffff; /* 内页滚动后背景色（纯白） */
    backdrop-filter: blur(10px);
    border-bottom-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 首页滚动效果（保持原有逻辑） */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 导航栏文字颜色 */
.nav-menu a {
    color: #333; /* 默认深灰色文字 */
    transition: color 0.3s ease;
}

/* 导航栏悬停文字 */
.nav-menu a:hover {
    color: #56b2ac; /* 悬停时品牌绿 */
}

/* 当前选中状态 */
.nav-menu .active > a {
    color: #56b2ac;
    font-weight: 600;
}

/* 移动端菜单样式 */
.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #333; /* 汉堡菜单文字深灰色 */
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
}

/* 导航栏容器 */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

/* 滚动时导航栏高度压缩 */
.header.scrolled .nav-container,
.header.inner-scrolled .nav-container {
    height: 60px;
}



.pagebar { padding:20px; overflow:hidden; clear:both}
.pagebar .pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 12px;
  padding: 8px 10px;
  margin: 0 2px;
  border-radius: 3px; line-height:100%
}
.pagination span {
    color: #333;
    font-size: 12px;
    padding: 7px 2px;
    margin: 0 2px;
    border-radius: 3px;
}
.pagination a:hover {
  color: #333;
  border: 1px solid #333;
}
.pagination a.page-num-current {
  color: #fff;
  background: #333;
  border: 1px solid #333;
}
.pagination .st{ font-family:宋体}