/**
 * Pages Styles
 * All page-specific styles matching original HTML design
 *
 * @package Astra_Powerbank
 * @since 1.0.0
 */

/* ============================================
   CSS Variables (Global)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-green: #1cb43d;
    --secondary-green: #1ed946;
    --light-green: #c6dabf;
    --dark-green: #114b5f;
    --accent-green: #2ecc71;
    --text-dark: #333;
    --text-light: #fff;
    --gray-bg: #f8f9fa;
    --border-light: #e9ecef;
    
    /* Header Height - 导航栏高度 */
    --site-header-height: 120px;    /* 固定导航栏高度（包含padding和内容），用于计算banner位置 */
    
    /* Typography Scale - Unified Font Size System */
    --font-size-hero: 60px;        /* Hero/Page Main Title */
    --font-size-h1: 60px;          /* Main Section Title */
    --font-size-h2: 48px;          /* Section Subtitle */
    --font-size-h3: 24px;          /* Subsection Title */
    --font-size-h4: 20px;          /* Card Title/Small Heading */
    --font-size-body-large: 18px;  /* Important Description Text */
    --font-size-body: 16px;        /* Regular Body Text */
    --font-size-body-small: 14px;  /* Secondary/Helper Text */
    --font-size-caption: 12px;     /* Caption/Meta Text */
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
}

/* ============================================
   俄语页面全屏显示修复 - 使用正确的类名
   ============================================ */
/* 俄语页面：允许Banner和Contact突破容器 */
html[lang="ru"] body,
html[lang^="ru-"] body,
html[lang="ru_RU"] body {
    overflow-x: hidden !important;
}

html[lang="ru"] #page,
html[lang^="ru-"] #page,
html[lang="ru_RU"] #page,
html[lang="ru"] .site,
html[lang^="ru-"] .site,
html[lang="ru_RU"] .site,
html[lang="ru"] #primary,
html[lang^="ru-"] #primary,
html[lang="ru_RU"] #primary {
    overflow-x: visible !important;
}

/* 俄语导航栏容器宽度限制 - 与内容一致1280px */
html[lang="ru"] header .ast-container,
html[lang^="ru-"] header .ast-container,
html[lang="ru_RU"] header .ast-container,
html[lang="ru"] header .container,
html[lang^="ru-"] header .container,
html[lang="ru_RU"] header .container,
html[lang="ru"] .site-header .ast-container,
html[lang^="ru-"] .site-header .ast-container,
html[lang="ru_RU"] .site-header .ast-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}


/* 希腊语导航菜单文字大小和间距调整 - 确保一行显示 */
html[lang="el"] header .nav-links,
html[lang^="el-"] header .nav-links,
html[lang="el_GR"] header .nav-links,
html[lang="el"] .site-header .nav-links,
html[lang^="el-"] .site-header .nav-links,
html[lang="el_GR"] .site-header .nav-links {
    gap: 0.5rem !important;
}

html[lang="el"] header .nav-links li,
html[lang^="el-"] header .nav-links li,
html[lang="el_GR"] header .nav-links li,
html[lang="el"] .site-header .nav-links li,
html[lang^="el-"] .site-header .nav-links li,
html[lang="el_GR"] .site-header .nav-links li {
    margin-left: 20px !important;
    margin-right: 0 !important;
}

html[lang="el"] header .nav-links li:first-child,
html[lang^="el-"] header .nav-links li:first-child,
html[lang="el_GR"] header .nav-links li:first-child {
    margin-left: 0 !important;
}

html[lang="el"] header .nav-links a,
html[lang^="el-"] header .nav-links a,
html[lang="el_GR"] header .nav-links a,
html[lang="el"] .site-header .nav-links a,
html[lang^="el-"] .site-header .nav-links a,
html[lang="el_GR"] .site-header .nav-links a {
    font-size: 15px !important;
    white-space: nowrap !important;
    padding: 0.5rem 0 !important;
}

/* 希腊语下拉菜单优化 - 让下拉菜单更容易点击和对齐 */
html[lang="el"] header .nav-links .menu-item-has-children,
html[lang^="el-"] header .nav-links .menu-item-has-children,
html[lang="el_GR"] header .nav-links .menu-item-has-children {
    position: relative !important;
}

html[lang="el"] header .nav-links .sub-menu,
html[lang^="el-"] header .nav-links .sub-menu,
html[lang="el_GR"] header .nav-links .sub-menu {
    margin-top: 0 !important;
    padding: 0.5rem 1rem !important; /* 增加左右内边距，不要顶格显示 */
    text-align: left !important; /* 左对齐 */
}

html[lang="el"] header .nav-links .sub-menu li,
html[lang^="el-"] header .nav-links .sub-menu li,
html[lang="el_GR"] header .nav-links .sub-menu li {
    text-align: left !important;
}

html[lang="el"] header .nav-links .sub-menu a,
html[lang^="el-"] header .nav-links .sub-menu a,
html[lang="el_GR"] header .nav-links .sub-menu a {
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html[lang="el"] header .nav-links .menu-item-has-children:hover > .sub-menu,
html[lang^="el-"] header .nav-links .menu-item-has-children:hover > .sub-menu,
html[lang="el_GR"] header .nav-links .menu-item-has-children:hover > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html[lang="el"] header .nav-links .sub-menu:hover,
html[lang^="el-"] header .nav-links .sub-menu:hover,
html[lang="el_GR"] header .nav-links .sub-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 俄语首页Banner强制全屏 - 使用正确的.topway-hero类 */
html[lang="ru"] .topway-hero,
html[lang^="ru-"] .topway-hero,
html[lang="ru_RU"] .topway-hero,
html[lang="ru"] .hero-slider,
html[lang^="ru-"] .hero-slider,
html[lang="ru_RU"] .hero-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* 俄语首页About全屏背景色 */
html[lang="ru"] .about,
html[lang^="ru-"] .about,
html[lang="ru_RU"] .about,
html[lang="ru"] section.about,
html[lang^="ru-"] section.about,
html[lang="ru_RU"] section.about {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* 俄语首页Contact表单强制全屏背景色 - 使用正确的.home-contact-form类 */
html[lang="ru"] .home-contact-form,
html[lang^="ru-"] .home-contact-form,
html[lang="ru_RU"] .home-contact-form,
html[lang="ru"] section.home-contact-form,
html[lang^="ru-"] section.home-contact-form,
html[lang="ru_RU"] section.home-contact-form {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* ============================================
   Global Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
    overflow-x: hidden;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-size: var(--font-size-body);
}

/* Global Typography Hierarchy */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 500;
    line-height: var(--line-height-tight);
    font-family: "PingFang SC", "Roboto", sans-serif;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 500;
    line-height: var(--line-height-tight);
    font-family: "PingFang SC", "Roboto", sans-serif;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 500;
    line-height: var(--line-height-normal);
    font-family: "PingFang SC", "Roboto", sans-serif;
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 500;
    line-height: var(--line-height-normal);
    font-family: "PingFang SC", "Roboto", sans-serif;
}

p {
    font-size: var(--font-size-body);
    line-height: var(--line-height-relaxed);
    font-family: "PingFang SC", "Roboto", sans-serif;
}

/* ============================================
   Container Compatibility
   ============================================ */
/* Support both .container (original HTML) and .ast-container (Astra theme) */
.topway-section .container,
.topway-section .ast-container,
.hero .container,
.hero .ast-container,
.topway-hero .container,
.topway-hero .ast-container,
.page-hero .container,
.page-hero .ast-container,
header .container,
header .ast-container,
footer .container,
footer .ast-container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
}

/* Mobile container adjustments */
@media (max-width: 768px) {
    .topway-section .container,
    .topway-section .ast-container,
    .hero .container,
    .hero .ast-container,
    .topway-hero .container,
    .topway-hero .ast-container,
    .page-hero .container,
    .page-hero .ast-container,
    header .container,
    header .ast-container,
    footer .container,
    footer .ast-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Global centering for all sections and modules */
.topway-section,
.section,
section {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure all section titles are centered */
.section-title h2,
.section-title p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* ============================================
   Home Page Styles
   ============================================ */

/* Hero Section - Support both .hero and .topway-hero */
.hero,
.topway-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: var(--text-light);
    text-align: left;
    padding-top: 80px;
    margin-top: -80px;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
}

.hero-slide .ast-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content,
.topway-hero-content {
    width: 521px;
    height: 489px;
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 3rem 3.5rem;
    border-radius: 15px;
    border: 1px solid #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.hero h1,
.topway-hero h1 {
    width: 100%;
    max-width: 700px; /* 增加宽度以确保两行显示 */
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: 42px; /* 缩小字体以确保两行显示 */
    color: #FFFFFF;
    line-height: 1.3; /* 调整行高 */
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-style: normal;
    text-transform: none;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    box-sizing: border-box;
    overflow: visible;
    word-break: break-word;
}

.hero p,
.topway-hero p {
    width: 100%;
    max-width: 100%;
    min-height: 102px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 400;
    font-size: var(--font-size-h4);
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 2.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out;
    box-sizing: border-box;
    line-height: normal;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

/* Hero Navigation Buttons */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.hero-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-green);
    transform: scale(1.1);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

/* Hero Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-dot.active {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    width: 30px;
    border-radius: 6px;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2ecc71;
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #2ecc71;
    font-size: var(--font-size-body);
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
    text-align: center;
    height: auto;
    min-height: 54px;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

.btn:hover {
    background-color: #2ecc71;
    color: var(--text-light);
    border-color: #2ecc71;
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    border-radius: 30px;
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 1rem 2.5rem;
    font-size: var(--font-size-body);
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    height: auto;
    min-height: 54px;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--text-light);
}

/* CTA section button outline style */
.contact-cta .btn-outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.contact-cta .btn-outline:hover {
    background-color: #ffffff !important;
    color: var(--dark-green) !important;
}

.btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}

/* Hero Section Button Container - Reduce width by one quarter */
.hero-content .btn-container,
.topway-hero-content .btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Banner蒙版按钮样式 */
.topway-hero-content .btn,
.hero-content .btn {
    width: 195px;
    height: 67px;
    background: #13BF66;
    border-radius: 33px;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-body);
    color: #FFFFFF;
    line-height: 18px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* Banner蒙版右侧按钮样式（Our Products） */
.topway-hero-content .btn-outline,
.hero-content .btn-outline {
    width: 195px;
    height: 67px;
    border-radius: 33px;
    border: 2px solid #FFFFFF;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: transparent;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-body);
    color: #FFFFFF;
    line-height: 18px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* Section Styles */
.topway-section {
    padding: 4rem 0;
}

/* Reduce padding for products section specifically */
#products.topway-section {
    padding: 3rem 0 !important;
}

.section-title {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Reduce margin for products section title */
#products .section-title {
    margin-bottom: 1.5rem !important;
}

.section-title h2 {
    font-size: var(--font-size-h1);
    margin-bottom: 0.8rem;
    color: var(--light-green);
    position: relative;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Reduce title size for products section */
#products .section-title h2 {
    width: 486px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}

.section-title h2:after {
    display: none; /* 隐藏所有模块名称下面的绿色横线 */
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: #666;
    font-size: var(--font-size-body-large);
    line-height: var(--line-height-relaxed);
}

/* Solution page section title description */
.solutions .section-title p,
.page-solution .solutions .section-title p {
    width: 1200px;
    height: 34px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    max-width: 1200px;
    margin: 1.5rem auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Override for products-list section on news page */
.products-list .section-title p {
    font-size: var(--font-size-h3) !important;
}

/* Override for page-news and products-list to ensure 24px font size */
.page-news .section-title p,
.products-list .section-title p {
    font-size: var(--font-size-h3) !important;
}

#products .section-title p {
    width: 910px;
    height: 34px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    max-width: 910px;
    margin: 1.5rem auto 0;
    box-sizing: border-box;
}

/* Advantages */
.advantages {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.advantages .section-title h2 {
    width: auto;
    max-width: 100%;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center !important;
    font-style: normal;
    text-transform: none;
    white-space: nowrap;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}

.advantages .section-title p {
    width: auto;
    max-width: 100%;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Solution page "Why Choose Our Solutions" section description - 更具体的选择器避免冲突 */
.solutions.topway-section:has(.advantages-grid) .section-title p,
.page-solution .solutions.topway-section .section-title p {
    width: 910px;
    height: 34px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    max-width: 910px;
    margin: 1.5rem auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.advantages:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 1;
}

.advantages .ast-container,
.advantages .container {
    position: relative;
    z-index: 2;
}

/* ==========================
   Homepage: show entire banner
   Use `contain` so the full image is visible (no cropping),
   and set a large viewport-based height so the image has space.
   Adjust padding to account for fixed header.
========================== */
body.home .page-hero,
.home .page-hero,
body.front-page .page-hero,
.front-page .page-hero {
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    height: 80vh !important; /* give banner enough vertical space to show whole image */
    min-height: 420px !important;
    overflow: visible !important; /* allow full image visible if it exceeds container */
    padding-top: calc(var(--site-header-height, 88px) + 8px) !important; /* avoid header overlap */
    padding-bottom: 1.5rem !important;
    background-color: transparent !important;
}

/* ensure inner container doesn't add background or collapse */
body.home .page-hero .ast-container,
.home .page-hero .ast-container,
body.front-page .page-hero .ast-container,
.front-page .page-hero .ast-container {
    background: transparent !important;
    padding: 0 !important;
}

/* If hero has an overlay, keep it hidden on home so image is clear */
body.home .page-hero .page-hero-overlay,
.home .page-hero .page-hero-overlay,
body.front-page .page-hero .page-hero-overlay,
.front-page .page-hero .page-hero-overlay {
    display: none !important;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-items: center; /* 卡片在grid cell中居中 */
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        max-width: 380px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.advantage-item {
    width: 380px;
    height: 282px;
    background: #FFFFFF;
    border-radius: 15px;
    border: 1px solid #D9D9D9;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    box-shadow: none;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.advantage-item:hover {
    width: 380px;
    height: 282px;
    background: #16D572;
    border-radius: 15px;
    border: none;
    transform: none;
    box-shadow: none;
}

.advantage-item h3 {
    width: 343px;
    height: 29px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #0F181F;
    line-height: 29px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 40px auto 34px;
    transition: color 0.3s;
    box-sizing: border-box;
}

.advantage-item:hover h3 {
    width: 343px;
    height: 29px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 29px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 40px auto 34px;
    box-sizing: border-box;
}

.advantage-item p {
    width: 348px;
    height: 75px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 18px !important;
    color: #0F181F;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: -10px !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: color 0.3s;
    box-sizing: border-box;
    position: relative;
    top: -10px;
}

.advantage-item:hover p {
    width: 348px;
    height: 75px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 18px !important;
    color: #FFFFFF;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: -10px !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    position: relative;
    top: -10px;
}

.advantage-item .advantage-icon {
    display: none !important; /* 隐藏白色图标块 */
}

.advantage-item:hover .advantage-icon {
    display: none !important; /* 悬停时也隐藏 */
}

.advantage-card {
    /* width: 380px;
    height: 394px; */
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #D9D9D9;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0 auto; /* 居中 */
}


.advantage-card:before,
.advantage-card:after {
    display: none;
}

.advantage-card:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Show shadow on hover */
    border-color: #e0e0e0; /* Keep border color on hover */
}

.advantage-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 0;
    background: #FFFFFF; /* 改为白色背景 */
    border: none; /* 无边框 */
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 20px auto 1.2rem auto; /* 上边距增加20px，整体下移 */
    color: #2ecc71;
    font-size: 0 !important;
    position: relative;
    z-index: 2;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* advantage-card中的图标使用白色背景 */
.advantage-card .advantage-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    margin: 10px auto 1.5rem auto !important; /* 上边距增加10px，整体下移 */
}

.advantage-icon i {
    display: none !important;
}

.advantage-icon img,
.advantage-card .advantage-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.advantage-card {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.advantage-card h3 {
    width: 100%;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-sizing: border-box;
}

.advantage-card p {
    width: 306px;
    height: 100px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    margin-top: calc(0.8rem + 15px);
    flex: 1;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

/* About Section */
.about {
    background-color: #333333;
    color: #ffffff;
    padding: 4rem 0;
}

.about-section-title {
    text-align: center;
    margin-bottom: 3rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-section-title h2 {
    /* width: 312px; */
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center !important;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 1.5rem !important;
    display: block !important;
    box-sizing: border-box;
}

.about-section-title p {
    /* width: 1200px;
    height: 102px; */
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #FFFFFF;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    flex-direction: row;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    width: 480px;
    height: 24px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h3);
    color: #FFFFFF;
    line-height: 24px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.about-text > p {
    width: 689px;
    height: 224px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h4);
    color: #FFFFFF;
    line-height: 28px;
    text-align: justified;
    font-style: normal;
    text-transform: none;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 38px;
    height: 38px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16D572;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.feature-content h4 {
    width: auto;
    height: 30px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #FFFFFF;
    line-height: 30px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    white-space: nowrap;
}

.feature-content p {
    width: auto;
    height: 30px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #FFFFFF;
    line-height: 30px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.about-image {
    width: 446px;
    height: 599px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.about-image img {
    width: 446px;
    height: 599px;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s;
    object-fit: cover;
    box-sizing: border-box;
}

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

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.product-card {
    width: 380px;
    height: 705px; /* 调整高度：544px + (380px - 219px) = 705px */
    min-height: 705px;
    max-height: 705px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    border-color: #e0e0e0 !important;
}

.product-image {
    width: 380px;
    height: 380px;
    border-radius: 12px 12px 0 0 !important; /* 顶部圆角，底部两个角都是直角 */
    overflow: hidden;
    box-sizing: border-box;
    background-color: #FFFFFF; /* 改为白色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain，完整显示图片 */
    object-position: center;
    border-radius: 12px 12px 0 0 !important; /* 顶部圆角，底部两个角都是直角 */
    display: block;
}

/* Homepage products - ensure bottom corners are square */
/* #products .product-image,
#products .product-image img {
    width: 380px !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    border-radius: 12px 12px 0 0 !important; 
    box-shadow: none !important;
    object-position: center !important;
    box-sizing: border-box;
} */
#products .product-image {
    background-color: #FFFFFF !important; /* 改为白色背景 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 产品列表页 - 确保底部两个角都是直角 */
.products-list .product-image,
.products-list .product-image img,
.page-product .product-image,
.page-product .product-image img {
    border-radius: 12px 12px 0 0 !important; /* 顶部圆角，底部两个角都是直角 */
    width: 380px !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    object-fit: contain !important; /* 完整显示图片 */
    object-position: center !important;
}
.products-list .product-image,
.page-product .product-image {
    background-color: #FFFFFF !important; /* 改为白色背景 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#products .product-card {
    height: 705px !important; /* 调整高度：544px + (380px - 219px) = 705px */
    min-height: 705px !important;
    max-height: 705px !important;
    border-radius: 12px !important;
}

/* 首页产品横线和文字上移3px */
#products .product-info h3:after {
    margin: calc(0.8rem + 14px) auto 0 !important;
    top: calc(100% - 6px) !important;
}

#products .product-info p {
    margin: calc(1.5rem + 14px) 0 0 !important;
}

.product-card:hover .product-image img {
    transform: none !important; /* 去掉图片放大效果 */
}

.product-info {
    padding: 2.5rem 1.8rem 1.8rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-info h3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #16D572;
    line-height: 1.4 !important;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
}

.product-info h3:after {
    content: '';
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 0px;
    border: 1px solid #D9D9D9;
    border-top: 1px solid #D9D9D9;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin: calc(0.8rem + 14px) auto 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% - 6px);
    box-sizing: border-box;
}

.product-info p::before {
    display: none;
}

.product-info h3 a.product-title-link {
    color: #16D572;
    text-decoration: none;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.product-info h3 a.product-title-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

.product-info p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 1.5 !important;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: calc(1.5rem + 14px) 0 0;
    overflow: visible !important;
    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    line-clamp: unset !important;
    box-sizing: border-box;
}

.product-info p a.product-desc-link {
    color: #0F181F;
    text-decoration: none;
    transition: opacity 0.3s;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    line-height: 25px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.product-info p a.product-desc-link:hover {
    opacity: 0.8;
    color: #0F181F;
    text-decoration: none;
}

.product-specs {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
    flex: 1;
    min-height: 0;
}

.product-specs li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    min-height: 1.5rem;
}

.product-specs li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    margin-right: 0.5rem;
}

/* Text truncation for product specs */
.product-specs li span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-specs i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

.product-link {
    width: 141px;
    height: 37px;
    background: #16D572;
    border-radius: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-caption);
    line-height: 17px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding: 0 0.8rem;
    box-sizing: border-box;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.product-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
    color: #ffffff;
    font-size: var(--font-size-caption);
}

.product-link:hover {
    background-color: #13BF66;
    color: #FFFFFF !important;
}

.product-link:hover i {
    transform: translateX(3px);
    color: #FFFFFF !important;
}

/* Solutions */
.solutions {
    background-color: #FFFFFF !important; /* 白色背景 */
    padding-top: 3rem !important; /* 增加顶部间距，避免遮挡banner */
    position: relative;
    z-index: 1; /* 确保在banner下方 */
}

/* 解决方案页面所有容器背景改为白色 */
/* body.page-template-page-solution,
body.page-template-page-solution #primary,
body.page-template-page-solution .page-content,
body.page-template-page-solution .ast-container,
body.page-template-page-solution .site-content,
body.page-template-page-solution .content-area,
.page-solution #primary,
.page-solution .page-content,
.page-solution .ast-container,
.page-solution .site-content,
.page-solution .content-area,
.page-solution .solutions,
.page-solution .solutions-details,
.page-solution .why-choose,
.page-solution section {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
} */

/* Ensure solution page containers are centered */
.page-solution .solutions .ast-container,
.page-solution .solutions.topway-section .ast-container,
.solutions.topway-section .ast-container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Solutions Carousel */
.solutions-carousel-wrapper {
    position: relative;
    margin: 2rem auto 5rem auto;
    padding-bottom: 70px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 1; /* 确保不会遮挡banner */
}

.solutions-carousel-container {
    overflow: hidden;
    position: relative;
    /*max-width: 800px;*/
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.solutions-carousel {
    display: flex;
    /*transition: transform 0.5s ease-in-out;*/
    gap: 0;
}

.solution-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
}

.solution-carousel-nav {
    position: absolute;
    bottom: -60px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 2px solid #2ecc71 !important;
    color: #2ecc71 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.solution-carousel-nav:hover,
.solution-carousel-nav:active,
.solution-carousel-nav:focus,
.solution-carousel-nav.active,
.solution-carousel-nav.selected {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border-color: #2ecc71 !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.solution-carousel-prev {
    left: 50%;
    transform: translateX(calc(-50% - 35px));
}

.solution-carousel-next {
    right: 50%;
    transform: translateX(calc(50% + 35px));
}

@media (max-width: 1200px) {
    .solution-carousel-prev {
        left: 50%;
        transform: translateX(calc(-50% - 35px));
    }
    
    .solution-carousel-next {
        right: 50%;
        transform: translateX(calc(50% + 35px));
    }
}

/* Solutions Scroll Container */
.solutions-scroll-container {
    margin: 2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--gray-bg);
    padding-bottom: 1rem;
    width: 100%;
}

.solutions-scroll-container::-webkit-scrollbar {
    height: 10px;
}

.solutions-scroll-container::-webkit-scrollbar-track {
    background: var(--gray-bg);
    border-radius: 10px;
}

.solutions-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.solutions-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

.solutions-grid-scroll {
    display: flex;
    gap: 3rem;
    width: max-content;
    padding-right: 3rem;
}

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

/* For scroll container (flex layout) */
.solutions-scroll-container .solution-block-link {
    flex: 0 0 calc(50% - 1.5rem);
    min-width: calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
}

/* For grid layout (homepage) */
.solutions-grid .solution-block-link {
    width: 100%;
    height: 100%;
}

@media (min-width: 1200px) {
    .ast-container {
        max-width: 1200px;
    }
    
    .solutions-scroll-container .solution-block-link {
        flex: 0 0 calc((1200px - 3rem) / 2);
        min-width: calc((1200px - 3rem) / 2);
        max-width: calc((1200px - 3rem) / 2);
    }
}

.solution-block {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.solution-block-link:hover {
    text-decoration: none;
    color: inherit;
}

.solution-block-link:hover .solution-block {
    transform: translateY(-10px);
    box-shadow: none;
}


.solution-block:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.solution-image {
    height: 480px;
    overflow: hidden;
    position: relative;
}

.solution-image img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;
    transition: transform 0.5s;*/
}

.solution-block:hover .solution-image img {
  /*  transform: scale(1.05);*/
}

.solution-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-green);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: var(--font-size-body-small);
    font-weight: 600;
}

.solution-content {
    padding: 2rem 2.5rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-content h3 {
    width: auto;
    min-width: 207px;
    height: 21px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #16D572;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 0 0 1.2rem 0;
    white-space: nowrap;
    overflow: visible;
}

.solution-content p {
    width: 483px;
    height: 75px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 0 0 1.5rem 0;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.8rem;
}

.solution-features-column {
    display: flex;
    flex-direction: column;
}

.solution-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: var(--font-size-body);
    color: #2ecc71 !important;
    line-height: 1.4;
}

.solution-features i {
    color: #2ecc71 !important;
    margin-right: 0.7rem;
    font-size: var(--font-size-body-small);
    flex-shrink: 0;
}

.solution-link {
    background-color: #2ecc71;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-body);
    margin-top: auto;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    letter-spacing: 0.5px;
}

.solution-link:hover {
    background-color: #27ae60;
    color: #ffffff;
}

.solution-link i {
    margin-left: 0.5rem;
    color: #ffffff;
}

.solution-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

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

/* Solutions Overview Cards */
.solutions-overview {
    background-color: white;
}

.solutions-overview .section-title h2,
.page-solution .section-title h2,
.solutions .section-title h2 {
    width: auto;
    min-width: 486px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center !important;
    font-style: normal;
    text-transform: none;
    margin-left: auto !important;
    margin-right: auto !important;
    margin: 0 auto;
    white-space: nowrap;
    overflow: visible;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.overview-card {
    background-color: var(--gray-bg);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.overview-card:before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-green);
    top: -75px;
    right: -75px;
    opacity: 0.1;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.overview-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: var(--font-size-h3);
    position: relative;
    z-index: 2;
}

.overview-card h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.overview-card p {
    color: #555;
    position: relative;
    z-index: 2;
}

/* Solutions Details with Tabs */
.solutions-details {
    background-color: #FFFFFF !important;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-btn {
    background-color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-body);
}

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

