﻿/*
Theme Name: neweec
Theme URI: 
Author: 
Author URI: 
Description: 华仪电子主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neweec
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    color: #333;
    line-height: 1;
}

/* 响应式设计 - 1400px以下H5适配 */
@media (max-width: 1399px) {
    /* 基础容器 - 等比例缩小 */
    html {
        font-size: 14px;
    }

    .container {
        width: 100%;
        padding: 0 clamp(10px, 1.042vw, 20px);
    }

    /* 顶部栏 */
    .top-bar {
        height: auto;
        padding: 6px 0;
    }

    .top-bar-inner {
        width: 100%;
        padding: 0 15px;
        justify-content: flex-end;
    }

    .top-bar-right {
        gap: 12px;
    }

    .online-quote {
        font-size: clamp(12px, 1.042vw, 14px);
    }

    .search-icon-small {
        font-size: clamp(16px, 1.302vw, 21px);
    }

    /* 头部导航 */
    .header {
        height: auto;
        min-height: 56px;
        padding: 8px 0;
    }

    .header-inner {
        width: 100%;
        padding: 0 15px;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-between;
    }

    .logo img {
        max-width: clamp(110px, 11.458vw, 160px);
        height: auto;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 18px;
        color: #54A1DA;
        cursor: pointer;
        z-index: 1001;
        padding: 8px;
        background: transparent;
        border: none;
        border-radius: 0;
        line-height: 1;
        transition: opacity 0.2s, visibility 0.2s;
    }

    .mobile-menu-btn.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav.active {
        right: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    }

    .mobile-nav-header {
        display: none !important;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        font-size: 15px;
        color: #333;
        width: 100%;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background 0.2s;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu > li > a:hover {
        background: #f8fbfe;
    }

    .mega-dropdown > a::after,
    .news-mega-dropdown > a::after,
    .solution-mega-dropdown > a::after,
    .service-mega-dropdown > a::after,
    .about-mega-dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 10px;
        color: #999;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border-radius: 50%;
        flex-shrink: 0;
        margin-left: 10px;
        transition: all 0.3s;
    }

    .mega-dropdown.active > a::after,
    .news-mega-dropdown.active > a::after,
    .solution-mega-dropdown.active > a::after,
    .service-mega-dropdown.active > a::after,
    .about-mega-dropdown.active > a::after {
        content: '\f077';
        background: #54A1DA;
        color: #fff;
        transform: none;
    }

    .mega-dropdown.active > a,
    .news-mega-dropdown.active > a,
    .solution-mega-dropdown.active > a,
    .service-mega-dropdown.active > a,
    .about-mega-dropdown.active > a {
        color: #54A1DA;
        background: #f8fbfe;
    }

    .mega-menu,
    .news-mega-menu,
    .solution-mega-menu,
    .service-mega-menu,
    .about-mega-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        margin-left: 0 !important;
        background: #fafafa !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-left: none !important;
        border-radius: 0 !important;
        border-top: 1px solid #f0f0f0;
    }

    .mega-menu.active,
    .news-mega-menu.active,
    .solution-mega-menu.active,
    .service-mega-menu.active,
    .about-mega-menu.active {
        display: block !important;
    }

    .mega-menu-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .mega-menu-inner,
    .news-mega-menu-inner,
    .solution-mega-menu-inner,
    .service-mega-menu-inner,
    .about-mega-menu-inner {
        flex-direction: column !important;
        padding: 8px 0 !important;
        gap: 0 !important;
        justify-content: flex-start !important;
    }

    .mega-menu-column,
    .mega-menu-column-wide {
        min-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        flex: none !important;
    }

    .mega-menu-column:first-child {
        padding-left: 0 !important;
    }

    .mega-menu-products {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .mega-menu-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 0 !important;
        padding: 10px 20px 6px !important;
        padding-bottom: 6px !important;
        border-bottom: none !important;
        color: #54A1DA !important;
        letter-spacing: 1px;
    }

    .mega-menu-title a {
        color: #54A1DA !important;
    }

    .mega-menu-list-bordered {
        padding-bottom: 4px !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #eee !important;
    }

    .mega-menu-title-second {
        margin-top: 4px !important;
    }

    .mega-menu-list {
        padding-left: 0 !important;
    }

    .mega-menu-list li {
        margin-bottom: 0 !important;
    }

    .mega-menu-list a {
        font-size: 14px !important;
        padding: 8px 20px 8px 30px !important;
        color: #555 !important;
        display: block;
        transition: all 0.2s;
        border-left: 2px solid transparent;
    }

    .mega-menu-list a:hover {
        color: #54A1DA !important;
        background: #f0f7fc !important;
        border-left-color: #54A1DA;
    }

    .solution-mega-menu-item {
        min-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
        flex: none !important;
        max-width: 100% !important;
        border-bottom: none !important;
        font-size: 14px !important;
        font-weight: normal !important;
    }

    .solution-mega-menu-item a {
        font-size: 14px !important;
        font-weight: normal !important;
        color: #555 !important;
        padding: 8px 20px 8px 30px !important;
        display: block;
        transition: all 0.2s;
        border-left: 2px solid transparent;
    }

    .solution-mega-menu-item a:hover {
        color: #54A1DA !important;
        background: #f0f7fc !important;
        border-left-color: #54A1DA;
    }

    .news-mega-menu-column,
    .service-mega-menu-column,
    .about-mega-menu-column {
        min-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
        flex: none !important;
        border-bottom: none !important;
    }

    .news-mega-menu-column .mega-menu-title,
    .service-mega-menu-column .mega-menu-title,
    .about-mega-menu-column .mega-menu-title {
        font-size: 14px !important;
        margin-bottom: 0 !important;
        padding: 8px 20px 8px 30px !important;
        padding-bottom: 8px !important;
        border-bottom: none !important;
        color: #555 !important;
        font-weight: normal !important;
        letter-spacing: 0;
        text-transform: none;
    }

    .news-mega-menu-column .mega-menu-title a,
    .service-mega-menu-column .mega-menu-title a,
    .about-mega-menu-column .mega-menu-title a {
        color: #555 !important;
        padding: 0 !important;
        display: block;
        transition: all 0.2s;
        border-left: 2px solid transparent;
    }

    .news-mega-menu-column .mega-menu-title a:hover,
    .service-mega-menu-column .mega-menu-title a:hover,
    .about-mega-menu-column .mega-menu-title a:hover {
        color: #54A1DA !important;
        border-left-color: #54A1DA;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        transition: opacity 0.35s;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* Banner区域 - clamp()自动等比例缩放 */
    .banner {
        /* 使用aspect-ratio自动计算高度，保持等比例 */
    }

    .banner-content {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
        max-width: 100%;
    }

    /* 产品展示区域 - clamp()自动等比例缩放 */
    .products-section {
        height: auto;
    }

    .products-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-arrows {
        display: none;
    }

    /* 最新资讯区域 - clamp()自动等比例缩放 */
    .news-section {
        height: auto;
    }

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

    .news-main {
        width: 100%;
        height: auto;
    }

    .news-main-image-container {
        width: 100%;
    }

    .news-list {
        width: 100%;
    }

    .news-item {
        width: 100%;
        flex-direction: row;
        min-height: auto;
    }

    /* 关于我们区域 - clamp()自动等比例缩放 */
    .about-section {
        height: auto;
    }

    .about-header {
        height: auto;
    }

    .about-body {
        width: 100%;
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .about-content {
        margin-top: 0;
    }

    .about-stats {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
    }

    .stat-box:not(:first-child)::before,
    .stat-box:not(:first-child)::after {
        display: none;
    }

    .stat-box {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 20px 0;
        border-bottom: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    .stat-box:nth-child(odd) {
        border-right: 1px solid #e0e0e0;
    }

    .stat-box:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* 服务客户区域 - clamp()自动等比例缩放 */
    .clients-section {
        min-height: auto;
        margin-top: 0;
        background: #54A1DA;
    }

    .news-section,
    .clients-section {
        padding-top: clamp(30px, 3.177vw, 61px);
    }

    .clients-container {
        max-width: 100%;
    }

    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    /* 页脚 */
    .footer {
        height: auto;
        padding: clamp(15px, 1.563vw, 20px) 0 clamp(10px, 1.042vw, 15px);
    }

    .footer-top {
        height: auto;
        padding: clamp(10px, 1.042vw, 15px) 0;
    }

    .footer-header {
        width: 100%;
        padding: clamp(10px, 1.042vw, 15px) clamp(15px, 1.042vw, 20px);
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(5px, 0.521vw, 10px);
    }

    .footer-logo img {
        max-width: clamp(100px, 10.417vw, 150px);
    }

    .footer-anniversary {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-anniversary img {
        max-width: clamp(50px, 5.208vw, 70px);
    }

    .footer-inner {
        width: 100%;
        padding: 0 clamp(15px, 1.042vw, 20px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(15px, 1.563vw, 30px);
    }

    .footer-col {
        margin-bottom: 0;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-col h3 {
        font-size: clamp(14px, 1.250vw, 18px);
        margin-bottom: clamp(10px, 1.042vw, 15px);
    }

    .footer-links li {
        margin-bottom: clamp(8px, 0.833vw, 12px);
    }

    .footer-links a {
        font-size: clamp(13px, 1.042vw, 15px);
    }

    .about-content-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(15px, 1.563vw, 30px);
        align-items: start;
    }

    .footer-social-qr {
        margin-left: 0;
        margin-top: 0;
        align-items: flex-start;
    }

    .qr-code {
        width: clamp(80px, 6.823vw, 131px);
        height: clamp(80px, 6.823vw, 131px);
    }

    .footer-bottom {
        height: auto;
        padding: clamp(15px, 1.563vw, 20px);
    }

    .footer-inner {
        flex-direction: column;
        gap: clamp(10px, 1.042vw, 15px);
    }

    .footer-copyright p {
        font-size: clamp(12px, 1.042vw, 14px);
    }

    .footer-links-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: clamp(10px, 1.042vw, 15px);
    }

    .footer-links-bottom a,
    .footer-links-bottom span {
        font-size: clamp(12px, 1.042vw, 14px);
    }

    /* 浮动按钮 */
    .floating-buttons {
        right: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn img {
        width: 24px;
        height: 24px;
    }

    .floating-btn.arrow-btn {
        width: 50px;
        height: 32px;
    }
}

/* 1024px以下平板适配 */
@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    /* Banner保持等比例，clamp()自动缩放 */
    .banner {
        /* aspect-ratio自动计算高度 */
    }

    /* 服务客户 - 平板端一行显示三个 */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* 768px以下手机适配 */
@media (max-width: 768px) {
    /* 基础样式 - 等比例缩小 */
    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 clamp(10px, 1.042vw, 20px);
    }

    /* 顶部栏 */
    .top-bar {
        padding: 6px 0;
    }

    .top-bar-inner {
        padding: 0 15px;
    }

    .online-quote {
        font-size: 12px;
    }

    /* 头部 */
    .header {
        min-height: 50px;
        padding: 6px 0;
    }

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

    .logo img {
        max-width: 100px;
    }

    .mobile-menu-btn {
        font-size: 18px;
        padding: 5px 8px;
    }

    nav {
        width: 80%;
        max-width: 280px;
    }

    .nav-menu {
        padding: 50px 0 15px;
    }

    .nav-menu > li > a {
        font-size: 14px;
        padding: 12px 15px;
    }

    .mega-dropdown > a::after,
    .news-mega-dropdown > a::after,
    .solution-mega-dropdown > a::after,
    .service-mega-dropdown > a::after,
    .about-mega-dropdown > a::after {
        width: 22px;
        height: 22px;
        font-size: 16px;
    }

    .mega-menu-inner,
    .news-mega-menu-inner,
    .solution-mega-menu-inner,
    .service-mega-menu-inner,
    .about-mega-menu-inner {
        padding: 10px 12px !important;
    }

    .mega-menu-title {
        font-size: 13px !important;
    }

    .mega-menu-list a {
        font-size: 13px !important;
        padding: 4px 0 !important;
    }

    .solution-mega-menu-item a {
        font-size: 13px !important;
        font-weight: normal !important;
    }

    .news-mega-menu-column .mega-menu-title,
    .service-mega-menu-column .mega-menu-title,
    .about-mega-menu-column .mega-menu-title {
        font-size: 13px !important;
    }

    /* Banner - 保持等比例，clamp()自动缩放 */
    .banner {
        /* aspect-ratio自动计算高度 */
    }

    .banner-content {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        max-height: 90%;
        overflow-y: auto;
    }

    /* 产品展示 - clamp()自动等比例缩放 */
    .products-section {
        height: auto;
    }

    .product-card {
        height: auto;
    }

    .product-info h3 {
        width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    .product-info p {
        width: 100%;
    }

    .products-section .product-arrows {
        display: block !important;
    }

    .products-section .product-arrow {
        width: 35px !important;
        height: 35px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .products-section .product-arrow.prev {
        left: 10px !important;
    }

    .products-section .product-arrow.next {
        right: 10px !important;
    }

    /* 最新资讯 - clamp()自动等比例缩放 */
    .news-section {
        height: auto;
    }

    .news-main-image-container {
        height: auto;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .news-image-container {
        width: 100%;
        margin: 0;
    }

    /* 关于我们 - clamp()自动等比例缩放 */
    .about-section {
        height: auto;
    }

    .about-header {
        padding: 0 15px;
    }

    .about-image {
        height: auto;
    }

    .about-stats {
        padding: 20px 15px;
    }

    /* 产品应用 - clamp()自动等比例缩放 */
    .application-section {
        height: auto;
    }

    .application-header {
        height: auto;
        padding: 0;
    }

    .application-body {
        height: auto;
        min-height: auto;
        overflow-x: hidden;
    }

    .application-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .solution-link {
        flex: 0 0 25%;
        width: 25%;
    }

    .application-list li {
        width: 100%;
        padding: 20px 10px;
        border-right: 1px solid #fff;
    }

    .application-list li .num {
        position: static;
        transform: none;
    }

    .application-list li .title {
        position: static;
    }

    /* 服务客户 - clamp()自动等比例缩放 */
    .clients-section {
        min-height: auto;
        margin-top: 0;
        background: #54A1DA;
    }

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

    /* 页脚 */
    .footer {
        padding: 10px 0 5px;
    }

    .footer-top {
        padding: 8px 0;
    }

    .footer-header {
        padding: 8px 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-logo img {
        max-width: 100px;
    }

    .footer-anniversary img {
        max-width: 50px;
    }

    .footer-inner {
        padding: 0 10px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-col h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

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

    .footer-links a {
        font-size: 12px;
    }

    .about-content-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        align-items: start;
    }

    .footer-social-qr {
        margin-left: 0;
        margin-top: 0;
        align-items: flex-start;
    }

    .qr-code {
        width: 70px;
        height: 70px;
    }

    .footer-social-icons {
        gap: 8px;
        margin-top: 10px;
    }

    .footer-social-icons a {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        padding: 10px;
    }

    .footer-copyright p {
        font-size: 11px;
    }

    .footer-links-bottom {
        gap: 8px;
    }

    .footer-links-bottom a,
    .footer-links-bottom span {
        font-size: 11px;
    }

    /* 浮动按钮 */
    .floating-buttons {
        right: 8px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-btn img {
        width: 20px;
        height: 20px;
    }

    .floating-btn.arrow-btn {
        width: 45px;
        height: 28px;
    }
}

/* 480px以下小屏手机适配 */
@media (max-width: 480px) {
    .banner-content {
        max-height: 85%;
        overflow-y: auto;
    }

    /* 产品展示 - clamp()自动等比例缩放 */
    .products-section .product-arrow {
        width: 30px !important;
        height: 30px !important;
    }

    .products-section .product-arrow.prev {
        left: 5px !important;
    }

    .products-section .product-arrow.next {
        right: 5px !important;
    }

    /* 最新资讯 - clamp()自动等比例缩放 */
    .news-main-image-container {
        height: auto;
    }

    .news-item .news-image-container {
        height: auto;
    }

    /* 关于我们 - clamp()自动等比例缩放 */
    .about-image {
        height: auto;
    }

    /* 产品应用 - clamp()自动等比例缩放 */
    .application-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .solution-link {
        flex: 0 0 25%;
        width: 25%;
    }

    .application-list li {
        width: 100%;
        padding: 15px 8px;
        border-right: 1px solid #fff;
    }

    .application-list li .num {
        position: static;
        transform: none;
    }

    .application-list li .title {
        position: static;
    }

    /* 服务客户 - clamp()自动等比例缩放 */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 页脚 - 超小屏 */
    .footer-logo img {
        max-width: 100px;
    }

    .footer-anniversary img {
        max-width: 50px;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }
}

/* 顶部栏 */
.top-bar {
    background: #54A1DA;
    height: 40px;
}

.top-bar-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}

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

.search-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-small {
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
}

/* 头部搜索框 */
.header-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-search-form.active {
    opacity: 1;
    visibility: visible;
    width: 250px;
    right: 30px;
}

.header-search-form input {
    flex: 1;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: #333;
}

.header-search-form input::placeholder {
    color: #999;
}

.header-search-form button {
    background: #54A1DA;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.header-search-form button:hover {
    background: #3d8bc4;
}

.header-search-form button i {
    font-size: 12px;
}

.divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.5);
    margin: 0 8px;
}

.online-quote {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* 导航栏 */
.header {
    background: #fff;
    height: 100px;
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}

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

.logo img {
    width: 198px;
    height: 65px;
    object-fit: contain;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    z-index: 1001;
}

.mobile-nav-header {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-size: 19px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #0066cc;
}

/* 下拉菜单样式 */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 0;
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-menu .dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* 确保下拉菜单在导航栏上方显示 */
.header {
    position: relative;
    z-index: 100;
}

.nav-menu .dropdown-menu li {
    list-style: none;
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu .dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-menu .dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #54A1DA;
    padding-left: 25px;
}

/* 移除下拉菜单箭头指示器 */
.nav-menu .dropdown::after {
    display: none;
}

/* 产品中心 Mega Menu 样式 */
.mega-dropdown {
    position: relative;
}

.mega-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #e6e6e6;
    display: none;
    box-shadow: none;
    background-image: none;
    z-index: 1002;
}

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

.mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 46px 0 40px;
    gap: 0;
}

.mega-menu-column {
    flex: 1;
    min-width: 280px;
    padding: 0 30px;
}

.mega-menu-column:first-child {
    padding-left: 0;
}

.mega-menu-column-wide {
    flex: 2;
    min-width: 560px;
}

.mega-menu-products {
    display: flex;
    gap: 20px;
}

.mega-menu-products .mega-menu-list {
    flex: 1;
}

.mega-menu-list-bordered {
    padding-bottom: 17px;
    margin-bottom: 32px;
}

.mega-menu-title-second {
    margin-top: 32px;
    margin-bottom: 17px;
}

/* 最新资讯 Mega Menu 样式 */
.news-mega-dropdown {
    position: relative;
}

.news-mega-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.news-mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #e6e6e6;
    display: none;
    box-shadow: none;
    background-image: none;
    z-index: 1002;
}

.news-mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 46px 0 40px;
    gap: 0;
    justify-content: center;
}

.news-mega-menu-column {
    flex: 0 0 auto;
    min-width: 200px;
    padding: 0 40px;
    text-align: center;
}

.news-mega-menu-column .mega-menu-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-mega-menu-column .mega-menu-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-mega-menu-column .mega-menu-title a:hover {
    color: #54A1DA;
}

.solution-mega-menu-column .mega-menu-title,
.service-mega-menu-column .mega-menu-title,
.news-mega-menu-column .mega-menu-title,
.about-mega-menu-column .mega-menu-title {
    font-size: 17px;
}

/* 解决方案 Mega Menu 样式 */
.solution-mega-dropdown {
    position: relative;
}

.solution-mega-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.solution-mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #e6e6e6;
    display: none;
    box-shadow: none;
    background-image: none;
    z-index: 1002;
}

.solution-mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 46px 0 40px;
    gap: 30px 0;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.solution-mega-menu-item {
    flex: 0 0 calc(25% - 0px);
    max-width: calc(25% - 0px);
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
}

.solution-mega-menu-item a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.solution-mega-menu-item a:hover {
    color: #54A1DA;
}

/* 服务与支持 Mega Menu 样式 */
.service-mega-dropdown {
    position: relative;
}

.service-mega-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.service-mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #e6e6e6;
    display: none;
    box-shadow: none;
    background-image: none;
    z-index: 1002;
}

