/* 文章/新闻内容页最大宽度 1600px */
.single .site-main,
.single-post .site-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 资讯分区样式 */
.info-section {
    padding-top: 0px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 60px;
    background: #fff;
}

.info-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.info-section .section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-section .section-title p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

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

.info-item {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: none;
}

.info-item:hover { 
    transform: none; 
}

.info-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.info-content { padding: 20px; }
.info-meta { display: flex; align-items: center; gap: 12px; color: #666; font-size: 0.9rem; margin-bottom: 12px; }
.info-title { font-size: 1.2rem; line-height: 1.4; margin: 0; }
.info-title a { color: #000; text-decoration: none; }
.info-title a:hover { color: #000; text-decoration: underline; }
.no-info { grid-column: 1 / -1; text-align: center; color: #666; padding: 40px 0; }

/* 资讯分区 VIEW MORE 按钮 */
.info-more { text-align: center; margin-top: 30px; }
.info-more-link {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #929292;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all .2s ease;
}
.info-more-link:hover { background: transparent; color: #000; border-color: #929292; }

/* NEWS分类页响应式样式 */
@media (max-width: 1200px) {
    .posts-grid.news-layout {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .news-item .post-thumbnail img {
        height: 180px;
    }
    
    .news-item .post-content {
        /* 无样式 */
    }
    
    body.category-news .category-hero-image {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .posts-grid.news-layout {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    }
    
    .news-item .post-thumbnail img {
        height: 160px;
    }
    
    .news-item .post-content {
        /* 无样式 */
    }
    
    .news-item .post-title {
        font-size: 0.95rem;
    }
    
    .news-item .post-meta {
        font-size: 0.75rem;
    }
    
    body.category-news .category-hero-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .posts-grid.news-layout {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .news-item .post-thumbnail img {
        height: 200px;
    }
    
    .news-item .post-content {
        /* 无样式 */
    }
    
    .news-item .post-title {
        font-size: 1.0rem;
    }
    
    .news-item .post-meta {
        font-size: 0.8rem;
    }
    
    body.category-news .category-hero-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .info-section .section-title h2 { 
        font-size: 28px; 
        color: #333;
        margin-bottom: 12px;
        font-weight: 600;
    }
    .info-section .section-title p { 
        font-size: 16px; 
        color: #666;
        margin: 0;
    }
    .info-grid { grid-template-columns: 1fr; gap: 20px; }
    .info-image img { width: 100%; height: auto; }
}
/*
Theme Name: Enterprise Pro
Description: 现代企业网站主题，专为商业公司设计，具有响应式布局和专业的视觉效果
Version: 1.0
Author: Enterprise Theme Developer
*/

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 全站PC端最大宽度与溢出优化 */
@media (min-width: 1601px) {
    html, body {
        overflow-x: hidden;
    }
}

/* 内页排版优化 */
.entry-content, .content, .post-content, .page-content {
    line-height: 1.8;
}
.entry-content p, .content p, .post-content p, .page-content p { margin: 0 0 1.1em; }
.entry-content h1, .content h1, .post-content h1, .page-content h1 { font-size: 2rem; margin: 1.2em 0 .6em; }
.entry-content h2, .content h2, .post-content h2, .page-content h2 { font-size: 1.75rem; margin: 1.1em 0 .55em; }
.entry-content h3, .content h3, .post-content h3, .page-content h3 { font-size: 1.5rem; margin: 1em 0 .5em; }

/* 媒体元素统一响应式 */
.entry-content img, .content img, .post-content img, .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.entry-content table, .content table, .post-content table, .page-content table {
    width: 100%;
    border-collapse: collapse;
}
.entry-content table th, .entry-content table td,
.content table th, .content table td,
.post-content table th, .post-content table td,
.page-content table th, .page-content table td {
    border: 1px solid #eee;
    padding: 10px 12px;
}
.entry-content iframe, .content iframe, .post-content iframe, .page-content iframe {
    max-width: 100%;
}

/* 列表/归档页网格与间距优化 */
.posts-grid, .products-grid, .case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* NEWS分类页特殊布局 */
/* 强制NEWS分类页4列布局 */
body.category-news .posts-grid.news-layout,
body.category-news .posts-grid.news-layout * {
    box-sizing: border-box;
}

body.category-news .posts-grid.news-layout {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
    max-width: none !important;
}

body.category-news .posts-grid.news-layout .news-item {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
}

/* NEWS分类页通图下方空隙 */
body.category-news .category-hero-image {
    margin-bottom: 60px;
}

body.category-news .category-posts {
    margin-top: 20px;
}
.news-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.news-item .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item .post-content {
    /* 无样式 */
}

.news-item .post-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-item .post-title {
    font-size: 1.0rem;
    line-height: 1.4;
    margin: 0;
}

.news-item .post-title a {
    color: #333;
    text-decoration: none;
}

.post-item, .product-card, .case-item {
    border-radius: 10px;
}


/* 头部样式 */


.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* 首页头部透明模式 */
body.home .site-header.home-header {
    background: transparent;
    box-shadow: none;
}
body.home .site-header.home-header .main-navigation a {
    color: #fff;
}

/* 首页透明头部时一级栏目加粗 */
body.home .site-header.home-header .main-navigation .nav-menu > li > a {
    font-weight: bold;
}
body.home .site-header.home-header .site-logo {
    color: #fff;
}
/* 滚动后恢复样式（已由 .scrolled 控制） */
body.home .site-header.home-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
body.home .site-header.home-header.scrolled .main-navigation a,
body.home .site-header.home-header.scrolled .site-logo {
    color: #333;
}

/* 顶部通栏 */
.topbar {
    background: #333333;
    color: #fff;
}
.topbar-inner {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-icon {
    height: 20px;
    width: auto;
    display: block;
}
.topbar-company-name {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    display: block;
}
.topbar-logo-text {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    display: block;
}
.topbar-right {
    display: flex;
    align-items: center;
}
.topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.topbar-icon-item {
    height: 20px;
    width: auto;
    display: block;
}

/* 页面横幅区域样式 */
.page-banner {
    margin-top: 100px; /* 配合header高度 */
    width: 100%;
}

.banner-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* 移动端横幅样式 */
@media (max-width: 768px) {
    .page-banner {
        margin-top: 100px;
    }
    
    .banner-image {
        max-height: 200px;
    }
    
    /* 移动端LOGO样式 - 高度50px，宽度按比例 */
    .site-branding img,
    .custom-logo {
        height: 50px !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .site-logo {
        font-size: 20px;
    }
}

/* LOGO行样式 */
.header-logo-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    min-height: 55px;
}

/* 导航行样式 */
.header-navigation-row {
    display: flex;
    justify-content: flex-start;
    align-items: top;
    padding: 0;
    min-height: 40px;
}

/* 在移动端，导航行中的导航居中显示 */
@media (max-width: 768px) {
    .header-navigation-row {
        justify-content: center;
        min-height: 45px;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* 桌面端，导航在右侧 */
@media (min-width: 769px) {
    .header-navigation-row {
        justify-content: flex-end;
    }
}

/* 兼容旧的样式类 */
.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}
.main-navigation { margin-left: auto; }

/* 语言切换器样式 */
.language-switcher {
    position: relative;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.language-current:hover {
    background: #f5f5f5;
}

.language-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: hue-rotate(30deg) saturate(2) brightness(1.2);
}

.language-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.language-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.language-switcher:hover .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f5f5f5;
    color: #ff9000;
}

/* 首页透明头部时的语言切换器样式 */
body.home .site-header.home-header .language-text,
body.home .site-header.home-header .language-arrow {
    color: #fff;
}

body.home .site-header.home-header .language-current:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.home .site-header.home-header.scrolled .language-text,
body.home .site-header.home-header.scrolled .language-arrow {
    color: #333;
}

body.home .site-header.home-header.scrolled .language-current:hover {
    background: #f5f5f5;
}

.header-search { margin-left: 30px; }
.header-search .search-form { margin: 0; align-items: center; }
.header-search .search-field {
    width: 220px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 20px 0 0 20px;
    font-size: 14px;
}
.header-search .search-field:focus { outline: none; box-shadow: none; border-color: #ddd; }
.header-search .search-submit {
    width: 40px;
    padding: 8px 10px;
    background: transparent; /* no bg color */
    color: transparent; /* hide text */
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff9000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}
.header-search .search-submit:hover { background-color: transparent; }
.header-search .search-submit:focus { outline: none; box-shadow: none; border-color: #ddd; }
@media (max-width: 768px) {
    .header-search { display: none; }
    .language-switcher { display: none; }
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff9000;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 主导航一级栏目加粗 */
.main-navigation .nav-menu > li > a {
    font-weight: bold;
}

.main-navigation a:hover {
    color: #ff9000;
}

/* 导航下拉菜单（桌面端） */
.main-navigation .nav-menu li { position: relative; }
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
}
.main-navigation .sub-menu li { width: 100%; }
.main-navigation .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    white-space: nowrap;
}
.main-navigation .sub-menu a:hover { background: #f5f7fb; color: #ff9000; }
.main-navigation .nav-menu li:hover > .sub-menu,
.main-navigation .nav-menu li:focus-within > .sub-menu { display: block; }

/* 第三级子菜单向右展开 */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* 有子菜单的项增加指示箭头（桌面端） */
.main-navigation .menu-item-has-children > a::after {
    content: '\25BE'; /* ▼ */
    margin-left: 6px;
    font-size: 10px;
}

/* 主要内容区域 */
.site-main {
    margin-top: 0; /* 移除顶部margin，因为横幅图已经提供间距 */
}

/* 英雄区域 - 轮播图样式 */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    margin-top: 120px; /* 为导航栏留出空间，避免被挡住 */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
	top:0;
	bottom:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide.exiting {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s ease-in-out;
}

/* 移除轮播图覆盖层，确保无背景色叠加到图片上 */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 轮播图导航箭头 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* 轮播图指示器 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 轮播图加载状态 */
.hero-slider.loading .hero-slide {
    opacity: 0;
}

.hero-slider.loading .hero-slide.active {
    opacity: 1;
}

/* 响应式轮播图 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 420px;
        margin-top: 40px; /* 确保不被导航栏挡住 */
        width: 100vw; /* 确保轮播图容器宽度为全屏 */
        margin-left: calc(-50vw + 50%); /* 居中并扩展到全屏 */
    }
    
    /* 平板端轮播图图片显示优化 - 全屏显示 */
    .hero-slide {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        /* 确保图片宽度填满屏幕 */
        width: 100%;
        height: 100%;
        /* 添加背景色以防图片不能完全覆盖 */
        background-color: #f0f0f0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .slider-indicator {
        width: 10px;
        height: 10px;
    }
}

/* 移动端下拉菜单样式与交互支持 */
@media (max-width: 992px) {
    .main-navigation .nav-menu { flex-direction: column; gap: 0; }
    .main-navigation .nav-menu li { width: 100%; }
    .main-navigation .nav-menu > li > a { padding: 12px 10px; display: block; }
    .main-navigation .sub-menu {
        position: static;
        display: none; /* 通过JS切换 */
        box-shadow: none;
        border-left: 2px solid #eef2fb;
        margin-left: 10px;
        border-radius: 0;
        background: transparent;
    }
    .main-navigation .sub-menu a { padding: 10px 12px; }
    .main-navigation .menu-item-has-children.open > .sub-menu { display: block; }
    .main-navigation .menu-item-has-children > a::after {
        content: '\25BC'; /* ▼ */
        float: right;
        transform: translateY(2px);
    }
    .main-navigation .menu-item-has-children.open > a::after { content: '\25B2'; /* ▲ */ }
}

/* 轮播图响应式增强 */
@media (max-width: 1200px) {
    .hero-section { height: 90vh; min-height: 520px; }
    .hero-content h1 { font-size: 44px; }
    .hero-content p { font-size: 19px; }
}

@media (max-width: 992px) {
    .hero-section { 
        height: 80vh; 
        min-height: 480px; 
        margin-top: 0px; /* 移动端也需要为导航栏留出空间 */
    }
    .hero-content { padding: 0 16px; }
    .hero-content h1 { font-size: 40px; }
    .hero-content p { font-size: 18px; }
}

@media (max-width: 576px) {
    .hero-section { 
        height: 60vh; 
        min-height: 360px; 
        margin-top: 40px; /* 小屏幕设备也需要为导航栏留出空间 */
        width: 100vw; /* 确保轮播图容器宽度为全屏 */
        margin-left: calc(-50vw + 50%); /* 居中并扩展到全屏 */
    }
    
    /* 移动端轮播图图片显示优化 - 全屏显示 */
    .hero-slide {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        /* 确保图片完全展示，宽度填满屏幕 */
        width: 100%;
        height: 100%;
        /* 添加背景色以防图片不能完全覆盖 */
        background-color: #f0f0f0;
    }
    
    .slider-nav { display: none; }
    .slider-indicators { bottom: 16px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 16px; }
    .cta-button { padding: 12px 22px; font-size: 0.95rem; }
}

/* 响应式增强 - PC 到平板优化 */
@media (max-width: 1200px) {
    .about-content { gap: 60px; }
    .products-grid { gap: 24px; }
}

/* 响应式增强 - 平板优化 */
@media (max-width: 992px) {
    .about-text h2 { font-size: 2rem; }
    .about-subtitle { font-size: 1.05rem; }
    .about-image img { max-height: 420px; }
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* 响应式增强 - 超小屏优化 */
@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
        margin-top: 40px; /* 确保不被导航栏挡住 */
        width: 100vw; /* 确保轮播图容器宽度为全屏 */
        margin-left: calc(-50vw + 50%); /* 居中并扩展到全屏 */
    }
    
    /* 超小屏幕轮播图图片显示优化 - 全屏显示 */
    .hero-slide {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        /* 确保图片完全展示，宽度填满屏幕 */
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        /* 添加背景色以防图片不能完全覆盖 */
        background-color: #f0f0f0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 服务区域 */

/* 关于我们区域 */
/* 关于我们区域背景图增强效果 */
.about-section {
    position: relative;
    overflow: visible; /* 避免内容被裁切 */
}

.about-background {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Desktop */
    padding: 50px 0;
    z-index: 1;
}

.about-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
}

.about-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #ff9000;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto; /* 自适应高度 */
    max-height: 500px; /* 上限，防止过高 */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-header h2 {
    font-size: 2.5rem;
    color: #ff9000;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-description p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-actions {
    margin-top: 40px;
}

.about-button {
    display: inline-block;
    background: #ff9000;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.about-button:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
    color: white;
}

/* 全局响应式基础：媒体元素自适应容器宽度 */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* 联系区域 */
.contact-section {
    padding: 60px 0;
    background: url('/wp-content/themes/a/img/fk.jpg') center center / cover no-repeat;
}

.contact-section .section-title {
	text-align: center;
}

.contact-section .section-title h2,
.contact-section .section-title p {
	color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-form-full { grid-column: 1 / -1; }

.contact-info h3 {
    font-size: 24px;
    color: #ff9000;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 15px;
}

.contact-form {margin-top: 60px;
}

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

.form-group label { display: none;}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

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

.submit-button {
    background: #ff9000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #e68000;
}

/* 表单栅格：两行布局 */
.contact-form .form-group { margin-bottom: 14px; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.contact-form form .form-row { display: flex; gap: 16px; }
.contact-form form .form-row-first { justify-content: space-between; }
.contact-form form .form-row-second { justify-content: space-between; }
.contact-form form .form-group { flex: 1; margin-bottom: 0; }

/* 第一行：三列等宽 */
.form-row-first .form-group { flex: 1; }

/* 第二行：两列等宽 */
.form-row-second .form-group { flex: 1; }

.form-group-inline-action .input-with-button { position: relative; }
.form-group-inline-action .input-with-button input { padding-right: 130px; }
.form-group-inline-action .input-with-button .submit-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .contact-form form .form-row { flex-direction: column; gap: 16px; }
    .contact-form form .form-group { margin-bottom: 14px; }
    .form-group-inline-action .input-with-button input { padding-right: 120px; }
    .form-group-inline-action .input-with-button .submit-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 页脚 */
.site-footer {
    background: url('/wp-content/themes/a/img/fo.jpg') center center / cover no-repeat;
    color: white;
    padding-top: 60px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: calc((100% - 150px) / 4 + 150px) repeat(3, calc((100% - 150px) / 4));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p,
.footer-section a {
    color: #fff;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #fff;
}

/* 页脚菜单样式 */
.footer-section ul.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul.footer-list li {
    margin-bottom: 8px;
}

.footer-section ul.footer-list li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul.footer-list li a:hover {
    color: #ff9000;
}

.footer-section ul.footer-list li .footer-label {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 2px;
}

/* 社交链接样式 */
.footer-section .social-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section .social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-section .social-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-section .social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-section .social-link img {
    transition: all 0.3s ease;
}

.footer-section .social-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}


/* 二维码弹窗样式 */
.footer-section .qr-code-popup {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.footer-section .social-item:hover .qr-code-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.footer-section .qr-code-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
    background: #fff;
    padding: 5px;
    transition: all 0.3s ease;
}

.footer-section .social-item:hover .qr-code-image {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
}

.footer-bottom .sitemap-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .sitemap-link:hover {
    color: #ff9000;
    text-decoration: underline;
}

/* 产品中心区域样式 */
.products-section {
    padding: 60px 0;
    background: #fff;
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* 首页各区域标题装饰线 */
body.home .section-title h2 {
    position: relative;
    padding-bottom: 10px;
}

/* 200px 灰色细线 */
body.home .section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 200px;
    height: 1px;
    background-color: #b2b2b2; /* 灰色线 */
    z-index: 1;
}

/* 中间红色块 20x4px 居中覆盖在细线上 */
body.home .section-title h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5px; /* 使4px高的红块垂直居中覆盖1px线 */
    width: 20px;
    height: 4px;
    background-color: #ff0000; /* 红色块 */
    z-index: 2;
}

.products-section h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.products-section p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* 产品筛选 */
.product-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ff9000;
    background: transparent;
    color: #ff9000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff9000;
    color: white;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 首页产品中心 - 4列布局（大屏） */
.products-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .products-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* 应用案例区域样式 */
.case-studies-section {
    padding-top: 0px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 60px;
    background: #fff;
}

.case-studies-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.case-studies-section h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.case-studies-section p {
    font-size: 18px;
    color: #666;
    margin: 0;
}


/* 应用案例：横向手风琴（六等分，悬停展开） */
.case-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.case-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    text-align: left;
    flex: 0 0 calc(100% / 6);
    min-width: 0;
    height: 650px;
    transition: flex-basis 0.35s ease;
    position: relative;
    line-height: 0;
}

.case-grid:hover .case-item {
    flex: 0 0 calc(100% / 6 - 20px);
}

.case-grid .case-item:hover {
    flex: 0 0 calc(100% / 6 + 100px);
}

.case-image {
    width: 100%;
    height: 100%;
    line-height: 0; /* 移除可能的行内空隙 */
    position: relative;
}

.case-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    max-width: none;
    max-height: none;
    object-fit: none; /* 原图大小 */
    display: block;
    transition: transform 0.4s ease;
}

.case-item:hover .case-image img {
    width: 100%;
    height: 100%;
    transition: none;
}

.case-title {
    position: absolute;
    right: 30px;
    bottom: 30px;
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    text-align: right;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
    .case-item { height: 500px; }
}

@media (max-width: 768px) {
    .case-grid {
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .case-item {
        flex: 0 0 60%; /* 移动端提供可滚动可视区域 */
        height: 500px;
    }
    .case-grid:hover .case-item,
    .case-grid .case-item:hover {
        flex: 0 0 60%;
    }
}

@media (max-width: 480px) {
    .case-item { height: 500px; }
}

.product-card {
    background: #f6f6f6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 8px solid #333333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-bottom: 8px solid #ff9000;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto; /* 按比例显示高度 */
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9000;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #ff9000;
}

.product-category {
    color: #ff9000;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.product-link {
    color: #ff9000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #1a3d7a;
}

/* 单个产品页面 */
.product-single {
    padding: 40px 0;
}

.product-gallery-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product-gallery-thumbs .product-thumb-item { display: block; width: 100%; aspect-ratio: 1 / 1; border: 1px solid #eee; border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; padding: 0; }
.product-gallery-thumbs .product-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumbs .product-thumb-item.active { outline: 2px solid #ff9000; outline-offset: -2px; }
.product-gallery-thumbs .product-thumb-item:focus { outline: 2px solid #1a3d7a; outline-offset: -2px; }

/* 产品主图切换渐变效果 */
#product-main-image { transition: opacity 300ms ease; opacity: 1; }
#product-main-image.is-switching { opacity: 0; }

.product-header {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .product-header {
        grid-template-columns: 1fr;
    }
}

/* Send Inquiry 按钮样式 */
.product-inquiry-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 社交媒体分享区域样式 */
.social-share-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share-section h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.social-share-btn.facebook:hover {
    background: #166fe5;
    color: #fff;
}

.social-share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.social-share-btn.twitter:hover {
    background: #1a91da;
    color: #fff;
}

.social-share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.social-share-btn.linkedin:hover {
    background: #006ba1;
    color: #fff;
}

.social-share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.social-share-btn.whatsapp:hover {
    background: #22c55e;
    color: #fff;
}

.social-share-btn.email {
    background: #6b7280;
    color: #fff;
}

.social-share-btn.email:hover {
    background: #4b5563;
    color: #fff;
}

.social-share-btn svg {
    flex-shrink: 0;
}

.social-share-btn span {
    white-space: nowrap;
}

/* 页头图片样式优化 */
.page-hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.page-hero-image:hover img {
    transform: scale(1.05);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero-overlay h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.page-hero-overlay .page-description {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 页头图片响应式设计 */
@media (max-width: 768px) {
    .page-hero-image {
        height: 300px;
    }
    
    .page-hero-overlay h1 {
        font-size: 2.2rem;
    }
    
    .page-hero-overlay .page-description {
        font-size: 1rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .page-hero-image {
        height: 250px;
    }
    
    .page-hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-overlay .page-description {
        font-size: 0.9rem;
        margin-top: 8px;
    }
}

/* 社交媒体分享响应式设计 */
@media (max-width: 768px) {
    .social-share-buttons {
        gap: 8px;
    }
    
    .social-share-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .social-share-btn span {
        display: none;
    }
    
    .social-share-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-share-buttons {
        justify-content: center;
        gap: 6px;
    }
    
    .social-share-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .social-share-btn svg {
        width: 16px;
        height: 16px;
    }
}

.send-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff9000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.send-inquiry-btn:hover {
    background: #e68000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 144, 0, 0.4);
}

.send-inquiry-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 144, 0, 0.3);
}

.btn-icon {
    font-size: 18px;
    line-height: 1;
}

.btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-header .product-image {
    position: relative;
}

.product-header .product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-header .featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9000;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.product-header .product-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-header .product-category {
    margin-bottom: 15px;
    font-size: 16px;
}

.product-header .product-category a {
    color: #ff9000;
    text-decoration: none;
}

.product-header .product-category a:hover {
    text-decoration: underline;
}

.product-header .product-meta {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.product-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-summary h3 {
    color: #ff9000;
    margin-bottom: 10px;
    font-size: 18px;
}

.product-content {
    margin-bottom: 40px;
}

.product-content h3 {
    color: #ff9000;
    margin-bottom: 20px;
    font-size: 24px;
}

.product-content .content {
    line-height: 1.8;
    color: #333;
}

.product-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.nav-previous a,
.nav-next a {
    color: #ff9000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #1a3d7a;
}

/* 页面头部 */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
    background: #f8f9fa;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #ff9000;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
}

.term-description {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 无产品提示 */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* 查看所有按钮 */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ff9000;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #1a3d7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* 公司简介（关于我们）简版：质量控制上方，左右布局 */
.company-profile-section {
    padding: 0;
    background: #fff;
}

.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-profile-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.company-profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.company-profile-section .container,
.company-profile-section .cp-grid,
.company-profile-section .cp-image,
.company-profile-section .cp-content { position: relative; z-index: 2; }

.cp-image img,
.cp-image .cp-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: block;
}

.cp-title {
    font-size: 32px;
    color: #ff9000;
    margin-bottom: 12px;
    font-weight: 700;
}

.cp-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 16px;
}

.cp-text {
    color: #fff;
    line-height: 1.8;
}

/* 关于我们按钮区域 */
.cp-actions { margin-top: 20px; }
.cp-button {
    display: inline-block;
    background: #ff9000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all .2s ease;
}
.cp-button:hover {
    background: #e68000;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .company-profile-section { padding: 60px 0 30px; }
    .cp-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* 精选产品区域 */
.featured-products-section {
    padding: 60px 0;
    background: #fff;
}

.featured-products-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.featured-products-section .section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.featured-products-section .section-title p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.featured-product-card {
    position: relative;
    overflow: hidden;
    padding: 50px;
    background: #f5f5f5;
}

.featured-product-card:hover {
    transform: none;
    box-shadow: none;
}

.featured-product-image {
    position: relative;
    overflow: hidden;
}

.featured-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: none;
}

.featured-product-card:hover .featured-product-image img {
    transform: none;
}

.featured-product-info {
    position: absolute;
    bottom: 65px;
    right: 65px;
    background: none;
    padding: 0;
    backdrop-filter: none;
}

.featured-product-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.featured-product-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-product-title a:hover {
    color: #333;
}

.featured-product-category {
    display: none;
}

.featured-product-button {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
}

.featured-product-button:hover {
    background: #ff9000;
    color: #fff;
    border: none;
}

.no-featured-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #fff;
    padding: 40px 0;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .featured-products-section {
        padding: 50px 0;
    }
    
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .featured-product-image img {
        height: auto;
    }
}

@media (max-width: 576px) {
    .featured-products-section {
        padding: 40px 0;
    }
    
    .featured-products-section .section-title h2 {
        font-size: 28px;
    }
    
    .featured-products-section .section-title p {
        font-size: 16px;
    }
    
    .featured-products-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-product-image img {
        height: auto;
    }
    
    .featured-product-card {
        padding: 30px;
        background: #f5f5f5;
    }
    
    .featured-product-info {
        bottom: 40px;
        right: 40px;
        padding: 0;
    }
    
    .featured-product-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .featured-product-button {
        padding: 8px 16px;
        font-size: 12px;
    }
	.company-profile-section {
	margin-top: -120px;
}
}

/* 质量控制区域 */
.quality-control-section {
    padding: 60px 0;
    background: #333333;
}

/* 常见问题（联系我们上方） */
.home-faq-section {
    padding: 60px 0;
    background: #f3f3f3;
}

.home-faq-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.home-faq-section .section-title h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 12px;
    font-weight: 600;
}

.home-faq-section .section-title p {
    font-size: 18px;
    color: #000;
    margin: 0;
}

.home-faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.home-faq-left, .home-faq-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px;
    color: #333;
}

.home-faq-item:hover {
    border-bottom: 2px solid #ff9000;
}

.home-faq-item h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-item-wrapper {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.faq-item-wrapper:hover {
    color: #333;
}

.faq-item-wrapper:hover h3 {
    color: #ff9000;
}

.home-faq-item p {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
}

.home-faq-answer {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 恢复为基础列表样式，无展开/折叠 */

@media (max-width: 992px) {
    .home-faq-content { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .home-faq-section { padding: 40px 0; }
    .home-faq-section .section-title h2 { font-size: 28px; }
    .home-faq-section .section-title p { font-size: 16px; }
    .home-faq-content { grid-template-columns: 1fr; gap: 16px; }
    
    /* 移动端常见问题项目样式优化 */
    .home-faq-item {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .home-faq-item h3 {
        font-size: 16px;
        line-height: 1.3;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .home-faq-answer {
        font-size: 13px;
        line-height: 1.5;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* FAQ 分类图片 */
.home-faq-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

/* FAQ VIEW MORE 按钮 */
.home-faq-view-more {
    margin-top: auto;
    padding-top: 20px;
    text-align: left;
}

.faq-view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #ff9000;
    color: #ff9000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-view-more-btn:hover {
    background: #ff9000;
    color: #fff;
}

/* 让左右两列等高 */
.home-faq-right {
    align-items: stretch;
}

.home-faq-image,
.home-faq-image-placeholder {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-faq-left {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-faq-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: 12px;
    color: #6c757d;
}

.quality-control-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.quality-control-section .section-title h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
}

.quality-control-section .section-title p {
    font-size: 18px;
    color: #fff;
    margin-top: 30px;
}

.qc-grid {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    gap: 30px;
    border-top: 2px solid;
    border-image: linear-gradient(to right, #333333, #fff, #333333) 1;
    border-bottom: 2px solid #FFFFFF;
    padding-top: 10px;
    padding-bottom: 10px;
}

.qc-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    padding-top: 20px;
    padding-bottom: 20px;
}

.items{
    border-right: 2px solid;
	border-image: linear-gradient(to bottom, #333333, #fff, #333333) 1;
}

.qc-item:hover {
    transform: translateY(-4px);
}

.qc-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: inline-block;
}

.qc-content {
    padding: 18px 20px 22px;
}

.qc-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.qc-text {
    color: #fff;
    line-height: 1.7;
}

/* 质量控制区域按钮 */
.qc-button-container {
    text-align: center;
    margin-top: 40px;
}

.qc-show-now-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.qc-show-now-btn:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    .qc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .quality-control-section { padding: 60px 0; }
    .qc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 576px) {
    .quality-control-section { padding: 50px 0; }
    .quality-control-section .section-title h2 { font-size: 28px; }
    .quality-control-section .section-title p { font-size: 16px; }
    .qc-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .qc-button-container {
        margin-top: 30px;
    }
    
    .qc-show-now-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
	.items{
    border-right: 0;
	border-bottom: 2px solid;
    border-image: linear-gradient(to right, #333333, #fff, #333333) 1;
}
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff9000;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
}

/* 移动端菜单样式 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #f0f0f0;
    color: #ff9000;
}

.menu-toggle.active {
    color: #ff9000;
    background: #f0f0f0;
}

.menu-toggle-text {
    font-weight: 500;
}

/* 搜索表单样式 */
.search-form {
    display: flex;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.search-submit {
    padding: 10px 20px;
    background: #ff9000;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

.search-submit:hover {
    background: #1e3a5f;
}

/* 加载动画 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 滚动时头部样式 */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}


/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation .nav-menu {
        display: none;
        position: fixed;
        top: 80px; /* 从导航行下方开始，向下移动50px */
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px); /* 高度减去头部高度和额外向下移动的距离 */
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 20px;
        z-index: 99999;
        margin: 0;
        justify-content: flex-start;
        align-items: center;
        animation: menuSlideIn 0.3s ease-out forwards;
    }
    
    .main-navigation .nav-menu.active {
        display: flex !important;
        top: 100px; /* 从导航行下方开始，向下移动50px */
    }
    
    .main-navigation {
        position: relative;
    }

    /* 调整头部高度以适应两行布局 */
    .site-header {
        min-height: 80px;
    }
    
    .main-navigation .nav-menu li {
        width: 100%;
        max-width: 600px;
        margin: 0;
    }
    
    .main-navigation .nav-menu > li > a {
        display: block;
        padding: 20px 25px;
        color: #fff !important;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin-bottom: 10px;
    }
    
    .main-navigation .nav-menu > li > a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff !important;
        transform: translateY(-2px);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* 移动端子菜单样式 */
    .main-navigation .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-left: none;
        margin-left: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        padding: 15px 0;
        margin-top: 10px;
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .main-navigation .sub-menu a {
        padding: 15px 25px;
        color: #fff !important;
        font-size: 16px;
        display: block;
        transition: all 0.3s ease;
        margin: 5px 0;
        text-align: center;
    }
    
    .main-navigation .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff !important;
    }
    
    .main-navigation .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        content: '\25BC';
        float: right;
        transform: translateY(2px);
        transition: transform 0.3s ease;
        color: #fff;
    }
    
    .main-navigation .menu-item-has-children.open > a::after {
        content: '\25B2';
        transform: translateY(0px);
    }
    
    
    /* 菜单动画效果 */
    @keyframes menuSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes menuSlideOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }
    
    .main-navigation .nav-menu.closing {
        animation: menuSlideOut 0.3s ease-in forwards;
    }
    
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .about-description p {
        font-size: 1rem;
    }
    
    .about-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .about-background {
        background-attachment: scroll; /* Mobile */
        background-position: center top;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img {
        max-height: 320px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-header .product-title {
        font-size: 24px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}

/* 产品分类选择样式 */
#product_categorydiv .taxonomydiv {
    max-height: 300px;
    overflow-y: auto;
}

#product_categorydiv .categorychecklist {
    margin: 0;
    padding: 0;
}

#product_categorydiv .categorychecklist li {
    margin: 5px 0;
    list-style: none;
}

#product_categorydiv .categorychecklist label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

#product_categorydiv .categorychecklist label:hover {
    background-color: #f0f0f1;
}

#product_categorydiv .categorychecklist input[type="checkbox"] {
    margin-right: 8px;
}

#product_categorydiv .children {
    margin-left: 20px;
    margin-top: 5px;
}

#product_categorydiv .children label {
    font-size: 13px;
    color: #666;
}

#product_categorydiv .howto {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-size: 13px;
}

#add-product-category-quick {
    color: #ff9000;
    text-decoration: none;
    font-weight: 500;
}

/* 产品分类快速操作样式 */
.category-quick-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.category-quick-actions .button {
    background: #ff9000;
    border-color: #ff9000;
    color: white;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 10px;
    height: auto;
    line-height: 1.4;
}

.category-quick-actions .button:hover {
    background: #1a3d7a;
    border-color: #1a3d7a;
    color: white;
}

.category-quick-actions p {
    margin: 5px 0;
}

/* 无分类时的提示样式 */
.category-quick-actions p[style*="color: #d63638"] {
    background: #fcf0f1;
    padding: 8px;
    border-radius: 3px;
    border-left: 3px solid #d63638;
    margin-bottom: 10px;
}
.term-image-wrap {
    margin: 15px 0;
}

.term-image-wrap label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#category-image-preview {
    margin: 10px 0;
    border: 2px dashed #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#category-image-preview img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#category-image-preview img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

#upload-category-image,
#remove-category-image {
    margin-right: 10px;
    margin-bottom: 5px;
}

#upload-category-image {
    background: #ff9000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#upload-category-image:hover {
    background: #1e3f73;
}

#remove-category-image {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#remove-category-image:hover {
    background: #c82333;
}

/* 分类图片模态框样式 */
.category-image-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 分类列表页面图片列样式 */
.column-category_image {
    width: 80px;
}

.column-category_image img {
    border-radius: 3px;
    border: 1px solid #ddd;
}

/* 前端分类图片显示样式 */
.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-image:hover {
    transform: scale(1.02);
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-content {
    padding: 20px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff9000;
}

.category-description {
    color: #666;
    line-height: 1.5;
}

/* 分类网格布局 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-image {
        height: 150px;
    }
}

/* 文章推荐标签样式 */
.featured-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-left: 10px;
    vertical-align: middle;
}

.featured-badge.featured-normal {
    background: #28a745;
}

.featured-badge.featured-hot {
    background: #dc3545;
}

.featured-badge.featured-top {
    background: #ffc107;
    color: #000;
}

/* 内页通图样式 */
.category-hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-hero-overlay .container {
    position: relative;
    z-index: 2;
}

.category-hero-overlay h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-hero-overlay .category-description {
    font-size: 1.2rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 内页通图响应式 */
@media (max-width: 576px) {
    .category-hero-image {
        height: 250px;
    }
    
    .category-hero-overlay h1 {
        font-size: 2rem;
    }
    
    .category-hero-overlay .category-description {
        font-size: 0.9rem;
    }
}

/* 文章列表中的推荐标签 */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.post-header .post-title {
    margin-bottom: 0;
    flex: 1;
}

/* 单篇文章页面推荐标签 */
.entry-header {
    position: relative;
}

.entry-header .featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}

/* 推荐文章特殊样式 */
.post-item.featured-post {
    border-left: 4px solid #ff9000;
}

.post-item.featured-post.featured-hot {
    border-left-color: #dc3545;
}

.post-item.featured-post.featured-top {
    border-left-color: #ffc107;
}



/* 本分类产品区域样式 */
.category-products-section {
    padding: 60px 0;
    background: #f8f9fa;
    margin-top: 40px;
}

.category-products-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.category-products-section .section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

/* 本分类产品网格布局 - 一行4个，不换行 */
.category-products-grid {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.category-product-item {
    width: 20%;
    float: left;
}

.category-product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.category-product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.category-product-item:hover .category-product-image img {
    transform: scale(1.05);
}

.category-product-title {
    padding: 15px;
}

.category-product-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.category-product-title a:hover {
    color: #ff9000;
}

/* 无本分类产品提示 */
.no-category-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-products-section {
        padding: 40px 0;
    }
    
    .category-products-section .section-title h2 {
        font-size: 24px;
    }
    
    .category-products-grid {
        gap: 15px;
    }
    
    .category-product-item {
        flex: 0 0 calc(25% - 11.25px);
    }
    
    .category-product-image {
        height: 150px;
    }
    
    .category-product-title {
        padding: 12px;
    }
    
    .category-product-title a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-products-grid {
        gap: 10px;
    }
    
    .category-product-item {
        flex: 0 0 calc(25% - 7.5px);
    }
    
    .category-product-image {
        height: 120px;
    }
    
    .category-product-title {
        padding: 10px;
    }
    
    .category-product-title a {
        font-size: 13px;
    }
}

/* 新闻分区样式（已移除） */
