/*
Theme Name: 河北长宏经贸股份有限公司
Theme URI: http://example.com/changhong-theme
Author: Mei
Author URI: http://example.com
Description: 河北长宏经贸股份有限公司网站主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: changhong
Tags: responsive, business, corporate
*/

:root {
    --main-red: #cc0000;
    --dark-gray: #333;
    --light-bg: #f4f4f4;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 顶部导航 */
header {
    border-bottom: 3px solid var(--main-red);
    padding: 20px 0;
    background: #fff;
    position: relative;
}

.container {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
}

.logo img {
    height: 60px;
}

.logo strong {
    font-size: 24px;
    color: var(--main-red);
}

/* 移动端汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--main-red);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active,
.nav-menu .current-menu-item>a {
    color: var(--main-red);
}

/* 下拉子菜单 */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 8px 0;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    position: relative;
    width: 100%;
}

.nav-menu .sub-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
    color: var(--dark-gray);
    transition: all 0.2s ease;
}

.nav-menu .sub-menu li a:hover {
    color: var(--main-red);
    background: var(--light-bg);
}

/* 幻灯片区域 */
.swiper-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #fff !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    fill: #fff !important;
}

.swiper-pagination {
    bottom: 20px !important;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 0;
    width: 100%;
    height: 100%;
}