.service-mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 46px 0 40px;
    gap: 0;
    justify-content: center;
}

.service-mega-menu-column {
    flex: 0 0 auto;
    min-width: 200px;
    padding: 0 40px;
    text-align: center;
}

.service-mega-menu-column .mega-menu-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service-mega-menu-column .mega-menu-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-mega-menu-column .mega-menu-title a:hover {
    color: #54A1DA;
}

/* 关于华仪 Mega Menu 样式 */
.about-mega-dropdown {
    position: relative;
}

.about-mega-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.about-mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #e6e6e6;
    display: none;
    box-shadow: none;
    background-image: none;
    z-index: 1002;
}

.about-mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 46px 0 40px;
    gap: 0;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.about-mega-menu-column {
    flex: 0 0 auto;
    min-width: 200px;
    padding: 0 40px;
    text-align: center;
}

.about-mega-menu-column .mega-menu-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.about-mega-menu-column .mega-menu-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-mega-menu-column .mega-menu-title a:hover {
    color: #54A1DA;
}

.mega-menu-title {
    font-size: 23px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 17px;
    padding-bottom: 17px;
    border-bottom: 1px solid #E5E5E5;
}

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

.mega-menu-list li {
    margin-bottom: 22px;
}

.mega-menu-list li:last-child {
    margin-bottom: 0;
}