.tab-btn.active {
    background-color: var(--primary-green);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.solution-detail-content {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.solution-detail-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--light-green) 0%, #88d498 100%);
    color: var(--dark-green);
}

.solution-detail-header h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.solution-detail-header p {
    font-size: 1.1rem;
    color: var(--dark-green);
    opacity: 0.9;
}

.solution-detail-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.solution-detail-body h4 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.solution-detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-detail-features li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
}

.solution-detail-features i {
    color: var(--accent-green);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.solution-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.solution-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.solution-detail-image:hover img {
    transform: scale(1.05);
}

/* Technical Specifications */
.tech-specs {
    background-color: white;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background-color: var(--gray-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.spec-card:hover {
    transform: translateY(-5px);
}

.spec-card h3 {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-card h3 i {
    color: var(--primary-green);
}

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

.spec-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-name {
    color: #555;
}

.spec-value {
    color: var(--dark-green);
    font-weight: 600;
}

/* Success Stories / Case Studies */
.case-studies {
    background-color: #FFFFFF; /* 白色背景 */
}

.case-studies .section-title h2 {
    width: 507px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
}

.case-studies .section-title h2::after {
    display: none;
}

.case-studies .section-title p {
    width: 605px;
    height: 50px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.case-card {
    width: 380px;
    min-height: 494px;
    height: auto;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    width: 380px;
    height: 219px;
    overflow: hidden;
    border-radius: 12px 12px 0px 0px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.case-image img {
    width: 380px;
    height: 219px;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 12px 12px 0px 0px;
    display: block;
}

.case-card:hover .case-image img {
    transform: none !important; /* 去掉图片放大效果 */
}

.case-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-location {
    width: auto;
    min-width: 171px;
    height: 21px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #16D572;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 0 0 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: visible;
}

.case-location i {
    display: inline-block;
    margin-right: 0.5rem;
    color: #16D572;
    font-size: var(--font-size-h4);
}

.case-content h3 {
    width: 313px;
    min-height: 56px;
    height: auto;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.8rem;
    overflow: visible;
    white-space: normal;
}

.case-content h3 a {
    color: #0F181F;
    text-decoration: none;
    transition: color 0.3s;
}

.case-content h3 a:hover {
    color: #16D572;
}

.case-image a {
    display: block;
    width: 380px;
    height: 219px;
    box-sizing: border-box;
}

.case-content p {
    width: 313px;
    height: 72px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large) !important;
    color: #0F181F;
    line-height: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.case-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
    gap: 0 !important;
}

.case-features li {
    width: 313px;
    min-height: 24px;
    height: auto;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-caption);
    color: #0F181F;
    line-height: 24px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: flex-start;
    overflow: visible;
}

.case-features li i {
    width: auto;
    height: auto;
    border-radius: 0px;
    border: none;
    color: #16D572;
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 0;
    align-self: flex-start;
    line-height: 24px;
    display: inline-block;
    box-sizing: border-box;
}

.case-features li span {
    width: auto;
    min-width: 313px;
    height: auto;
    min-height: 24px;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: var(--font-size-body-small);
    color: #666;
}

/* EV Charging Solutions Page Responsive Styles */
.solutions-hero .page-hero-content .btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--accent-green);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.solutions-hero .page-hero-content .btn:hover {
    background-color: transparent;
    color: var(--accent-green);
}

@media (max-width: 992px) {
    .solution-detail-body {
        grid-template-columns: 1fr;
    }
    
    .solutions-hero .page-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .solution-detail-header, .solution-detail-body {
        padding: 2rem;
    }
    
    .tab-btn,
    .solution-tabs .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* Energy Storage Solutions Page Styles */
.storage-hero .page-hero-content .btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.storage-hero .page-hero-content .btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--accent-green);
    font-size: 1.1rem;
}

.storage-hero .page-hero-content .btn:hover {
    background-color: transparent;
    color: var(--accent-green);
}

.storage-hero .page-hero-content .btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.storage-hero .page-hero-content .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--dark-green);
}

.storage-overview {
    background-color: white;
}

.product-series {
    background-color: var(--gray-bg);
}

.series-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-content {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--light-green) 0%, #88d498 100%);
    color: var(--dark-green);
}

.product-header h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.product-header p {
    font-size: 1.1rem;
    color: var(--dark-green);
    opacity: 0.9;
}

.product-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-body h4 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.product-features li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
}

.product-features i {
    color: var(--accent-green);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* 这个样式只用于产品详情页，产品列表页使用上面的样式 */
.product-detail .product-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

/* Remove shadow for homepage products */
#products .product-image {
    box-shadow: none !important;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.product-image:hover img {
    transform: none !important; /* 去掉图片放大效果 */
}

.applications {
    background-color: #FFFFFF !important;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.application-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.application-card:hover {
    transform: translateY(-10px);
}

.application-image {
    height: 220px;
    overflow: hidden;
}

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

.application-card:hover .application-image img {
    transform: scale(1.1);
}

.application-content {
    padding: 1.8rem;
}

.application-type {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: var(--font-size-body);
}

.application-type i {
    margin-right: 0.5rem;
}

.application-content h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.application-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.application-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.benefit-tag {
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: var(--font-size-body-small);
    font-weight: 600;
}

/* Energy Storage Solutions Responsive Styles */
@media (max-width: 992px) {
    .product-body {
        grid-template-columns: 1fr;
    }
    
    .storage-hero .page-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .product-header, .product-body {
        padding: 2rem;
    }
    
    .series-tabs .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-body-small);
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .storage-hero .page-hero-content .btn-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .storage-hero .page-hero-content .btn,
    .storage-hero .page-hero-content .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-body-small);
        margin-left: 0;
        flex: 0 1 auto;
    }
}

/* Pile Mounting System Solutions Page Styles */
.pile-mounting-hero .page-hero-content .btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pile-mounting-hero .page-hero-content .btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--accent-green);
    font-size: 1.1rem;
}

.pile-mounting-hero .page-hero-content .btn:hover {
    background-color: transparent;
    color: var(--accent-green);
}

.pile-mounting-hero .page-hero-content .btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.pile-mounting-hero .page-hero-content .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--dark-green);
}

.pile-mounting-overview {
    background-color: white;
}

.pile-mounting-solutions {
    background-color: #FFFFFF !important;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.solution-content {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.solution-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--light-green) 0%, #88d498 100%);
    color: var(--dark-green);
}

.solution-header h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.solution-header p {
    font-size: 1.1rem;
    color: var(--dark-green);
    opacity: 0.9;
}

.solution-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.solution-body h4 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.solution-features li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
}

