/*
Theme Name: HonRuiCMS Theme
Theme URI: http://www.hongruixinxi.com/
Author: HonRuiCMS
Author URI: http://www.hongruixinxi.com/
Description: 基于HonRuiCMS演示网站风格设计的WordPress主题，支持响应式设计和三端自动识别
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: badoucms-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

a:hover {
    color: #ff6600;
}

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

ul, ol {
    list-style: none;
}

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

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

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

.logo h1 {
    font-size: 24px;
    color: #333;
}

.logo h1 span {
    color: #ff6600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn,
.menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

/* 导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 5px 0;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current-menu-ancestor a {
    color: #ff6600;
}

/* 下拉菜单 */
.main-nav ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
    z-index: 100;
}

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

.main-nav ul.sub-menu li {
    margin: 0;
}

.main-nav ul.sub-menu a {
    padding: 8px 20px;
    font-size: 14px;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
}

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

.mobile-menu-close {
    text-align: right;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
}

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

.mobile-menu ul.sub-menu {
    padding-left: 20px;
    display: none;
}

.mobile-menu ul.sub-menu a {
    font-size: 14px;
    padding: 8px 0;
}

.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-expand {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* 轮播图 */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide.active {
    display: block;
}

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

.slide-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a00;
    color: #fff;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.slider-dot.active {
    background-color: #fff;
}

/* 产品中心 */
.section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: #ff6600;
    margin: 20px auto 0;
}

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