.slide-content h2 {
    font-size: 36px;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.slide-content p {
    margin-top: 0;
}

/* 通知跑马灯 */
.notice-bar {
    background: #eee;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.notice-bar .container {
    display: flex;
    align-items: center;
}

/* 中间内容区 */
.main-content {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

/* 新闻板块 */
.news-section {
    flex: 2;
}

.tabs-header {
    display: flex;
    margin-bottom: 15px;
}

.tab-item {
    padding: 8px 20px;
    background: #eee;
    margin-right: 5px;
    cursor: pointer;
}

.tab-item.active {
    background: var(--main-red);
    color: #fff;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.news-list li:hover a {
    color: var(--main-red);
}

.news-list li a {
    flex: 1;
}

.news-list li span {
    color: #999;
    margin-left: 15px;
}

/* 聚焦长宏图片 */
.focus-image {
    width: 100%;
    height: 220px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.focus-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 页脚 */
footer {
    background: #f8f8f8;
    padding: 40px 0;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

.stat-item i {
    display: block;
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
    font-style: normal;
}

.footer-info {
    text-align: center;
    color: #888;
}

.footer-info p {
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* 导航栏响应式 */
    header {
        padding: 15px 0;
    }

    .logo {
        flex: 0 1 auto;
        max-width: 70%;
    }

    .logo strong {
        font-size: 16px !important;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex !important;
        flex-shrink: 0;
        margin-left: auto;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        order: 2;
    }

    .menu-toggle span {
        background: #cc0000 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        position: relative;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    /* 移动端子菜单样式 */
    .nav-menu .sub-menu {
        display: none;
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
        min-width: auto;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu li a {
        padding: 15px 20px;
        font-size: 14px;
        padding-left: 30px;
        border-bottom: 1px solid #f0f0f0;
        color: #666;
    }

    .nav-menu .sub-menu li a:hover {
        color: var(--main-red);
        background: transparent;
    }

    /* 有子菜单的菜单项添加箭头 */
    .nav-menu li.menu-item-has-children > a {
        position: relative;
        padding-right: 30px;
    }

    .nav-menu li.menu-item-has-children > a::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        color: #999;
        transition: transform 0.3s ease;
    }

    .nav-menu li.menu-item-has-children.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* 幻灯片响应式 */
    .swiper-container {
        height: 250px;
        position: relative !important;
        overflow: hidden;
    }

    .swiper-wrapper {
        position: relative !important;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .swiper-pagination {
        bottom: 0px !important;
        position: absolute !important;
        z-index: 10 !important;
        left: 0 !important;
        right: 0 !important;
        text-align: center;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px !important;
        background: #fff !important;
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff !important;
    }

    /* 内容区响应式 */
    .main-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .news-section,
    .sidebar {
        flex: none;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .news-section {
        padding: 0 15px 20px;
    }

    .sidebar {
        padding: 0 15px;
    }

    .tab-item {
        padding: 6px 12px;
        font-size: 14px;
    }

    .news-list li {
        flex-direction: column;
        gap: 5px;
    }

    .video-placeholder {
        height: 180px;
    }

    /* 页脚响应式 */
    footer {
        padding: 20px 0;
    }

    .footer-info p {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* ============================================
   走进长宏页面样式 (page-about.php)
   ============================================ */

/* 页面标题 */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-title {
    color: var(--main-red);
    margin-bottom: 10px;
    font-size: 36px;
}

.about-subtitle {
    color: #666;
    font-size: 18px;
    letter-spacing: 2px;
}

/* 通用区块标题 */
.section-title {
    color: var(--dark-gray);
    font-size: 28px;
    margin: 0 0 30px 0;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--main-red);
}

.section-title.text-center {
    display: block;
    text-align: center;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 公司简介 */
.about-intro {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 企业文化 */
.about-culture {
    margin-bottom: 60px;
}

.culture-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s;
}

.culture-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.culture-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.culture-card h3 {
    color: var(--dark-gray);
    font-size: 18px;
    margin: 0 0 10px 0;
}

.culture-card p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* 发展历程 */
.about-history {
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--main-red);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--main-red);
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.timeline-content h3 {
    color: var(--dark-gray);
    margin: 0 0 10px 0;
    font-size: 18px;
}

.timeline-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
    }

    .about-intro {
        flex-direction: column;
    }

    .culture-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .honors-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   联系我们页面样式 (page-contact.php)
   ============================================ */

/* 页面标题 */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    color: var(--main-red);
    margin-bottom: 10px;
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--main-red);
}

/* 联系信息卡片 */
.contact-info-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    color: var(--main-red);
    margin-bottom: 15px;
}

.contact-label {
    font-size: 18px;
    color: var(--dark-gray);
    margin: 0 0 10px 0;
}

.contact-value {
    color: #666;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.contact-value a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--main-red);
}

/* 响应式 */
@media (max-width: 768px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-info-cards {
        flex-direction: column;
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }
}

/* ============================================
   文章详情页样式 (single.php)
   ============================================ */

/* 文章容器 */
.single-post {
    margin-bottom: 40px;
}

/* 文章头部 */
.single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--main-red);
}

/* 文章标题 */
.single-title {
    color: var(--dark-gray);
    margin: 0 0 15px 0;
    font-size: 32px;
    line-height: 1.3;
}

/* 文章元信息 */
.single-meta {
    color: #999;
    font-size: 14px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.single-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.single-meta a:hover {
    color: var(--main-red);
}

/* 文章内容 */
.single-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.single-content p {
    margin-bottom: 15px;
}

.single-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    margin: 25px 0 15px 0;
    color: var(--dark-gray);
}

.single-content a {
    color: var(--main-red);
    text-decoration: none;
    transition: color 0.3s;
}

.single-content a:hover {
    text-decoration: underline;
}

/* 分页链接 */
.page-links {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.page-links a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px;
    background: var(--main-red);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

/* 文章标签 */
.single-tags {
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.tags-label {
    font-weight: bold;
    color: var(--dark-gray);
    margin-right: 10px;
}

.tag-list a {
    display: inline-block;
    padding: 4px 12px;
    margin: 3px;
    background: #e0e0e0;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.tag-list a:hover {
    background: var(--main-red);
    color: #fff;
}

/* 上下篇文章导航 */
.single-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.single-navigation a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.single-navigation a:hover {
    color: var(--main-red);
}

.nav-label {
    font-size: 12px;
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .single-title {
        font-size: 24px;
    }

    .single-meta {
        flex-direction: column;
        gap: 10px;
    }

    .single-navigation {
        flex-direction: column;
    }
}

/* ============================================
   分类页面样式 (category.php)
   ============================================ */

/* 分类页面容器 */
.page-container {
    padding: 40px 20px;
}

/* 分类标题 */
.category-title {
    color: var(--main-red);
    margin-bottom: 30px;
    padding-bottom: 15px;
}

/* 分类标签容器 */
.category-tabs {
    margin-bottom: 30px;
}

/* 分类标签头部 */
.category-tabs .tabs-header {
    display: flex;
    border-bottom: 2px solid var(--main-red);
    margin-bottom: 20px;
}

/* 分类标签项 */
.category-tabs .tab-item {
    display: inline-block;
    padding: 10px 25px;
    margin-right: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

/* 分类标签项 - 默认 */
.category-tabs .tab-item {
    background: #eee;
    color: inherit;
}

/* 分类标签项 - 活跃状态 */
.category-tabs .tab-item.active,
.category-tabs .tab-item:hover {
    background: var(--main-red);
    color: #fff;
}

/* 分类描述 */
.category-description {
    margin-bottom: 30px;
    color: #666;
}

/* 文章列表 */
.category-post {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #ccc;
}

/* 文章标题 */
.entry-title {
    margin: 0 0 10px 0;
}

.entry-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: var(--main-red);
}

/* 文章元信息 */
.entry-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.cat-links {
    margin-left: 15px;
}

.entry-header {
    border-bottom: none;
}

/* 文章摘要 */
.entry-summary {
    color: #666;
    line-height: 1.8;
}

/* 阅读全文按钮 */
.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: var(--main-red);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #a00000;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--main-red);
    color: #fff;
}

/* 无文章提示 */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-posts h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

/* ============================================
   页面模板样式 (page.php)
   ============================================ */

/* 页面标题 */
.page-title {
    color: var(--main-red);
    margin-bottom: 20px;
}

/* 页面内容 */
.page-content {
    line-height: 1.8;
}

/* ============================================
   长宏党委页面样式 (page-dangwei.php)
   ============================================ */

/* 党委页面头部 */
.dangwei-header {
    text-align: center;
    margin-bottom: 50px;
}

.dangwei-title {
    color: var(--main-red);
    font-size: 36px;
    margin-bottom: 10px;
}

.dangwei-subtitle {
    color: #666;
    font-size: 18px;
}

/* 党委简介 */
.dangwei-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.dangwei-content {
    padding-right: 20px;
}

.dangwei-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 党建工作卡片 */
.dangwei-work {
    margin-bottom: 60px;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.work-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.work-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.work-card h3 {
    color: var(--main-red);
    font-size: 18px;
    margin-bottom: 10px;
}

.work-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 党建活动 */
.dangwei-activities {
    margin-bottom: 60px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--main-red);
}

.activity-item h3 {
    color: var(--main-red);
    font-size: 20px;
    margin-bottom: 15px;
}

.activity-item p {
    color: #666;
    line-height: 1.8;
}

/* 党委页面响应式 */
@media (max-width: 768px) {
    .dangwei-title {
        font-size: 28px;
    }

    .dangwei-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dangwei-content {
        padding-right: 0;
    }

    .work-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .work-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   长锦物业页面样式 (page-cjwy.php)
   ============================================ */

/* 物业页面头部 */
.wuye-header {
    text-align: center;
    margin-bottom: 50px;
}

.wuye-title {
    color: var(--main-red);
    font-size: 36px;
    margin-bottom: 10px;
}

.wuye-subtitle {
    color: #666;
    font-size: 18px;
}

/* 物业简介 */
.wuye-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.wuye-content {
    padding-right: 20px;
}

.wuye-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 服务板块卡片 */
.wuye-services {
    margin-bottom: 60px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--main-red);
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 服务特色 */
.wuye-features {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--main-red);
}

.feature-item h3 {
    color: var(--main-red);
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

/* 物业页面响应式 */
@media (max-width: 768px) {
    .wuye-title {
        font-size: 28px;
    }

    .wuye-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wuye-content {
        padding-right: 0;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   项目介绍页面样式 (page-xmjs.php)
   ============================================ */

/* 页面头部 */
.xmjs-header {
    text-align: center;
    margin-bottom: 50px;
}

.xmjs-title {
    color: var(--main-red);
    font-size: 36px;
    margin-bottom: 10px;
}

.xmjs-subtitle {
    color: #666;
    font-size: 18px;
}

/* 项目概览 */
.xmjs-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.xmjs-content {
    padding-right: 20px;
}

.xmjs-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 重点项目卡片 */
.xmjs-projects {
    margin-bottom: 60px;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--main-red);
    font-size: 18px;
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-status {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-bg);
    color: var(--main-red);
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
}

/* 项目优势 */
.xmjs-advantages {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-item {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: var(--main-red);
    font-size: 18px;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 项目介绍页面响应式 */
@media (max-width: 768px) {
    .xmjs-title {
        font-size: 28px;
    }

    .xmjs-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .xmjs-content {
        padding-right: 0;
    }

    .project-cards {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}