.solution-features i {
    color: var(--accent-green);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.solution-image {
    border-radius: 10px;
    overflow: hidden;
   /* box-shadow: 0 10px 25px rgba(0,0,0,0.1);*/
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.solution-image:hover img {
   /* transform: scale(1.05);*/
}

.installation-process {
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step p {
    color: #666;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

/* Pile Mounting Solutions Responsive Styles */
@media (max-width: 992px) {
    .solution-body {
        grid-template-columns: 1fr;
    }
    
    .pile-mounting-hero .page-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .solution-header, .solution-body {
        padding: 2rem;
    }
    
    .solutions-tabs .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-body-small);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .pile-mounting-hero .page-hero-content .btn-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pile-mounting-hero .page-hero-content .btn-outline {
        margin-left: 0;
    }
}

/* Q&A Section */
.qa-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.qa-section .section-title h2,
.archive-qa .section-title h2 {
    width: 132px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.qa-section .section-title p,
.archive-qa .section-title p {
    width: 683px;
    height: 50px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 1.5rem auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

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

.qa-item {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 1.5rem;
    box-shadow: none;
    overflow: visible;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1200px;
}

.qa-item:hover {
    box-shadow: none;
    transform: none;
}

.qa-question {
    width: 1200px;
    max-width: 1200px;
    height: 104px;
    border-radius: 10px;
    border: 1px solid #E6E7EB;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 31px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.qa-question:hover {
    background-color: #FFFFFF; /* 鼠标滑过背景色为白色 */
}

.qa-question i {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.qa-answer {
    width: 100%;
    max-width: 1200px;
    height: 0;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 29px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    opacity: 0;
    border: none;
    background: transparent;
    margin: 0;
    display: none;
}

.qa-item.active .qa-answer {
    display: block;
    max-height: 500px;
    height: auto;
    padding: 1.8rem;
    border: 1px solid #E6E7EB;
    border-top: none;
    border-radius: 0 0 10px 10px;
    width: 1200px;
    max-width: 1200px;
    box-sizing: border-box;
    opacity: 1;
}

.qa-item.active .qa-question {
    border: 1px solid #E6E7EB !important;
    border-bottom: none !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 1.8rem !important;
    width: 1200px !important;
    max-width: 1200px !important;
    height: 104px !important;
}

.qa-item.active .qa-question i {
    transform: rotate(180deg);
}

/* Q&A Filters */
.qa-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.qa-filters .filter-btn {
    background-color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    user-select: none;
    color: var(--text-dark);
}

.qa-filters .filter-btn.active {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.qa-filters .filter-btn:hover:not(.active) {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Q&A More Button */
.qa-more-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.qa-more-btn-container .btn {
    width: 195px;
    height: 67px;
    background: #16D572;
    border-radius: 33px;
    color: #FFFFFF;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-body);
    line-height: 18px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.qa-more-btn-container .btn:hover {
    background: #16D572 !important;
    color: #FFFFFF !important;
    border: none !important;
}

.qa-more-btn-container .btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.qa-more-btn-container .btn:hover i {
    transform: translateX(5px);
}

/* News */
.news {
    background-color: #ffffff;
}

.news .section-title h2 {
    width: 791px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    box-sizing: border-box;
}

.news .section-title p {
    width: 605px;
    height: 68px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px !important;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.news-card {
    width: 380px;
    /* height: 620px; */
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    overflow: hidden;
    box-shadow: none;
    transition: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.news-card:hover {
    transform: none;
}

.news-image {
    width: 380px !important;
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
    display: block;
    position: relative;
    margin-bottom: 0;
    flex-shrink: 0;
}

.news-image img {
    width: 380px !important;
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
    object-fit: cover;
    object-position: center;
    transition: none;
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
    display: block;
}

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

.news-content {
    padding: 1.5rem 30px 1.5rem 37px;
    margin-top: 0;
    box-sizing: border-box;
}

.news-date {
    width: 183px;
    height: 21px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #16D572;
    line-height: 21px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date i {
    margin-right: 0.5rem;
    display: none;
}

.news-category-link {
    width: 291px;
    height: 37px;
    background: #16D572;
    border-radius: 28px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-body-large);
    color: #FFFFFF;
    line-height: 19px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-decoration: none;
    margin: 0 auto 2.4rem;
    box-sizing: border-box;
}

.news-content h3 {
    width: 313px;
    height: 112px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.news-content h3 a {
    color: #0F181F;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #2ecc71;
}

.news-content p {
    width: 313px;
    height: 100px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.news-link {
    display: none;
}

/* Home Contact Form Section */
.home-contact-form {
    /*width: 1920px;*/
    height: 1096px;
    background: #333E47;
    border-radius: 0;
    padding: 4rem 0;
    box-sizing: border-box;
    max-width: 100%;
}

.home-contact-title {
    text-align: center;
    margin-bottom: 3rem;
}

.home-contact-title h2 {
    /* width: 435px; */
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 1rem;
    box-sizing: border-box;
}

.home-contact-title p {
    width: 605px;
    height: 50px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #FFFFFF;
    line-height: 25px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.home-contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.home-contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-contact-form-wrapper .wpcf7-form p {
    margin: 0 0 1.5rem 0 !important;
    display: block !important;
}

.home-contact-form-wrapper label {
    width: auto !important;
    height: auto !important;
    min-height: 22px;
    font-family: "PingFang SC", "Roboto", sans-serif !important;
    font-weight: 500 !important;
    font-size: var(--font-size-body-large) !important;
    color: #FFFFFF !important;
    line-height: 22px !important;
    text-align: left !important;
    font-style: normal !important;
    text-transform: none !important;
    display: block !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
}

.home-contact-form-wrapper .wpcf7-form-control {
    width: 900px !important;
    max-width: 900px;
    height: 55px !important;
    background: #FFFFFF !important;
    border-radius: 8px;
    border: 1px solid #E6E7EB !important;
    padding: 0.9rem 1.2rem !important;
    font-size: var(--font-size-body) !important;
    font-family: "PingFang SC", "Roboto", sans-serif !important;
    color: #0F181F !important;
    box-sizing: border-box;
    transition: box-shadow 0.3s, border-color 0.3s;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
}

.home-contact-form-wrapper .wpcf7-form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.home-contact-form-wrapper textarea.wpcf7-form-control {
    width: 900px !important;
    max-width: 900px;
    height: 185px !important;
    background: #FFFFFF !important;
    border-radius: 8px;
    border: 1px solid #E6E7EB !important;
    padding: 0.9rem 1.2rem !important;
    font-size: var(--font-size-body) !important;
    font-family: "PingFang SC", "Roboto", sans-serif !important;
    color: #0F181F !important;
    resize: vertical;
    box-sizing: border-box;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
}

.home-contact-form-wrapper .wpcf7-submit {
    background-color: #16D572 !important;
    color: #ffffff !important;
    padding: 0.9rem 2rem;
    border: none !important;
    border-radius: 5px;
    font-size: var(--font-size-body);
    font-weight: 600;
    font-family: "PingFang SC", "Roboto", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 200px;
}

.home-contact-form-wrapper .wpcf7-submit:hover {
    background-color: #13BF66 !important;
}

.home-contact-form-wrapper .wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.home-contact-form-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contact Section */
.contact {
    background-color: #FFFFFF; /* 白色背景 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-light);
}

/* 联系页面背景色为白色 */
.page-contact .topway-section,
.page-contact section.topway-section {
    background-color: #FFFFFF !important;
}

/* About Us页面背景色为白色 */
.page-aboutus .topway-section,
.page-aboutus section.topway-section,
.page-aboutus .company-intro,
.page-aboutus .company-history,
.page-aboutus .rd-capabilities,
.page-aboutus .certifications,
.page-aboutus .global-business {
    background-color: #FFFFFF !important;
}

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

.contact .section-title h2,
.page-contact .section-title h2,
.topway-section .section-title h2 {
    color: #2ecc71 !important;
}

.contact .section-title h2:after {
    background-color: var(--accent-green);
}

.contact .section-title p {
    color: rgba(255,255,255,0.8);
}

.contact-content {
    display: flex;
    gap: 4rem;
}

.honors {
    flex: 1;
}

.honors h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.honor-item {
    background-color: rgba(255,255,255,0.1);
    padding: 1.8rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.honor-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.15);
}

.honor-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.honor-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.honor-item p {
    font-size: var(--font-size-body-small);
    opacity: 0.8;
}

.contact-form {
    flex: 1;
    background-color: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: var(--font-size-body);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

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

.submit-btn {
    background-color: var(--accent-green);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background-color: #27ae60;
}

/* ============================================
   Product Page Styles
   ============================================ */

/* Page Hero - 统一所有内页banner样式，确保不被导航栏遮挡 */
/* 内页banner样式 - 使用padding-top技巧实现响应式比例 */
.page-hero,
body .page-hero,
#page .page-hero,
.site .page-hero,
#primary .page-hero,
.site-content .page-hero,
#content .page-hero,
body.page-template-page-product .page-hero,
body.page-template-page-solution .page-hero,
body.page-template-page-news .page-hero,
body.page-template-page-aboutus .page-hero,
body.page-template-page-contact .page-hero,
.page-product .page-hero,
.page-solution .page-hero,
.page-news .page-hero,
.page-aboutus .page-hero,
.page-contact .page-hero,
.archive-qa .page-hero,
.case .page-hero {
    position: relative !important;
    /* background-size: contain !important; */
    background-position: center top !important;
    background-repeat: no-repeat !important;
    /* width: 100% !important; */
    height: auto !important;
    padding-top: calc(430 / 1920 * 100%) !important;
    min-height: 200px !important;
    max-height: 430px !important;
    overflow: hidden !important;
}

.page-hero-overlay {
    display: none !important; /* 隐藏内页banner的蒙版 */
}

.page-hero .ast-container {
    position: relative;
    z-index: 2;
    width: 100%;
    background: transparent !important; /* 确保容器背景透明 */
    padding: 0 !important; /* 移除容器内边距 */
    margin: 0 !important; /* 移除容器外边距 */
    height: 100% !important; /* 确保容器填满banner高度 */
}

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

/* 只在 Cases 页面隐藏 page-hero-content，其他页面正常显示 */
.case-studies + .ast-container .page-hero-content,
body.page-template-case .page-hero-content {
    display: none !important; /* Cases 页面完全隐藏，去掉白色块 */
    padding: 0 !important;
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.page-hero h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 1rem;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    width: 455px;
    height: 13px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-caption);
    color: #0F181F;
    line-height: 12px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    opacity: 1;
    text-shadow: none;
}

/* 隐藏内页banner中的文字 */
.page-hero h1,
.page-hero p {
    display: none !important;
}

/* 产品详情页显示hero section文字 */
body.single-product .page-hero h1,
.single-product .page-hero h1,
body.single-product .page-hero p,
.single-product .page-hero p {
    display: block !important;
}

/* Case详情页显示hero section文字 */
body.single-case .page-hero h1,
.single-case .page-hero h1,
body.single-case .page-hero p,
.single-case .page-hero p {
    display: block !important;
}

/* 产品详情页hero section文字样式 */
body.single-product .page-hero h1,
.single-product .page-hero h1 {
    color: #ffffff !important;
    font-size: var(--font-size-h1) !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

body.single-product .page-hero p,
.single-product .page-hero p {
    color: #ffffff !important;
    font-size: var(--font-size-body) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* ============================================
   News Detail Page - Template Style (匹配HTML模板)
   ============================================ */

/* Ensure container class exists - REMOVED (duplicate, see below) */

/* Responsive Design */
@media (max-width: 992px) {
    .news-content-wrapper {
        display: block;
    }
    
    .news-hero h1 {
        font-size: 2.2rem;
    }
    
    .news-sidebar {
        display: none !important;
    }
    
    .toc-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Override general container styles for news detail page on mobile */
    .news-detail .container,
    .news-detail .ast-container,
    .single .news-detail .container,
    .single-post .news-detail .container,
    .single .news-detail .ast-container,
    .single-post .news-detail .ast-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove all padding/margin from parent containers */
    .single .site-content,
    .single-post .site-content,
    .single #primary,
    .single-post #primary,
    .single .content-area,
    .single-post .content-area,
    .single .site-main,
    .single-post .site-main,
    .single .ast-separate-container,
    .single-post .ast-separate-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .news-detail {
        padding-top: 80px;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Make content wrapper full width */
    .news-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 0;
    }
    
    /* Make main content full width with only top/bottom padding */
    .news-main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem 1.5rem !important;
        border-radius: 0 !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Hero section full width */
    .news-hero {
        padding: 3rem 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .news-hero .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .news-hero h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Article element full width */
    .news-detail article {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
        width: 100% !important;
    }
    
    .nav-previous,
    .nav-next {
        width: 100%;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Related pages section full width */
    .related-pages-section {
        padding: 0 1.5rem;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Post header full width */
    .news-detail .post-header {
        padding: 1.5rem 1.5rem 1rem !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Ensure no overflow and full width */
    .news-detail,
    .news-detail * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Force full width on body and html */
    body.single,
    body.single-post {
        overflow-x: hidden;
    }
    
    /* TOC container in content - mobile styling */
    .news-main-content .post-toc-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 2rem !important;
        height: auto !important;
    }
    
    .news-main-content .toc-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 1.25rem !important;
        border-radius: 8px !important;
    }
    
    .news-main-content .toc-title {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .news-main-content .toc-list {
        display: block !important;
        visibility: visible !important;
    }
    
    .news-main-content .toc-link {
        font-size: 0.9rem !important;
        padding: 0.4rem 0.6rem !important;
        display: block !important;
    }
}

/* Hide Astra's default banner and hero section completely */
.single-post .page-hero,
.single-post .single-post-hero,
.single .page-hero,
.single .single-post-hero,
.single-post .ast-single-entry-banner,
.single .ast-single-entry-banner,
.single-post .entry-header.ast-header-without-markup,
.single .entry-header.ast-header-without-markup {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* News Detail Section */
.news-detail {
    padding-top: 0;
    padding-bottom: 0 !important;
    background-color: #FFFFFF;
    min-height: auto !important;
}

/* Remove white background from containers and article - remove extra white boxes */
.news-detail article,
.news-detail article.single-post,
.news-detail .ast-container {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Container styles will be defined below to ensure centering */

.news-detail .news-content-wrapper {
    background: transparent !important;
}

/* Remove any white background from Astra containers on single post pages */
.news-detail #primary,
.news-detail .content-area,
.news-detail article,
.news-detail article.single-post,
.news-detail .ast-container,
.news-detail .site-content,
.news-detail .site-main,
.news-detail .ast-separate-container,
.news-detail .ast-article-single {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* REMOVED - duplicate rule, merged into main container rule below */

.news-detail .news-content-wrapper {
    background: transparent !important;
}

/* Ensure only main content and sidebar cards have white background */
.news-main-content {
    background-color: white;
}

.news-sidebar .toc-sidebar {
    background-color: white;
}

/* News Hero Section */
.news-hero {
    position: relative !important;
    display: block !important; /* 确保显示 */
    visibility: visible !important; /* 确保可见 */
    padding: 8rem 0 4rem !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: white !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    height: auto !important; /* 确保高度自适应 */
    min-height: 200px !important; /* 确保最小高度 */
    overflow: visible !important;
}

.news-hero h1 {
    display: block !important; /* 确保显示 */
    visibility: visible !important; /* 确保可见 */
    font-size: 2.8rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-body);
    color: white;
}

.meta-item i {
    color: var(--accent-green);
}

.news-hero .category-tag {
    background-color: var(--accent-green);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-body-small);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.news-hero .category-tag:hover {
    background-color: var(--primary-green);
    transform: translateY(-2px);
}

/* Container - Centered - Force centering with !important */
.news-detail .container {
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* News Content Wrapper - Single Column Layout (TOC moved to top of content) */
.news-content-wrapper {
    display: block;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Hide sidebar since TOC is now at top of content */
.news-sidebar {
    display: none;
}

/* Main Content */
.news-main-content {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: none;
}

/* TOC Container at top of content */
.news-main-content .post-toc-container {
    display: block !important;
    margin-bottom: 2.5rem;
}

/* TOC in content area - not sticky, full width */
.news-main-content .toc-sidebar {
    position: static !important;
    top: auto !important;
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-green);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: none;
}

/* News Image - Hidden (only for news detail page) */
.news-detail .news-image {
    display: none !important;
}

/* News Body Content */
.news-body {
    color: #555;
}

.news-body h2 {
    color: var(--dark-green);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.news-body h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-green);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.news-body h3 {
    color: var(--dark-green);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.news-body p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.news-body ul,
.news-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.news-body li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-green) 100%);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--dark-green);
    font-weight: 600;
}

/* News Sidebar - Hidden since TOC moved to top of content */
.news-sidebar {
    display: none !important;
}

/* TOC Sidebar - Default styles (when in sidebar) */
.toc-sidebar {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 120px;
}

/* TOC when inside content area - different styling */
.news-main-content .toc-sidebar {
    position: static !important;
    top: auto !important;
}

.toc-title {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-title i {
    color: var(--primary-green);
}

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

.toc-list li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    transition: all 0.3s;
}

.toc-list li:hover {
    padding-left: 5px;
}

.toc-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.toc-link:hover,
.toc-link.active {
    color: var(--primary-green);
}

/* TOC Number Styling */
.toc-number {
    font-weight: 600;
    color: var(--primary-green);
    margin-right: 0.5rem;
    display: inline-block;
    min-width: 2em;
}

.toc-link:hover .toc-number,
.toc-link.active .toc-number {
    color: var(--accent-green);
}

/* Product Categories */
.product-categories {
    background-color: white;
    padding: 3rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    width: 290px;
    height: 290px;
    background: #FFFFFF;
    border-radius: 13px;
    border: 1px solid #D9D9D9; /* 添加灰色边框 */
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.category-card:hover {
    background: #16D572;
    color: white;
    transform: translateY(-5px);
}

.category-card:hover .category-icon {
    background-color: transparent; /* 保持无背景 */
    color: #FFFFFF; /* hover时图标变成白色 */
}

.category-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent; /* 移除背景框 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem; /* 间隙扩大一倍，从1rem增加到2rem */
    color: #16D572; /* 图标颜色改为绿色 */
    font-size: 2.5rem; /* 放大图标，从1.5rem增加到2.5rem */
    transition: all 0.3s;
    box-sizing: border-box;
}

.category-card h3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 20px !important;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 1.4 !important;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s;
    box-sizing: border-box;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
}

.category-card:hover h3 {
    color: #FFFFFF;
}

.category-card p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 21px !important;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body);
    color: #0F181F;
    line-height: 1.4 !important;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box;
    overflow: visible !important;
}

.category-card:hover p {
    color: #FFFFFF;
}

/* Products List */
.products-list {
    background-color: #FFFFFF !important; /* 白色背景 */
    padding: 6rem 0 !important;
}

.products-list .section-title h2 {
    width: 791px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    box-sizing: border-box;
}

.page-news .section-title h2 {
    width: 791px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
}

.page-news .section-title h2::after {
    display: none;
}

.page-news .section-title p {
    width: 605px;
    height: 68px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3) !important;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
}

.category .section-title p,
.products-list .section-title p {
    width: 605px;
    height: 68px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px !important;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.category .section-title h2 {
    width: 791px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    box-sizing: border-box;
}

/* 移动端category页面标题字体大小 */
@media (max-width: 768px) {
    .category .section-title h2 {
        font-size: 1.5rem !important; /* 缩小字体大小 */
    }
}

.category .section-title h2::after {
    display: none;
}

.products-filters {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    width: auto;
    min-width: 100px;
    height: 58px;
    background: #FFFFFF;
    padding: 0 1.5rem;
    border-radius: 29px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    user-select: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-size: var(--font-size-body-large);
    color: #16D572;
    line-height: 19px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    white-space: nowrap;
}

.filter-btn.active {
    width: auto;
    min-width: 100px;
    height: 58px;
    background: #16D572;
    border-radius: 29px;
    color: #FFFFFF;
    border: none;
    padding: 0 1.5rem;
}

.filter-btn:hover:not(.active) {
    width: auto;
    min-width: 100px;
    height: 58px;
    background: #FFFFFF;
    border-radius: 29px;
    color: #16D572;
    border: none;
    text-decoration: none;
    padding: 0 1.5rem;
}

.product-content {
    padding: 1.8rem;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    height: 100% !important;
    border-radius: 0 0 12px 12px; /* 顶部直角，底部圆角，确保与图片底部直角连接 */
}

.product-category {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 21px !important;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #16D572;
    line-height: 1.4 !important;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    display: block;
    margin: 0 auto 1.5rem; /* 增加下边距，从1rem增加到1.5rem */
    padding: 0;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    background: transparent;
    border: none;
}

.product-content {
    position: relative;
}

/* 移除原来的横线 */
.product-content::after {
    display: none;
}

/* 在类别和产品名称之间添加横线 */
.product-category + h3::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    margin: 0 0 1.5rem 0; /* 横线在类别和产品名称之间，增加间距 */
    box-sizing: border-box;
}

.product-content h3 {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 28px !important;
    height: auto !important;
    font-family: "PingFang SC", "Roboto", sans-serif !important;
    font-weight: 500 !important;
    font-size: var(--font-size-h4) !important;
    color: #0F181F !important;
    line-height: 1.4 !important;
    text-align: left !important;
    font-style: normal !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    margin-bottom: 0.5rem !important;
    overflow: visible !important; /* 改为visible，允许内容显示 */
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important; /* 允许单词内换行 */
    overflow-wrap: break-word !important; /* 确保长单词可以换行 */
    display: block !important;
}

.product-content h3 a {
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.product-price {
    width: 143px;
    height: 25px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    text-transform: none;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.product-price span {
    display: inline-block;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: -10px;
    flex-shrink: 0;
}

.btn-detail {
    width: 141px;
    height: 37px;
    background: #16D572;
    border-radius: 20px;
    padding: 0;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-caption);
    color: #FFFFFF;
    line-height: 17px;
    font-style: normal;
    text-transform: none;
    text-align: left;
}

.btn-detail:hover {
    width: 141px;
    height: 37px;
    background: #13BF66;
    border-radius: 20px;
    color: #FFFFFF;
}

.btn-quote {
    width: 141px;
    height: 37px;
    background-color: transparent;
    border: 1px solid #16D572;
    color: #16D572;
    padding: 0;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-size: var(--font-size-caption);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    text-transform: none;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 0.5rem;
    align-items: center;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
}

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

.page-btn:hover:not(.active) {
    background-color: var(--light-green);
    color: var(--dark-green);
}

/* Pagination List (WordPress paginate_links) */
.pagination ul,
.pagination div {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
    padding: 0 8px;
}

.pagination .current,
.pagination .active,
.pagination .page-numbers.current {
    background-color: var(--primary-green) !important;
    color: white !important;
    cursor: default;
}

.pagination a:hover:not(.active):not(.current) {
    background-color: var(--light-green);
    color: var(--dark-green);
}

/* Case Studies Pagination */
.case-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.case-pagination .pagination {
    margin: 0;
}

/* ============================================
   Single Product Page Styles
   ============================================ */

/* 产品详情页顶部空白区域 - 让面包屑导航和导航栏有间隙 */
body.single-product .product-hero-spacer,
.single-product .product-hero-spacer,
.product-hero-spacer {
    height: 100px !important;
    min-height: 100px !important;
    background-color: #FFFFFF !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    overflow: hidden !important;
}

/* 确保产品详情页的hero section显示 */
body.single-product .page-hero,
.single-product .page-hero {
    display: flex !important;
    visibility: visible !important;
    height: 40vh !important;
    min-height: 300px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #1a4d3a !important; /* 深绿色背景，确保文字可见 */
    position: relative !important;
    padding-top: 0 !important; /* 移除顶部白条 */
    margin-top: 0 !important; /* 移除顶部边距 */
}

/* 产品详情页hero section overlay - 添加半透明遮罩确保文字可见 */
body.single-product .page-hero .page-hero-overlay,
.single-product .page-hero .page-hero-overlay {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important; /* 半透明黑色遮罩 */
    z-index: 1 !important;
}

/* 确保产品详情页hero section内容在遮罩之上 */
body.single-product .page-hero .ast-container,
.single-product .page-hero .ast-container {
    position: relative !important;
    z-index: 2 !important;
}

.page-content {
    padding-top: 0;
}

/* 产品详情页移除page-content的顶部padding，去掉banner上方的白条 */
body.single-product .page-content,
.single-product .page-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Product Detail */
.product-detail {
    padding: 4rem 0 0 0;
    padding-bottom: 0 !important;
    background-color: #FFFFFF;
    margin-bottom: 0 !important;
}

/* 产品详情页footer之前强制移除.product-detail的白色背景 */
body.single-product .product-detail,
.single-product .product-detail {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 产品详情页footer之前移除.product-detail的白色背景 */
body.single-product .product-detail,
.single-product .product-detail {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 产品详情页footer之前移除.ast-container的白色背景 */
body.single-product .product-detail .ast-container,
body.single-product .ast-container,
.single-product .product-detail .ast-container,
.single-product .ast-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 产品详情页footer之前移除所有白色背景 */
body.single-product .product-detail,
body.single-product .product-specs,
body.single-product .applications,
body.single-product section,
.single-product .product-detail,
.single-product .product-specs,
.single-product .applications,
.single-product section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 确保产品详情页最后一个元素之后没有白色背景延伸到footer */
body.single-product .product-detail > *:last-child,
body.single-product .product-specs,
body.single-product .applications,
.single-product .product-detail > *:last-child,
.single-product .product-specs,
.single-product .applications {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 移除产品详情页的灰色条 - 保留白色背景，但footer之前移除 */
/* body.single-product, */
body.single-product .page-content,
/* body.single-product .ast-container, */
body.single-product .site-content,
body.single-product .content-area,
/* body.single-product .ast-single-entry, */
body.single-product .entry-header,
body.single-product .entry-content,
/* body.single-product .ast-separate-container, */
/* body.single-product .ast-article-single, */
body.single-product .site-main,
.single-product .page-content,
.single-product .site-content,
.single-product .content-area,
/* .single-product .ast-container,
.single-product .ast-separate-container,
.single-product .ast-article-single, */
.single-product .site-main {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
}

/* 产品详情页#primary容器 - footer之前移除白色背景 */
body.single-product #primary,
.single-product #primary {
    background-color: transparent !important;
    background: transparent !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 产品详情页#primary容器 - 保留顶部间距给白条 */
body.single-product #primary,
.single-product #primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 确保白条在#primary内部正确显示 */
body.single-product #primary .product-hero-spacer,
.single-product #primary .product-hero-spacer {
    display: block !important;
    height: 80px !important;
    min-height: 80px !important;
    background-color: #FFFFFF !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 移除可能的灰色背景条和装饰元素 */
.single-product .ast-container::before,
.single-product .ast-container::after,
.single-product .page-content::before,
.single-product .page-content::after,
.single-product .site-content::before,
.single-product .site-content::after,
.single-product .entry-header::before,
.single-product .entry-header::after,
body.single-product .ast-container::before,
body.single-product .ast-container::after {
    display: none !important;
    content: none !important;
}

/* 确保产品详情页所有section都是白色，但footer之前移除 */
body.single-product .product-detail,
body.single-product .product-specs,
body.single-product .applications,
body.single-product section,
.single-product .product-detail,
.single-product .product-specs,
.single-product .applications,
.single-product section {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 产品详情页最后一个section之后确保没有白色背景延伸到footer */
body.single-product .product-detail:last-child,
body.single-product .product-specs:last-child,
body.single-product .applications:last-child,
body.single-product section:last-child,
.single-product .product-detail:last-child,
.single-product .product-specs:last-child,
.single-product .applications:last-child,
.single-product section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
}

/* 产品详情页最后一个section之后确保没有白色背景延伸到footer */
body.single-product .product-detail > *:last-child,
body.single-product .product-specs,
body.single-product .applications,
.single-product .product-detail > *:last-child,
.single-product .product-specs,
.single-product .applications {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Breadcrumb wrapper - below banner, left aligned */
.breadcrumb-wrapper-below-banner {
    background-color: #ffffff;
    padding: 1rem 0;
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-wrapper-below-banner .ast-container,
.breadcrumb-wrapper-below-banner .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
    box-sizing: border-box;
}

.breadcrumb-wrapper-below-banner .breadcrumb {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: left !important;
    width: 100%;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: left !important;
}

/* Hide any separator elements that might contain "/" */
.breadcrumb-separator,
.breadcrumb-list .breadcrumb-separator,
nav.breadcrumb .breadcrumb-separator {
    display: none !important;
    visibility: hidden !important;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    justify-content: flex-start !important;
    text-align: left !important;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    text-align: left;
}

/* Breadcrumb separator - only ">" symbol, no "/" */
.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    color: #adb5bd;
    margin: 0 0.5rem;
    font-weight: normal;
    font-size: 0.875rem;
    display: inline-block;
}

/* Ensure no "/" appears anywhere in breadcrumbs */
.breadcrumb-list li::before,
.breadcrumb-list::before {
    content: none !important;
}

/* Remove any "/" that might be in the text content */
.breadcrumb-list li a::before,
.breadcrumb-list li span::before {
    content: none !important;
}

/* 确保面包屑文本中不显示URL路径中的"/" */
.breadcrumb-list li a,
.breadcrumb-list li span {
    text-transform: none;
}

/* 隐藏任何可能包含"/"的伪元素或额外内容 */
.breadcrumb-list li:not(:last-child)::after {
    content: '>' !important; /* 只显示">"，不显示"/" */
    color: #adb5bd;
    margin: 0 0.5rem;
    font-weight: normal;
    font-size: 0.875rem;
    display: inline-block;
}

.breadcrumb-separator {
    display: none !important; /* 隐藏任何PHP输出的分隔符 */
}

.breadcrumb-list a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.breadcrumb-wrapper-below-banner .breadcrumb-list a {
    color: #495057;
}

.breadcrumb-list a:hover,
.breadcrumb-wrapper-below-banner .breadcrumb-list a:hover {
    color: #16D572;
    text-decoration: none;
}

.breadcrumb-current,
.breadcrumb-wrapper-below-banner .breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

/* Product Detail Page - Main Layout */
.product-detail .product-main {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    margin-bottom: 4rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure gallery is on the left column */
.product-detail .product-main .product-gallery {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
}

/* Ensure info is on the right column */
.product-detail .product-main .product-info {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 2 !important;
}

/* PC端确保布局正确（大于992px） */
@media screen and (min-width: 993px) {
    /* 产品详情页 - 确保并排显示 */
    .product-detail .product-main {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 4rem !important;
        align-items: start !important;
    }
    
    .product-detail .product-main .product-gallery {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        order: 1 !important;
    }
    
    .product-detail .product-main .product-info {
        grid-column: 2 / 3 !important;
        grid-row: 1 !important;
        order: 2 !important;
    }
    
    /* About页面 - 确保并排显示 */
    .about-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 4rem !important;
    }
    
    .about-text {
        flex: 1 !important;
    }
    
    .about-image {
        flex: 1 !important;
    }
    
    /* Contact页面 - 确保并排显示 */
    .contact-content {
        display: flex !important;
        flex-direction: row !important;
        gap: 4rem !important;
    }
    
    .contact-wrapper {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important;
        gap: 3rem !important;
        margin-top: 3rem !important;
    }
    
    .contact-form-wrapper {
        width: 100% !important;
    }
    
    .contact-info-wrapper {
        width: 100% !important;
    }
    
    /* About Us页面 - 确保并排显示 */
    .intro-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 4rem !important;
    }
    
    .intro-text {
        flex: 1 !important;
    }
    
    .intro-image {
        flex: 1 !important;
    }
    
    /* Global Business - 确保并排显示 */
    .global-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 4rem !important;
    }
    
    .global-left {
        flex: 1 !important;
        display: block !important;
    }
    
    .global-icon {
        margin-bottom: 2rem !important;
    }
    
    .global-left h3 {
        white-space: nowrap !important;
    }
    
    .global-right {
        flex: 1 !important;
    }
    
    /* Grid布局 - 确保PC端并排显示 */
    .advantages-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
    
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    
    .case-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 2.5rem !important;
    }
    
    .news-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
    
    .solutions-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem !important;
    }
    
    .solutions-grid-scroll {
        display: flex !important;
        flex-direction: row !important;
        gap: 3rem !important;
    }
    
    .honors-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .certs-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    /* History Achievements - 确保PC端并排显示 */
    .history-achievements {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        flex-wrap: wrap !important;
    }
    
    /* Footer Content - 确保PC端并排显示 */
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 3rem !important;
    }
    
    /* Post Content Wrapper - 确保PC端并排显示 */
    .post-content-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 320px !important;
        gap: 3rem !important;
    }
}

.main-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: var(--primary-green);
}

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

/* Product detail page specific product-info styles */
.product-detail .product-main .product-info {
    padding: 1rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    grid-column: 2 !important;
}

.product-info h1 {
    display: block !important; /* 确保显示 */
    visibility: visible !important; /* 确保可见 */
    font-size: 2.5rem !important;
    color: var(--dark-green) !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    opacity: 1 !important;
}

.product-model {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.features-list i {
    color: var(--accent-green);
    margin-right: 0.8rem;
    font-size: var(--font-size-body);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-body);
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: var(--font-size-body);
}

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

.btn-whatsapp {
    background-color: transparent;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: var(--font-size-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

/* Product Specs - Removed duplicate .product-specs rule to avoid conflicts */
section.product-specs {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.specs-section {
    margin-bottom: 3rem;
}

.specs-section h2 {
    font-size: var(--font-size-h3);
    color: var(--dark-green);
    margin-bottom: 2rem;
    text-align: center;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.specs-table th {
    background-color: var(--primary-green);
    color: white;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
}

.specs-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.specs-table tr:nth-child(even) {
    background-color: var(--gray-bg);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Applications */
.applications {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.applications .section-title h2 {
    width: auto;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    box-sizing: border-box;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.application-card:hover {
    transform: translateY(-5px);
}

.application-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.application-card h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Related Products */
.related-products {
    background-color: white;
    padding: 4rem 0;
}

.related-products .section-title h2 {
    width: auto;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 0.8rem;
    box-sizing: border-box;
}

/* 相关产品横线和文字上移3px */
.related-products .product-card .product-info h3:after {
    margin: calc(0.8rem + 17px) auto 0 !important;
    top: calc(100% - 3px) !important;
    position: absolute !important;
}

.related-products .product-card .product-info p {
    margin: calc(1.5rem + 17px) 0 0 !important;
}

.product-card-image {
    height: 180px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: var(--font-size-body-small);
}

.product-card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-body-small);
}

.product-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.product-card-link:hover i {
    transform: translateX(3px);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(rgba(17, 75, 95, 0.9), rgba(17, 75, 95, 0.9));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
}

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

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   About Us Page Styles
   ============================================ */

.company-intro {
    background-color: white;
    padding: 4rem 0;
}

.company-intro .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.company-intro .section-title h2 {
    width: 312px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 1.5rem;
    display: block;
    box-sizing: border-box;
}

.company-intro .section-title p {
    width: 1200px;
    height: 102px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    display: none;
}

.intro-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.intro-subtitle {
    width: 480px;
    height: 24px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 24px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    margin: 0 auto 2rem;
}

.intro-description {
    width: 689px;
    height: 224px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 28px;
    text-align: justify;
    font-style: normal;
    text-transform: none;
    margin: 0 0 8rem;
    box-sizing: border-box;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.intro-features .feature-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: start;
}

/* 图标容器 - 第一行第一列 */
.intro-features .feature-item > div:first-child {
    grid-column: 1;
    grid-row: 1;
}

/* 标题容器 - 第一行第二列，与图标同一行 */
.intro-features .feature-item > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: start;
}

/* 描述文字容器 - 第二行第二列，在下一行 */
.intro-features .feature-item > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    margin-top: calc(-0.5rem - 5px);
    width: 100%;
    align-self: start;
}

.intro-features .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2ecc71;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.intro-features .feature-item h4 {
    width: 121px;
    height: 30px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 30px;
    text-align: justify;
    font-style: normal;
    text-transform: none;
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
}

.intro-features .feature-item p {
    width: auto;
    max-width: 100%;
    height: 30px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 30px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    margin-top: -10px;
    padding-top: 0;
    display: block;
    box-sizing: border-box;
}

.intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

.rd-capabilities {
    background-color: white;
}

.rd-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.rd-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.rd-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rd-text {
    flex: 1;
}

.rd-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

.rd-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.rd-features {
    margin-top: 2rem;
}

.rd-feature-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-green);
}

.rd-feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
}

/* Company History Timeline */
.company-history {
    background-color: #FFFFFF; /* 白色背景 */
    padding: 4rem 0;
}

.company-history .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.company-history .section-title h2 {
    width: 593px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 1.5rem;
    display: block;
    box-sizing: border-box;
}

.company-history .section-title p {
    width: 605px;
    height: 68px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    max-width: 605px;
    box-sizing: border-box;
}

/* 公司成就统计 */
.history-achievements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding: 2rem 2rem 2rem 0;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    flex: 1;
    min-width: 200px;
    box-sizing: border-box;
    overflow: visible; /* 改为visible，允许内容显示 */
}

.achievement-number {
    width: 105px;
    height: 90px;
    font-family: "Barlow", "Barlow", sans-serif;
    font-weight: bold;
    font-size: 90px;
    color: #16D572;
    line-height: 90px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.achievement-text {
    width: auto;
    max-width: 100%;
    min-width: 208px;
    height: auto;
    min-height: 31px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: 23px;
    color: #0F181F;
    line-height: 31px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
}

.certificates {
    background-color: var(--gray-bg);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.certificate-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.certificate-image {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.certificate-content {
    padding: 1.8rem;
}

.certificate-content h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.certificate-content p {
    color: #666;
    margin-bottom: 1rem;
}

.certificate-details {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.certificate-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: var(--font-size-body-small);
    color: #777;
}

.certificate-details i {
    color: var(--accent-green);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.certifications {
    background-color: white;
    padding: 4rem 0;
}

.certifications .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.certifications .section-title h2 {
    color: #2ecc71;
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.certifications .section-title p {
    color: #666;
    font-size: var(--font-size-body);
    margin: 0;
    text-align: center;
    white-space: normal !important; /* 允许换行 */
    overflow: visible !important; /* 显示全部内容 */
    text-overflow: clip !important; /* 不使用省略号 */
    word-wrap: break-word !important; /* 允许单词换行 */
    overflow-wrap: break-word !important; /* 确保长单词可以换行 */
    width: auto !important; /* 宽度自适应 */
    max-width: 100% !important; /* 最大宽度100% */
    height: auto !important; /* 高度自适应 */
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.cert-item {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.cert-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: var(--font-size-h3);
}

.cert-item h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.cert-item p {
    color: #666;
}

.global-business {
    background-color: white;
    padding: 4rem 0;
}

.global-business .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.global-business .section-title h2 {
    width: 563px;
    height: 62px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572;
    line-height: 62px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto 1.5rem;
    display: block;
    box-sizing: border-box;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.global-business .section-title p {
    width: 605px;
    height: 34px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-h3);
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    max-width: 605px;
    box-sizing: border-box;
}

.global-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.global-left {
    flex: 1;
}

.global-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #2ecc71;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-h3);
    margin-bottom: 2rem;
}

.global-left h3 {
    width: 468px;
    height: 36px;
    font-family: "Barlow", "Barlow", sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: #16D572;
    line-height: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    overflow: visible;
    white-space: nowrap;
}

.global-subtitle {
    width: 274px;
    height: 20px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h4);
    color: #0F181F;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    text-transform: none;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.global-left p:not(.global-subtitle) {
    width: 689px;
    height: 75px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-body-large);
    color: #0F181F;
    line-height: 25px;
    text-align: justify;
    font-style: normal;
    text-transform: none;
    box-sizing: border-box;
    text-transform: none;
    margin: 0;
    overflow: visible;
}

.global-right {
    flex: 1;
}

.world-map {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map img,
.world-map video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   News Page Styles
   ============================================ */

.news-list {
    background-color: var(--gray-bg);
}

.news-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-category {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================
   
   IMPORTANT RULES FOR RESPONSIVE STYLING:
   ========================================
   
   1. PC端调整规则（@media screen and (min-width: 993px)）:
      - 所有PC端样式调整必须使用 min-width: 993px 媒体查询
      - 使用 !important 确保优先级高于移动端样式
      - 调整PC端时，确保移动端样式不受影响
      - 示例：
        @media screen and (min-width: 993px) {
            .element {
                property: value !important;
            }
        }
   
   2. 移动端调整规则（@media screen and (max-width: 992px) 或 max-width: 768px）:
      - 所有移动端样式调整必须使用 max-width: 992px 或 max-width: 768px 媒体查询
      - 使用 !important 确保优先级高于基础样式
      - 调整移动端时，确保PC端样式不受影响
      - 示例：
        @media screen and (max-width: 768px) {
            .element {
                property: value !important;
            }
        }
   
   3. 断点说明:
      - PC端: min-width: 993px (桌面端，大于992px)
      - 平板端: max-width: 992px (平板设备，小于等于992px)
      - 移动端: max-width: 768px (手机设备，小于等于768px)
   
   4. 注意事项:
      - 永远不要在基础样式中使用会影响响应式的固定值
      - 如果需要在PC端覆盖移动端样式，必须使用 min-width: 993px
      - 如果需要在移动端覆盖PC端样式，必须使用 max-width: 768px 或 max-width: 992px
      - 使用 !important 时要谨慎，确保不会意外影响其他断点
   
   ============================================ */

@media (max-width: 992px) {
    .about-content, 
    .contact-content,
    .intro-content,
    .rd-content {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
    
    .intro-text {
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
    }
    
    .intro-image {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important;
        margin-top: 1rem !important;
    }
    
    .intro-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
    
    .company-intro {
        padding: 2rem 0 !important;
    }
    
    .topway-hero h1 {
        font-size: 2rem; /* 约42px的响应式比例 */
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid-scroll {
        flex-direction: column;
        gap: 2rem;
    }
    
    .solution-block-link {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
}
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .products-filters {
        flex-direction: column;
    }
    
    .product-main {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* Reset grid-column on mobile so items stack vertically */
    .product-detail .product-main {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .product-detail .product-main .product-gallery {
        grid-column: 1 !important;
        order: 1 !important; /* 主图和小图在上 */
    }
    
    .product-detail .product-main .product-info {
        grid-column: 1 !important;
        order: 2 !important; /* 产品信息在下 */
        padding: 0.5rem 0;
    }
    
    .product-info h1 {
        font-size: var(--font-size-h3);
    }
    
    .product-actions {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .btn-primary,
    .btn-whatsapp {
        flex: 1;
        padding: 0.95rem 1.2rem;
        font-size: var(--font-size-body);
    }
    
    .honors-grid {
        grid-template-columns: 1fr;
    }
    
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .global-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .topway-hero h1 {
        font-size: 1.6rem; /* 约42px的响应式比例 */
    }
    
    /* Hero content mobile adjustments - 强制覆盖所有样式 */
    .hero-content,
    .topway-hero-content,
    .hero-slide .hero-content,
    .hero-slide .topway-hero-content,
    .topway-hero .hero-content,
    .topway-hero .topway-hero-content {
        width: 90% !important;
        max-width: 500px !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 1.5rem !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    .hero h1,
    .topway-hero h1,
    .hero-content h1,
    .topway-hero-content h1,
    .hero-slide h1 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-content p,
    .topway-hero-content p,
    .hero-slide p {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-content .btn-container,
    .topway-hero-content .btn-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .hero-content .btn,
    .hero-content .btn-outline,
    .topway-hero-content .btn,
    .topway-hero-content .btn-outline {
        width: auto !important;
        min-width: 140px !important;
        max-width: 48% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 50px !important;
        padding: 0.8rem 1.2rem !important;
        box-sizing: border-box !important;
    }
    
    .hero,
    .topway-hero,
    .hero-slider {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        padding-top: 80px !important;
        padding-bottom: 2rem !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    .hero-slides {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    .hero-slide {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        /* 修改为auto，避免在大屏幕上强制占据整个视口高度 */
        min-height: auto !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        box-sizing: border-box !important;
        position: absolute !important;
        /* 确保图片保持原始比例并覆盖容器 */
        background-size: cover !important;
        /* 调整背景位置，确保图片内容完整可见 */
        background-position: center top !important;
        background-repeat: no-repeat !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-slide.active {
        opacity: 1 !important;
        z-index: 2 !important;
    }
    
    .hero-slide .ast-container,
    .hero-slide .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 3 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }
    
    /* 确保body和html没有横向滚动 */
    body,
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #page,
    .site {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 统一所有移动端section-title的h2标签字体大小 */
    .company-intro .section-title h2,
    .company-history .section-title h2,
    .case-studies .section-title h2,
    .news .section-title h2,
    .page-news .section-title h2,
    .advantages .section-title h2,
    .solutions .section-title h2,
    .category .section-title h2,
    .qa-section .section-title h2,
    .archive-qa .section-title h2,
    .about-section-title h2 {
        width: auto !important;
        max-width: 100% !important;
        font-size: 1.8rem !important; /* 统一字体大小为1.8rem */
        line-height: 1.3 !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }
    
    .case-studies .section-title p,
    .news .section-title p,
    .page-news .section-title p,
    .solutions .section-title p,
    .advantages .section-title p,
    .company-history .section-title p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* 确保所有section-title的h2和p标签都能换行显示全 */
    .section-title h2,
    .section-title h2 * {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .section-title p,
    .section-title p * {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }
    
    .company-intro .section-title p,
    .about-section-title p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        font-size: var(--font-size-body) !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
    
    /* 确保section-title容器也能正确换行 */
    .company-intro .section-title,
    .about-section-title {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .company-intro .section-title *,
    .about-section-title * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }
    
    .intro-subtitle {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: var(--font-size-body-small);
        line-height: 1.5 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }
    
    .intro-description {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        font-size: var(--font-size-caption);
        line-height: 1.5 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }
    
    /* About Us 页面所有文字内容自动换行 */
    .intro-text,
    .intro-content,
    .about-text,
    .about-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    .intro-text p,
    .intro-text *,
    .about-text p,
    .about-text > p,
    .about-text *,
    .about-content p,
    .about-content * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    /* 确保所有About页面的文字容器都能正确换行 */
    .company-intro *,
    .intro-content *,
    .intro-text *,
    .about-content *,
    .about-text * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }
    
    .intro-features .feature-item h4 {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: var(--font-size-caption);
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    .intro-features .feature-item p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: var(--font-size-caption);
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    .certifications .section-title h2,
    .global-business .section-title h2 {
        font-size: var(--font-size-h3);
    }
    
    .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .history-achievements {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 1.5rem 1rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .achievement-item {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .achievement-number {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: 3rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    .achievement-text {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: var(--font-size-body) !important;
        line-height: 1.5 !important;
    }
    
    .topway-hero p {
        font-size: 1.1rem;
    }
    
    .hero-nav {
        padding: 0 1rem;
    }
    
    .solution-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .solution-features {
        grid-template-columns: 1fr !important;
    }
    
    .advantage-item {
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        min-height: 200px !important;
        padding: 1.5rem 1rem !important;
        margin: 0 auto !important;
    }
    
    .advantage-item h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.1rem !important;
        margin: 1rem auto 0.75rem !important;
        height: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .advantage-item p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        height: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .advantage-item .advantage-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        margin: 0.5rem auto 1rem !important;
    }
    
    /* Product info mobile adjustments */
    .product-info {
        padding: 1.5rem 1rem 1rem !important;
    }
    
    .product-info h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-info p {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin: 0.75rem 0 0 !important;
    }
    
    .product-info h3:after {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0.5rem auto 0 !important;
    }
    
    .product-link {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    /* News and case cards mobile */
    .news-content,
    .case-content {
        padding: 1rem !important;
    }
    
    .news-content h3,
    .case-content h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        height: auto !important;
    }
    
    .news-content p,
    .case-content p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        display: block !important;
        -webkit-line-clamp: none !important;
        -webkit-box-orient: unset !important;
    }
    
    /* 确保所有文字元素在移动端都能完整显示和换行 */
    h1, h2, h3, h4, h5, h6,
    p, span, div, li, td, th,
    .product-info h3,
    .product-info p,
    .news-content h3,
    .case-content h3,
    .advantage-item h3,
    .advantage-item p,
    .section-title * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
    }
    
    /* Footer mobile */
    footer {
        height: auto !important;
        min-height: 400px !important;
        padding: 2rem 0 1rem !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    /* First column (Topway Intelligent Control) takes full width */
    .footer-content .footer-column:first-child {
        grid-column: 1 / -1;
    }
    
    /* Last column (Contact) takes full width */
    .footer-content .footer-column:last-child {
        grid-column: 1 / -1;
    }
    
    .footer-column h3 {
        font-size: 1.1rem !important;
    }
    
    .footer-column p,
    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem !important;
    }
    
    .copyright {
        padding: 1.5rem 1rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .category-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .solution-block {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .solution-carousel-nav {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
        font-size: var(--font-size-body);
        bottom: -55px;
        border-radius: 50% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .solution-carousel-prev {
        left: 50%;
        transform: translateX(calc(-50% - 30px));
    }
    
    .solution-carousel-next {
        right: 50%;
        transform: translateX(calc(50% + 30px));
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-body);
    }
    
    .hero-dots,
    .topway-hero .hero-dots,
    .hero-slider .hero-dots {
        bottom: 20px !important;
        gap: 8px !important;
    }
    
    .hero-dot,
    .topway-hero .hero-dot,
    .hero-slider .hero-dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        border-width: 1.5px !important;
    }
    
    .hero-dot.active,
    .topway-hero .hero-dot.active,
    .hero-slider .hero-dot.active {
        width: 20px !important;
        height: 8px !important;
        min-width: 20px !important;
        min-height: 8px !important;
        max-width: 20px !important;
        max-height: 8px !important;
        border-radius: 4px !important;
    }
    
    .hero-dot:hover,
    .topway-hero .hero-dot:hover,
    .hero-slider .hero-dot:hover {
        transform: scale(1.1) !important;
    }
    
    /* 统一所有移动端section-title的h2标签字体大小 */
    .section-title h2,
    .qa-section .section-title h2,
    .archive-qa .section-title h2,
    .news .section-title h2,
    .page-news .section-title h2,
    .category .section-title h2,
    .about-section-title h2 {
        font-size: 1.8rem !important; /* 统一所有h2标签字体大小为1.8rem */
    }
    
    .about-features,
    .intro-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .intro-features .feature-item {
        grid-template-columns: 50px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .intro-features .feature-item > div {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .intro-features .feature-item > div:nth-child(2) {
        width: auto !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .intro-features .feature-item > div:nth-child(3) {
        width: auto !important;
        max-width: calc(100% - 60px) !important;
        margin-top: 0.5rem !important;
    }
    
    /* 确保图标保持圆形不变形 */
    .intro-features .feature-icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        border-radius: 50% !important;
        background-color: #2ecc71 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .intro-features .feature-icon i,
    .intro-features .feature-icon img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* Intro Content mobile adjustments */
    .intro-content {
        flex-direction: column !important;
        gap: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .intro-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .intro-image {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .intro-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .btn-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .btn-container .btn,
    .btn-container .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-body-small);
        margin-left: 0;
        flex: 0 1 auto;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .page-hero h1 {
        font-size: var(--font-size-h3);
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .company-history .ast-container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .history-timeline {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding: 0 !important;
    }
    
    /* 移动端隐藏竖线 */
    .history-timeline::after {
        display: none !important;
    }
    
    .timeline-container {
        width: 100% !important;
        left: 0 !important;
        padding: 10px 1rem 10px 35px !important;
        box-sizing: border-box !important;
    }
    
    .timeline-container.timeline-left,
    .timeline-container.timeline-right {
        width: 100% !important;
        left: 0 !important;
        padding-left: 35px !important;
        padding-right: 1rem !important;
    }
    
    .company-history .timeline-content,
    .history-timeline .timeline-content,
    .timeline-container .timeline-content,
    .timeline-left .timeline-content,
    .timeline-right .timeline-content,
    .timeline-milestone .timeline-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        /* 移动端保持margin-left为0 */
        margin-left: 0 !important;
        min-height: auto !important;
        padding: 1.5rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    .timeline-content h3,
    .timeline-milestone .timeline-content h3 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        box-sizing: border-box !important;
    }
    
    .timeline-content p,
    .timeline-milestone .timeline-content p {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        box-sizing: border-box !important;
    }
    
    .timeline-year,
    .timeline-left .timeline-year,
    .timeline-milestone .timeline-year,
    .timeline-container.timeline-right .timeline-year,
    .timeline-container.timeline-right.timeline-milestone .timeline-year,
    .history-timeline .timeline-container.timeline-right.timeline-milestone .timeline-year,
    .company-history .history-timeline .timeline-container.timeline-right.timeline-milestone .timeline-year {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: 1.3rem !important; /* 统一所有年份字体大小 */
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        box-sizing: border-box !important;
    }
    
    /* 移动端隐藏时间轴内容框的箭头（PC 端保留） */
    .timeline-left .timeline-content::before,
    .timeline-left .timeline-content::after,
    .timeline-container.timeline-right.timeline-milestone .timeline-content::before,
    .timeline-container::before {
        display: none !important;
        content: none !important;
    }
    
    /* Global Business mobile adjustments */
    .global-business .section-title h2,
    .global-business .section-title p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .global-left h3,
    .global-subtitle,
    .global-left p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        box-sizing: border-box !important;
    }
    
    .global-content {
        flex-direction: column !important;
        gap: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .global-left {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }
    
    .global-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .global-left h3 {
        flex: 1 !important;
        min-width: 0 !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .global-subtitle,
    .global-left p:not(.global-subtitle) {
        width: 100% !important;
        flex-basis: 100% !important;
        margin-top: 1rem !important;
    }
    
    .global-right {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .global-right img,
    .global-right video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    /* About Us页面移动端优化 */
    .company-intro {
        padding: 2rem 0 !important;
    }
    
    .intro-content {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
    
    .intro-text {
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
    }
    
    .intro-image {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important;
        margin-top: 1rem !important;
    }
    
    .intro-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
    
    .intro-features .feature-item {
        grid-template-columns: 50px 1fr !important;
        gap: 0 1rem !important;
    }
    
    .global-left {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .global-icon {
        margin-bottom: 1rem !important;
    }
    
    .global-left h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }
    
    .global-subtitle {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 1rem !important;
    }
    
    .global-left p:not(.global-subtitle) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .world-map {
        min-height: 250px !important;
        margin-top: 1rem !important;
    }
    
    .timeline-container::before {
        left: 40px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    /* 移动端隐藏黑圆点 */
    .timeline-container::after,
    .timeline-left::after,
    .timeline-right::after,
    .history-timeline .timeline-container.timeline-left::after,
    .history-timeline .timeline-container.timeline-right::after {
        display: none !important;
    }
    
    /* Make timeline content text larger and more readable on mobile */
    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-content p {
        font-size: var(--font-size-body);
        line-height: 1.7;
    }
    
    .timeline-year {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem;
    }
    
    /* 移动端左侧年份样式 */
    .timeline-left .timeline-year {
        width: auto;
        max-width: 101px;
        height: auto;
        font-size: 1.3rem !important; /* 统一字体大小 */
        line-height: 24px;
    }
    
    .timeline-right {
        left: 0%;
    }
    
    .history-achievements {
        flex-direction: column;
        gap: 1rem;
    }
    
    .achievement-item {
        min-width: 100%;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-whatsapp {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: var(--font-size-body);
    }
    
    .btn-whatsapp i {
        font-size: 1.1rem;
    }
    
    .product-detail {
        padding: 2rem 0;
    }
    
    .product-gallery {
        margin-bottom: 1.5rem;
        order: 1 !important; /* 确保主图和小图在上 */
    }
    
    .product-detail .product-main .product-gallery {
        order: 1 !important; /* 确保主图和小图在上 */
    }
    
    .product-detail .product-main .product-info {
        order: 2 !important; /* 确保产品信息在下 */
    }
    
    .image-thumbnails {
        gap: 0.8rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .product-category {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }
    
    .product-features h3 {
        font-size: 1.2rem;
    }
    
    .features-list li {
        font-size: var(--font-size-body);
        margin-bottom: 0.6rem;
    }
    
    /* 移动端表格添加左右滚动条 - 保持PC端布局，添加横向滚动 */
    .specs-section {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 1rem !important;
        padding-bottom: 1.5rem !important; /* 为滚动条留出空间 */
        margin-bottom: 0.5rem !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* 确保滚动条始终显示在下方 */
        scrollbar-width: thin;
        scrollbar-color: #16D572 #f0f0f0;
    }
    
    /* Webkit浏览器滚动条样式 - 在specs-section下方显示 */
    .specs-section::-webkit-scrollbar {
        height: 12px !important;
        display: block !important;
    }
    
    .specs-section::-webkit-scrollbar-track {
        background: #f0f0f0 !important;
        border-radius: 6px !important;
        margin: 0 1rem !important;
    }
    
    .specs-section::-webkit-scrollbar-thumb {
        background: #16D572 !important;
        border-radius: 6px !important;
        border: 2px solid #f0f0f0 !important;
    }
    
    .specs-section::-webkit-scrollbar-thumb:hover {
        background: #14c465 !important;
    }
    
    /* 表格容器 - 保持原始布局，添加滚动 */
    .specs-section table,
    .specs-section .specs-table,
    .specs-table {
        display: table !important; /* 保持表格布局 */
        width: auto !important; /* 允许表格根据内容自动调整宽度 */
        min-width: 100% !important; /* 最小宽度为容器宽度 */
        border-collapse: collapse !important;
        background-color: white !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        /* 表格本身不设置overflow，让父容器处理滚动 */
        overflow: visible !important;
    }
    
    /* 确保表格保持原始布局，不换行 */
    .specs-section table,
    .specs-section .specs-table {
        min-width: 600px !important; /* 确保表格有足够宽度 */
        width: auto !important; /* 根据内容自动调整 */
    }
    
    /* 表格单元格 - 保持PC端样式，不换行 */
    .specs-section table th,
    .specs-section table td,
    .specs-table th,
    .specs-table td {
        white-space: nowrap !important; /* 不换行，保持PC端布局 */
        padding: 1.2rem 1.5rem !important; /* 保持PC端padding */
        font-size: var(--font-size-body) !important; /* 保持PC端字体大小 */
        text-align: left !important;
        vertical-align: middle !important;
    }
    
    /* 表头样式 - 保持PC端样式 */
    .specs-section table th,
    .specs-table th {
        background-color: var(--primary-green) !important;
        color: white !important;
        font-weight: 600 !important;
        padding: 1.2rem 1.5rem !important;
    }
    
    /* 表格行样式 - 保持PC端样式 */
    .specs-section table tr:nth-child(even),
    .specs-table tr:nth-child(even) {
        background-color: var(--gray-bg) !important;
    }
    
    .specs-section table tr:last-child td,
    .specs-table tr:last-child td {
        border-bottom: none !important;
    }
    
    /* Form elements mobile optimization */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: var(--font-size-body); /* Prevents zoom on iOS */
        padding: 0.9rem;
    }
    
    .contact-form button[type="submit"] {
        width: 100%;
        padding: 1rem;
        font-size: var(--font-size-body);
    }
    
    /* Contact form mobile adjustments */
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form-box,
    .contact-info-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea,
    .home-contact-form-wrapper .wpcf7-form-control,
    .home-contact-form-wrapper textarea.wpcf7-form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.9rem 1rem !important;
    }
    
    .home-contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .home-contact-form-wrapper .wpcf7-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .home-contact-form-wrapper .wpcf7-submit,
    .contact-form-box .wpcf7-submit,
    .contact-form-wrapper .wpcf7-submit,
    .page-contact .wpcf7-submit {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure touch targets are at least 44px */
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Container padding on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .product-detail .container,
    .news-detail .container,
    .case-detail .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        justify-items: center !important; /* 确保产品卡片居中 */
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .product-card {
        width: 100% !important;
        max-width: 380px !important; /* 限制最大宽度，确保居中 */
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 0;
    }
    
    .product-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        aspect-ratio: 1 / 1 !important; /* 保持正方形 */
        background-color: #FFFFFF !important; /* 确保移动端也是白色背景 */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    
    /* 确保首页产品列表容器也居中 */
    #products .products-grid {
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    #products .product-card {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 380px !important;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0;
    }
    
    .case-image,
    .case-image img,
    .case-image a {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 移动端cases主图缩小并完整显示 */
    .case-image img {
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .news-grid {
        gap: 1.5rem;
    }
    
    .news-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 0;
    }
    
    .news-image,
    .news-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Mobile breadcrumb adjustments */
    .breadcrumb-wrapper-below-banner {
        padding: 0.75rem 0;
    }
    
    .breadcrumb-wrapper-below-banner .container,
    .breadcrumb-wrapper-below-banner .ast-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
        text-align: left !important;
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 0.35rem;
        font-size: 0.75rem;
    }
    
    /* 移动端内页banner - 等比例压缩，完整显示图片，完全去掉上下空隙 */
    /* banner图片尺寸：1920x432，宽高比 = 432/1920 = 0.225 = 22.5% */
    .page-hero,
    body .page-hero,
    #page .page-hero,
    .site .page-hero,
    #primary .page-hero,
    .site-content .page-hero,
    #content .page-hero,
    body.page-template-page-product .page-hero,
    body.page-template-page-solution .page-hero,
    body.page-template-page-news .page-hero,
    body.page-template-page-aboutus .page-hero,
    body.page-template-page-contact .page-hero,
    .page-product .page-hero,
    .page-solution .page-hero,
    .page-news .page-hero,
    .page-aboutus .page-hero,
    .page-contact .page-hero,
    .archive-qa .page-hero,
    .case .page-hero {
        /* 完全去掉顶部padding，只保留必要的header高度 */
        padding-top: var(--site-header-height, 120px) !important;
        padding-bottom: 0 !important; /* 完全移除底部padding */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        /* 使用calc计算高度：宽度100% * 22.5% = 等比例高度 */
        height: calc(100vw * 0.225) !important; /* 根据视口宽度计算高度 */
        min-height: 100px !important; /* 进一步减少最小高度 */
        max-height: 180px !important; /* 进一步减少最大高度 */
        /* background-size: contain !important; 等比例压缩，完整显示，不裁剪 */
        background-position: center center !important;
        background-repeat: no-repeat !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* 移除banner容器和父元素的上下空隙 */
    body.page-template-page-product #primary,
    body.page-template-page-solution #primary,
    body.page-template-page-news #primary,
    body.page-template-page-aboutus #primary,
    body.page-template-page-contact #primary,
    .page-product #primary,
    .page-solution #primary,
    .page-news #primary,
    .page-aboutus #primary,
    .page-contact #primary,
    .archive-qa #primary,
    .case #primary {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* 移除banner前后的元素空隙 */
    .page-hero + *,
    * + .page-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* 移除banner内部容器的上下空隙 */
    .page-hero .ast-container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* 移除banner内容区域的上下空隙 */
    .page-hero-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    /* Q&A模块描述移动端自动换行 */
    .qa-section .section-title p,
    .archive-qa .section-title p {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        word-break: break-word !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }
    
    .qa-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .qa-question {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; /* 允许高度自适应 */
        min-height: auto !important;
        font-size: 1.1rem !important;
        padding: 1.5rem !important;
        white-space: normal !important; /* 允许换行 */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        text-overflow: clip !important;
        overflow: visible !important;
        line-height: 1.5 !important; /* 调整行高 */
        align-items: flex-start !important; /* 改为flex-start，允许内容换行 */
        flex-wrap: wrap !important; /* 允许flex项目换行 */
        box-sizing: border-box !important;
    }
    
    /* 确保qa-question内的所有文本内容能够换行 */
    .qa-question > *:not(i),
    .qa-question span,
    .qa-question div,
    .qa-question p,
    .qa-question strong,
    .qa-question b {
        flex: 1 1 auto !important;
        min-width: 0 !important; /* 允许flex项目缩小 */
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        text-overflow: clip !important;
        overflow: visible !important;
        display: block !important; /* 确保文本元素是块级，可以换行 */
    }
    
    /* 确保箭头图标不换行，固定在右侧 */
    .qa-question i {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin-left: 1rem !important;
        align-self: flex-start !important; /* 图标在顶部对齐 */
        margin-top: 0.2rem !important; /* 稍微调整位置 */
    }
    
    /* 确保qa-item容器也不限制宽度 */
    .qa-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .qa-answer {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1.5rem;
    }
    
    .qa-item.active .qa-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .qa-item.active .qa-question {
        width: 100% !important; /* 覆盖PC端的1200px固定宽度 */
        max-width: 100% !important;
        height: auto !important; /* 覆盖PC端的104px固定高度 */
        min-height: auto !important;
        border-bottom: none !important; /* Remove separator line on mobile */
        padding: 1.5rem !important;
        white-space: normal !important; /* 确保active状态也能换行 */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    
    /* 移动端banner样式已在上面统一定义，删除重复规则 */
    
    body.page-template-page-solution .solutions,
    .page-solution .solutions {
        margin-top: 0 !important; /* 确保不会负边距向上推 */
        padding-top: 2rem !important; /* 与 banner 保持适当间距 */
        position: relative;
        z-index: 2; /* 确保在 banner 上方 */
    }
}

/* ============================================
   Header Styles - Sticky Header (统一样式)
   ============================================ */
/* Reset Astra header styles and make sticky */
#masthead,
.site-header,
header {
    background-color: rgba(255, 255, 255, 0.98) !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    border: none !important;
    pointer-events: auto !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Header navigation container */
header > .container.ast-container:first-of-type {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Ensure page content is not hidden behind sticky header */
/* Sticky header will overlay content, but banners/hero sections should account for it */
#page,
.site {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure hero sections and banners account for sticky header */
.topway-hero,
.hero-slider,
.page-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any spacing from site wrapper */
.site,
#page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any spacing that might come from Astra theme */
#page .site-content,
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure primary content area has proper spacing */
#primary {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#content .ast-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove white space before footer */
footer::before,
#colophon::before,
.site-footer::before {
    display: none !important;
    content: none !important;
}

/* Remove any white background or spacing before footer */
.site-above-footer-wrap,
.site-below-footer-wrap,
.ast-above-footer-wrap,
.ast-below-footer-wrap {
    display: none !important;
}

.ast-container,
.container {
    position: relative !important;
    z-index: 1 !important;
}

/* Navigation styles */
header nav,
#masthead nav,
.site-header nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo styles */
header .logo,
#masthead .logo,
.site-header .logo {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

header .logo img,
#masthead .logo img,
.site-header .logo img {
    width: 110px !important;
    height: 35px !important;
    margin-right: 10px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

header .logo-text,
#masthead .logo-text,
.site-header .logo-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--dark-green) !important;
}

/* Navigation links - 通用横向布局 */
header .nav-links,
#masthead .nav-links,
.site-header .nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header .nav-links > li,
#masthead .nav-links > li,
.site-header .nav-links > li {
    margin: 0 !important;
    margin-left: 35px !important;
    padding: 0 !important;
    list-style: none !important;
    position: relative !important;
}

header .nav-links > li:first-child,
#masthead .nav-links > li:first-child,
.site-header .nav-links > li:first-child {
    margin-left: 0 !important;
}

header .nav-links a,
#masthead .nav-links a,
.site-header .nav-links a {
    color: #0F181F !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    transition: color 0.3s ease !important;
}

header .nav-links a:hover,
#masthead .nav-links a:hover,
.site-header .nav-links a:hover {
    color: #16D572 !important;
}

/* 隐藏Astra的箭头图标 */
header .nav-links .ast-icon,
#masthead .nav-links .ast-icon,
.site-header .nav-links .ast-icon,
header .nav-links .dropdown-menu-toggle,
#masthead .nav-links .dropdown-menu-toggle,
.site-header .nav-links .dropdown-menu-toggle {
    display: none !important;
}

/* 下拉菜单通用样式 - 默认隐藏 */
header .nav-links .sub-menu,
#masthead .nav-links .sub-menu,
.site-header .nav-links .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px !important;
    padding: 0.5rem 1rem !important;
    min-width: 200px !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 999999 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* hover时显示下拉菜单 */
header .nav-links .menu-item-has-children:hover > .sub-menu,
#masthead .nav-links .menu-item-has-children:hover > .sub-menu,
.site-header .nav-links .menu-item-has-children:hover > .sub-menu,
header .nav-links .sub-menu:hover,
#masthead .nav-links .sub-menu:hover,
.site-header .nav-links .sub-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 俄语特定 - 确保hover规则被应用 */
html[lang*="ru"] header .nav-links .menu-item-has-children:hover > .sub-menu,
html[lang*="ru"] #masthead .nav-links .menu-item-has-children:hover > .sub-menu,
html[lang*="ru"] .site-header .nav-links .menu-item-has-children:hover > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 俄语下拉菜单 - 优化版本（所有菜单通用） */
/* 关键：让header容器允许下拉菜单溢出 */
html[lang*="ru"] header .ast-container,
html[lang*="ru"] #masthead .ast-container,
html[lang*="ru"] .site-header .ast-container {
    overflow: visible !important;
}

/* 所有有子菜单的父菜单项 */
html[lang*="ru"] .nav-links .menu-item-has-children {
    position: relative !important;
}

/* 所有俄语子菜单的基础样式 */
html[lang*="ru"] .nav-links .menu-item-has-children > ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    padding: 1rem 1.5rem !important;
    min-width: 220px !important;
    max-width: 350px !important;
    width: max-content !important;
    margin: 0 !important;
    list-style: none !important;
    /* 完全不占用空间，避免滚动条 */
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

/* 通过JavaScript控制的显示类 */
html[lang*="ru"] .nav-links .menu-item-has-children > ul.sub-menu.show-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* 俄语下拉菜单项样式 - 优化版本 */
html[lang*="ru"] .nav-links .sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

html[lang*="ru"] .nav-links .sub-menu a {
    display: block !important;
    padding: 0.75rem 0.5rem !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    transition: all 0.3s ease !important;
}

html[lang*="ru"] .nav-links .sub-menu a:hover {
    color: #16D572 !important;
    padding-left: 1rem !important;
    background-color: rgba(22, 213, 114, 0.05) !important;
}

/* 隐藏子菜单中的箭头图标 */
html[lang*="ru"] .nav-links .sub-menu .ast-icon {
    display: none !important;
}

header .nav-links .sub-menu li,
#masthead .nav-links .sub-menu li,
.site-header .nav-links .sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

header .nav-links .sub-menu a,
#masthead .nav-links .sub-menu a,
.site-header .nav-links .sub-menu a {
    display: block !important;
    padding: 0.8rem 0 !important;
    color: #334155 !important;
    text-align: left !important;
}

header .nav-links .sub-menu a:hover,
#masthead .nav-links .sub-menu a:hover,
.site-header .nav-links .sub-menu a:hover {
    color: #16D572 !important;
    padding-left: 0.5rem !important;
}

/* Mobile menu */
header .mobile-menu,
#masthead .mobile-menu,
.site-header .mobile-menu {
    display: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    color: var(--text-dark) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   Footer Styles - Override Astra defaults
   ============================================ */
/* Reset Astra footer styles - 确保footer不会遮挡浮动按钮 */
#colophon,
.site-footer,
footer,
body footer,
body .site-footer,
body #colophon {
    width: 100%;
    height: 648px;
    background: #16D572 !important;
    border-radius: 0;
    color: #ffffff !important;
    padding: 4rem 0 2rem !important;
    margin: 0 !important;
    margin-top: 0 !important;
    border: none !important;
    border-top: none !important;
    box-sizing: border-box;
    max-width: 100%;
    position: relative !important;
    z-index: 0 !important; /* 使用最低z-index，确保低于浮动按钮 */
    overflow: visible !important; /* 确保不遮挡浮动按钮 */
    pointer-events: none !important; /* 让footer不拦截点击事件 */
    transform: none !important; /* 避免创建新的stacking context */
    isolation: auto !important; /* 不创建新的stacking context */
}

/* Footer内容可以接收点击事件 */
footer *,
.site-footer *,
#colophon * {
    pointer-events: auto !important;
}

/* Remove white space/bar before footer */
#content::after,
#primary::after,
.ast-container::after {
    display: none !important;
    content: none !important;
}

/* Ensure no white background before footer */
body > #page > #content,
body > #page > #primary {
    background-color: transparent !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}


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

.footer-column {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-column h3 {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    padding-bottom: 0.8rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.footer-column h3:after {
    content: '' !important;
    position: absolute !important;
    width: 50px !important;
    height: 3px !important;
    background-color: #ffffff !important;
    bottom: 0 !important;
    left: 0 !important;
}

.footer-column p {
    color: #ffffff !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
}

.footer-links,
footer ul.footer-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links li {
    margin-bottom: 0.8rem !important;
    list-style: none !important;
    padding: 0 !important;
}

.footer-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s, padding-left 0.3s !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    opacity: 0.8 !important;
    padding-left: 5px !important;
}

.footer-contact {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-contact p {
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important; /* Center align icon and text */
    color: #ffffff !important;
    padding: 0 !important;
}

.footer-contact p:first-child {
    align-items: flex-start !important; /* Address line: bottom align */
}

.footer-contact p:first-child i {
    margin-top: 0.2rem !important; /* Icon top margin for address line */
}

.footer-contact i {
    margin-right: 1rem !important;
    color: #ffffff !important;
    margin-top: 0 !important; /* Remove top margin for center alignment */
    min-width: 20px !important;
}

.footer-contact a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.footer-contact a:hover {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.social-links {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding: 0 !important;
    list-style: none !important;
}

.social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    border: none !important;
}

.social-links a:hover {
    background-color: rgba(255,255,255,0.3) !important;
    transform: translateY(-5px) !important;
}

.copyright {
    text-align: center !important;
    padding-top: 2rem !important;
    border-top: 1px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

.copyright p {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   Responsive Header & Footer
   ============================================ */
@media (max-width: 768px) {
    header .nav-links,
    #masthead .nav-links,
    .site-header .nav-links,
    header ul.nav-links,
    #masthead ul.nav-links,
    .site-header ul.nav-links {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        flex-direction: column !important;
        padding: 1rem 0 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        z-index: 999 !important;
        transition: opacity 0.3s ease, max-height 0.3s ease !important;
    }
    
    header .nav-links.active,
    #masthead .nav-links.active,
    .site-header .nav-links.active,
    header ul.nav-links.active,
    #masthead ul.nav-links.active,
    .site-header ul.nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
    }
    
    header .nav-links li,
    #masthead .nav-links li,
    .site-header .nav-links li {
        margin: 0.5rem 0 !important;
        margin-left: 0 !important;
        padding: 0 2rem !important;
    }
    
    header .mobile-menu,
    #masthead .mobile-menu,
    .site-header .mobile-menu {
        display: block !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ============================================
   Solution Page Styles
   ============================================ */
/* Application Scenarios section description */
.topway-section:has(.use-cases-grid) .section-title p,
.topway-section:has(.advantages-grid) .section-title p {
    width: 605px;
    height: 68px;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #0F181F;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.use-case-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-h3);
    color: white;
}

.use-case-item h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.use-case-item p {
    color: #666;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form-box h3 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-green);
}

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

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
    font-weight: 600;
    font-size: var(--font-size-body);
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: var(--font-size-body);
    transition: border-color 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* Contact Form 7 Submit Button - Emerald Green */
.contact-form-box .wpcf7-submit,
.contact-form-wrapper .wpcf7-submit,
.page-contact .wpcf7-submit {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.9rem 2rem !important;
    border-radius: 5px !important;
    font-size: var(--font-size-body) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.contact-form-box .wpcf7-submit:hover,
.contact-form-wrapper .wpcf7-submit:hover,
.page-contact .wpcf7-submit:hover {
    background-color: #27ae60 !important;
}

.contact-info-wrapper {
    width: 100%;
}

.contact-info-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: fit-content;
}

.contact-info-box h3 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-green);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-info-content h4 {
    color: var(--dark-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-content p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-info-content a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-content a:hover {
    color: var(--accent-green);
}

.contact-social-box {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--gray-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-social-box h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    font-size: 1.3rem;
}

.contact-social-box .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-social-box .social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.contact-social-box .social-links a:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.contact-social h4 {
    color: var(--dark-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-social .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    transition: all 0.3s;
    text-decoration: none;
}

.contact-social .social-links a:hover {
    background-color: var(--accent-green);
    color: white;
    transform: translateY(-3px);
}

.map-container {
    margin-top: 2rem;
}

.map-section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: "PingFang SC", "Roboto", sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h1);
    color: #16D572; /* 与其他模块标题一致的颜色 */
    line-height: 1.2;
    font-style: normal;
    text-transform: none;
}

.google-map-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .google-map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 450px;
    border: none;
}

/* Contact Page Mobile Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-box,
    .contact-info-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-box,
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .contact-form-box h3,
    .contact-info-box h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info-icon {
        margin: 0 auto;
    }
    
    .contact-info-content h4 {
        font-size: var(--font-size-body);
    }
    
    .google-map-wrapper iframe {
        min-height: 300px;
    }
    
    .map-address-info {
        padding: 1rem;
    }
    
    .map-address-info h3 {
        font-size: 1.2rem;
    }
    
    .map-address-info p {
        font-size: var(--font-size-body-small);
    }
    
    .map-link-btn {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-size-body-small);
    }
}

.map-address-info {
    background-color: white;
    padding: 1.5rem;
    border-top: 3px solid var(--primary-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-address-info p {
    margin: 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.map-address-info i.fa-map-marker-alt {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.map-link-btn:hover {
    /* background-color: var(---gre-green); */
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.map-placeholder {
    background-color: #f5f5f5;
    border-radius: 10px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: 2px dashed #ddd;
}

.map-placeholder i {
    font-size: var(--font-size-h1);
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: #666;
    margin: 0.5rem 0;
}

/* Responsive Styles for Contact and Solution Pages */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-box,
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-icon {
        align-self: flex-start;
    }
    
    .map-address-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .map-link-btn {
        width: 100%;
        justify-content: center;
    }
    
    .google-map-wrapper iframe {
        min-height: 350px;
    }
}

/* ============================================
   Single Post Page Styles
   ============================================ */
.single-post {
    padding: 2rem 0 0 0;
    padding-bottom: 0 !important;
    background-color: #FFFFFF;
}

.post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.post-header-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-category {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

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

.post-title {
    font-size: 2.8rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666;
    font-size: var(--font-size-body);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: var(--primary-green);
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content Layout */
.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-top: 2rem;
}

.post-main-content {
    min-width: 0;
}

.post-sidebar {
    position: relative;
}

/* Table of Contents */
/* Post TOC Container - General rule (for other pages) */
/* Post TOC Container - General rule (for other pages) */
.post-toc-container {
    margin-bottom: 2rem;
    display: none; /* Hidden by default for other templates */
}

/* Post TOC Container inside news main content - Always visible */
.news-main-content .post-toc-container {
    display: block !important;
    margin-bottom: 2.5rem;
    visibility: visible !important;
}

.post-toc,
.toc-sidebar {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: relative;
}

.toc-sidebar {
    position: relative;
    margin-bottom: 2rem;
}

.toc-sidebar.sticky {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-green);
}

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

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: var(--font-size-body);
    line-height: 1.6;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

.toc-link:hover {
    color: var(--primary-green);
    background-color: var(--light-green);
    padding-left: 1rem;
}

.toc-link.active {
    color: var(--primary-green);
    background-color: var(--light-green);
    font-weight: 600;
    padding-left: 1rem;
}

.toc-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background-color: var(--primary-green);
    border-radius: 0 3px 3px 0;
}

/* Heading Numbers in Content */
.news-body .heading-number,
.post-content .heading-number,
.entry-content .heading-number {
    color: var(--primary-green);
    font-weight: 700;
    margin-right: 0.5rem;
    display: inline-block;
}

.news-body h2 .heading-number,
.post-content h2 .heading-number,
.entry-content h2 .heading-number {
    font-size: 1.2em;
}

.news-body h3 .heading-number,
.post-content h3 .heading-number,
.entry-content h3 .heading-number {
    font-size: 1.1em;
}

.news-body h4 .heading-number,
.post-content h4 .heading-number,
.entry-content h4 .heading-number {
    font-size: 1em;
}

/* Post Meta Card */
.post-meta-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

.meta-card-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.meta-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--light-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.meta-card-content {
    flex: 1;
    min-width: 0;
}

.meta-card-content h4 {
    font-size: var(--font-size-body-small);
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.meta-card-content p {
    margin: 0;
    color: var(--text-dark);
    font-size: var(--font-size-body);
}

.meta-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-tag {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

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

.post-content {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: none;
    margin-bottom: 3rem;
    line-height: 1.9;
    font-size: 1.1rem;
    color: #555;
}

.post-content > *:first-child {
    margin-top: 0;
}

.post-content > *:last-child {
    margin-bottom: 0;
}

.post-content h2 {
    color: var(--dark-green);
    font-size: var(--font-size-h3);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-green);
    scroll-margin-top: 100px;
}

.post-content h3 {
    color: var(--dark-green);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 600;
    scroll-margin-top: 100px;
}

.post-content h4 {
    color: var(--dark-green);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    scroll-margin-top: 100px;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.9;
}

.post-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.post-content li::marker {
    color: var(--primary-green);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background-color: var(--gray-bg);
    border-radius: 5px;
}

.post-content blockquote p {
    margin-bottom: 0;
}

.post-content a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.post-content a:hover {
    color: var(--dark-green);
    border-bottom-color: var(--primary-green);
}

.post-content code {
    background-color: var(--gray-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--dark-green);
}

.post-content pre {
    background-color: var(--gray-bg);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-green);
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.post-content table th,
.post-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.post-content table th {
    background-color: var(--primary-green);
    color: white;
    font-weight: 600;
}

.post-content table tr:hover {
    background-color: var(--gray-bg);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.tags-label {
    font-weight: 600;
    color: var(--dark-green);
}

.tag-link {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

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

/* ============================================
   News Navigation - Previous/Next (模板样式)
   ============================================ */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    gap: 1.5rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 120px;
}

.nav-previous .nav-link {
    text-align: left;
}

.nav-next .nav-link {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--primary-green);
}

.nav-content {
    flex: 1;
    min-width: 0;
}

.nav-label {
    font-size: var(--font-size-body-small);
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-green);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link i {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

/* Hide author box - removed per user request */
.author-box {
    display: none !important;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.author-bio {
    color: #666;
    line-height: 1.7;
}

/* Related Posts Section */
.related-posts {
    margin: 4rem 0;
}

.related-title {
    color: var(--dark-green);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.related-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.related-post-card:hover {
    transform: translateY(-10px);
}

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

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

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-date {
    color: var(--primary-green);
    font-size: var(--font-size-body-small);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-post-content h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.related-post-content h3 a {
    color: var(--dark-green);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h3 a:hover {
    color: var(--primary-green);
}

.related-post-content p {
    color: #666;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

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

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

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-post-date i {
    color: var(--primary-green);
}

.related-post-content h3 {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
}

.related-post-content h3 a {
    color: var(--dark-green);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h3 a:hover {
    color: var(--primary-green);
}

.related-post-content p {
    color: #666;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

/* Responsive Styles for Single Post */
@media (max-width: 768px) {
    .post-title {
        font-size: var(--font-size-h3);
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Related Posts by Title - Two Column List Layout
   ============================================ */

.related-posts-by-title {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid #e8ecef;
}

.related-posts-by-title .related-title {
    color: var(--dark-green);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.related-posts-by-title .related-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.related-posts-list-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-posts-left,
.related-posts-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-green);
}

.related-post-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
    border-left-color: var(--primary-green);
}

.related-post-number {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-body-small);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.related-post-info {
    flex: 1;
}

.related-post-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: var(--font-size-body);
    line-height: 1.4;
}

.related-post-info h3 a {
    color: var(--dark-green);
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-post-info h3 a:hover {
    color: var(--accent-green);
}

.related-post-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.related-post-date i {
    font-size: 0.8rem;
    color: var(--accent-green);
}

/* Responsive Design for Related Posts List */
@media (max-width: 768px) {
    .related-posts-list-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .related-posts-by-title {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    
    .related-post-item {
        padding: 1rem;
    }
    
    .related-post-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .related-post-info h3 {
        font-size: var(--font-size-body);
    }
}

/* ============================================
   Single Case Study Page Styles
   ============================================ */

.case-detail {
    background-color: white !important;
    padding: 1.5rem 0 !important; /* 减少padding，去掉大块白色区域 */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* 移除可能的灰色背景条和装饰元素 */
.single-case .ast-container::before,
.single-case .ast-container::after,
body.single-case .ast-container::before,
body.single-case .ast-container::after {
    display: none !important;
    content: none !important;
}

.case-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 0 !important; /* 移除顶部间距，减少白色区域 */
}

.case-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Fix footer being covered on single case pages */
body.single-case footer,
body.single-case .site-footer,
.single-case footer,
.single-case .site-footer {
    position: relative !important;
    z-index: 1 !important; /* 降低z-index，确保浮动按钮显示在上方 */
    background-color: #13BF66 !important; /* restore original green background for case pages */
}

/* Move chat widget up on single case pages so it doesn't overlap footer */
body.single-case .chat-widget,
.single-case .chat-widget {
    bottom: 120px !important;
    z-index: 10000 !important; /* below footer's z-index */
}

/* Add safe bottom padding to primary content so last content isn't obscured by fixed buttons */
body.single-case #primary,
.single-case #primary {
    padding-bottom: 6rem !important;
}

.case-featured-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.case-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

/* Single-case: show full banner image using an <img> so it's not cropped */

body.single-case .page-hero img.page-hero-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    max-height: none !important;
}

/* Position container absolutely so .page-hero-content overlays the image.
   Offset the overlay by the same header height so it's not placed under the fixed header. */
/* Let the container be in normal flow so it positions relative to the image */
body.single-case .page-hero .ast-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    height: auto !important;
    padding-top: 0 !important;
}

body.single-case .page-hero .page-hero-content {
    pointer-events: auto;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
}

/* hide legacy overlay to avoid covering the image */
body.single-case .page-hero .page-hero-overlay {
    display: none !important;
}

/* Ensure the fixed header does not overlap content on single-case pages by
   adding top padding to the whole page. This pushes the banner and all content
   below the header regardless of other hero rules. */
body.single-case {
    padding-top: 0 !important; /* 移除body的padding-top，因为page-hero内部已经有spacer了 */
}

/* Prevent double spacing: page-hero should not add extra top margin when page already padded */
body.single-case .page-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.case-content-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.case-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.case-description p {
    margin-bottom: 1.5rem;
}

/* Case Description Images - Support inline images within content */
.case-description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
    display: block;
}

.case-description img.alignleft,
.case-description img.alignright {
    max-width: 50%;
    margin: 1rem;
}

.case-description img.alignleft {
    float: left;
    margin-right: 2rem;
    margin-left: 0;
}

.case-description img.alignright {
    float: right;
    margin-left: 2rem;
    margin-right: 0;
}

.case-description img.aligncenter {
    display: block;
    margin: 2rem auto;
}

/* Clear floats */
.case-description::after {
    content: "";
    display: table;
    clear: both;
}

/* Case Description Headings */
.case-description h2,
.case-description h3,
.case-description h4 {
    color: var(--dark-green);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.case-description h2 {
    font-size: 1.8rem;
}

.case-description h3 {
    font-size: 1.5rem;
}

.case-description h4 {
    font-size: 1.3rem;
}

/* Case Description Lists */
.case-description ul,
.case-description ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.case-description li {
    margin-bottom: 0.8rem;
}

/* Case Description Blockquotes */
.case-description blockquote {
    border-left: 4px solid var(--accent-green);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.case-features-section {
    background-color:  #ffffff;
    padding: 2rem;
    border-radius: 10px;
}

.case-features-section h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.case-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-features-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-features-list li i {
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.case-features-list li span {
    color: #808285;
    line-height: 1.6;
}

/* Case Sidebar */
.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-info-box {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-green);
}

.info-box-header i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

.info-box-header h4 {
    color: var(--dark-green);
    font-size: 1.2rem;
    margin: 0;
}

.case-info-box p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.case-stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-stats-list .stat-item {
    text-align: left;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.case-stats-list .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.case-stats-list .stat-label {
    font-size: var(--font-size-body);
    color: #999 !important; /* 灰色文字，确保显示为灰色 */
    font-weight: 400 !important;
}

/* 确保case详情页统计数据的label文字是灰色 */
.case-stats-list .stat-item .stat-label,
.case-stats-list .stat-label {
    color: #999 !important; /* 灰色文字 */
    font-weight: 400 !important;
}

/* Related Cases Section */
.related-cases {
    padding: 4rem 0;
}

/* Responsive Styles for Single Case Study */
@media (max-width: 992px) {
    .case-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-detail {
        padding: 1rem 0 !important; /* 移动端也减少padding */
    }
    
    .case-features-section {
        padding: 1.5rem;
    }
    
    .case-features-section h3 {
        font-size: 1.3rem;
    }
    
    .case-info-box {
        padding: 1.25rem;
    }
    
    .info-box-header h4 {
        font-size: 1.1rem;
    }
    
    .case-stats-list .stat-number {
        font-size: 1.5rem;
    }
}

/* Responsive Styles for Single Post with TOC */
@media (max-width: 992px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        order: -1; /* Show sidebar first on tablet */
    }
    
    .toc-sidebar.sticky {
        position: relative;
        top: auto;
        max-height: none;
    }
    
    .post-toc-container {
        display: block; /* Show mobile TOC */
    }
    
    /* Ensure TOC sidebar is visible when inside news main content */
    .news-main-content .post-toc-container .toc-sidebar {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Hide TOC sidebar only when it's in a sidebar (not in content) */
    .news-sidebar .toc-sidebar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .post-content-wrapper {
        gap: 1.5rem;
    }
    
    .post-main-content {
        order: 2;
    }
    
    .post-sidebar {
        order: 1;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
        font-size: var(--font-size-body);
    }
    
    .post-content h2 {
        font-size: 1.7rem;
        margin-top: 2rem;
    }
    
    .post-content h3 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }
    
    .post-content h4 {
        font-size: 1.2rem;
    }
    
    .post-toc-container {
        margin-bottom: 1.5rem;
    }
    
    .post-toc,
    .toc-sidebar {
        padding: 1.25rem;
    }
    
    .toc-title {
        font-size: 1.1rem;
    }
    
    .toc-link {
        font-size: var(--font-size-body-small);
        padding: 0.4rem 0.6rem;
    }
    
    .post-meta-card {
        padding: 1.25rem;
    }
    
    .meta-card-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .meta-card-icon {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-body);
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-link {
        padding: 1.25rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
}

/* ============================================
   Floating Contact Buttons - 最高优先级，确保显示在所有元素上方
   使用最大z-index值 2147483647 确保始终在最上层
   ============================================ */
/* 全局强制覆盖：确保浮动按钮始终在最上层 */
html body .floating-contact-buttons,
html body .floating-btn,
html body #ast-scroll-top,
html body .ast-scroll-top-icon {
    z-index: 2147483647 !important;
    position: fixed !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 全局强制覆盖：确保footer始终在底层 */
html body footer,
html body .site-footer,
html body #colophon {
    z-index: 0 !important;
    position: relative !important;
    pointer-events: none !important;
}

/* ============================================
   Floating Contact Buttons - 最高优先级，确保显示在所有元素上方
   ============================================ */
.floating-contact-buttons,
body .floating-contact-buttons,
#page .floating-contact-buttons,
.site .floating-contact-buttons,
footer ~ .floating-contact-buttons,
.site-footer ~ .floating-contact-buttons {
    position: fixed !important;
    right: 24px !important; /* 再往左移1px：23px + 1px = 24px */
    bottom: 160px !important; /* 上移70px，避免遮挡Tawk.to按钮：90px + 70px = 160px */
    z-index: 2147483647 !important; /* 使用最大z-index值，确保显示在所有元素上方 */
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    pointer-events: auto !important; /* 确保可以点击 */
    isolation: isolate !important; /* 创建新的stacking context */
    transform: translateZ(0) !important; /* 强制硬件加速，确保在最上层 */
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-btn,
.floating-contact-buttons .floating-btn,
body .floating-btn {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 24px !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
    position: relative !important;
    overflow: visible !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2147483647 !important; /* 使用最大z-index值，确保显示在所有元素上方 */
    transform: translateZ(0) !important; /* 强制硬件加速 */
    pointer-events: auto !important; /* 确保可以点击 */
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn-chat {
    background-color: #007bff;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    font-size: 24px !important;
}

.floating-btn-chat:hover {
    background-color: #0056b3;
}

.floating-btn-whatsapp {
    background-color: #25D366;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    font-size: 24px !important;
}

.floating-btn-whatsapp:hover {
    background-color: #20BA5A;
}

.floating-btn-email {
    background-color: #1a936f;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    font-size: 24px !important;
}

.floating-btn-email:hover {
    background-color: #157a5a;
}

.floating-btn-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: var(--font-size-body-small);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.floating-btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* ============================================
   Online Chat Widget
   ============================================ */
.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 380px;
    max-height: 600px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.chat-widget.active {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-widget-overlay.active {
    display: block;
    opacity: 1;
}

.chat-widget-header {
    background: linear-gradient(135deg, #1a936f 0%, #2ecc71 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-widget-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-widget-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-h4);
}

.chat-widget-title h4 {
    margin: 0;
    font-size: var(--font-size-body);
    font-weight: 600;
}

.chat-status {
    font-size: var(--font-size-caption);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-widget-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: var(--font-size-h4);
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.chat-widget-close:hover {
    transform: rotate(90deg);
}

.chat-widget-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 400px;
    background-color: #f8f9fa;
}

.chat-message {
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-system {
    text-align: center;
}

.chat-message-user {
    text-align: right;
}

.chat-message-user .message-content {
    background-color: #1a936f;
    color: #ffffff;
    display: inline-block;
    max-width: 80%;
    text-align: left;
}

.chat-message-system .message-content {
    background-color: #ffffff;
    color: #333;
    display: inline-block;
    max-width: 80%;
}

.message-content {
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    font-size: var(--font-size-caption);
    color: #999;
    margin-top: 4px;
    padding: 0 4px;
}

.chat-message-user .message-time {
    text-align: right;
}

.chat-message-system .message-time {
    text-align: center;
}

.chat-widget-input-area {
    padding: 16px;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 24px;
    font-size: var(--font-size-body-small);
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: #1a936f;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1a936f;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: var(--font-size-body-large);
}

.chat-send-btn:hover {
    background-color: #157a5a;
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.chat-widget-footer {
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.chat-widget-footer p {
    margin: 0;
    font-size: var(--font-size-caption);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Tablet Responsive (iPad Air, iPad Pro, etc.) - 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 确保平板设备上所有按钮对齐和大小一致 */
    .floating-contact-buttons,
    body .floating-contact-buttons,
    #page .floating-contact-buttons,
    .site .floating-contact-buttons {
        right: 24px !important; /* 与PC端保持一致 */
        bottom: 160px !important;
    }
    
    .floating-contact-buttons .floating-btn,
    body .floating-btn {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    #ast-scroll-top,
    .ast-scroll-top-icon {
        right: 24px !important; /* 与浮动按钮组对齐 */
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    /* Tawk.to按钮对齐 - 平板设备 */
    #tawkchat-container,
    #tawkchat-container iframe,
    .tawk-button,
    .tawk-button-circle,
    button[class*="tawk"],
    button[aria-label*="Chat"],
    button[title*="Chat"],
    iframe[title*="chat"],
    iframe[id*="tawk"] {
        right: 20px !important; /* 与PC端保持一致 */
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-contact-buttons {
        right: 19px !important; /* 再往左移1px：18px + 1px = 19px */
        bottom: 162px; /* 上移70px，避免遮挡Tawk.to按钮：92px + 70px = 162px */
        gap: 12px;
    }
    
    .floating-btn {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        font-size: var(--font-size-h3) !important;
    }
    
    .floating-btn-chat {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        font-size: var(--font-size-h3) !important;
    }
    
    /* 移动端向上箭头按钮位置调整，使其与浮动按钮组之间的间隙为12px（与按钮之间的间隙一致） */
    /* 浮动按钮组底部：162px（Email按钮底部距离屏幕底部162px，上移70px避免遮挡Tawk.to） */
    /* 所有按钮统一高度：60px，gap：12px */
    /* WhatsApp按钮顶部距离屏幕底部：162px + 60px + 12px = 234px */
    /* WhatsApp按钮底部距离屏幕底部：234px + 60px = 294px */
    /* 向上箭头按钮应该在WhatsApp按钮上方，间隙12px */
    /* 向上箭头按钮底部位置 = 294px + 12px = 306px */
    #ast-scroll-top,
    .ast-scroll-top-icon {
        right: 19px !important; /* 移动端再往左移1px：18px + 1px = 19px */
        bottom: 306px !important; /* 确保与WhatsApp按钮之间的间隙为12px（所有按钮统一60px高度，上移70px避免遮挡Tawk.to） */
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        position: fixed !important;
        z-index: 2147483647 !important; /* 使用最大z-index值，确保显示在所有元素上方 */
        display: flex !important; /* 确保显示 */
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0 !important;
    }
    
    .floating-btn-tooltip {
        display: none; /* Hide tooltips on mobile for cleaner look */
    }
    
    /* 移动端Tawk.to按钮对齐 */
    #tawkchat-container,
    #tawkchat-container iframe,
    .tawk-button,
    .tawk-button-circle,
    button[class*="tawk"],
    button[aria-label*="Chat"],
    button[title*="Chat"],
    iframe[title*="chat"],
    iframe[id*="tawk"] {
        right: 15px !important; /* 移动端与自定义按钮对齐 */
    }
    
    .chat-widget {
        right: 10px;
        left: 10px;
        bottom: 90px;
        width: auto;
        max-height: 70vh;
    }
    
    .chat-widget-body {
        max-height: calc(70vh - 180px);
    }
    
    /* 强制覆盖 timeline-content 的移动端样式 */
    .company-history .history-timeline {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding: 0 !important;
    }
    
    .company-history .history-timeline .timeline-container {
        padding-left: 35px !important;
        padding-right: 1rem !important;
    }
    
    .company-history .history-timeline .timeline-container .timeline-content {
        padding: 10px !important;
    }
}

/* 内页banner样式已在上面统一定义，此处删除重复规则 */

/* Ensure inner container does not show a white box */
body.page-template-page-solution .page-hero .ast-container,
.page-solution .page-hero .ast-container,
body.page-template-page-solution .page-hero .page-hero-content,
.page-solution .page-hero .page-hero-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
}

/* Footer z-index - 确保低于浮动按钮 */
footer,
.site-footer,
#colophon,
.site-footer-wrap,
.ast-footer,
body footer,
body .site-footer,
body #colophon,
#page footer,
#page .site-footer,
.site footer,
.site .site-footer {
    position: relative !important;
    z-index: 0 !important; /* 使用最低z-index，确保低于浮动按钮 */
    overflow: visible !important; /* 确保不遮挡浮动按钮 */
    pointer-events: none !important; /* 让footer不拦截点击事件 */
    transform: none !important; /* 避免创建新的stacking context */
    isolation: auto !important; /* 不创建新的stacking context */
    will-change: auto !important; /* 避免创建新的stacking context */
}

/* Footer内容可以接收点击事件 */
footer *,
.site-footer *,
#colophon *,
footer .container,
footer .ast-container,
.site-footer .container,
.site-footer .ast-container,
#colophon .container,
#colophon .ast-container,
.footer-content,
.footer-column,
.footer-links {
    position: relative !important;
    z-index: 1 !important; /* 降低z-index，确保浮动按钮显示在上方 */
    pointer-events: auto !important; /* footer内容可以点击 */
}

/* Keep chat widget above footer but moved a bit so it doesn't overlap site footer area visually */
.chat-widget {
    z-index: 10002 !important;
    bottom: 24px !important;
}

/* Footer z-index for Solution page - 确保低于浮动按钮 */
body.page-template-page-solution footer,
body.page-template-page-solution .site-footer,
.page-solution footer,
.page-solution .site-footer {
    position: relative !important;
    z-index: 1 !important; /* 降低z-index，确保浮动按钮显示在上方 */
}

/* Ensure page content has safe bottom spacing on Solution page */
body.page-template-page-solution #primary,
.page-solution #primary {
    padding-bottom: 6rem !important;
}

/* Move floating buttons up on Solution page so they don't overlap the footer area */
/* body.page-template-page-solution .floating-contact-buttons,
.page-solution .floating-contact-buttons {
    bottom: 180px !important;
    z-index: 2147483647 !important;
} */


/* ============================================
   Scroll to Top Button - Emerald Green
   ============================================ */
#ast-scroll-top,
.ast-scroll-top-icon {
    transform: translateZ(0) !important; /* 强制硬件加速，确保在最上层 */
    pointer-events: auto !important; /* 确保可以点击 */
    background-color: #2ecc71 !important;
    border-color: #2ecc71 !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    right: 24px !important; /* 再往左移1px：23px + 1px = 24px */
    position: fixed !important;
    z-index: 2147483647 !important; /* 使用最大z-index值，确保显示在所有元素上方 */
    bottom: 90px !important; /* PC端上移70px，避免遮挡Tawk.to按钮：20px + 70px = 90px */
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    pointer-events: auto !important; /* 确保可以点击 */
    isolation: isolate !important; /* 创建新的stacking context */
}

#ast-scroll-top:hover,
.ast-scroll-top-icon:hover {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Adjust icon size for larger circular button */
#ast-scroll-top .ast-icon.icon-arrow svg,
.ast-scroll-top-icon .ast-icon.icon-arrow svg {
    width: 24px !important;
    height: 24px !important;
}

/* ============================================
   PC端按钮对齐规则（大于1024px的设备）
   ============================================ */
@media screen and (min-width: 1025px) {
    /* 确保所有浮动按钮垂直对齐在一条直线上 - PC端 */
    .floating-contact-buttons,
    body .floating-contact-buttons,
    #page .floating-contact-buttons,
    .site .floating-contact-buttons {
        right: 24px !important; /* PC端统一右对齐 */
    }
    
    #ast-scroll-top,
    .ast-scroll-top-icon {
        right: 24px !important; /* PC端与浮动按钮组对齐 */
    }
    
    /* Tawk.to按钮对齐 - PC端 */
    #tawkchat-container,
    #tawkchat-container iframe,
    .tawk-button,
    .tawk-button-circle,
    button[class*="tawk"],
    button[aria-label*="Chat"],
    button[title*="Chat"],
    iframe[title*="chat"],
    iframe[id*="tawk"] {
        right: 20px !important; /* PC端Tawk.to按钮位置 */
    }
    
    /* 确保Tawk.to按钮容器也对齐 */
    #tawkchat-container {
        position: fixed !important;
        right: 20px !important;
        bottom: 20px !important; /* Tawk.to按钮在底部 */
        z-index: 2147483646 !important; /* 略低于自定义按钮 */
    }
}

/* ============================================
   俄语页面样式修复 (Russian Language Fixes)
   ============================================ */
html[lang="ru"],
html[lang^="ru-"],
html[lang="ru_RU"],
body[class*="ru"] {
    /* 确保俄语文字正确换行和溢出处理 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 俄语页面全局文字样式调整 */
html[lang="ru"] body,
html[lang^="ru-"] body,
html[lang="ru_RU"] body {
    /* 调整行高以适应俄语文字 */
    line-height: 1.6;
}

/* 俄语页面容器宽度调整 */
html[lang="ru"] .container,
html[lang^="ru-"] .container,
html[lang="ru_RU"] .container,
html[lang="ru"] .ast-container,
html[lang^="ru-"] .ast-container,
html[lang="ru_RU"] .ast-container {
    /* 确保容器有足够的宽度容纳俄语文字 */
    max-width: 100%;
    overflow-x: hidden;
}

/* 俄语页面文字溢出处理 */
html[lang="ru"] p,
html[lang^="ru-"] p,
html[lang="ru_RU"] p,
html[lang="ru"] h1,
html[lang^="ru-"] h1,
html[lang="ru_RU"] h1,
html[lang="ru"] h2,
html[lang^="ru-"] h2,
html[lang="ru_RU"] h2,
html[lang="ru"] h3,
html[lang^="ru-"] h3,
html[lang="ru_RU"] h3,
html[lang="ru"] h4,
html[lang^="ru-"] h4,
html[lang="ru_RU"] h4,
html[lang="ru"] .entry-content,
html[lang^="ru-"] .entry-content,
html[lang="ru_RU"] .entry-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}



/* 俄语页面About Us板块宽度和换行调整 - 与全站一致 */
html[lang="ru"] .about-section-title,
html[lang^="ru-"] .about-section-title,
html[lang="ru_RU"] .about-section-title {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .about-section-title p,
html[lang^="ru-"] .about-section-title p,
html[lang="ru_RU"] .about-section-title p {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .about-content,
html[lang^="ru-"] .about-content,
html[lang="ru_RU"] .about-content {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
    gap: 2rem !important; /* 减少gap，给文字更多空间 */
}

/* 俄语页面文字区域 - 增加flex比例，留出更多空间 */
html[lang="ru"] .about-text,
html[lang^="ru-"] .about-text,
html[lang="ru_RU"] .about-text {
    width: auto !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    flex: 1.5 !important; /* 增加文字区域的flex比例，获得更多空间 */
    min-width: 0 !important; /* 允许flex收缩 */
}

/* 俄语页面图片区域 - 右对齐，移除边框，缩小尺寸 */
html[lang="ru"] .about-image,
html[lang^="ru-"] .about-image,
html[lang="ru_RU"] .about-image {
    width: auto !important;
    max-width: 35% !important; /* 缩小图片宽度，从固定446px改为最大35% */
    height: auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important; /* 移除阴影边框 */
    border-radius: 0 !important; /* 移除圆角 */
    flex-shrink: 0 !important;
    margin-left: auto !important; /* 图片右对齐 */
}

html[lang="ru"] .about-image img,
html[lang^="ru-"] .about-image img,
html[lang="ru_RU"] .about-image img {
    width: 100% !important;
    height: auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important; /* 移除阴影边框 */
    border-radius: 0 !important; /* 移除圆角 */
    object-fit: contain !important; /* 保持图片比例 */
}

/* 俄语页面About Us文字内容调整 - 设置合适的最大宽度，允许换行 */
html[lang="ru"] .about-text,
html[lang^="ru-"] .about-text,
html[lang="ru_RU"] .about-text {
    width: auto !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .about-text h3,
html[lang^="ru-"] .about-text h3,
html[lang="ru_RU"] .about-text h3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html[lang="ru"] .about-text > p,
html[lang="ru"] .about-text p,
html[lang^="ru-"] .about-text > p,
html[lang^="ru-"] .about-text p,
html[lang="ru_RU"] .about-text > p,
html[lang="ru_RU"] .about-text p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 俄语页面特色卡片区域调整 - 向上移动，更靠近上方文字，间隙缩减一半 */
html[lang="ru"] .about-features,
html[lang^="ru-"] .about-features,
html[lang="ru_RU"] .about-features {
    margin-top: 1rem !important; /* 从8rem减少到1rem，更靠近上方文字 */
    gap: 1rem !important; /* 从2rem缩减到1rem，卡片之间的间隙缩减一半 */
}

/* 希腊语页面ABOUT栏目调整 */
html[lang="el"] .about-features,
html[lang^="el-"] .about-features,
html[lang="el_GR"] .about-features {
    margin-top: 4rem !important; /* 往下移，增加间距 */
}

/* 希腊语页面最后一个特征卡片文字换行显示 */
html[lang="el"] .about-features .feature-item:last-child .feature-content p,
html[lang^="el-"] .about-features .feature-item:last-child .feature-content p,
html[lang="el_GR"] .about-features .feature-item:last-child .feature-content p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 50px !important; /* 确保有足够高度显示两行 */
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

/* 希腊语页面特征卡片文字允许换行 */
html[lang="el"] .feature-content p,
html[lang^="el-"] .feature-content p,
html[lang="el_GR"] .feature-content p {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* 希腊语页面右边图片完全显示 */
html[lang="el"] .about-content,
html[lang^="el-"] .about-content,
html[lang="el_GR"] .about-content {
    gap: 3rem !important; /* 增加左右间距，给图片留空间 */
    align-items: flex-start !important;
}

html[lang="el"] .about-text,
html[lang^="el-"] .about-text,
html[lang="el_GR"] .about-text {
    flex: 1.5 !important; /* 增加文字区域的占比 */
    min-width: 0 !important; /* 允许flex收缩 */
    max-width: none !important;
}

html[lang="el"] .about-image,
html[lang^="el-"] .about-image,
html[lang="el_GR"] .about-image {
    max-width: 350px !important; /* 减小图片最大宽度 */
    width: 100% !important;
    height: auto !important;
    flex-shrink: 1 !important; /* 允许图片收缩 */
    flex-basis: 350px !important; /* 设置基础宽度 */
    min-width: 300px !important; /* 减小最小宽度 */
}

html[lang="el"] .about-image img,
html[lang^="el-"] .about-image img,
html[lang="el_GR"] .about-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* 确保图片完整显示，不被裁剪 */
}

/* 希腊语页面产品展示区域往下移，避免遮挡上面的文字 */
html[lang="el"] .products-grid,
html[lang^="el-"] .products-grid,
html[lang="el_GR"] .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="el"] #products .products-grid,
html[lang^="el-"] #products .products-grid,
html[lang="el_GR"] #products .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="el"] #products .section-title p,
html[lang^="el-"] #products .section-title p,
html[lang="el_GR"] #products .section-title p {
    margin-bottom: 2rem !important; /* 增加描述文字与产品卡片之间的间距 */
}

/* 意大利语页面产品展示区域往下移，避免遮挡上面的文字 */
html[lang="it"] .products-grid,
html[lang^="it-"] .products-grid,
html[lang="it_IT"] .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="it"] #products .products-grid,
html[lang^="it-"] #products .products-grid,
html[lang="it_IT"] #products .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="it"] #products .section-title p,
html[lang^="it-"] #products .section-title p,
html[lang="it_IT"] #products .section-title p {
    margin-bottom: 2rem !important; /* 增加描述文字与产品卡片之间的间距 */
}

/* 西班牙语页面产品展示区域往下移，避免遮挡上面的文字 */
html[lang="es"] .products-grid,
html[lang^="es-"] .products-grid,
html[lang="es_ES"] .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="es"] #products .products-grid,
html[lang^="es-"] #products .products-grid,
html[lang="es_ES"] #products .products-grid {
    margin-top: 3rem !important; /* 增加上边距，避免遮挡上面的文字 */
}

html[lang="es"] #products .section-title p,
html[lang^="es-"] #products .section-title p,
html[lang="es_ES"] #products .section-title p {
    margin-bottom: 2rem !important; /* 增加描述文字与产品卡片之间的间距 */
}

/* 俄语页面特色卡片内容允许换行 */
html[lang="ru"] .feature-content h4,
html[lang^="ru-"] .feature-content h4,
html[lang="ru_RU"] .feature-content h4 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .feature-content p,
html[lang^="ru-"] .feature-content p,
html[lang="ru_RU"] .feature-content p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* 俄语页面卡片和内容区域调整 */
html[lang="ru"] .card,
html[lang^="ru-"] .card,
html[lang="ru_RU"] .card,
html[lang="ru"] .page-content,
html[lang^="ru-"] .page-content,
html[lang="ru_RU"] .page-content,
html[lang="ru"] .ast-container,
html[lang^="ru-"] .ast-container,
html[lang="ru_RU"] .ast-container {
    overflow-x: hidden;
    word-wrap: break-word;
}

/* 俄语页面表格调整 */
html[lang="ru"] table,
html[lang^="ru-"] table,
html[lang="ru_RU"] table {
    table-layout: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html[lang="ru"] table td,
html[lang^="ru-"] table td,
html[lang="ru_RU"] table td,
html[lang="ru"] table th,
html[lang^="ru-"] table th,
html[lang="ru_RU"] table th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* 俄语页面响应式调整 */
@media screen and (max-width: 768px) {
    html[lang="ru"] .container,
    html[lang^="ru-"] .container,
    html[lang="ru_RU"] .container,
    html[lang="ru"] .ast-container,
    html[lang^="ru-"] .ast-container,
    html[lang="ru_RU"] .ast-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
}

/* ============================================
   俄语页面产品部分调整 - 统一宽度和间距
   ============================================ */

/* 俄语页面产品section标题和描述文字 - 增加与产品卡片的间距 */
html[lang="ru"] #products .section-title,
html[lang^="ru-"] #products .section-title,
html[lang="ru_RU"] #products .section-title {
    margin-bottom: 3rem !important; /* 从1.5rem增加到3rem，扩大与产品卡片的间距 */
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

html[lang="ru"] #products .section-title p,
html[lang^="ru-"] #products .section-title p,
html[lang="ru_RU"] #products .section-title p {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* 俄语页面产品网格 - 最大宽度1280px，居中显示 */
html[lang="ru"] .products-grid,
html[lang^="ru-"] .products-grid,
html[lang="ru_RU"] .products-grid {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

/* 俄语页面产品卡片 - 确保不超出容器 */
html[lang="ru"] .product-card,
html[lang^="ru-"] .product-card,
html[lang="ru_RU"] .product-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* 俄语页面Footer统一宽度 */
html[lang="ru"] footer .container,
html[lang^="ru-"] footer .container,
html[lang="ru_RU"] footer .container,
html[lang="ru"] footer .ast-container,
html[lang^="ru-"] footer .ast-container,
html[lang="ru_RU"] footer .ast-container,
html[lang="ru"] .site-footer .container,
html[lang^="ru-"] .site-footer .container,
html[lang="ru_RU"] .site-footer .container,
html[lang="ru"] .site-footer .ast-container,
html[lang^="ru-"] .site-footer .ast-container,
html[lang="ru_RU"] .site-footer .ast-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 俄语页面页面内容区域统一宽度 */
html[lang="ru"] .page-content,
html[lang^="ru-"] .page-content,
html[lang="ru_RU"] .page-content,
html[lang="ru"] .site-content,
html[lang^="ru-"] .site-content,
html[lang="ru_RU"] .site-content,
html[lang="ru"] #primary,
html[lang^="ru-"] #primary,
html[lang="ru_RU"] #primary {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* 俄语页面Q&A部分标题 - 单行显示 */
html[lang="ru"] .qa-section .section-title h2,
html[lang^="ru-"] .qa-section .section-title h2,
html[lang="ru_RU"] .qa-section .section-title h2,
html[lang="ru"] .archive-qa .section-title h2,
html[lang^="ru-"] .archive-qa .section-title h2,
html[lang="ru_RU"] .archive-qa .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 希腊语页面Q&A标题 - 两行显示 */
html[lang="el"] .qa-section .section-title h2,
html[lang^="el-"] .qa-section .section-title h2,
html[lang="el_GR"] .qa-section .section-title h2,
html[lang="el"] .archive-qa .section-title h2,
html[lang^="el-"] .archive-qa .section-title h2,
html[lang="el_GR"] .archive-qa .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.3 !important; /* 设置合适的行高 */
    white-space: normal !important; /* 允许换行 */
    overflow: visible !important;
    text-overflow: clip !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    min-height: 80px !important; /* 确保有足够高度显示两行 */
    display: inline-block !important; /* 允许文字自然换行 */
}

/* 意大利语页面Q&A部分标题 - 单行显示 */
html[lang="it"] .qa-section .section-title h2,
html[lang^="it-"] .qa-section .section-title h2,
html[lang="it_IT"] .qa-section .section-title h2,
html[lang="it"] .archive-qa .section-title h2,
html[lang^="it-"] .archive-qa .section-title h2,
html[lang="it_IT"] .archive-qa .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 西班牙语页面Q&A部分标题 - 单行显示 */
html[lang="es"] .qa-section .section-title h2,
html[lang^="es-"] .qa-section .section-title h2,
html[lang="es_ES"] .qa-section .section-title h2,
html[lang="es"] .archive-qa .section-title h2,
html[lang^="es-"] .archive-qa .section-title h2,
html[lang="es_ES"] .archive-qa .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 俄语页面Q&A部分 - 减少框宽度，确保内容完全显示 */
html[lang="ru"] .qa-container,
html[lang^="ru-"] .qa-container,
html[lang="ru_RU"] .qa-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .qa-item,
html[lang^="ru-"] .qa-item,
html[lang="ru_RU"] .qa-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .qa-question,
html[lang^="ru-"] .qa-question,
html[lang="ru_RU"] .qa-question {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 104px !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

html[lang="ru"] .qa-answer,
html[lang^="ru-"] .qa-answer,
html[lang="ru_RU"] .qa-answer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

html[lang="ru"] .qa-item.active .qa-question,
html[lang^="ru-"] .qa-item.active .qa-question,
html[lang="ru_RU"] .qa-item.active .qa-question {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 104px !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .qa-item.active .qa-answer,
html[lang^="ru-"] .qa-item.active .qa-answer,
html[lang="ru_RU"] .qa-item.active .qa-answer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 俄语页面新闻部分 - 缩小间隙和卡片宽度，确保三个卡片完全显示 */
html[lang="ru"] .news-grid,
html[lang^="ru-"] .news-grid,
html[lang="ru_RU"] .news-grid {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    gap: 1rem !important; /* 从2rem缩小到1rem，减少间隙 */
    box-sizing: border-box !important;
}

html[lang="ru"] .news-card,
html[lang^="ru-"] .news-card,
html[lang="ru_RU"] .news-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .news-image,
html[lang^="ru-"] .news-image,
html[lang="ru_RU"] .news-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .news-image img,
html[lang^="ru-"] .news-image img,
html[lang="ru_RU"] .news-image img {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .news-content,
html[lang^="ru-"] .news-content,
html[lang="ru_RU"] .news-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

html[lang="ru"] .news-content h3,
html[lang^="ru-"] .news-content h3,
html[lang="ru_RU"] .news-content h3 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .news-content p,
html[lang^="ru-"] .news-content p,
html[lang="ru_RU"] .news-content p {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* 俄语页面联系部分标题 - 单行显示 */
html[lang="ru"] .section-title h2,
html[lang^="ru-"] .section-title h2,
html[lang="ru_RU"] .section-title h2,
html[lang="ru"] .contact-section .section-title h2,
html[lang^="ru-"] .contact-section .section-title h2,
html[lang="ru_RU"] .contact-section .section-title h2,
html[lang="ru"] .page-contact .section-title h2,
html[lang^="ru-"] .page-contact .section-title h2,
html[lang="ru_RU"] .page-contact .section-title h2,
html[lang="ru"] .contact .section-title h2,
html[lang^="ru-"] .contact .section-title h2,
html[lang="ru_RU"] .contact .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 俄语页面：强制实现Banner、About、Contact全屏显示 */

/* 俄语页面Banner全屏显示 - 最高优先级 */
html[lang="ru"] .page-hero,
html[lang^="ru-"] .page-hero,
html[lang="ru_RU"] .page-hero,
html[lang="ru"] body.home .page-hero,
html[lang^="ru-"] body.home .page-hero,
html[lang="ru_RU"] body.home .page-hero,
html[lang="ru"] body.front-page .page-hero,
html[lang^="ru-"] body.front-page .page-hero,
html[lang="ru_RU"] body.front-page .page-hero,
html[lang="ru"] body .page-hero,
html[lang^="ru-"] body .page-hero,
html[lang="ru_RU"] body .page-hero,
html[lang="ru"] #page .page-hero,
html[lang^="ru-"] #page .page-hero,
html[lang="ru_RU"] #page .page-hero,
html[lang="ru"] .site .page-hero,
html[lang^="ru-"] .site .page-hero,
html[lang="ru_RU"] .site .page-hero,
html[lang="ru"] #primary .page-hero,
html[lang^="ru-"] #primary .page-hero,
html[lang="ru_RU"] #primary .page-hero,
html[lang="ru"] .site-content .page-hero,
html[lang^="ru-"] .site-content .page-hero,
html[lang="ru_RU"] .site-content .page-hero,
html[lang="ru"] #content .page-hero,
html[lang^="ru-"] #content .page-hero,
html[lang="ru_RU"] #content .page-hero,
html[lang="ru"] body.page-template-page-product .page-hero,
html[lang^="ru-"] body.page-template-page-product .page-hero,
html[lang="ru_RU"] body.page-template-page-product .page-hero,
html[lang="ru"] body.page-template-page-solution .page-hero,
html[lang^="ru-"] body.page-template-page-solution .page-hero,
html[lang="ru_RU"] body.page-template-page-solution .page-hero,
html[lang="ru"] body.page-template-page-news .page-hero,
html[lang^="ru-"] body.page-template-page-news .page-hero,
html[lang="ru_RU"] body.page-template-page-news .page-hero,
html[lang="ru"] body.page-template-page-aboutus .page-hero,
html[lang^="ru-"] body.page-template-page-aboutus .page-hero,
html[lang="ru_RU"] body.page-template-page-aboutus .page-hero,
html[lang="ru"] body.page-template-page-contact .page-hero,
html[lang^="ru-"] body.page-template-page-contact .page-hero,
html[lang="ru_RU"] body.page-template-page-contact .page-hero,
html[lang="ru"] .page-product .page-hero,
html[lang^="ru-"] .page-product .page-hero,
html[lang="ru_RU"] .page-product .page-hero,
html[lang="ru"] .page-solution .page-hero,
html[lang^="ru-"] .page-solution .page-hero,
html[lang="ru_RU"] .page-solution .page-hero,
html[lang="ru"] .page-news .page-hero,
html[lang^="ru-"] .page-news .page-hero,
html[lang="ru_RU"] .page-news .page-hero,
html[lang="ru"] .page-aboutus .page-hero,
html[lang^="ru-"] .page-aboutus .page-hero,
html[lang="ru_RU"] .page-aboutus .page-hero,
html[lang="ru"] .page-contact .page-hero,
html[lang^="ru-"] .page-contact .page-hero,
html[lang="ru_RU"] .page-contact .page-hero,
html[lang="ru"] .archive-qa .page-hero,
html[lang^="ru-"] .archive-qa .page-hero,
html[lang="ru_RU"] .archive-qa .page-hero,
html[lang="ru"] .case .page-hero,
html[lang^="ru-"] .case .page-hero,
html[lang="ru_RU"] .case .page-hero {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
    background-size: cover !important;
}

/* 俄语页面About部分全屏背景色 - 最高优先级 */
html[lang="ru"] .about,
html[lang^="ru-"] .about,
html[lang="ru_RU"] .about,
html[lang="ru"] body.home .about,
html[lang^="ru-"] body.home .about,
html[lang="ru_RU"] body.home .about,
html[lang="ru"] body.front-page .about,
html[lang^="ru-"] body.front-page .about,
html[lang="ru_RU"] body.front-page .about,
html[lang="ru"] section.about,
html[lang^="ru-"] section.about,
html[lang="ru_RU"] section.about,
html[lang="ru"] body.home section.about,
html[lang^="ru-"] body.home section.about,
html[lang="ru_RU"] body.home section.about,
html[lang="ru"] .topway-section.about,
html[lang^="ru-"] .topway-section.about,
html[lang="ru_RU"] .topway-section.about {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

/* 俄语页面Contact部分全屏背景色 - 最高优先级 */
html[lang="ru"] .contact,
html[lang^="ru-"] .contact,
html[lang="ru_RU"] .contact,
html[lang="ru"] body.home .contact,
html[lang^="ru-"] body.home .contact,
html[lang="ru_RU"] body.home .contact,
html[lang="ru"] body.front-page .contact,
html[lang^="ru-"] body.front-page .contact,
html[lang="ru_RU"] body.front-page .contact,
html[lang="ru"] section.contact,
html[lang^="ru-"] section.contact,
html[lang="ru_RU"] section.contact,
html[lang="ru"] body.home section.contact,
html[lang^="ru-"] body.home section.contact,
html[lang="ru_RU"] body.home section.contact,
html[lang="ru"] .topway-section.contact,
html[lang^="ru-"] .topway-section.contact,
html[lang="ru_RU"] .topway-section.contact,
html[lang="ru"] .page-contact .topway-section,
html[lang^="ru-"] .page-contact .topway-section,
html[lang="ru_RU"] .page-contact .topway-section {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

/* 俄语页面父容器允许子元素全屏突破 - 最高优先级 */
html[lang="ru"] body,
html[lang^="ru-"] body,
html[lang="ru_RU"] body,
html[lang="ru"] body.home,
html[lang^="ru-"] body.home,
html[lang="ru_RU"] body.home,
html[lang="ru"] body.front-page,
html[lang^="ru-"] body.front-page,
html[lang="ru_RU"] body.front-page,
html[lang="ru"] #page,
html[lang^="ru-"] #page,
html[lang="ru_RU"] #page,
html[lang="ru"] .site,
html[lang^="ru-"] .site,
html[lang="ru_RU"] .site,
html[lang="ru"] .site-content,
html[lang^="ru-"] .site-content,
html[lang="ru_RU"] .site-content,
html[lang="ru"] #primary,
html[lang^="ru-"] #primary,
html[lang="ru_RU"] #primary,
html[lang="ru"] #content,
html[lang^="ru-"] #content,
html[lang="ru_RU"] #content,
html[lang="ru"] .ast-container,
html[lang^="ru-"] .ast-container,
html[lang="ru_RU"] .ast-container,
html[lang="ru"] main,
html[lang^="ru-"] main,
html[lang="ru_RU"] main {
    overflow-x: visible !important;
    overflow-y: visible !important;
    position: relative !important;
}

/* 俄语页面Banner内容容器保持在1280px内 */
html[lang="ru"] .page-hero .container,
html[lang^="ru-"] .page-hero .container,
html[lang="ru_RU"] .page-hero .container,
html[lang="ru"] .page-hero .ast-container,
html[lang^="ru-"] .page-hero .ast-container,
html[lang="ru_RU"] .page-hero .ast-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

/* 俄语Banner内容框右移，与下面栏目的文字对齐 */
html[lang="ru"] .topway-hero .ast-container,
html[lang^="ru-"] .topway-hero .ast-container,
html[lang="ru_RU"] .topway-hero .ast-container,
html[lang="ru"] .topway-hero .container,
html[lang^="ru-"] .topway-hero .container,
html[lang="ru_RU"] .topway-hero .container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .hero-content,
html[lang^="ru-"] .hero-content,
html[lang="ru_RU"] .hero-content,
html[lang="ru"] .topway-hero-content,
html[lang^="ru-"] .topway-hero-content,
html[lang="ru_RU"] .topway-hero-content {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* 俄语Banner文字缩小，确保按钮完整显示 */
html[lang="ru"] .hero-content h1,
html[lang^="ru-"] .hero-content h1,
html[lang="ru_RU"] .hero-content h1,
html[lang="ru"] .topway-hero-content h1,
html[lang^="ru-"] .topway-hero-content h1,
html[lang="ru_RU"] .topway-hero-content h1 {
    font-size: 36px !important; /* 从42px缩小到36px */
    line-height: 1.2 !important; /* 减少行高 */
    margin-bottom: 1rem !important; /* 减少底部间距 */
}

html[lang="ru"] .hero-content p,
html[lang^="ru-"] .hero-content p,
html[lang="ru_RU"] .hero-content p,
html[lang="ru"] .topway-hero-content p,
html[lang^="ru-"] .topway-hero-content p,
html[lang="ru_RU"] .topway-hero-content p {
    font-size: 16px !important; /* 从20px缩小到16px */
    min-height: auto !important; /* 移除固定高度 */
    margin-bottom: 1.5rem !important; /* 减少底部间距 */
    line-height: 1.4 !important; /* 减少行高 */
}

/* 确保按钮容器完整显示 */
html[lang="ru"] .hero-content .btn-container,
html[lang^="ru-"] .hero-content .btn-container,
html[lang="ru_RU"] .hero-content .btn-container,
html[lang="ru"] .topway-hero-content .btn-container,
html[lang^="ru-"] .topway-hero-content .btn-container,
html[lang="ru_RU"] .topway-hero-content .btn-container {
    overflow: visible !important; /* 确保按钮不被裁剪 */
    margin-top: 0.5rem !important;
}

/* 俄语页面内容容器保持在1280px内 */
html[lang="ru"] .about .container,
html[lang^="ru-"] .about .container,
html[lang="ru_RU"] .about .container,
html[lang="ru"] .about .ast-container,
html[lang^="ru-"] .about .ast-container,
html[lang="ru_RU"] .about .ast-container,
html[lang="ru"] .contact .container,
html[lang^="ru-"] .contact .container,
html[lang="ru_RU"] .contact .container,
html[lang="ru"] .contact .ast-container,
html[lang^="ru-"] .contact .ast-container,
html[lang="ru_RU"] .contact .ast-container,
html[lang="ru"] .page-contact .container,
html[lang^="ru-"] .page-contact .container,
html[lang="ru_RU"] .page-contact .container,
html[lang="ru"] .page-contact .ast-container,
html[lang^="ru-"] .page-contact .ast-container,
html[lang="ru_RU"] .page-contact .ast-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

/* 删除父容器特殊样式，使用网站默认样式 */

/* 删除Banner特殊全屏样式，使用网站默认样式 */

/* 俄语Cases页面样式 - 确保与英文版本一致 */
html[lang="ru"] .case-grid,
html[lang^="ru-"] .case-grid,
html[lang="ru_RU"] .case-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 强制三个一行 */
    gap: 2.5rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .case-card,
html[lang^="ru-"] .case-card,
html[lang="ru_RU"] .case-card {
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .case-image,
html[lang^="ru-"] .case-image,
html[lang="ru_RU"] .case-image,
html[lang="ru"] .case-image img,
html[lang^="ru-"] .case-image img,
html[lang="ru_RU"] .case-image img {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .case-content,
html[lang^="ru-"] .case-content,
html[lang="ru_RU"] .case-content,
html[lang="ru"] .case-content h3,
html[lang^="ru-"] .case-content h3,
html[lang="ru_RU"] .case-content h3,
html[lang="ru"] .case-content p,
html[lang^="ru-"] .case-content p,
html[lang="ru_RU"] .case-content p {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* ============================================
   修复语言切换器和下拉菜单显示问题
   ============================================ */
/* 确保 header 和导航容器允许下拉菜单溢出显示 */
header,
#masthead,
.site-header,
header .ast-container,
#masthead .ast-container,
.site-header .ast-container,
header nav,
#masthead nav,
.site-header nav,
.main-header-bar,
.ast-main-header-wrap,
.ast-primary-header-bar {
    overflow: visible !important;
}


/* 语言切换器特殊处理 - 使用更高的z-index */
.wpml-ls-menu-item,
.pll-parent-menu-item,
li[id*="wpml"],
li[class*="wpml"],
li[class*="lang"],
li[class*="language"] {
    position: relative !important;
    overflow: visible !important;
}

.wpml-ls-sub-menu,
.pll-parent-menu-item .sub-menu,
li[id*="wpml"] .sub-menu,
li[class*="wpml"] .sub-menu,
li[class*="lang"] .sub-menu,
li[class*="language"] .sub-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 999999 !important;
    background: white !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    border-radius: 5px !important;
    min-width: 150px !important;
    padding: 0.5rem 1rem !important; /* 添加左右内边距 */
    margin-top: 0 !important;
    pointer-events: auto !important;
    display: none !important; /* 默认隐藏 */
    opacity: 0 !important;
    visibility: hidden !important;
    overflow-y: visible !important; /* 去掉垂直滚动条 */
    overflow-x: hidden !important;
    max-height: none !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

/* 隐藏语言选择下拉菜单的滚动条 */
.wpml-ls-sub-menu::-webkit-scrollbar,
.pll-parent-menu-item .sub-menu::-webkit-scrollbar,
li[id*="wpml"] .sub-menu::-webkit-scrollbar,
li[class*="wpml"] .sub-menu::-webkit-scrollbar,
li[class*="lang"] .sub-menu::-webkit-scrollbar,
li[class*="language"] .sub-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 语言切换器下拉菜单悬停保持显示 */
.wpml-ls-menu-item:hover .wpml-ls-sub-menu,
.pll-parent-menu-item:hover .sub-menu,
li[id*="wpml"]:hover .sub-menu,
li[class*="wpml"]:hover .sub-menu,
li[class*="lang"]:hover .sub-menu,
li[class*="language"]:hover .sub-menu,
.wpml-ls-sub-menu:hover,
.pll-parent-menu-item .sub-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: visible !important; /* 去掉垂直滚动条 */
    overflow-x: hidden !important;
    max-height: none !important;
}

/* 俄语关于我们页面 - 成就数字和加号同一行显示 */
html[lang="ru"] .history-achievements .achievement-number,
html[lang^="ru-"] .history-achievements .achievement-number,
html[lang="ru_RU"] .history-achievements .achievement-number {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important; /* 强制数字和加号在同一行 */
    display: inline-block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
}

/* 俄语关于我们页面 - 内容布局调整 */
html[lang="ru"] .intro-content,
html[lang^="ru-"] .intro-content,
html[lang="ru_RU"] .intro-content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 4rem !important; /* 增加间距，确保文字和图片之间有足够空间 */
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* 确保内容不被裁剪 */
}

html[lang="ru"] .intro-text,
html[lang^="ru-"] .intro-text,
html[lang="ru_RU"] .intro-text {
    flex: 1.5 !important; /* 缩减文字区域的flex比例 */
    min-width: 0 !important; /* 允许flex收缩 */
    max-width: 60% !important; /* 缩减文字宽度，最大60% */
    padding-right: 2rem !important;
    box-sizing: border-box !important;
    text-align: left !important; /* 文字左对齐 */
}

/* 俄语关于我们页面 - 文字内容允许换行 */
html[lang="ru"] .intro-text p,
html[lang^="ru-"] .intro-text p,
html[lang="ru_RU"] .intro-text p,
html[lang="ru"] .intro-text .intro-subtitle,
html[lang^="ru-"] .intro-text .intro-subtitle,
html[lang="ru_RU"] .intro-text .intro-subtitle,
html[lang="ru"] .intro-text .intro-description,
html[lang^="ru-"] .intro-text .intro-description,
html[lang="ru_RU"] .intro-text .intro-description {
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: left !important; /* 文字左对齐 */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 俄语关于我们页面 - 图片显示和尺寸调整（恢复上一步设置） */
html[lang="ru"] .intro-image,
html[lang^="ru-"] .intro-image,
html[lang="ru_RU"] .intro-image {
    display: block !important; /* 确保图片容器显示 */
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: 35% !important; /* 恢复为35% */
    min-width: 300px !important; /* 恢复为300px */
    height: auto !important;
    flex-shrink: 0 !important; /* 恢复为不允许收缩 */
    flex-basis: auto !important;
    margin-left: auto !important; /* 图片右对齐 */
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    position: relative !important; /* 确保定位正常 */
    z-index: 1 !important; /* 确保图片在文字下方 */
}

html[lang="ru"] .intro-image img,
html[lang^="ru-"] .intro-image img,
html[lang="ru_RU"] .intro-image img {
    display: block !important; /* 确保图片显示 */
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important; /* 保持图片比例，填充容器 */
    border-radius: 10px !important;
    transition: transform 0.5s !important;
}

html[lang="ru"] .intro-image:hover img,
html[lang^="ru-"] .intro-image:hover img,
html[lang="ru_RU"] .intro-image:hover img {
    transform: scale(1.05) !important; /* 保持悬停效果 */
}

/* 希腊语关于我们页面 - 标题单行显示 */
html[lang="el"] .company-intro .section-title h2,
html[lang^="el-"] .company-intro .section-title h2,
html[lang="el_GR"] .company-intro .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
    margin-bottom: 1.5rem !important;
}

/* 希腊语关于我们页面 - 内容布局和图片调整 */
html[lang="el"] .intro-content,
html[lang^="el-"] .intro-content,
html[lang="el_GR"] .intro-content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 4rem !important; /* 增加间距，确保文字和图片之间有足够空间 */
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

html[lang="el"] .intro-text,
html[lang^="el-"] .intro-text,
html[lang="el_GR"] .intro-text {
    flex: 2 !important; /* 增加文字区域flex比例，给文字更多空间 */
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 2rem !important; /* 增加右边距，确保文字不被图片遮挡 */
    box-sizing: border-box !important;
}

/* 希腊语关于我们页面 - 图片缩小，确保不遮挡文字 */
html[lang="el"] .intro-image,
html[lang^="el-"] .intro-image,
html[lang="el_GR"] .intro-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: 32% !important; /* 缩小图片，从40%改为32% */
    min-width: 280px !important; /* 减小最小宽度，从350px改为280px */
    height: auto !important;
    flex-shrink: 1 !important; /* 允许图片收缩，避免遮挡文字 */
    flex-basis: 32% !important;
    margin-left: auto !important; /* 图片右对齐 */
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    position: relative !important;
    z-index: 1 !important;
}

html[lang="el"] .intro-image img,
html[lang^="el-"] .intro-image img,
html[lang="el_GR"] .intro-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    transition: transform 0.5s !important;
}

html[lang="el"] .intro-image:hover img,
html[lang^="el-"] .intro-image:hover img,
html[lang="el_GR"] .intro-image:hover img {
    transform: scale(1.05) !important; /* 保持悬停效果 */
}

/* 希腊语关于我们页面 - 特色卡片描述文字换行并对齐 */
html[lang="el"] .intro-features .feature-item p,
html[lang^="el-"] .intro-features .feature-item p,
html[lang="el_GR"] .intro-features .feature-item p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important; /* 移除固定高度，允许换行 */
    min-height: auto !important;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important; /* 设置合适的行高 */
    text-align: left !important; /* 左对齐，与上面的标题对齐 */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 希腊语关于我们页面 - 特色卡片标题左对齐 */
html[lang="el"] .intro-features .feature-item h4,
html[lang^="el-"] .intro-features .feature-item h4,
html[lang="el_GR"] .intro-features .feature-item h4 {
    text-align: left !important; /* 确保标题也是左对齐 */
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important; /* 如果标题太长也允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* 西班牙语关于我们页面 - 标题单行显示 */
html[lang="es"] .company-intro .section-title h2,
html[lang^="es-"] .company-intro .section-title h2,
html[lang="es_ES"] .company-intro .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
    margin-bottom: 1.5rem !important;
}

/* 西班牙语公司历史页面 - 标题单行显示 */
html[lang="es"] .company-history .section-title h2,
html[lang^="es-"] .company-history .section-title h2,
html[lang="es_ES"] .company-history .section-title h2 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 强制单行显示 */
    overflow: visible !important;
    text-overflow: clip !important;
    margin-bottom: 1.5rem !important;
}

/* 英文页面语言下拉菜单 - 添加内边距，不要顶格显示 */
html[lang="en"] .wpml-ls-sub-menu,
html[lang^="en-"] .wpml-ls-sub-menu,
html[lang="en_US"] .wpml-ls-sub-menu,
html[lang="en"] .pll-parent-menu-item .sub-menu,
html[lang^="en-"] .pll-parent-menu-item .sub-menu,
html[lang="en_US"] .pll-parent-menu-item .sub-menu,
html[lang="en"] li[id*="wpml"] .sub-menu,
html[lang^="en-"] li[id*="wpml"] .sub-menu,
html[lang="en_US"] li[id*="wpml"] .sub-menu,
html[lang="en"] li[class*="wpml"] .sub-menu,
html[lang^="en-"] li[class*="wpml"] .sub-menu,
html[lang="en_US"] li[class*="wpml"] .sub-menu,
html[lang="en"] li[class*="lang"] .sub-menu,
html[lang^="en-"] li[class*="lang"] .sub-menu,
html[lang="en_US"] li[class*="lang"] .sub-menu,
html[lang="en"] li[class*="language"] .sub-menu,
html[lang^="en-"] li[class*="language"] .sub-menu,
html[lang="en_US"] li[class*="language"] .sub-menu {
    padding: 0.5rem 1rem !important; /* 添加上下和左右内边距 */
}

/* 英文页面语言下拉菜单链接 - 添加内边距 */
html[lang="en"] .wpml-ls-sub-menu a,
html[lang^="en-"] .wpml-ls-sub-menu a,
html[lang="en_US"] .wpml-ls-sub-menu a,
html[lang="en"] .pll-parent-menu-item .sub-menu a,
html[lang^="en-"] .pll-parent-menu-item .sub-menu a,
html[lang="en_US"] .pll-parent-menu-item .sub-menu a,
html[lang="en"] li[id*="wpml"] .sub-menu a,
html[lang^="en-"] li[id*="wpml"] .sub-menu a,
html[lang="en_US"] li[id*="wpml"] .sub-menu a,
html[lang="en"] li[class*="wpml"] .sub-menu a,
html[lang^="en-"] li[class*="wpml"] .sub-menu a,
html[lang="en_US"] li[class*="wpml"] .sub-menu a,
html[lang="en"] li[class*="lang"] .sub-menu a,
html[lang^="en-"] li[class*="lang"] .sub-menu a,
html[lang="en_US"] li[class*="lang"] .sub-menu a,
html[lang="en"] li[class*="language"] .sub-menu a,
html[lang^="en-"] li[class*="language"] .sub-menu a,
html[lang="en_US"] li[class*="language"] .sub-menu a {
    padding: 0.5rem 1rem !important; /* 为链接添加内边距 */
    display: block !important;
    text-align: left !important;
}

/* 意大利语首页 - 按钮向上移动，确保完整显示 */
html[lang="it"] .hero-content .btn-container,
html[lang^="it-"] .hero-content .btn-container,
html[lang="it_IT"] .hero-content .btn-container,
html[lang="it"] .topway-hero-content .btn-container,
html[lang^="it-"] .topway-hero-content .btn-container,
html[lang="it_IT"] .topway-hero-content .btn-container {
    margin-top: -1rem !important; /* 向上移动按钮 */
    margin-bottom: 1rem !important; /* 增加底部间距 */
    overflow: visible !important; /* 确保按钮不被裁剪 */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 意大利语首页 - 确保按钮容器和内容区域有足够空间 */
html[lang="it"] .hero-content,
html[lang^="it-"] .hero-content,
html[lang="it_IT"] .hero-content,
html[lang="it"] .topway-hero-content,
html[lang^="it-"] .topway-hero-content,
html[lang="it_IT"] .topway-hero-content {
    padding-bottom: 2rem !important; /* 增加底部内边距，确保按钮有足够空间 */
    overflow: visible !important;
}

/* 意大利语及其他小语言 - Q&A更多按钮延长，避免文字溢出 */
html[lang="it"] .qa-more-btn-container .btn,
html[lang^="it-"] .qa-more-btn-container .btn,
html[lang="it_IT"] .qa-more-btn-container .btn,
html[lang="es"] .qa-more-btn-container .btn,
html[lang^="es-"] .qa-more-btn-container .btn,
html[lang="es_ES"] .qa-more-btn-container .btn,
html[lang="el"] .qa-more-btn-container .btn,
html[lang^="el-"] .qa-more-btn-container .btn,
html[lang="el_GR"] .qa-more-btn-container .btn,
html[lang="ru"] .qa-more-btn-container .btn,
html[lang^="ru-"] .qa-more-btn-container .btn,
html[lang="ru_RU"] .qa-more-btn-container .btn,
html[lang="fr"] .qa-more-btn-container .btn,
html[lang^="fr-"] .qa-more-btn-container .btn,
html[lang="fr_FR"] .qa-more-btn-container .btn,
html[lang="ar"] .qa-more-btn-container .btn,
html[lang^="ar-"] .qa-more-btn-container .btn,
html[lang="ar_SA"] .qa-more-btn-container .btn {
    width: auto !important; /* 宽度自适应内容 */
    min-width: 250px !important; /* 设置最小宽度，确保按钮不会太小 */
    max-width: 400px !important; /* 设置最大宽度，避免按钮过大 */
    padding-left: 2rem !important; /* 增加左右内边距 */
    padding-right: 2rem !important;
    white-space: nowrap !important; /* 文字不换行 */
    box-sizing: border-box !important;
}

/* 意大利语页面语言下拉菜单 - 添加内边距，不要顶格显示 */
html[lang="it"] .wpml-ls-sub-menu,
html[lang^="it-"] .wpml-ls-sub-menu,
html[lang="it_IT"] .wpml-ls-sub-menu,
html[lang="it"] .pll-parent-menu-item .sub-menu,
html[lang^="it-"] .pll-parent-menu-item .sub-menu,
html[lang="it_IT"] .pll-parent-menu-item .sub-menu,
html[lang="it"] li[id*="wpml"] .sub-menu,
html[lang^="it-"] li[id*="wpml"] .sub-menu,
html[lang="it_IT"] li[id*="wpml"] .sub-menu,
html[lang="it"] li[class*="wpml"] .sub-menu,
html[lang^="it-"] li[class*="wpml"] .sub-menu,
html[lang="it_IT"] li[class*="wpml"] .sub-menu,
html[lang="it"] li[class*="lang"] .sub-menu,
html[lang^="it-"] li[class*="lang"] .sub-menu,
html[lang="it_IT"] li[class*="lang"] .sub-menu,
html[lang="it"] li[class*="language"] .sub-menu,
html[lang^="it-"] li[class*="language"] .sub-menu,
html[lang="it_IT"] li[class*="language"] .sub-menu {
    padding: 0.5rem 1rem !important; /* 添加上下和左右内边距 */
}

/* 意大利语页面语言下拉菜单链接 - 添加内边距 */
html[lang="it"] .wpml-ls-sub-menu a,
html[lang^="it-"] .wpml-ls-sub-menu a,
html[lang="it_IT"] .wpml-ls-sub-menu a,
html[lang="it"] .pll-parent-menu-item .sub-menu a,
html[lang^="it-"] .pll-parent-menu-item .sub-menu a,
html[lang="it_IT"] .pll-parent-menu-item .sub-menu a,
html[lang="it"] li[id*="wpml"] .sub-menu a,
html[lang^="it-"] li[id*="wpml"] .sub-menu a,
html[lang="it_IT"] li[id*="wpml"] .sub-menu a,
html[lang="it"] li[class*="wpml"] .sub-menu a,
html[lang^="it-"] li[class*="wpml"] .sub-menu a,
html[lang="it_IT"] li[class*="wpml"] .sub-menu a,
html[lang="it"] li[class*="lang"] .sub-menu a,
html[lang^="it-"] li[class*="lang"] .sub-menu a,
html[lang="it_IT"] li[class*="lang"] .sub-menu a,
html[lang="it"] li[class*="language"] .sub-menu a,
html[lang^="it-"] li[class*="language"] .sub-menu a,
html[lang="it_IT"] li[class*="language"] .sub-menu a {
    padding: 0.5rem 1rem !important; /* 为链接添加内边距 */
    display: block !important;
    text-align: left !important;
}

/* 所有语言产品卡片 - 文字允许换行，避免溢出 */
.product-info h3,
.product-info h3 a,
.product-info h3 a.product-title-link {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    overflow: visible !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.product-info p,
.product-info p a,
.product-info p a.product-desc-link {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    overflow: visible !important;
    display: block !important; /* 覆盖 -webkit-box */
    -webkit-box-orient: unset !important; /* 移除 webkit-box 方向 */
    -webkit-line-clamp: unset !important; /* 移除行数限制 */
    line-clamp: unset !important; /* 移除标准行数限制 */
    box-sizing: border-box !important;
}

/* 确保 product-info 容器也允许内容溢出 */
.product-info {
    overflow: visible !important;
    min-width: 0 !important; /* 允许flex收缩 */
}

/* 针对产品列表页面的特殊处理 - 确保文字换行生效 */
.products-list .product-info h3,
.products-list .product-info h3 a,
.page-product .product-info h3,
.page-product .product-info h3 a,
#products .product-info h3,
#products .product-info h3 a {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    display: block !important;
}

.products-list .product-info p,
.products-list .product-info p a,
.page-product .product-info p,
.page-product .product-info p a,
#products .product-info p,
#products .product-info p a {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    display: block !important;
    -webkit-box-orient: unset !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

/* 产品卡片容器允许内容自适应 */
.product-card {
    height: auto !important;
    min-height: 705px !important; /* 保持最小高度 */
    max-height: none !important; /* 移除最大高度限制 */
}

#products .product-card {
    height: auto !important;
    min-height: 705px !important; /* 保持最小高度 */
    max-height: none !important; /* 移除最大高度限制 */
}

/* 俄语产品页面 - 去掉横向滚动条 */
html[lang="ru"] body,
html[lang^="ru-"] body,
html[lang="ru_RU"] body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

html[lang="ru"] .products-grid,
html[lang^="ru-"] .products-grid,
html[lang="ru_RU"] .products-grid {
    overflow-x: hidden !important;
    max-width: calc(100% - 4rem) !important; /* 减去左右padding */
    width: calc(100% - 4rem) !important; /* 减去左右padding */
    box-sizing: border-box !important;
}

html[lang="ru"] .product-card,
html[lang^="ru-"] .product-card,
html[lang="ru_RU"] .product-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 确保所有容器都不会溢出 */
html[lang="ru"] .container,
html[lang^="ru-"] .container,
html[lang="ru_RU"] .container,
html[lang="ru"] .ast-container,
html[lang^="ru-"] .ast-container,
html[lang="ru_RU"] .ast-container,
html[lang="ru"] .site-content,
html[lang^="ru-"] .site-content,
html[lang="ru_RU"] .site-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 产品内容区域 - 确保文字可以换行 */
.product-content {
    overflow: visible !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 产品内容区域内的所有文字元素 */
.product-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.product-content h3,
.product-content h3 a,
.product-content .product-category {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
}

/* 俄语解决方案页面 - 缩小宽度，确保右侧内容完整显示 */
html[lang="ru"] .advantages-grid,
html[lang^="ru-"] .advantages-grid,
html[lang="ru_RU"] .advantages-grid {
    max-width: 1280px !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
    gap: 1.5rem !important; /* 减小gap，从2rem改为1.5rem */
}

html[lang="ru"] .advantage-item,
html[lang^="ru-"] .advantage-item,
html[lang="ru_RU"] .advantage-item {
    width: 100% !important;
    max-width: 350px !important; /* 缩小卡片宽度，从380px改为350px */
    min-width: 300px !important;
    height: auto !important;
    min-height: 282px !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .advantage-item:hover,
html[lang^="ru-"] .advantage-item:hover,
html[lang="ru_RU"] .advantage-item:hover {
    width: 100% !important;
    max-width: 350px !important;
    min-width: 300px !important;
}

html[lang="ru"] .advantage-item h3,
html[lang^="ru-"] .advantage-item h3,
html[lang="ru_RU"] .advantage-item h3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 29px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    margin: 40px auto 34px !important;
    box-sizing: border-box !important;
}

html[lang="ru"] .advantage-item:hover h3,
html[lang^="ru-"] .advantage-item:hover h3,
html[lang="ru_RU"] .advantage-item:hover h3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

html[lang="ru"] .advantage-item p,
html[lang^="ru-"] .advantage-item p,
html[lang="ru_RU"] .advantage-item p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}


/* ============================================================
   俄语导航栏 - 只调整文字大小，完全使用通用下拉菜单样式
   ============================================================ */

/* 俄语导航栏链接文字缩小 */
html[lang*="ru"] header .nav-links a,
html[lang*="ru"] #masthead .nav-links a {
    font-size: 14px !important;
}

/* 俄语下拉菜单文字大小 + 确保z-index足够高 */
html[lang*="ru"] header .nav-links .sub-menu,
html[lang*="ru"] #masthead .nav-links .sub-menu {
    font-size: 14px !important;
    z-index: 999999 !important;
}

html[lang*="ru"] header .nav-links .sub-menu a,
html[lang*="ru"] #masthead .nav-links .sub-menu a {
    font-size: 14px !important;
}

/* 防止横向滚动条 */
html[lang*="ru"] {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

html[lang*="ru"] body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* 确保header和nav允许下拉菜单溢出显示 */
html[lang*="ru"] header,
html[lang*="ru"] #masthead,
html[lang*="ru"] .site-header {
    overflow: visible !important;
    max-width: 100% !important;
    z-index: 99999 !important;
}

html[lang*="ru"] header .nav-links,
html[lang*="ru"] #masthead .nav-links {
    overflow: visible !important;
}