.product-item {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

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

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

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 侧边悬浮联系方式 */
.contact-float {
    position: fixed !important;
    right: 0 !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 998 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-float-item {
    width: 50px;
    height: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-float-item.phone {
    background-color: #ff6600;
}

.contact-float-item.phone:hover {
    background-color: #e55a00;
    padding-left: 10px;
    width: 60px;
}

.contact-float-item.message {
    background-color: #333;
}

.contact-float-item.message:hover {
    background-color: #222;
    padding-left: 10px;
    width: 60px;
}

.contact-float-item.wechat {
    background-color: #333;
}

.contact-float-item.wechat:hover {
    background-color: #222;
    padding-left: 10px;
    width: 60px;
}

.contact-float-item.wechat:hover .wechat-qr {
    display: block;
}

.wechat-qr {
    display: none;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
}

.wechat-qr img {
    width: 150px;
    height: 150px;
    display: block;
}

/* 底部 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
    clear: both;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: block;
    float: none;
    clear: none;
    position: relative;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 10px;
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-logo h2 span {
    color: #ff6600;
}

.footer-logo p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section li {
    margin-bottom: 12px;
    padding: 0;
    list-style: none;
    display: block;
    float: none;
}

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

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

.footer .contact-info {
    margin: 0;
    padding: 0;
}

.footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 0;
    line-height: 1.6;
}

.footer .contact-info .icon-map-marker,
.footer .contact-info .icon-phone,
.footer .contact-info .icon-email {
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-map-marker {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff6600' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-phone {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff6600' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-email {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff6600' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22 6 12 13 2 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

.footer-bottom a {
    color: #999;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #ff6600;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .slide {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .slide {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-float {
        display: none;
    }
}

@media (min-width: 769px) {
    .menu-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .slide-content h2 {
        font-size: 22px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* 新增模块样式 */
.section-alt {
    background-color: #f9f9f9;
}

.section-header.text-left {
    text-align: left;
}

.section-header.text-left .line {
    margin: 20px 0 0;
}

/* 按钮变体 */
.btn-primary.btn-outline {
    background-color: transparent;
    border: 2px solid #ff6600;
    color: #ff6600;
}

.btn-primary.btn-outline:hover {
    background-color: #ff6600;
    color: #fff;
}

.btn-primary.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* 公司简介 */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 服务案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-item {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.case-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.case-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}



/* 新闻中心 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

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

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

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

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-info {
    padding: 25px;
}

.news-date {
    color: #999;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.news-info h3:hover {
    color: #ff6600;
}

.news-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #ff6600;
    font-size: 14px;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 荣誉资质 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.honor-item {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.honor-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6600;
}

.honor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff5ee;
    border-radius: 50%;
}

.honor-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

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

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.partner-item {
    background-color: #fff;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.partner-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-item:hover .partner-logo {
    opacity: 1;
}

/* 响应式适配 - 新增模块 */
@media (max-width: 1200px) {
    .case-grid,
    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-grid,
    .news-grid,
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-wrap: wrap !important;
    }
    
    .footer-content .footer-section:first-child {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .case-grid,
    .news-grid,
    .honor-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 滚动动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 导航栏滚动效果 */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
}

.header.scrolled .header-inner {
    padding: 10px 0;
}

/* 滚动到顶部按钮 */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    background-color: #e55a00;
    transform: translateY(-3px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 页面加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 按钮悬停效果 */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* 图片悬停效果 */
.product-image,
.case-image,
.news-image {
    position: relative;
}

.product-image::after,
.case-image::after,
.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 102, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-image::after,
.case-item:hover .case-image::after,
.news-item:hover .news-image::after {
    opacity: 1;
}

/* 数字计数器 */
.counter {
    font-size: 48px;
    font-weight: bold;
    color: #ff6600;
}

/* 服务案例悬停效果增强 */
.case-item {
    position: relative;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #ff6600;
    transition: height 0.3s ease;
}

.case-item:hover::before {
    height: 100%;
}

/* 荣誉资质图标动画 */
.honor-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.honor-item:hover .honor-icon {
    transform: scale(1.1);
    background-color: #ffe4d0;
}

/* 合作伙伴Logo动画 */
.partner-logo {
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

/* 导航菜单下划线效果 */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6600;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current-menu-ancestor a::after {
    width: 100%;
}

/* 移动端菜单滑入效果 */
.mobile-menu {
    transform: translateX(0);
    transition: right 0.3s ease, box-shadow 0.3s ease;
}

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

/* 遮罩层淡入效果 */
.overlay {
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
}

/* 轮播图内容动画 */
.slide-content {
    animation: fadeInUp 0.8s ease;
}

/* 公司简介图片悬停效果 */
.about-image img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 页面Banner */
.page-banner {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    padding: 60px 0;
    color: #fff;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumbs {
    font-size: 14px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    margin: 0 10px;
}

/* 公司简介页面 */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-bottom: 50px;
}

.about-features h3,
.about-team h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6600;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

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

.team-item {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6600;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-info p {
    color: #666;
    font-size: 14px;
}

/* 产品中心页面 */
.products-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.products-sidebar {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.products-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.product-categories {
    margin: 0;
    padding: 0;
}

.product-categories li {
    margin-bottom: 10px;
}

.product-categories a {
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.product-categories a:hover,
.product-categories .active a {
    background: #fff5ee;
    color: #ff6600;
    padding-left: 20px;
}

.product-filters {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    color: #666;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.product-meta {
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.product-meta .category {
    background: #ff6600;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    margin-right: 10px;
}

/* 新闻中心页面 */
.news-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.news-sidebar {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.news-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.news-categories {
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

.news-categories li {
    margin-bottom: 10px;
}

.news-categories a {
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.news-categories a:hover,
.news-categories .active a {
    background: #fff5ee;
    color: #ff6600;
    padding-left: 20px;
}

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

.latest-news {
    margin: 0;
    padding: 0;
}

.latest-news li {
    margin-bottom: 10px;
}

.latest-news a {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.latest-news a:hover {
    color: #ff6600;
}

.news-article.featured {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.news-article.featured .news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-article.featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-inner {
    padding: 30px;
}

.news-category {
    background: #ff6600;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: inline-block;
}

.news-article.featured h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.news-article.featured h2 a {
    color: #333;
}

.news-article.featured h2 a:hover {
    color: #ff6600;
}

.news-article.featured p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 13px;
    color: #999;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list .news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    transition: all 0.3s ease;
}

.news-list .news-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-list .news-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.news-list .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list .news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-list .news-info h3 a {
    color: #333;
}

.news-list .news-info h3 a:hover {
    color: #ff6600;
}

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

/* 服务案例页面 */
.case-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-active {
    background: #ff6600;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.filter-item {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-item:hover {
    border-color: #ff6600;
    color: #ff6600;
}

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

.cases-grid .case-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
}

.cases-grid .case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.cases-grid .case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 102, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.cases-grid .case-item:hover .case-overlay {
    opacity: 1;
}

.case-overlay h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.case-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.cases-grid .case-info {
    padding: 20px;
}

.cases-grid .case-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cases-grid .case-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.case-category {
    font-size: 12px;
    color: #ff6600;
    padding: 3px 10px;
    border: 1px solid #ff6600;
    border-radius: 10px;
}

/* 在线留言页面 */
.message-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.message-form {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.message-form h3,
.message-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6600;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.captcha-row {
    display: flex;
    gap: 15px;
}

.captcha-image {
    flex-shrink: 0;
}

.message-info {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
}

/* 联系我们页面 */
.contact-content {
    margin-bottom: 40px;
}

.contact-info h3,
.contact-map h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6600;
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 14px;
}

.contact-map {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-row {
    grid-template-columns: repeat(3, 1fr);
}

.contact-form .btn-primary {
    align-self: center;
    margin-top: 20px;
}

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

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.pagination .current-page {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.pagination .prev-page,
.pagination .next-page {
    background: #fff5ee;
    border-color: #ff6600;
    color: #ff6600;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .products-content,
    .news-content,
    .message-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-list .news-image {
        height: 200px;
    }
    
    .contact-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid,
    .team-grid,
    .contact-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .captcha-row {
        flex-direction: column;
    }
    
    .message-form,
    .message-info {
        padding: 20px;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
}

/* 默认页面样式 */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.page-content .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.page-content .entry-content p {
    margin-bottom: 20px;
}

.page-content .entry-content h2 {
    font-size: 24px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.page-content .entry-content h3 {
    font-size: 20px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.page-content .entry-content h4 {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

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

.page-content .entry-content blockquote {
    border-left: 4px solid #ff6600;
    padding-left: 20px;
    margin: 20px 0;
    color: #888;
    font-style: italic;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 0 4px 4px 0;
}

.page-content .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.page-content .entry-content a {
    color: #ff6600;
}

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

.page-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.page-content .entry-content th,
.page-content .entry-content td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.page-content .entry-content th {
    background: #f9f9f9;
    font-weight: 600;
}

.page-content .entry-content hr {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 30px 0;
}

.page-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    background: #f9f9f9;
    margin-right: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #ff6600;
    color: #fff;
}

/* 列表页面 */
.archive-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.archive-sidebar {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.archive-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.category-list {
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list .current-cat a {
    background: #fff5ee;
    color: #ff6600;
    padding-left: 20px;
}

.latest-posts {
    margin: 0;
    padding: 0;
}

.latest-posts li {
    margin-bottom: 10px;
}

.latest-posts a {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.latest-posts a:hover {
    color: #ff6600;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    transition: all 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.post-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-content h2 a {
    color: #333;
}

.post-content h2 a:hover {
    color: #ff6600;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 13px;
    color: #999;
}

.post-meta span {
    margin-right: 15px;
}

.post-category {
    background: #ff6600;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

/* 内容详情页 */
.single-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.post-article {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-article .post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-body {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2 {
    font-size: 24px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.post-body h3 {
    font-size: 20px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.post-body blockquote {
    border-left: 4px solid #ff6600;
    padding-left: 20px;
    margin: 20px 0;
    color: #888;
    font-style: italic;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-weight: 500;
    color: #333;
}

.post-tags a {
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.post-tags a:hover {
    background: #ff6600;
    color: #fff;
}

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

.nav-previous,
.nav-next {
    width: 48%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #ff6600;
    color: #fff;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-sidebar .sidebar-widget {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.single-sidebar .latest-posts li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.single-sidebar .latest-posts li:last-child {
    border-bottom: none;
}

.single-sidebar .post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
}

.single-sidebar .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WordPress默认样式重置 */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-image figcaption {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.wp-block-heading {
    margin-top: 20px;
    margin-bottom: 10px;
}

.wp-block-button__link {
    background: #ff6600 !important;
    border-radius: 4px;
    padding: 10px 25px !important;
    border: none !important;
}

.wp-block-button__link:hover {
    background: #e55a00 !important;
}

/* 评论区域样式 */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comment-reply-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.comment-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-form textarea {
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #ff6600;
    outline: none;
}

.comment-submit {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-submit:hover {
    background: #e55a00;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
}

.comment-meta {
    font-size: 13px;
    color: #999;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

.comment-reply-link {
    color: #ff6600;
    font-size: 14px;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* 列表页面响应式 */
@media (max-width: 992px) {
    .archive-content,
    .single-content {
        grid-template-columns: 1fr;
    }
    
    .post-item {
        grid-template-columns: 1fr;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .post-article {
        padding: 20px;
    }
}

/* 产品标签 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 10px 25px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.product-tab:hover,
.product-tab.active {
    background: #ff6600;
    color: #fff;
}

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

.product-item .read-more {
    color: #ff6600;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.product-item .read-more:hover {
    text-decoration: underline;
}

/* 体验区域 */
.experience-section {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    padding: 60px 0;
}

.experience-content {
    text-align: center;
}

.experience-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.experience-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.experience-content .btn-primary {
    background: #ff6600;
    border: none;
}

.experience-content .btn-primary:hover {
    background: #e55a00;
}

/* 技术支持区域 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.support-item {
    background: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
    padding: 30px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.support-item p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.support-link {
    color: #fff;
    font-size: 14px;
    border-bottom: 1px dashed #fff;
}

.support-link:hover {
    border-bottom-style: solid;
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-item {
    overflow: hidden;
    border-radius: 8px;
}

.case-image {
    height: 200px;
    overflow: hidden;
}

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

.case-item:hover .case-image img {
    transform: scale(1.1);
}

/* 新闻资讯 */
.news-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.news-tab {
    padding: 10px 30px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.news-tab:hover,
.news-tab.active {
    background: #ff6600;
    color: #fff;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-panel {
    display: none;
}

.news-panel.active {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 20px;
    align-items: stretch;
}

.news-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-main a {
    flex: 1;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.news-main img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-main a:hover img {
    transform: scale(1.05);
}

.news-panel .news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow: hidden;
}

.news-panel .news-item {
    display: flex;
    gap: 10px;
    padding: 12px !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    align-items: flex-start !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.news-panel .news-item:hover {
    background-color: #f9f9f9 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    transform: translateY(-2px);
}

.news-panel .news-item:first-child {
    padding: 12px !important;
}

.news-panel .news-item:last-child {
    padding: 12px !important;
}

.news-panel .news-date {
    width: 60px;
    text-align: center;
    padding: 6px 5px !important;
    background: #f5f5f5 !important;
    border-radius: 4px;
    flex-shrink: 0;
    color: inherit !important;
    font-size: inherit !important;
}

.news-panel .news-date span:first-child {
    display: block;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #ff6600 !important;
    line-height: 1.2;
}

.news-panel .news-date span:last-child {
    font-size: 10px !important;
    color: #999 !important;
    line-height: 1.2;
}

.news-panel .news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 !important;
}

.news-panel .news-info h3 {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    line-height: 1.3;
}

.news-panel .news-info h3 a {
    color: #333;
}

.news-panel .news-info h3 a:hover {
    color: #ff6600;
}

.news-panel .news-info p {
    font-size: 12px !important;
    color: #666 !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0 !important;
}

/* 友情链接 */
.section-links {
    background: #f5f5f5;
    padding: 30px 0;
}

.links-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.links-content span {
    color: #999;
    font-size: 14px;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.links-list a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.links-list a:hover {
    color: #ff6600;
}

/* 首页响应式 */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-content {
        grid-template-columns: 1fr;
    }
    
    .news-main img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .news-list .news-item {
        flex-direction: column;
    }
    
    .news-date {
        width: 100%;
    }
    
    .experience-content h2 {
        font-size: 24px;
    }
}