.mega-menu-list a {
    font-size: 17px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.mega-menu-list a:hover {
    color: #54A1DA;
}

/* Banner区域 - 使用宽高比实现等比例缩放 */
.banner {
    width: 100%;
    /* 原始尺寸 1920x755，宽高比约为 2.543:1 */
    aspect-ratio: 1920 / 755;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
}

/* 兼容旧浏览器的fallback */
@supports not (aspect-ratio: 1920 / 755) {
    .banner::before {
        content: '';
        display: block;
        padding-top: calc(755 / 1920 * 100%); /* 39.32% */
    }
}

.banner-slides {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Banner内容样式 */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1400px;
    width: 100%;
    padding: 0 clamp(10px, 1.042vw, 20px);
    z-index: 10;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-content h3 {
    font-size: clamp(16px, 2.708vw, 52px);
    font-weight: bold;
    margin-bottom: clamp(10px, 2.135vw, 41px);
    line-height: 1.2;
}

.banner-content h3.banner-title {
    margin-bottom: 0px;
}

.banner-content h3.banner-subtitle {
    margin-bottom: clamp(10px, 2.135vw, 41px);
}

.banner-content p {
    font-size: clamp(11px, 1.198vw, 23px);
    line-height: 2.0;
    margin-bottom: clamp(8px, 1.563vw, 30px);
}

.banner-description {
    margin-bottom: clamp(8px, 1.563vw, 30px);
}

.banner-desc-line {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.833vw, 16px);
    margin-bottom: clamp(4px, 0.521vw, 10px);
}

.banner-bullet {
    width: clamp(6px, 0.625vw, 12px);
    height: clamp(6px, 0.625vw, 12px);
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.banner-desc-text {
    font-size: clamp(11px, 1.198vw, 23px);
    line-height: 1.5;
    color: white;
}

/* Banner左右切换按钮 */
.banner-arrow {
    position: absolute;
    bottom: clamp(15px, 2.5vw, 48px);
    transform: translateY(1px);
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 8px;
    color: #fff;
}
  .banner-arrow i {
  font-size: clamp(8px, 0.781vw, 15px);
}

.banner-arrow:hover {
    color: #00a8e8;
}

.banner-arrow.prev {
    left: calc(50% - clamp(30px, 5.208vw, 100px));
}

.banner-arrow.next {
    right: calc(50% - clamp(30px, 5.208vw, 100px));
}

.banner-dots {
    position: absolute;
    bottom: clamp(15px, 2.5vw, 48px);
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    display: flex;
    gap: clamp(6px, 0.729vw, 14px);
    z-index: 10;
    align-items: center;
}

.banner-dots .dot {
    width: clamp(7px, 0.677vw, 13px);
    height: clamp(7px, 0.677vw, 13px);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: #00a8e8;
}

/* 产品展示 */
.products-section {
    background: #F5F5F5;
    padding-top: clamp(30px, 3.177vw, 61px);
    padding-bottom: clamp(40px, 4.167vw, 80px);
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(10px, 1.042vw, 20px);
}

.section-header h2 {
    font-size: clamp(20px, 2.083vw, 40px);
    font-weight: bold;
    color: #54565A;
    margin-bottom: clamp(8px, 0.781vw, 15px);
}

.news-section .section-header {
    margin-bottom: clamp(30px, 2.969vw, 57px);
}

.news-section .section-header h2 {
    margin-bottom: clamp(8px, 0.781vw, 15px);
}

.news-section .section-header .subtitle {
    margin: 0;
}

.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-section .view-more-btn {
    margin-top: clamp(28px, 2.865vw, 55px);
}

.section-desc {
    text-align: center;
    font-size: clamp(13px, 0.938vw, 18px);
    color: #666;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: clamp(35px, 3.594vw, 69px);
}

.section-header .subtitle {
    font-size: clamp(13px, 0.938vw, 18px);
    color: #666;
    line-height: 1.6;
    margin-top: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 3.125vw, 60px);
    margin-bottom: clamp(22px, 2.188vw, 42px);
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: clamp(8px, 0.781vw, 15px);
}

.product-tab {
    background: none;
    border: none;
    font-size: clamp(13px, 0.833vw, 16px);
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 8px 5px;
    position: relative;
    transition: color 0.3s;
}

.product-tab.active {
    color: #54A1DA;
}

.product-tab.active::after {
    content: '';
    position: absolute;
    bottom: clamp(-18px, -0.833vw, -16px);
    left: 0;
    right: 0;
    height: clamp(3px, 0.208vw, 4px);
    background: #54A1DA;
    transform: translateY(clamp(2px, 0.156vw, 3px));
}

.products-grid {
    display: flex;
    gap: clamp(10px, 0.781vw, 15px);
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.products-grid .product-card {
    flex: 0 0 clamp(240px, 17.552vw, 337px);
}

.products-swiper .swiper-slide.product-card {
    width: calc((100% - 45px) / 4);
}

@media (max-width: 991px) {
    .products-swiper .swiper-slide.product-card {
        width: calc((100% - 30px) / 3);
    }
}

@media (max-width: 639px) {
    .products-swiper .swiper-slide.product-card {
        width: calc((100% - 15px) / 2);
    }
}

.product-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100% + 100px);
    pointer-events: none;
    z-index: 10;
}

