/* ============================================
   文山州融资担保有限责任公司网站统一样式表
   作者: 文山州融资担保有限责任公司
   版本: 1.0
   日期: 2026-03-31更新
============================================ */

/* ============================================
   基础样式和变量定义
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    /* 颜色变量 - 绿色和黄色配色方案 */
    --primary-green: #2e7d32;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --primary-yellow: #ffd54f;
    --light-yellow: #ffecb3;
    --dark-yellow: #ffb300;
    /* RGB分量变量 - 用于rgba()函数 */
    --primary-green-rgb: 46, 125, 50;
    --light-green-rgb: 76, 175, 80;
    --dark-green-rgb: 27, 94, 32;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    padding-top: 130px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   公共组件样式
============================================ */

/* 1. 顶部联系栏 */
.top-bar {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

/* 联系方式移动端链接版（默认隐藏，小屏显示） */
.contact-link {
    display: none;
}
        .social-icons a {
            color: var(--white);
            margin-left: 15px;
            font-size: 1.1rem;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--primary-yellow);
        }

/* 主题切换圆点 */
.theme-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1565c0;
    border: 2px solid var(--white);
    vertical-align: middle;
    transition: var(--transition);
    cursor: pointer;
}

.theme-dot.theme-blue {
    background-color: #4caf50;
}

#themeToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#themeToggle:hover .theme-dot {
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(var(--primary-green-rgb), 0.5);
}

/* 2. 导航栏 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 40px; /* 与顶部栏高度一致 */
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    width:60px;
    height:60px;
    margin-right: 15px;
}

.logo-icon img{
    width:100%;
    height:100%;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-green);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-yellow);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover:after, .nav-links a.active:after {
    width: 100%;
}

.mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-green);
            cursor: pointer;
            padding: 5px;
            z-index: 1003;
        }

.page-header {
    position: relative;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-green);
    filter: contrast(1.35) brightness(1.05);
    z-index: 0;
    transition: background-color 0.3s ease;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-green-rgb), 0.15);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 4. 面包屑导航 */
.breadcrumb {
    background-color: var(--white);
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--light-green);
}

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

.breadcrumb .current {
    color: var(--primary-green);
    font-weight: 600;
}

/* 5. 主要内容区域 */
.main-content {
    margin-bottom: 60px;
}

/* 6. 页脚 */
footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-yellow);
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-green);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

.copyright p a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   首页样式
============================================ */

/* 轮播图 */
        .banner {
            width: 100%;
            height: 500px;
            overflow: hidden;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to bottom, var(--primary-green) 0%, var(--dark-green) 100%);
        }
        .banner video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .banner-text {
            position: absolute;
            color: white;
            font-size: 24px;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
			z-index: 2; /* 确保文字在视频上方 */
            max-width: 1200px;
        }
		.banner-text h1 {
        font-size: 2.8rem; /* 桌面端标题大小 */
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .banner-text p {
        font-size: 1.3rem; /* 桌面端描述文字大小 */
        line-height: 1.6;
        margin-bottom: 0;
        opacity: 0.95;
    }
    
    /* 视频遮罩层 - 提高文字可读性 */
    .banner::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.3) 0%, 
            rgba(0, 0, 0, 0.2) 50%, 
            rgba(0, 0, 0, 0.4) 100%
        );
        z-index: 1;
    }

/* 首页服务板块 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-yellow);
    bottom: -10px;
    left: 25%;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: var(--light-green);
    color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 新版新闻动态版块样式 */
        .news-section {
            margin-bottom: 60px;
        }
        
        .news-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        /* 修复 grid 子项被内容撑爆导致 Swiper 宽度测量异常（轮播仅首张正常/空白） */
        .news-container > * {
            min-width: 0;
        }
        
        /* 左侧新闻轮播图 - 已由 qbcms:slider 接管 */
        
        /* Swiper 容器基础样式 */
        .swiper-wrapper-outer .swiper,
        .party-carousel-container .swiper {
            width: 100%;
            height: 400px;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .swiper-wrapper-outer .swiper-slide,
        .party-carousel-container .swiper-slide {
            width: 100%;
            height: 100%;
        }
        
        .swiper-wrapper-outer .swiper-slide img,
        .party-carousel-container .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .swiper-wrapper-outer .slide-title,
        .party-carousel-container .slide-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 18px 25px;
            font-size: 16px;
            color: #fff;
            background: linear-gradient(transparent, rgba(0,0,0,0.6));
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }
        
        /* Swiper 分页器和导航按钮样式 */
        .swiper-wrapper-outer .swiper-pagination-bullet,
        .party-carousel-container .swiper-pagination-bullet {
            background: rgba(255,255,255,0.5);
            opacity: 1;
        }
        
        .swiper-wrapper-outer .swiper-pagination-bullet-active,
        .party-carousel-container .swiper-pagination-bullet-active {
            background: #fff;
        }
        
        .swiper-wrapper-outer .swiper-button-next,
        .swiper-wrapper-outer .swiper-button-prev,
        .party-carousel-container .swiper-button-next,
        .party-carousel-container .swiper-button-prev {
            color: #fff;
            background: rgba(0,0,0,0.25);
            width: 44px;
            height: 60px;
            border-radius: 0;
        }
        
        .swiper-wrapper-outer .swiper-button-next:after,
        .swiper-wrapper-outer .swiper-button-prev:after,
        .party-carousel-container .swiper-button-next:after,
        .party-carousel-container .swiper-button-prev:after {
            font-size: 22px;
        }
        
        /* 响应式：移动端轮播高度调整 */
        @media (max-width: 768px) {
            .swiper-wrapper-outer .swiper,
            .party-carousel-container .swiper {
                height: 280px;
            }
        }

        
        /* 右侧新闻和公告滑块 */
        .news-tabs-container {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            height: 400px;
            display: flex;
            flex-direction: column;
        }
        
        .news-tabs-header {
            display: flex;
            border-bottom: 1px solid #eee;
        }
        
        .news-tab {
            flex: 1;
            padding: 15px 20px;
            text-align: center;
            background: none;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
            position: relative;
        }
        
        .news-tab:hover {
            color: var(--primary-green);
        }
        
        .news-tab.active {
            color: var(--primary-green);
        }
        
        .news-tab.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-yellow);
        }
        
        .news-tab-content {
            flex: 1;
            overflow: hidden;
            position: relative;
        }
        
        .tab-pane {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            padding: 20px;
            overflow-y: hidden;
			display: none;
			opacity: 0;
			transition: opacity 0.3s ease;
        }
        
        .tab-pane.active {
            opacity: 1;
            visibility: visible;
			display: block;
			opacity: 1;
        }
        
        .news-list, .notice-list {
            list-style: none;
        }
        
        .news-item, .notice-item {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }
        
        .news-item:last-child, .notice-item:last-child {
            border-bottom: none;
        }
        
.news-item a, .notice-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;              /* 改为 flex 布局 */
    justify-content: space-between;  /* 两端对齐：标题靠左，时间靠右 */
    align-items: center;        /* 垂直居中对齐 */
    gap: 10px;                  /* 标题和时间之间的间距 */
}

.news-item a:hover, .notice-item a:hover {
    color: var(--primary-green);
}

.news-title, .notice-title {
    line-height: 1.4;
    flex: 1;                    /* 标题占据剩余空间，防止时间被挤到下一行 */
    margin-bottom: 0;           /* 移除之前的 margin-bottom */
    min-width: 0;               /* 允许 flex 子项收缩，省略号才能生效 */
    max-width: 40em;            /* 约40个字符宽，超宽屏不撑满整行 */
    overflow: hidden;
    text-overflow: ellipsis;    /* 超出部分显示省略号 */
    white-space: nowrap;        /* 单行显示 */
}

.news-date, .notice-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: right;
    white-space: nowrap;        /* 防止时间换行 */
}
        
        .news-tag {
            display: inline-block;
            padding: 2px 8px;
            background-color: var(--primary-yellow);
            color: var(--text-dark);
            border-radius: 3px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-right: 8px;
        }
        
        .hot-news .news-title:before {
            content: '?? ';
        }
        
        .view-more {
            display: inline-block;
            margin-top: 15px;
            color: var(--light-green);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .view-more i {
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .view-more:hover i {
            transform: translateX(3px);
        }      
        
/* 政策法规和党群工作并列布局 */
        .policy-party-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }

        .policy-box, .party-box {
            background-color: var(--white);
            border-radius: 10px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        .policy-box h3, .party-box h3 {
            color: var(--primary-green);
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-yellow);
        }

        .policy-list, .party-list {
            list-style: none;
        }

        .policy-item, .party-item {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        .policy-item:last-child, .party-item:last-child {
            border-bottom: none;
        }

        /* 标题链接样式 - 与新闻动态保持一致：color: var(--text-dark), font-size: 1rem */
        .policy-item-title, .party-item-title {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 1rem;
            font-weight: normal;
            display: block;
            margin-bottom: 6px;
            transition: var(--transition);
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;    /* 超出部分显示省略号 */
            white-space: nowrap;        /* 单行显示 */
        }

        .policy-item-title:hover, .party-item-title:hover {
            color: var(--light-green);
            padding-left: 5px;
        }

        /* 元信息行（日期 + 浏览 + 点赞） */
        .policy-item-meta, .party-item-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .policy-meta-item, .party-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .policy-meta-item i, .party-meta-item i {
            font-size: 0.78rem;
            color: var(--primary-green);
            opacity: 0.75;
        }

        /* 查看更多行 */
        .policy-item-more, .party-item-more {
            padding-top: 14px !important;
        }

        .policy-item a, .party-item a {
            color: var(--text-dark);
            text-decoration: none;
            transition: var(--transition);
        }

        .policy-item a:hover, .party-item a:hover {
            color: var(--light-green);
        }

        .policy-date, .party-date {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-right: 15px;
        }

/* 首页合作伙伴 */
.partners {
    margin-bottom: 60px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* 合作伙伴盒子样式 */
.partner-logo {
    width: 150px;
    height: 80px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-logo a {
    color: var(--primary-green);
    text-decoration: none; 
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
}
.partner-logo:hover a {
    color: var(--primary-green); 
}

/* 首页友情链接 */
.simple-links-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.links-title {
    text-align: center;
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.simple-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.simple-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.simple-link:hover {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 留言样式 */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--light-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--light-green-rgb), 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   搜索页面样式
   ============================================ */

/* 搜索页面 banner */
.search-page-banner {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}

.search-page-banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.search-page-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* 搜索主体 */
.search-page-main {
    padding: 40px 0 60px;
    
}

/* 搜索框区域 */
.search-section {
    margin-bottom: 40px;
}

.search-section .search-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: static;
    width: auto;
}

.search-input-group {
    display: flex;
    gap: 0;
    border: 2px solid var(--light-green);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(var(--primary-green-rgb), 0.2);
}

.search-page-input {
    flex: 1;
    border: none;
    padding: 14px 24px;
    font-size: 1.05rem;
    color: var(--text-dark);
    outline: none;
    background: transparent;
}

.search-page-input::placeholder {
    color: var(--text-light);
}

.search-page-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.search-page-btn:hover {
    background: var(--dark-green);
}

.search-hint {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.88rem;
    text-align: center;
}

/* 热门搜索标签 */
.search-tags-section {
    margin-bottom: 40px;
}

.search-tags-section h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 3px solid var(--primary-green);
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.search-tag:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: rgba(var(--primary-green-rgb), 0.05);
}

/* 搜索技巧 */
.search-tips-section {
    margin-bottom: 40px;
}

.tips-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tips-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-green-rgb), 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    font-size: 1.2rem;
}

.tips-content h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tips-content ul {
    list-style: none;
    padding: 0;
}

.tips-content li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.tips-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--light-green);
}

/* 搜索框宽版（搜索页/结果页使用） */
.search-box-wide {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* 搜索结果列表 */
.search-result-section {
    margin-bottom: 40px;
}

.search-result-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.search-result-header h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 600;
}