.products-section .product-arrow {
    position: absolute;
    top: 62%!important;
    width: clamp(28px, 2.083vw, 40px);
    height: clamp(28px, 2.083vw, 40px);
    background: transparent !important;
    color: #54A1DA !important;
    border: clamp(1px, 0.104vw, 2px) solid #54A1DA !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    pointer-events: auto;
}

.products-section .product-arrow:hover {
    color: #54A1DA !important;
    border-color: #54A1DA !important;
}

.products-section .product-arrow.prev {
    left: clamp(-50px, -3.646vw, -70px)!important;
}

.products-section .product-arrow.next {
    right: clamp(-50px, -3.646vw, -70px)!important;
}

.products-section .product-arrow i {
    font-size: clamp(11px, 0.833vw, 16px);
}

.products-section .product-arrow.swiper-button-disabled {
    color: #8B8B8B !important;
    border-color: #8B8B8B !important;
    cursor: not-allowed !important;
}

.product-arrow.swiper-button-next, .product-arrow.swiper-button-prev {
    ::slotted(svg), svg {
        display: none !important;
    }
}
.product-card {
    height: auto;
    min-height: clamp(200px, 27.344vw, 525px);
    background: #fff;
    border-radius: clamp(5px, 0.781vw, 15px);
    overflow: hidden !important;
    box-shadow: 0 clamp(1px, 0.156vw, 3px) clamp(6px, 0.781vw, 15px) rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card .product-image-container {
    overflow: hidden !important;
    margin: 0 clamp(6px, 1.042vw, 20px);
    height: clamp(90px, 11.458vw, 220px);
    background: #fff;
}

.product-card:hover .product-image-container {
    background: transparent;
}

.product-card .product-image-container img {
    width: 100%;
    height: clamp(140px, 11.458vw, 220px);
    object-fit: contain;
    display: block;
    vertical-align: top;
    transition: transform 0.3s ease !important;
}

.product-card .product-image-container img:hover {
    transform: scale(1.2) !important;
}

.product-card:hover {
    background: url('/wp-content/themes/neweec/assets/img/productbackground.png') center/cover no-repeat;
    transform: none;
}

.product-card:hover .product-info h3,
.product-card:hover .product-info p {
    color: #fff;
}

.product-card img {
    width: 100%;
    height: clamp(90px, 11.458vw, 220px);
    object-fit: contain;
    display: block;
    vertical-align: top;
}

.product-card img:hover {
    transform: scale(1.2) !important;
}

.product-info {
    flex: 1;
    padding: 0 clamp(6px, 1.042vw, 20px) clamp(6px, 1.042vw, 20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-info h3 {
    font-size: clamp(12px, 1.302vw, 25px);
    font-weight: bold;
    color: #333;
    margin: clamp(3px, 0.521vw, 10px) 0 clamp(6px, 1.042vw, 20px);
    line-height: 1.6;
    width: 100%;
    max-width: clamp(140px, 16.146vw, 310px);
    align-self: center;
    white-space: normal;
    word-break: break-word;
}

.product-info p {
    font-size: clamp(10px, 0.833vw, 16px);
    color: #666;
    line-height: 1.6;
    margin: clamp(3px, 0.521vw, 10px) 0 clamp(6px, 1.042vw, 20px);
    width: 100%;
    max-width: clamp(140px, 15.573vw, 299px);
    align-self: center;
}

.product-btn {
    display: inline-block;
    width: clamp(24px, 2.604vw, 50px);
    height: clamp(24px, 2.604vw, 50px);
    background: #54A1DA;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    align-self: center;
    box-shadow: clamp(2px, 0.26vw, 5px) clamp(2px, 0.26vw, 5px) clamp(6px, 0.781vw, 15px) rgba(84, 161, 218, 0.5), clamp(4px, 0.521vw, 10px) clamp(4px, 0.521vw, 10px) clamp(12px, 1.563vw, 30px) rgba(84, 161, 218, 0.3), clamp(6px, 0.781vw, 15px) clamp(6px, 0.781vw, 15px) clamp(18px, 2.344vw, 45px) rgba(84, 161, 218, 0.1);
}

.product-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(7px, 0.781vw, 15px);
    height: clamp(7px, 0.781vw, 15px);
    background: url('/wp-content/themes/neweec/assets/img/jia.png') center/contain no-repeat;
}

.product-btn:hover {
    transform: scale(1.05);
}

.view-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(20px, 2.083vw, 40px);
}

.view-more-btn a {
    width: clamp(100px, 9.219vw, 177px);
    height: clamp(32px, 2.760vw, 53px);
    background: #54A1DA;
    color: #fff;
    border-radius: clamp(16px, 1.38vw, 26.5px);
    text-decoration: none;
    font-size: clamp(11px, 0.938vw, 18px);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: clamp(20px, 2.344vw, 45px);
}

.view-more-btn a::after {
    content: '';
    position: absolute;
    right: clamp(5px, 0.521vw, 10px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(24px, 2.344vw, 45px);
    height: clamp(24px, 2.344vw, 45px);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-more-btn a::before {
    content: '';
    position: absolute;
    right: clamp(14px, 1.38vw, 26.5px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(7px, 0.625vw, 12px);
    height: clamp(7px, 0.625vw, 12px);
    background: url('/wp-content/themes/neweec/assets/img/jia2.png') center/contain no-repeat;
    z-index: 1;
}

.view-more-btn a:hover {
    background: #3a87c9;
}

.view-more-btn a:hover::after {
    background: #fff;
}

/* Banner区域了解更多按钮单独样式 */
.banner-content .view-more-btn {
    margin-top: clamp(10px, 1.042vw, 20px);
}

.banner-content .view-more-btn a {
    background: linear-gradient(90deg, rgba(84,161,218,0.76) 0%, rgba(255,255,255,0.18) 100%);
    width: clamp(100px, 9.219vw, 177px);
    height: clamp(32px, 2.760vw, 53px);
    font-size: clamp(11px, 0.938vw, 18px);
    border-radius: clamp(16px, 1.38vw, 26.5px);
    padding-right: clamp(20px, 2.344vw, 45px);
}

.banner-content .view-more-btn a::after {
    width: clamp(24px, 2.344vw, 45px);
    height: clamp(24px, 2.344vw, 45px);
    right: clamp(5px, 0.521vw, 10px);
}

.banner-content .view-more-btn a::before {
    right: clamp(14px, 1.38vw, 26.5px);
    width: clamp(7px, 0.625vw, 12px);
    height: clamp(7px, 0.625vw, 12px);
}

.banner-content .view-more-btn a:hover {
    background: linear-gradient(90deg, rgba(84,161,218,0.9) 0%, rgba(255,255,255,0.3) 100%);
}

/* 最新资讯 */
.news-section {
    background: #fff;
    padding: clamp(36px, 3.75vw, 72px) 0;
    height: auto;
}

.news-section .section-desc {
    margin-top: clamp(12px, 1.198vw, 23px);
    margin-bottom: clamp(4px, 0.365vw, 7px);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.083vw, 40px);
}

.news-main {
    background: #F7F7F7;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden !important;
    width: 100%;
    height: auto;
    position: relative;
}

.news-main-image-container {
    overflow: hidden !important;
    width: 100%;
    height: clamp(180px, 18.177vw, 349px);
    position: relative;
    display: block;
}

.news-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #54A1DA;
}

.news-main-image-container img {
    width: 100%;
    height: clamp(180px, 18.177vw, 349px);
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease !important;
    position: relative;
    z-index: 1;
}

.news-main-image-container img:hover {
    transform: scale(1.2) !important;
}

.news-main-content {
    padding: clamp(13px, 1.302vw, 25px);
    height: auto;
}

.news-main-content .date {
    font-size: clamp(12px, 0.781vw, 15px);
    color: #999;
    margin-bottom: clamp(5px, 0.521vw, 10px);
}

.news-main-content h3 {
    font-size: clamp(15px, 1.094vw, 21px);
    font-weight: bold;
    margin-bottom: clamp(6px, 0.625vw, 12px);
    color: #333;
    line-height: 1.4;
}

.news-main-content p {
    font-size: clamp(13px, 0.833vw, 16px);
    color: #666;
    line-height: 1.7;
    margin-bottom: clamp(8px, 0.781vw, 15px);
}

.news-main-content .read-more {
    color: #54A1DA;
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

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

.news-list {
    display: flex;
    flex-direction: column;
    gap: clamp(13px, 1.302vw, 25px);
    width: 100%;
}

.news-item {
    background: #F7F7F7;
    border-radius: clamp(15px, 1.563vw, 30px);
    overflow: hidden !important;
    display: flex;
    width: 100%;
    min-height: clamp(100px, 9.271vw, 178px);
    height: auto;
}

.news-item:hover {
}

.news-item .news-image-container {
    overflow: hidden !important;
    margin: clamp(8px, 0.781vw, 15px);
    width: clamp(130px, 12.396vw, 238px);
    height: clamp(80px, 7.708vw, 148px);
}

.news-item .news-image-container img {
    width: 100%;
    height: clamp(80px, 7.708vw, 148px);
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease !important;
}

.news-item .news-image-container img:hover {
    transform: scale(1.2) !important;
}

.news-item-content {
    padding: clamp(10px, 0.938vw, 18px);
    flex: 1;
}

.news-item-content .date {
    font-size: clamp(12px, 0.781vw, 15px);
    color: #999;
    margin-bottom: clamp(3px, 0.313vw, 6px);
}

.news-item-content h4 {
    font-size: clamp(15px, 1.094vw, 21px);
    font-weight: bold;
    margin-bottom: clamp(4px, 0.417vw, 8px);
    color: #333;
    line-height: 1.4;
}

.news-item-content p {
    font-size: clamp(13px, 0.833vw, 16px);
    color: #666;
    line-height: 1.5;
}



/* 公司简介 */
.about-section {
    padding: clamp(30px, 3.177vw, 61px) 0 clamp(40px, 4.167vw, 80px);
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #fafafa url('/wp-content/themes/neweec/assets/img/about1.png') center top / cover no-repeat;
    z-index: 1;
}

.about-header {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(10px, 1.042vw, 20px);
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: clamp(30px, 2.969vw, 57px);
}

.about-header h2 {
    font-size: clamp(20px, 2.083vw, 40px);
    font-weight: bold;
    margin-bottom: clamp(8px, 0.781vw, 15px);
    color: #54565A;
}

.about-header .subtitle {
    font-size: clamp(13px, 0.938vw, 18px);
    color: #666;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

.about-body {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: clamp(20px, 2.083vw, 40px);
    position: relative;
    z-index: 1;
    padding: 0 clamp(10px, 1.042vw, 20px);
}

.about-image {
    width: 50%;
    max-width: 666px;
    height: auto;
    aspect-ratio: 666 / 417;
    overflow: hidden !important;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    z-index: 1;
    will-change: transform;
}

.about-image img:hover {
    transform: scale(1.2) !important;
}

.about-image:hover {
    transform: none !important;
}

.about-content {
    flex: 1;
    margin-top: clamp(20px, 1.979vw, 38px);
}

.about-paragraph {
    display: flex;
    margin-bottom: clamp(25px, 2.5vw, 48px);
    align-items: flex-start;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.about-icon {
    width: clamp(20px, 1.615vw, 31px);
    height: clamp(20px, 1.615vw, 31px);
    margin-right: clamp(10px, 1.042vw, 20px);
    flex-shrink: 0;
    margin-top: clamp(4px, 0.417vw, 8px);
}

.about-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: clamp(13px, 0.781vw, 15px);
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.about-stats {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: auto;
    min-height: clamp(80px, 7.552vw, 145px);
    margin-top: clamp(24px, 2.448vw, 47px);
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 2.031vw, 39px) clamp(10px, 1.042vw, 20px);
    background: #fff;
    box-shadow: 0px 3px 13px 0px rgba(6,0,1,0.06);
    position: relative;
    z-index: 1;
}

.stat-box {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat-box:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 106px;
    background: #E3E3E3;
    z-index: 1;
}

.stat-box:not(:first-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top:0;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: #54A1DA;
    z-index: 2;
}

.stat-box .logo {
    margin-bottom: clamp(7px, 0.677vw, 13px);
}

.stat-box .logo img {
    max-height: clamp(25px, 2.083vw, 40px);
    width: auto;
}

.stat-box .number {
    font-size: clamp(22px, 2.083vw, 40px);
    font-weight: bold;
    color: #54A1DA;
    margin-bottom: clamp(7px, 0.677vw, 13px);
}

.stat-box .label {
    font-size: clamp(13px, 0.938vw, 18px);
    color: #000000;
}

.about-section .view-more-btn {
    margin-top: clamp(25px, 2.5vw, 48px);
}

/* 服务客户 */
.clients-section {
    padding: clamp(60px, 6.927vw, 133px) 0;
    min-height: auto;
    position: relative;
    z-index: 10;
    margin-top: -90px;
    background: transparent;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wp-content/themes/neweec/assets/img/kehu.png') top/cover no-repeat;
    z-index: -1;
}

.clients-section .section-header {
    margin-bottom: clamp(30px, 2.969vw, 57px);
}

.clients-section .section-header h2 {
    color: #fff;
    font-size: clamp(20px, 2.083vw, 40px);
    margin-bottom: clamp(8px, 0.781vw, 15px);
}

.clients-section .section-header .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: clamp(13px, 0.938vw, 18px);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

.clients-container {
    position: relative;
    width: 100%;
    padding: 0 clamp(10px, 1.042vw, 20px);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: clamp(9px, 0.885vw, 17px);
    background: #fff;
    padding: clamp(20px, 2.083vw, 40px);
    border-radius: clamp(11px, 1.094vw, 21px);
    width: 100%;
}

.clients-arrows {
    position: absolute;
    bottom: clamp(-50px, -3.646vw, -70px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(10px, 1.042vw, 20px);
}

.client-arrow {
    width: clamp(28px, 1.979vw, 38px);
    height: clamp(28px, 1.979vw, 38px);
    background: #54A1DA;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: clamp(10px, 0.625vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.client-arrow:hover {
    background: #3a87c9;
    transform: scale(1.1);
}

.client-arrow i {
    width: 12px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: clamp(8px, 0.781vw, 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(45px, 3.906vw, 75px);
    width: 100%;
    transition: none;
    overflow: hidden !important;
    position: relative;
}

.client-item:hover {
    box-shadow: none !important;
    transform: none !important;
}

.client-item .client-image-container {
    overflow: hidden !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.client-item .client-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease !important;
    position: relative;
    z-index: 1;
}

/* 确保只有这个选择器生效 */
.client-item .client-image-container img:hover {
    transform: scale(1.2) !important;
}

/* 支持直接在.client-item中的图片 */
.client-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease !important;
    position: relative;
    z-index: 1;
}

.client-item img:hover {
    transform: scale(1.2) !important;
}

.client-image-container:hover {
    transform: none !important;
}

/* 关于华仪页面客户卡片图片悬停效果 */
.client-card img {
    transition: transform 0.3s ease !important;
}

.client-card img:hover {
    transform: scale(1.2) !important;
}


/* 页脚 */
.footer {
    background: url('/wp-content/themes/neweec/assets/img/footer.png') center/cover no-repeat;
    color: #fff;
    height: 621px;
}

.footer-top {
    height: 533px;
    position: relative;
    z-index: 2;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 49px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-logo {
    margin-left: 0;
}

.footer-anniversary {
    margin-top: 0;
    margin-left: auto;
    margin-right: 19px;
}

.footer-bottom {
    height: 88px;
    border-top: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    gap: 20px;
    width: 100%;
}

.footer-col h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #fff;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
}

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

.footer-col:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-col:last-child .footer-links {
    flex: 1;
}

.footer-social-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 24px;
    width: 131px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 27px;
}

.qr-code {
    width: 131px;
    height: 131px;
    background: #fff;
    border-radius: 4px;
    padding: 5px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.footer-social-icons a {
    display: block;
    width: 40px;
    height: 40px;
 
    border-radius: 50%;
    padding: 5px;
    position: relative;
    z-index: 1;
}

.footer-social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
}

.footer-social-icons a:hover {
  
}

.footer-copyright p {
    font-size: 16px;
    color: #fff;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links-bottom a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links-bottom span {
    color: #fff;
    font-size: 16px;
}

.footer-links-bottom a:hover {
    color: #0066cc;
}

/* 右侧浮动按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
}

.floating-btn {
    width: 61px;
    height: 61px;
    background: #54A1DA;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.floating-btn:hover {
    transform: scale(1.05);
}

.floating-btn img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.floating-btn.arrow-btn {
    width: 61px;
    height: 38px;
    margin-top: 17px;
    border-radius: 2px;
    background: #fff;
}

/* 关于华仪页面样式 */
.about-banner {
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}



.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.banner-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.banner-tabs .tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #54A1DA;
    border-radius: 20px;
    color: #54A1DA;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.banner-tabs .tab.active {
    font-weight: bold;
}

.about-company {
    padding: 80px 0;
    background: #fff;
}

.about-company .about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-company .about-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

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

.about-company .about-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-company .stat-item {
    text-align: center;
}

.about-company .stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #54A1DA;
    margin-bottom: 10px;
}

.about-company .stat-label {
    font-size: 16px;
    color: #666;
}

.sales-locations {
    padding: 80px 0;
    background: #f9f9f9;
}

.sales-locations h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.map-container {
    text-align: center;
}

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

.industry-applications {
    padding: 80px 0;
    background: #fff;
}

.industry-applications h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

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

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

.application-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.application-label {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.about-products {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-products h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.products-container {
    display: flex;
    gap: 40px;
}

.product-categories {
    width: 200px;
    border-right: 1px solid #e0e0e0;
}

.category-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    color: #666;
}

.category-item.active {
    background: #54A1DA;
    color: #fff;
}

.product-list {
    flex: 1;
}

.product-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 新首页样式 */
.main-banner {
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/wp-content/themes/neweec/assets/img/banner-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-align: center;
    z-index: 1;
}

.company-intro {
    padding: 80px 0;
    background: #fff;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #54A1DA;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
}

.stat-plus {
    font-size: 30px;
}

.sales-network {
    padding: 80px 0;
    background: #f9f9f9;
}

.network-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.network-content h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.network-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.world-map {
    max-width: 800px;
    margin: 0 auto;
}

.world-map img {
    width: 100%;
    height: auto;
}

.product-applications {
    padding: 80px 0;
    background: #fff;
}

.product-applications h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.applications-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.application-item {
    position: relative;
    width: 250px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.application-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.product-showcase {
    padding: 80px 0;
    background: #f9f9f9;
}

.product-showcase h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.product-category {
    flex: 1;
    background: #54A1DA;
    padding: 40px;
    border-radius: 8px;
    color: #fff;
}

.product-category h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

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

.category-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    background: rgba(255,255,255,0.2);
}

.category-item.active {
    background: #fff;
    color: #54A1DA;
    font-weight: bold;
}

.product-details {
    flex: 2;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-header h3 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-header p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

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

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.feature-label {
    font-size: 16px;
    color: #333;
}

.feature-value {
    font-size: 16px;
    font-weight: bold;
    color: #54A1DA;
}



.products-swiper{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