.result-count {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.search-result-list {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.search-result-item:hover {
    background-color: rgba(var(--primary-green-rgb), 0.03);
}

.result-category {
    flex-shrink: 0;
    width: 120px;
}

.result-category a {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(var(--primary-green-rgb), 0.1);
    color: var(--primary-green);
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.result-category a:hover {
    background: var(--primary-green);
    color: var(--white);
}

.result-title {
    flex: 1;
    padding: 0 20px;
    min-width: 0;
}

.result-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: var(--primary-green);
}

.result-date {
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 1rem;
    min-width: 90px;
    text-align: right;
}

/* 搜索无结果 */
.search-no-result {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.search-no-result i {
    font-size: 3rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.search-no-result h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.search-no-result p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 搜索结果分页 */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
}

.search-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.search-pagination .page-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.search-pagination .page-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.search-pagination .page-btn.disabled {
    color: #ccc;
    border-color: #f0f0f0;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   留言展示页样式
   ============================================ */

/* 搜索工具栏 */

/* 留言搜索表单 */

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* 无留言提示 */

/* 留言卡片 */

.meta-item {
    display: flex;
    align-items: center;
}

.meta-info h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.meta-info p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reply-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-list {
    display: flex;
    list-style: none;
}

.pagination-item {
    margin: 0 5px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: var(--white);
    border-radius: 5px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    white-space: nowrap;
}

.pagination-link:hover, .pagination-link.active, .pagination-link.current {
    background-color: var(--primary-green);
    color: var(--white);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 空状态样式 */

.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--dark-green);
}

/* ============================================
   内容列表页样式
============================================ */

/* 内容筛选工具栏 */
.content-toolbar {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lmcategory-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.lmcategory-btn:hover, .lmcategory-btn.active {
    background-color: var(--light-green);
    color: var(--white);
}

a.lmcategory-btn,
a.lmcategory-btn:hover,
a.lmcategory-btn:visited,
a.lmcategory-btn:active {
    text-decoration: none;
}

.content-stats {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.content-stats i {
    margin-right: 5px;
    color: var(--light-green);
}

/* 内容列表 */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content-image {
    width: 250px;
    min-height: 200px;
    background-color: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    font-size: 2.5rem;
}

.content-image img {
    max-width: 100%;
    height: auto;
}

.content-details {
    flex: 1;
    padding: 25px;
}

.content-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.content-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.content-title a:hover {
    color: var(--light-green);
}

.content-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.meta-info {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.meta-item i {
    margin-right: 5px;
    color: var(--light-green);
}

.read-more {
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 侧边栏样式 */
.main-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.sidebar {
    background-color: var(--white);
    margin-bottom: 30px;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    align-self: start;
}

.sidebar-title {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.sidebar-list {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.sidebar-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.sidebar-item a:hover {
    color: var(--light-green);
}

.sidebar-item-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background-color: #f5f5f5;
    color: var(--text-dark);
    border-radius: 5px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--light-green);
    color: var(--white);
}

/* ============================================
   文章内容页样式
============================================ */

/* 文章内容样式 */
.article-container {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-header {
    padding: 40px 40px 20px;
}

.article-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
	text-align: center;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
}

.article-meta .meta-item i {
    margin-right: 5px;
    color: var(--light-green);
}

.article-content {
    padding: 40px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--dark-green);
    margin: 25px 0 15px;
}

.article-content ul, .article-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.article-content img {
    max-width: 100%;      /* 图片最大宽度不超过容器 */
    height: auto;         /* 高度自动按比例缩放 */
}

/* 大尺寸内容图片自动添加的样式：居中、圆角、阴影 */
.article-content img.content-image-large {
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-box {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-yellow);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

.highlight-box h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.article-tags {
    padding: 20px 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tags-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 5px 12px;
    background-color: #f5f5f5;
    color: var(--text-dark);
    border-radius: 5px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-item:hover {
    background-color: var(--light-green);
    color: var(--white);
}

.article-footer {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.action-btn:hover {
    color: var(--light-green);
}

.action-btn i {
    margin-right: 5px;
}

/* ===== 分享对话框 ===== */
.share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.share-dialog-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.share-dialog-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.share-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.share-dialog-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.share-dialog-close {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.share-dialog-close:hover {
    color: #333;
}

.share-dialog-body {
    padding: 20px;
}

.share-link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.share-link-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    background: #f9f9f9;
    outline: none;
}

.share-copy-btn {
    padding: 8px 16px;
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s;
}

.share-copy-btn:hover {
    background: var(--dark-green);
}

.share-social-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.share-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.share-social:hover {
    color: var(--primary-green);
}

.share-soc-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    font-size: 22px;
    background: #f5f7fa;
    transition: all 0.2s;
}

.share-wechat:hover .share-soc-icon {
    background: #07c160;
    color: #fff;
}

.share-weibo:hover .share-soc-icon {
    background: #e6162d;
    color: #fff;
}

.share-qq:hover .share-soc-icon {
    background: #12b7f5;
    color: #fff;
}

.share-qrcode {
    text-align: center;
    padding-top: 8px;
    border-top: 1px dashed #f0f0f0;
}

.share-qrcode img {
    max-width: 160px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.share-qrcode:empty {
    display: none;
    border: none;
    padding: 0;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-prev, .nav-next {
    flex: 1;
	padding:0 30px
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.nav-title {
    font-size: 1rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.nav-title:hover {
    text-decoration: underline;
}

.nav-title.nav-empty {
    color: var(--text-light);
    font-weight: 400;
    text-decoration: none;
    cursor: default;
}

.nav-title.nav-empty:hover {
    text-decoration: none;
}

/* 相关文章样式 */

        /* 党群工作页面特有样式 */
                
                
        .party-article {
            padding: 40px;
        }
        
                
                
        .party-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--text-light);
            font-size: 0.95rem;
            gap: 20px;
        }
        
        .party-meta-item {
            display: flex;
            align-items: center;
        }
        
        .party-meta-item i {
            margin-right: 8px;
            color: var(--light-green);
        }
        
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
        .sidebar-title {
            font-size: 1.3rem;
            color: var(--primary-green);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-yellow);
        }
        
        .party-categories {
            list-style: none;
            margin-bottom: 30px;
        }
        
                
                
                
                
                
                
                
                
                
                
                
                
                
        /* 三栏分类布局特有样式 */
        .party-categories-section {
            margin-bottom: 30px;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .category-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
        }
        
        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .category-header {
            padding: 25px 30px 20px;
            border-bottom: 3px solid;
        }
        
        .category-title {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .category-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.5rem;
        }
        
        .category-title h2 {
            font-size: 1.6rem;
            margin: 0;
        }
        
        .category-description {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        /* 公司党建 - 红色主题 */
        .party-building .category-header {
            border-bottom-color: #d32f2f;
            background-color: #ffebee;
        }
        
        .party-building .category-icon {
            background-color: #d32f2f;
            color: white;
        }
        
        .party-building .category-title h2 {
            color: #d32f2f;
        }
        
        /* 工会工作 - 蓝色主题 */
        .union-work .category-header {
            border-bottom-color: #1976d2;
            background-color: #e3f2fd;
        }
        
        .union-work .category-icon {
            background-color: #1976d2;
            color: white;
        }
        
        .union-work .category-title h2 {
            color: #1976d2;
        }
        
        /* 廉洁教育 - 紫色主题 */
        .integrity-education .category-header {
            border-bottom-color: #7b1fa2;
            background-color: #f3e5f5;
        }
        
        .integrity-education .category-icon {
            background-color: #7b1fa2;
            color: white;
        }
        
        .integrity-education .category-title h2 {
            color: #7b1fa2;
        }
        
        .category-content {
            padding: 20px 30px 25px;
        }
        
        .category-articles {
            list-style: none;
            margin-top: 10px;
        }
        
        .category-article {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            transition: var(--transition);
        }
        
        .category-article:hover {
            background-color: #f9f9f9;
            padding-left: 5px;
            padding-right: 5px;
            border-radius: 5px;
        }
        
        .category-article:last-child {
            border-bottom: none;
        }
        
        /* 文章链接布局 - 标题左对齐，日期右对齐 */
        .category-article-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
            color: var(--text-dark);
            transition: var(--transition);
        }
        
        .category-article-link:hover {
            color: var(--primary-green);
        }
        
        /* 标题容器，占据大部分空间 */
        .article-title-container {
            flex: 1;
            min-width: 0; /* 重要：让文本截断生效 */
            margin-right: 15px;
        }
        
        /* 标题样式 - 左对齐，超出部分显示省略号 */
        .party-article-title {
            font-size: 1rem;
            font-weight: 500;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            text-align: left;
        }
        
        /* 日期容器 - 右对齐，不换行 */
        .article-date-container {
            flex-shrink: 0;
            text-align: right;
        }
        
        .article-date {
            color: var(--text-light);
            font-size: 0.85rem;
            white-space: nowrap;
        }
        
        .category-more {
            display: inline-block;
            margin-top: 15px;
            color: var(--light-green);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .category-more i {
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .category-more:hover i {
            transform: translateX(3px);
        }
        
        /* 最新党群动态区域 */
        .latest-party-news {
            margin-bottom: 60px;
        }
        
        .latest-news-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        /* 防止 grid 子项（轮播/右侧内容）撑破轨道导致 Swiper 宽度测量异常 */
        .latest-news-container > * {
            min-width: 0;
        }
        
        /* 左侧轮播图样式 - 已由 qbcms:slider 接管 */
        
/* 右侧头条文章区域新样式 (标签页布局，等高轮播) */
.headline-articles-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 380px; /* 与左侧轮播等高 */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 隐藏溢出内容 */
}

/* 标签页头部 */
.headline-tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.headline-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.headline-tab:hover {
    color: var(--primary-green);
    background-color: #f0f0f0;
}

.headline-tab.active {
    color: var(--primary-green);
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-yellow);
}

/* 标签页内容区域 */
.headline-tabs-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.headline-tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 25px;
    overflow-y: auto; /* 允许垂直滚动 */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.headline-tab-pane.active {
    opacity: 1;
    visibility: visible;
    display: block;
    opacity: 1;
}

/* 头条文章项新样式 */
.headline-article {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.headline-article:hover {
    border-color: var(--light-green);
    box-shadow: 0 5px 15px rgba(var(--light-green-rgb), 0.08);
    transform: translateY(-2px);
    background-color: var(--white);
}

/* 链接区域调整为垂直布局 */
.headline-article-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-dark);
    gap: 8px; /* 为内部元素增加间距 */
    height: 100%;
}

/* 标题样式 */
.headline-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 5px 0 15px 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headline-article:hover .headline-title {
    color: var(--primary-green);
}

/* 新增：文章内容摘要 */
.headline-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 8px 0 20px 0;
    flex: 1; /* 占据剩余空间 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8; /* 限制显示8行 */
    -webkit-box-orient: vertical;
}

/* 日期容器 */
.headline-date-container {
    text-align: right;
    border-top: 1px dashed #eee;
    padding-top: 15px;
    margin-top: auto; /* 将日期推到容器底部 */
}

.headline-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}   

/* ============================================
   员工风貌图片滚动版块
============================================ */

/* 员工风貌版块容器 */
.staff-gallery-section {
    margin: 20px 0 30px;
    padding: 30px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.staff-gallery-section .section-title {
    margin-bottom: 30px;
}

/* 画廊容器 */
.staff-gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* 为控制按钮留出空间 */
    overflow: hidden;
}

/* 画廊包装器 */
.staff-gallery-wrapper {
    overflow: hidden;
    width: 100%;
}

/* 画廊轨道 - 使用CSS动画实现滚动 */
.staff-gallery-track {
    display: flex;
    gap: 20px;
    animation: scrollGallery 30s linear infinite;
    width: max-content; /* 使轨道宽度适应内容 */
    padding: 10px 0;
}

/* 暂停动画的类 */
.staff-gallery-track.paused {
    animation-play-state: paused;
}

/* 画廊项目 */
.staff-gallery-item {
    flex: 0 0 auto;
    width: 280px; /* 与图片宽度一致 */
    height: 200px; /* 与图片高度一致 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.staff-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 员工图片 */
.staff-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.staff-gallery-item:hover .staff-image img {
    transform: scale(1.05);
}

/* 图片遮罩层 */
.staff-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 20px 15px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.staff-gallery-item:hover .staff-overlay {
    transform: translateY(0);
}

.staff-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.staff-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* 控制按钮 */
.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.gallery-control:hover {
    background-color: var(--primary-green);
    color: var(--white);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 5px;
}

.gallery-next {
    right: 5px;
}

/* 滚动动画 */
@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 6 - 20px * 6)); /* 移动6个项目的宽度 */
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .staff-gallery-container {
        padding: 0 40px;
    }
    
    .staff-gallery-item {
        width: 240px;
        height: 130px;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-240px * 6 - 20px * 6));
        }
    }
}

@media (max-width: 768px) {
    .staff-gallery-section {
        padding: 30px 0;
        margin: 40px 0 30px;
    }
    
    .staff-gallery-container {
        padding: 0 35px;
    }
    
    .staff-gallery-item {
        width: 200px;
        height: 150px;
    }
    
    .staff-overlay h4 {
        font-size: 1rem;
    }
    
    .staff-overlay p {
        font-size: 0.8rem;
    }
    
    .gallery-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 0;
    }
    
    .gallery-next {
        right: 0;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 6 - 20px * 6));
        }
    }
}

@media (max-width: 576px) {
    .staff-gallery-container {
        padding: 0 30px;
    }
    
    .staff-gallery-item {
        width: 180px;
        height: 135px;
    }
    
    .staff-overlay {
        padding: 15px 10px 8px;
    }
    
    .staff-overlay h4 {
        font-size: 0.9rem;
    }
    
    .staff-overlay p {
        font-size: 0.75rem;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 6 - 20px * 6));
        }
    }
}

/* FAQ页面特有样式 */
        .faq-container {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }
        
        .faq-search {
            margin-bottom: 30px;
        }
        
        .faq-search-box {
            position: relative;
        }
        
        .faq-search-box input {
            width: 100%;
            padding: 12px 20px 12px 50px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .faq-search-box input:focus {
            border-color: var(--light-green);
            outline: none;
            box-shadow: 0 0 0 3px rgba(var(--light-green-rgb), 0.1);
        }
        
        .faq-search-box i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }
        
        .faq-categories {
            background-color: var(--white);
            border-radius: 10px;
            padding: 25px;
            box-shadow: var(--shadow);
            align-self: start;
        }
        
        .category-title {
            font-size: 1.2rem;
            color: var(--primary-green);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-yellow);
        }
        
        .category-list {
            list-style: none;
        }
        
        .category-item {
            margin-bottom: 12px;
        }
        
        .category-btn {
            width: 100%;
            padding: 12px 15px;
            background-color: #f5f5f5;
            border: none;
            border-radius: 5px;
            color: var(--text-dark);
            font-size: 0.95rem;
            text-align: left;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .category-btn:hover, .category-btn.active {
            background-color: var(--light-green);
            color: var(--white);
        }
        
        .category-count {
            background-color: var(--white);
            color: var(--text-dark);
            font-size: 0.8rem;
            padding: 2px 8px;
            border-radius: 10px;
        }
        
        .category-btn:hover .category-count, .category-btn.active .category-count {
            background-color: rgba(255, 255, 255, 0.2);
            color: var(--white);
        }
        
        .faq-content {
            background-color: var(--white);
            border-radius: 10px;
            padding: 30px;
            box-shadow: var(--shadow);
        }
        
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .faq-item {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: var(--transition);
        }
        
        .faq-item:hover {
            border-color: var(--light-green);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .faq-question {
            padding: 20px 25px;
            background-color: #f9f9f9;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            border-bottom: 1px solid transparent;
        }
        
        .faq-question.active {
            background-color: var(--light-green);
            color: var(--white);
        }
        
        .faq-question h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0;
            flex: 1;
        }
        
        .faq-question i {
            font-size: 0.9rem;
            transition: var(--transition);
        }
        
        .faq-question.active i {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faq-answer.active {
            padding: 25px;
            max-height: none;
            overflow: visible; 
        }
        
        .faq-answer-content {
            color: var(--text-dark);
            line-height: 1.7;
        }
        
        .faq-answer-content p {
            margin-bottom: 15px;
        }
        
        .faq-answer-content ul, .faq-answer-content ol {
            margin-left: 20px;
            margin-bottom: 15px;
        }
        
        .faq-answer-content li {
            margin-bottom: 8px;
        }
        
        .faq-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .faq-category-tag {
            display: inline-block;
            padding: 3px 10px;
            background-color: var(--primary-yellow);
            color: var(--text-dark);
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .faq-helpful {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .helpful-btn {
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-size: 0.85rem;
            transition: var(--transition);
        }
        
        .helpful-btn:hover {
            color: var(--light-green);
        }
        
        .helpful-btn i {
            margin-right: 5px;
        }
        
        .helpful-btn.like-btn {
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }
        
        .helpful-btn.like-btn .like-count {
            font-size: 0.75rem;
            color: var(--text-light);
            margin-left: 2px;
        }
        
        .helpful-btn.like-btn.liked {
            color: var(--primary-green);
            font-weight: 600;
        }
        
        .helpful-btn.like-btn.liked .like-count {
            color: var(--primary-green);
        }
        
        .no-results {
            text-align: center;
            padding: 60px 20px;
        }
        
        .no-results-icon {
            font-size: 3rem;
            color: #e0e0e0;
            margin-bottom: 20px;
        }
        
        .no-results h3 {
            color: var(--text-dark);
            margin-bottom: 10px;
        }
        
        .no-results p {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .contact-prompt {
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 25px;
            margin-top: 40px;
            text-align: center;
        }
        
        .contact-prompt h3 {
            color: var(--primary-green);
            margin-bottom: 10px;
        }
        
        .contact-prompt p {
            color: var(--text-light);
            margin-bottom: 20px;
        }

/* ============================================
   关于我们页样式
============================================ */

/* 公司介绍样式 */
.company-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    margin-bottom: 60px;
    margin-top: 20px;
    align-items: center;
}

/* 防止 grid 子项（大图/内容）撑破轨道导致文字列被压缩竖排 */
.company-intro > * {
    min-width: 0;
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-image {
    background-color: var(--light-green);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    box-shadow: var(--shadow);
}

/* 公司简介配图：图片自适应容器宽度，避免小屏被裁切/溢出 */
.intro-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 使命愿景价值观区域 */
.mission-section {
    margin-bottom: 60px;
}
         
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
}

.mission-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* 发展历程样式 */

/* 公司优势样式 */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* 团队介绍样式 */
.team-section {
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-photo {
    height: 250px;
    background-color: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.member-position {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.member-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.member-contact a {
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.member-contact a:hover {
    background-color: var(--light-green);
    color: var(--white);
}

/* 单页内容区域标题间距 */
.page-content-single h2,
.page-content-single > div > h2,
.page-content-single > div > div > h2,
.page-content-single .article-content h2 {
    margin-top: 60px !important;
}
.page-content-single h2:first-child,
.page-content-single > div > h2:first-child,
.page-content-single > div > div > h2:first-child,
.page-content-single .article-content h2:first-child {
    margin-top: 0 !important;
}

/* 返回顶部按钮 */
     .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background-color: var(--primary-green);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
        
     .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }
        
     .back-to-top:hover {
        background-color: var(--dark-green);
        transform: translateY(-5px);
    }

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
	.container {
        max-width: 720px;
    }
    
    .main-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .company-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-image {
        height: auto;
        min-height: 0;
    }
            
    .content-image {
        width: 200px;
    }
    
    .article-featured-image {
        height: 300px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .timeline:before {
        left: 30px;
    }
            
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:after,
    .timeline-item:nth-child(even) .timeline-content:after {
        left: -10px;
        right: auto;
    }
	
	 .news-container {
        grid-template-columns: 1fr;
    }
            
     .news-carousel-container, .news-tabs-container {
        height: 350px;
    }
            
     .policy-party-section {
        grid-template-columns: 1fr;
    }
	 .banner {
            height: 450px; /* 稍微降低高度 */
        }
        
     .banner-text h1 {
            font-size: 2.4rem;
        }
        
     .banner-text p {
            font-size: 1.2rem;
        }
     .faq-container {
                grid-template-columns: 1fr;
        }
            
     .faq-categories {
                order: 2;
        }
            
      .faq-content {
                order: 1;
        }
            .party-work-container {
                grid-template-columns: 1fr;
            }
            
            .latest-news-container {
                grid-template-columns: 1fr;
            }
            
            .party-carousel-container, .headline-articles-container {
                height: 350px;
            }
            
            .categories-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
			
	.headline-articles-container {
        height: 350px; /* 与左侧轮播保持一致 */
    }
    
    .headline-tab {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .headline-tab-pane {
        padding: 20px;
    }
    
    .headline-title {
        font-size: 1.2rem;
    }
    
    .headline-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 6; /* 移动端显示6行 */
    }		
}
        
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px; /* 确保在移动端有适当的内边距 */
    }
    
    /* 修复固定定位元素宽度 */
    .top-bar {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    /* 移动端栏目封面图适配 */
    .page-header {
        padding: 40px 0;
    }
    .page-header-bg {
        background-size: cover;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .page-header p {
        font-size: 0.95rem;
    }

    /* 小屏下联系方式：隐藏文本版，显示图标链接版（点击直接拨号/发邮件） */
    .contact-text {
        display: none;
    }
    .contact-link {
        display: inline-flex;
        align-items: center;
        margin-right: 12px;
        color: inherit;
        text-decoration: none;
    }
    .contact-link i {
        margin-right: 0;
    }
    
    header {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
        top: 30px;
		min-height: 100px;
		display: flex;
		align-items: center;
    }
    
    /* 防止水平滚动 */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
	
	body {
        padding-top: 110px;
    }
    
    header {
        top: 40px;
    }
    
    /* 移动端菜单按钮显示 */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 110px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        line-height: 1.4; 
		padding: 8px 20px;
        width: 100%;
    }

  .content-item {
    flex-direction: column; /* 将子元素垂直堆叠 */
  }

  .content-image {
    width: 100%; /* 图片区域占满容器宽度 */
    height: 200px; 
    min-height: auto; /* 覆盖PC端的 min-height */
  }

  .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并覆盖区域 */
  }

  .content-image a {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* 可选：调整内容详情的内部间距，使其在垂直布局下更协调 */
  .content-details {
    padding: 20px; /* 调整内边距 */
  }

  .content-meta {
    flex-direction: column; /* 将元信息（日期、浏览等）和“阅读全文”按钮垂直堆叠 */
    align-items: flex-start;
    gap: 15px;
  }

  .meta-info {
    justify-content: flex-start;
    flex-wrap: wrap; /* 允许元信息项换行 */
  }
  /* 公司简介：小屏改为上下排列，图片按容器宽度自适应，避免右侧被裁切 */
  .company-intro {
    gap: 25px;
  }

  .intro-image {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .intro-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .intro-text p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .banner {
    height: 400px;
  }
        
  .banner-text h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
        
  .banner-text p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .faq-question {
    padding: 15px 20px;
  }
            
  .faq-question h3 {
    font-size: 1rem;
  }
            
  .faq-answer.active {
    padding: 20px;
  }
            
  .faq-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .party-article {
    padding: 25px;
  }
  .party-header h1 {
    font-size: 1.8rem;
  }
  .party-main-image {
    height: 250px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .party-navigation {
    flex-direction: column;
    gap: 15px;
  }
  .party-carousel-container, .headline-articles-container {
    height: 320px;
  }
  .party-carousel-content {
    padding: 15px 20px;
  }
  .party-carousel-content h3 {
    font-size: 1.1rem;
  }
  .headline-header {
    padding: 15px 20px 10px;
  }
  .headline-header h2 {
    font-size: 1.4rem;
  }
  .headline-content {
    padding: 15px 20px;
  }
  .category-article-link {
    flex-direction: column;
    align-items: flex-start;
  }
            
  .article-title-container {
    margin-right: 0;
    margin-bottom: 5px;
    width: 100%;
  }            
  .article-date-container {
    align-self: flex-end;
  }           
  .headline-article-link {
    flex-direction: column;
    align-items: flex-start;
  }
            
  .headline-title-container {
    margin-right: 0;
    margin-bottom: 5px;
    width: 100%;
  }
            
  .headline-date-container {
    align-self: flex-end;
  }
  
      .headline-articles-container {
        height: 320px;
    }
    
    .headline-tabs-header {
        flex-direction: row; /* 保持横向排列 */
    }
    
    .headline-tab {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .headline-tab-pane {
        padding: 15px;
    }
    
    .headline-article {
        padding: 15px;
    }
    
    .headline-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .headline-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 5; /* 小屏幕显示5行 */
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    /* 在小屏幕上进一步优化 */
    .container {
        padding: 0 10px; /* 更小的内边距 */
    }
    
    .logo {
        width: 90%;
        justify-content: space-between;
    }
	
    .logo-text h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    .article-title {
        font-size: 1.2rem;
    }

    /* 确保顶部联系信息在小屏幕上正常显示 */
    .contact-info {
        font-size: 0.8rem;
    }
    
    .contact-info span {
        margin-right: 10px;
    }
	/* 公司简介文字：超小屏再降一档字号，避免行宽过窄导致阅读困难 */
	.intro-text p {
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }

	.banner {
            height: 350px;
        }
        
        .banner-text h1 {
            font-size: 1.8rem;
            margin-bottom: 12px;
        }
        
        .banner-text p {
            font-size: 1rem;
            line-height: 1.4;
        }
		.party-carousel-container, .headline-articles-container {
                height: 280px;
            }
        .party-carousel-content h3 {
                font-size: 1rem;
            }
            
        .party-carousel-content p {
                font-size: 0.85rem;
            }
			
			    .headline-articles-container {
        height: 280px;
    }
    
    .headline-tab {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .headline-title {
        font-size: 1rem;
    }
    
    .headline-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 4; /* 超小屏幕显示4行 */
    }

    /* 搜索页面移动端适配 */
    .search-page-banner {
        padding: 40px 0 30px;
    }

    .search-page-banner h1 {
        font-size: 1.5rem;
    }

    .search-page-banner p {
        font-size: 0.95rem;
    }

    .search-section .search-box {
        padding: 24px 16px;
    }

    .search-box-wide {
        padding: 24px 16px;
    }

    .search-page-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .search-page-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .tips-card {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .tips-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* 搜索结果列表移动端适配 */
    .search-result-item {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .result-category {
        width: auto;
        margin-bottom: 6px;
    }

    .result-title {
        flex: 1 1 100%;
        order: 3;
        padding: 4px 0 0;
    }

    .result-title a {
        white-space: normal;
    }

    .result-date {
        order: 2;
        flex: 1;
        text-align: left;
        min-width: auto;
        padding-left: 10px;
    }

    .search-pagination .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
        padding: 0 8px;
    }

    /* 留言搜索框移动端适配 */
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .msg-search-form {
        min-width: 0;
    }

    .msg-search-group {
        max-width: 100%;
    }

    .msg-search-input {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .msg-search-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .stats-info {
        justify-content: center;
    }
}

/* ============================================
   留言板页面专用样式
   ============================================ */

/* 上部网格：留言表单 + 信息面板 */
.guestbook-top-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 40px;
}

/* 留言表单面板 */
.guestbook-form-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guestbook-form-panel .panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: var(--primary-green);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.guestbook-form-panel .panel-header i {
    font-size: 1.1rem;
}

.guestbook-form-panel .panel-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.guestbook-form-panel .panel-body {
    padding: 24px;
    flex: 1;
}

/* 留言表单 */
.guestbook-form .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.guestbook-form .form-row > input,
.guestbook-form .form-row > select {
    flex: 1;
    min-width: 180px;
}

.guestbook-form input,
.guestbook-form select,
.guestbook-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.guestbook-form input:focus,
.guestbook-form select:focus,
.guestbook-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(42,100,42,0.08);
    background: #fff;
}

.guestbook-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.guestbook-form .form-options {
    margin: 12px 0;
}

.guestbook-form .captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 12px 0;
}

.guestbook-form .captcha-row input {
    flex: 1;
    max-width: 160px;
}

.guestbook-form .captcha-row img {
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.guestbook-form button[type="submit"],
.guestbook-form .btn-submit {
    width: 100%;
    padding: 13px 24px;
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.guestbook-form button[type="submit"]:hover,
.guestbook-form .btn-submit:hover {
    background: var(--text-dark);
    transform: translateY(-1px);
}

/* 私密留言选项 */
.guestbook-private-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.guestbook-private-option input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

/* 信息面板（右上） */
.guestbook-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.guestbook-info-panel > .info-card {
    flex-shrink: 0;
}

/* 信息卡片 */
.info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    overflow: hidden;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.info-card-header i {
    font-size: 0.95rem;
}

.info-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.info-card-body {
    padding: 18px 20px;
}

/* 留言须知列表 */
.guestbook-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guestbook-notice-list li{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    border-bottom: 1px dashed #f0f0f0;
}

.guestbook-notice-list li:last-child {
    border-bottom: none;
}

.guestbook-notice-list li i {
    color: var(--primary-green);
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* 留言须知中的登录标签 */
.guestbook-notice-list .notice-login {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-green);
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.25);
    border-radius: 12px;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s;
    flex-shrink: 0;
}
.guestbook-notice-list .notice-login:hover {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}
.guestbook-notice-list .notice-tail {
    margin-left: 4px;
}

/* 联系方式列表 */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    border-bottom: 1px dashed #f0f0f0;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list li > i:first-child {
    color: var(--primary-green);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-list .contact-label {
    color: var(--text-dark);
    font-weight: 500;
    min-width: 70px;
    flex-shrink: 0;
}

.contact-info-list .contact-value {
    color: var(--text-light);
    flex: 1;
    word-break: break-all;
}

/* 常见问题列表 */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-list li {
    border-bottom: 1px dashed #f0f0f0;
}

.faq-list li:last-child {
    border-bottom: none;
}

.faq-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s, padding-left 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-list li a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.faq-list li a i {
    color: var(--primary-green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* 留言展示列表面板 */
.guestbook-list-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
}

.guestbook-list-panel .panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: var(--primary-green);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.guestbook-list-panel .panel-header i {
    font-size: 1.1rem;
}

.guestbook-list-panel .panel-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.guestbook-list-panel .panel-subtitle {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.guestbook-list-panel .panel-body {
    padding: 0 24px 24px;
}

/* 留言列表 */
.guestbook-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guestbook-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.guestbook-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}

.guestbook-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.guestbook-body {
    flex: 1;
    min-width: 0;
}

.guestbook-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.guestbook-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.guestbook-time {
    color: var(--text-light);
    font-size: 0.82rem;
}

.guestbook-category {
    background: #f0f7f0;
    color: var(--primary-green);
    font-size: 0.78rem;
    padding: 2px 10px;
    border-radius: 10px;
}

.guestbook-private-badge {
    background: #fff3e0;
    color: #e65100;
    font-size: 0.78rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.guestbook-content {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.95rem;
    word-break: break-word;
}

/* 管理员回复 */
.guestbook-reply {
    margin-top: 12px;
    background: #f9faf9;
    border-left: 3px solid var(--light-green);
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
}

.guestbook-reply-header {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 500;
}

.guestbook-reply-time {
    color: var(--text-light);
    font-size: 0.78rem;
}

.guestbook-reply-body {
    font-size: 0.95rem;
    color: #2a7a2a;
    line-height: 1.6;
    /* 换行由后端 nl2br() 输出的 <br /> 负责，此处不能加 pre-line，否则段落间会多出空白行 */
    white-space: normal;
}

/* 空留言提示 */
.guestbook-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
}

/* 分页 */
.guestbook-pagination-wrap {
    padding: 20px 0 0;
    text-align: center;
}

.guestbook-pagination-wrap a,
.guestbook-pagination-wrap span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.88rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s;
}

.guestbook-pagination-wrap a:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.guestbook-pagination-wrap .current {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

.guestbook-pagination-wrap .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 成功/错误提示框 */
.success-box {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    background: #e8f5e9;
    color: var(--primary-green);
    border: 1px solid #a5d6a7;
}

.error-box {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .guestbook-top-grid {
        grid-template-columns: 1fr;
    }

    .guestbook-info-panel {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .guestbook-form-panel .panel-body,
    .guestbook-list-panel .panel-body {
        padding: 16px;
    }

    .guestbook-item {
        gap: 12px;
    }

    .guestbook-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .guestbook-meta {
        gap: 6px;
    }

    .guestbook-top-grid {
        gap: 20px;
        margin-bottom: 30px;
    }

    .guestbook-info-panel {
        flex-direction: column;
    }

    .info-card {
        min-width: auto;
    }
}

/* ============================================
   认证页布局与样式（注册/登录/找回密码/重置/消息）
   2026-09-24 从默认模板提取并适配绿色主题
   ============================================ */
.main {
    padding: 20px 0;
}
.main .container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.main .container > .content {
    flex: 1;
    min-width: 0;
}
/* 认证页侧栏：外层不作为卡片（卡片由内部 widget 呈现） */
.main .container > .sidebar {
    width: 280px;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
/* 侧栏 widget 卡片（忘记密码页热门文章） */
.widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.widget h3 {
    font-size: 16px;
    border-left: 4px solid var(--primary-green);
    padding-left: 10px;
    margin-bottom: 12px;
    color: #333;
}
/* 验证码行（认证表单） */
.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}
.captcha-input {
    width: 180px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.captcha-img {
    height: 42px;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.captcha-img:hover {
    border-color: var(--primary-green);
}
/* 认证卡片 */
.auth-wrap {
    max-width: 480px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.auth-wrap h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 12px;
}
.auth-wrap .btn-submit {
    width: 100%;
}
.auth-form {
    margin-top: 15px;
}
.auth-form .form-group {
    margin-bottom: 16px;
}
.auth-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}
.auth-form .form-group .required {
    color: #e74c3c;
}
.auth-form .form-group input[type="text"],
.auth-form .form-group input[type="email"],
.auth-form .form-group input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.auth-form .form-group input:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-green-rgb),0.1);
}
.readonly-input {
    background: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed;
}
.form-divider {
    border: none;
    border-top: 1px dashed #e0e0e0;
    margin: 20px 0;
}
.auth-links {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #999;
}
.auth-links a {
    color: var(--primary-green);
    text-decoration: none;
}
.auth-links a:hover {
    text-decoration: underline;
}
.auth-links .sep {
    margin: 0 10px;
    color: #ddd;
}
.auth-message {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin: 20px 0;
}

/* ============================================
   搜索结果页动态区块样式（Tab/标签匹配/结果列表）
   2026-09-24 适配绿色主题
   ============================================ */
.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.search-tab {
    padding: 8px 18px;
    border-radius: 20px;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #e8e8e8;
    transition: all .2s;
}
.search-tab:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.search-tab.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}
/* 结果列表白卡容器 */
.search-results {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.search-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.search-item:last-child {
    border-bottom: none;
}
.search-title {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.4;
}
.search-title a {
    color: var(--primary-green);
    text-decoration: none;
}
.search-title a:hover {
    text-decoration: underline;
}
.search-title mark,
.search-summary mark {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}
.search-summary {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}
.search-meta {
    font-size: 12px;
    color: #999;
}
.search-meta .search-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    background: #e8f5e9;
    color: var(--primary-green);
    margin-right: 8px;
    font-size: 12px;
}
.search-meta a {
    color: var(--primary-green);
}
/* 标签匹配建议（相关标签） */
.search-tag-match {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #eef7ee;
    border-radius: 8px;
    flex-wrap: wrap;
}
.tag-match-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}
.tag-match-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag-match-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 14px;
    background: var(--light-green);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid var(--light-green);
    transition: all .2s;
}
.tag-match-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
}
.tag-match-count {
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 12px;
}
.tag-match-link:hover .tag-match-count {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}
/* 响应式：窄屏认证页侧栏下移 */
@media (max-width: 768px) {
    .main .container {
        flex-direction: column;
    }
    .main .container > .sidebar {
        width: 100%;
    }
    .auth-wrap {
        padding: 20px;
    }
}

/* ============================================
   Tag 页文章列表样式（TagController 输出结构）
   ============================================ */
#contentList .article-item {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
#contentList .article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
#contentList .article-thumb {
    width: 220px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e8f5e9;
}
#contentList .article-thumb img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
}
#contentList .article-body {
    flex: 1;
    min-width: 0;
}
#contentList .article-body h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0 0 10px;
}
#contentList .article-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
#contentList .article-body h3 a:hover {
    color: var(--light-green);
}
/* 覆盖文章详情页的 .article-meta（去掉底部分隔线） */
#contentList .article-item .article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}
#contentList .article-item .article-meta .cat {
    display: inline-block;
    padding: 2px 10px;
    background-color: #e8f5e9;
    color: var(--primary-green);
    border-radius: 10px;
    font-size: 0.8rem;
}
#contentList .article-desc {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}
/* Tag 页分页（.pagination 直下 a/span 结构） */
.pagination a,
.pagination > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    background-color: var(--white);
    border-radius: 5px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    white-space: nowrap;
}
.pagination a:hover {
    background-color: var(--light-green);
    color: var(--white);
}
.pagination span.current {
    background-color: var(--primary-green);
    color: var(--white);
}
.pagination > span:not(.current) {
    box-shadow: none;
    background: transparent;
}
@media (max-width: 768px) {
    #contentList .article-item {
        flex-direction: column;
    }
    #contentList .article-thumb {
        width: 100%;
    }
}

/* ===== 担保产品卡片（业务范围栏目 / 首页产品版块） ===== */
.product-section {
    margin-bottom: 60px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(var(--primary-green-rgb, 46, 125, 50), 0.18);
    border-color: rgba(var(--primary-green-rgb, 46, 125, 50), 0.35);
}
.product-cover {
    display: block;
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, var(--light-green, #4caf50), var(--primary-green, #2e7d32));
    overflow: hidden;
}
.product-cover .product-cover-icon {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 44px;
}
.product-cover img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.product-card:hover .product-cover img {
    transform: scale(1.05);
}
.product-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 17px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.product-title a {
    color: #333;
    text-decoration: none;
}
.product-title a:hover {
    color: var(--primary-green, #2e7d32);
}
.product-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.9;
    margin-bottom: 12px;
    white-space: pre-line;
    flex: 1;
    word-break: break-all;
}
/* 摘要按"标签：内容"分行解析后的属性行 */
.product-attrs {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-attrs li {
    display: flex;
    gap: 4px;
    font-size: 13px;
    line-height: 2;
}
.product-attrs .attr-label {
    color: var(--primary-green, #2e7d32);
    flex-shrink: 0;
    font-weight: 500;
}
.product-attrs .attr-label::after {
    content: "：";
}
.product-attrs .attr-val {
    color: #888;
    word-break: break-all;
}
.product-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary-green, #2e7d32);
    text-decoration: none;
}
.product-more i {
    transition: transform 0.2s ease;
}
.product-more:hover i {
    transform: translateX(4px);
}
.products-more {
    text-align: center;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    .product-cover {
        height: 110px;
    }
    .product-body {
        padding: 12px 14px 14px;
    }
    .product-title {
        font-size: 15px;
    }
}

/* ===== 业务范围：产品体系简介 ===== */
.product-intro {
    margin: 30px 0 26px;
    padding: 26px 30px 26px 32px;
    background: linear-gradient(180deg, rgba(var(--primary-green-rgb, 46, 125, 50), 0.06), rgba(var(--primary-green-rgb, 46, 125, 50), 0.015));
    border: 1px solid rgba(var(--primary-green-rgb, 46, 125, 50), 0.12);
    border-left: 4px solid var(--primary-green, #2e7d32);
    border-radius: 8px;
}
.product-intro p {
    margin: 0;
    font-size: 15.5px;
    line-height: 2.1;
    color: #555;
    text-align: justify;
    word-break: break-all;
}
.product-intro strong {
    color: var(--primary-green, #2e7d32);
    font-weight: 600;
}

/* ===== 业务办理流程图 ===== */
.flow-section {
    margin: 46px 0 60px;
}
.flow-section .section-title {
    margin-bottom: 24px;
}
.flow-figure {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.flow-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}
@media (max-width: 768px) {
    .product-intro {
        margin: 18px 0 18px;
        padding: 16px 16px 16px 18px;
    }
    .product-intro p {
        font-size: 14px;
        line-height: 1.95;
        text-align: left;
    }
    .flow-section {
        margin: 32px 0 40px;
    }
    .flow-figure {
        padding: 8px;
    }
}
