/**
 * WHSZ Theme - 视觉增强样式
 * 增强科技感、简洁性和高端感
 * 保持 Elementor 可编辑性
 */

/* ===== 全局增强 ===== */
:root {
    --enhanced-primary: #3b82f6;
    --enhanced-secondary: #8b5cf6;
    --enhanced-accent: #06b6d4;
    --enhanced-dark: #0a0e27;
    --enhanced-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    --enhanced-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --enhanced-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===== 科技感背景网格 ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* ===== 增强标题样式 ===== */
h1, h2, h3, h4, h5, h6 {
    position: relative;
    display: inline-block;
}

.elementor-widget-heading .elementor-heading-title {
    position: relative;
    display: inline-block;
}

/* 标题装饰线 */
.elementor-widget-heading .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--enhanced-gradient);
    border-radius: 2px;
}

/* ===== 增强卡片效果 ===== */
.elementor-widget-wrap > .elementor-element {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 卡片悬停光效 */
.elementor-element:hover {
    position: relative;
}

.elementor-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: -1;
}

.elementor-element:hover::before {
    opacity: 1;
}

/* ===== 按钮增强 ===== */
.elementor-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.elementor-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.elementor-button:hover::before {
    width: 300px;
    height: 300px;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* ===== 图标增强 ===== */
.elementor-icon-wrapper {
    transition: all 0.3s ease;
}

.elementor-icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
}

.elementor-icon {
    transition: all 0.3s ease;
}

.elementor-icon:hover {
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

/* ===== 图片增强 ===== */
.elementor-image img {
    transition: all 0.4s ease;
    filter: brightness(1.02) contrast(1.02);
}

.elementor-image:hover img {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.05);
}

/* ===== 分隔线增强 ===== */
.elementor-divider {
    position: relative;
}

.elementor-divider-separator {
    background: var(--enhanced-gradient) !important;
    height: 2px !important;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ===== 区块间距优化 ===== */
.elementor-section {
    position: relative;
}

.elementor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.2) 50%, 
        transparent 100%);
}

/* ===== 文本增强 ===== */
.elementor-widget-text-editor p {
    line-height: 1.8;
    color: #334155;
}

.elementor-widget-text-editor p:first-letter {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--enhanced-primary);
}

/* ===== 列表增强 ===== */
.elementor-icon-list-items .elementor-icon-list-item {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.elementor-icon-list-items .elementor-icon-list-item:hover {
    transform: translateX(5px);
}

.elementor-icon-list-icon {
    transition: all 0.3s ease;
}

.elementor-icon-list-item:hover .elementor-icon-list-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--enhanced-primary);
}

/* ===== 计数器增强 ===== */
.elementor-counter-number-wrapper {
    position: relative;
}

.elementor-counter-number {
    background: var(--enhanced-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ===== 进度条增强 ===== */
.elementor-progress-wrapper {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.elementor-progress-bar {
    background: var(--enhanced-gradient);
    position: relative;
    overflow: hidden;
}

.elementor-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== 标签页增强 ===== */
.elementor-tab-title {
    transition: all 0.3s ease;
}

.elementor-tab-title.elementor-active {
    background: var(--enhanced-gradient);
    color: white;
    box-shadow: var(--enhanced-glow);
}

/* ===== 手风琴增强 ===== */
.elementor-accordion-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.elementor-accordion-item:hover {
    box-shadow: var(--enhanced-shadow);
}

.elementor-accordion-title {
    transition: all 0.3s ease;
}

.elementor-accordion-title.elementor-active {
    background: var(--enhanced-gradient);
    color: white;
}

/* ===== 轮播增强 ===== */
.elementor-swiper-button {
    transition: all 0.3s ease;
}

.elementor-swiper-button:hover {
    transform: scale(1.2);
    color: var(--enhanced-primary);
}

/* ===== 表单增强 ===== */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.elementor-field-group input:focus,
.elementor-field-group textarea:focus,
.elementor-field-group select:focus {
    border-color: var(--enhanced-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* ===== 文章列表增强 ===== */
.elementor-post__title {
    transition: all 0.3s ease;
}

.elementor-post:hover .elementor-post__title {
    color: var(--enhanced-primary);
    transform: translateX(5px);
}

.elementor-post__thumbnail__link {
    transition: all 0.4s ease;
    overflow: hidden;
}

.elementor-post:hover .elementor-post__thumbnail__link img {
    transform: scale(1.1);
}

/* ===== 导航菜单增强 ===== */
.elementor-nav-menu li a {
    transition: all 0.3s ease;
    position: relative;
}

.elementor-nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--enhanced-gradient);
    transition: width 0.3s ease;
}

.elementor-nav-menu li a:hover::before,
.elementor-nav-menu li.current-menu-item a::before {
    width: 100%;
}

/* ===== 滚动动画 ===== */
.elementor-element {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 延迟动画 */
.elementor-element:nth-child(1) { animation-delay: 0.1s; }
.elementor-element:nth-child(2) { animation-delay: 0.2s; }
.elementor-element:nth-child(3) { animation-delay: 0.3s; }
.element-child(4) { animation-delay: 0.4s; }
.elementor-element:nth-child(5) { animation-delay: 0.5s; }

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
    .elementor-section {
        padding: 2rem 0;
    }
    
    .elementor-heading-title::after {
        width: 40px;
    }
}

/* ===== 打印优化 ===== */
@media print {
    .elementor-button,
    .elementor-swiper-button {
        display: none;
    }
}

/* ===== 暗色模式支持（可选） ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #e2e8f0;
    }
    
    .elementor-widget-text-editor p {
        color: #cbd5e1;
    }
}

/* ===== 博客文章列表样式 ===== */
.blog-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--enhanced-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date::before {
    content: '📅';
    font-size: 1rem;
}

.blog-category {
    background: var(--enhanced-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title a {
    color: var(--enhanced-primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--enhanced-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.75rem;
    color: var(--enhanced-secondary);
}

/* 博客分页 */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 0.5rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-pagination .page-numbers a:hover {
    background: var(--enhanced-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.blog-pagination .page-numbers .current {
    background: var(--enhanced-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 无文章提示 */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-posts p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* 响应式博客网格 */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card-image img {
        height: 200px;
    }
}

/* ===== 单篇文章页面增强 ===== */
.single-post {
    background: white;
    padding: 3rem 0;
}

.single-post .entry-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.single-post .entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.single-post .entry-meta time,
.single-post .entry-meta .byline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.single-post .post-thumbnail {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post .entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.single-post .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.single-post .entry-content blockquote {
    border-left: 4px solid var(--enhanced-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--light-bg);
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
}

.single-post .entry-content code {
    background: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
}

.single-post .entry-content pre {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.single-post .entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

.single-post .entry-footer a {
    color: var(--enhanced-primary);
    font-weight: 600;
}

/* 文章导航 */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-navigation a {
    display: block;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* ===== 首页内容布局优化 ===== */
.home .site-main,
body.home .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero 区域优化 */
.home .site-main > h1:first-child,
body.home .site-main > h1:first-child {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin: 4rem 0 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home .site-main > p:first-of-type,
body.home .site-main > p:first-of-type {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.home .site-main > p:nth-of-type(2),
body.home .site-main > p:nth-of-type(2) {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* 章节标题优化 */
.home .site-main > h2,
body.home .site-main > h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin: 5rem 0 1rem;
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--text-primary);
}

.home .site-main > h2::after,
body.home .site-main > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
    border-radius: 2px;
}

.home .site-main > h2 + p,
body.home .site-main > h2 + p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* 服务卡片网格布局 */
.home .site-main > h3,
body.home .site-main > h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
}

.home .site-main > h3::before,
body.home .site-main > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

/* 服务区块容器 */
.home .site-main > h3:nth-of-type(1),
.home .site-main > h3:nth-of-type(2),
.home .site-main > h3:nth-of-type(3),
.home .site-main > h3:nth-of-type(4),
.home .site-main > h3:nth-of-type(5),
.home .site-main > h3:nth-of-type(6),
body.home .site-main > h3:nth-of-type(1),
body.home .site-main > h3:nth-of-type(2),
body.home .site-main > h3:nth-of-type(3),
body.home .site-main > h3:nth-of-type(4),
body.home .site-main > h3:nth-of-type(5),
body.home .site-main > h3:nth-of-type(6) {
    background: white;
    border-radius: 1rem;
    padding: 2rem 2rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.home .site-main > h3:nth-of-type(1):hover,
.home .site-main > h3:nth-of-type(2):hover,
.home .site-main > h3:nth-of-type(3):hover,
.home .site-main > h3:nth-of-type(4):hover,
.home .site-main > h3:nth-of-type(5):hover,
.home .site-main > h3:nth-of-type(6):hover,
body.home .site-main > h3:nth-of-type(1):hover,
body.home .site-main > h3:nth-of-type(2):hover,
body.home .site-main > h3:nth-of-type(3):hover,
body.home .site-main > h3:nth-of-type(4):hover,
body.home .site-main > h3:nth-of-type(5):hover,
body.home .site-main > h3:nth-of-type(6):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

/* 服务卡片内的段落 */
.home .site-main > h3 + p,
.home .site-main > h3 + p + p,
.home .site-main > h3 + p + p + p,
body.home .site-main > h3 + p,
body.home .site-main > h3 + p + p,
body.home .site-main > h3 + p + p + p {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.home .site-main > h3 + p strong,
.home .site-main > h3 + p + p strong,
.home .site-main > h3 + p + p + p strong,
body.home .site-main > h3 + p strong,
body.home .site-main > h3 + p + p strong,
body.home .site-main > h3 + p + p + p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 案例卡片优化 */
.home .site-main > h3:nth-of-type(7),
.home .site-main > h3:nth-of-type(8),
.home .site-main > h3:nth-of-type(9),
body.home .site-main > h3:nth-of-type(7),
body.home .site-main > h3:nth-of-type(8),
body.home .site-main > h3:nth-of-type(9) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #2563eb, #7c3aed) 1;
    margin: 1.5rem 0;
}

.home .site-main > h3:nth-of-type(7) + p,
.home .site-main > h3:nth-of-type(8) + p,
.home .site-main > h3:nth-of-type(9) + p,
body.home .site-main > h3:nth-of-type(7) + p,
body.home .site-main > h3:nth-of-type(8) + p,
body.home .site-main > h3:nth-of-type(9) + p {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

/* 优势列表优化 */
.home .site-main > ul,
body.home .site-main > ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.home .site-main > ul > li,
body.home .site-main > ul > li {
    background: white;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.home .site-main > ul > li::before,
body.home .site-main > ul > li::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.home .site-main > ul > li:hover,
body.home .site-main > ul > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.home .site-main > ul > li strong,
body.home .site-main > ul > li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* 权威背书区块 */
.home .site-main > h2:nth-of-type(4) ~ p,
body.home .site-main > h2:nth-of-type(4) ~ p {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    border-left: 3px solid #2563eb;
}

.home .site-main > h2:nth-of-type(4) ~ p strong,
body.home .site-main > h2:nth-of-type(4) ~ p strong {
    color: var(--text-primary);
}

/* CTA 区域优化 */
.home .site-main > h2:last-of-type,
body.home .site-main > h2:last-of-type {
    margin-top: 5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    -webkit-text-fill-color: white;
}

.home .site-main > h2:last-of-type::after,
body.home .site-main > h2:last-of-type::after {
    background: linear-gradient(90deg, #06b6d4, #2563eb);
}

.home .site-main > h2:last-of-type + p,
.home .site-main > h2:last-of-type + p + p,
body.home .site-main > h2:last-of-type + p,
body.home .site-main > h2:last-of-type + p + p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}

.home .site-main > h2:last-of-type + p + p + p,
.home .site-main > h2:last-of-type + p + p + p + p,
body.home .site-main > h2:last-of-type + p + p + p,
body.home .site-main > h2:last-of-type + p + p + p + p {
    text-align: center;
    margin: 2rem 0;
}

.home .site-main > h2:last-of-type + p + p + p a,
body.home .site-main > h2:last-of-type + p + p + p a {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.home .site-main > h2:last-of-type + p + p + p a:hover,
body.home .site-main > h2:last-of-type + p + p + p a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.home .site-main > h2:last-of-type + p + p + p + p a,
body.home .site-main > h2:last-of-type + p + p + p + p a {
    display: inline-block;
    background: transparent;
    color: var(--primary-color) !important;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home .site-main > h2:last-of-type + p + p + p + p a:hover,
body.home .site-main > h2:last-of-type + p + p + p + p a:hover {
    background: var(--primary-color);
    color: white !important;
}

/* 页脚 ICP 备案号样式 */
.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .home .site-main > h1:first-child,
    body.home .site-main > h1:first-child {
        margin: 2rem 0 1rem;
    }
    
.home .site-main > p:first-of-type,
body.home .site-main > p:first-of-type {
        font-size: 1.25rem;
    }
    
.home .site-main > p:nth-of-type(2),
body.home .site-main > p:nth-of-type(2) {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
.home .site-main > h2,
body.home .site-main > h2 {
        margin: 3rem 0 1rem;
    }
    
    .home .site-main > h3:nth-of-type(n),
    body.home .site-main > h3:nth-of-type(n) {
        padding: 1.5rem;
    }
    
.home .site-main > ul,
body.home .site-main > ul {
        grid-template-columns: 1fr;
    }
}

/* ===== 表格样式优化 ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

table th,
table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
}

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

table tr:hover {
    background: rgba(37, 99, 235, 0.03);
}

table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 30%;
}

table td a {
    color: var(--primary-color);
    font-weight: 500;
}

table td a:hover {
    text-decoration: underline;
}

/* 响应式表格 */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 1rem;
    }
    
    table td:first-child {
        width: 40%;
    }
}

/* ===== 有序列表优化 ===== */
ol {
    counter-reset: list-counter;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

ol > li {
    counter-increment: list-counter;
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

ol > li::before {
    content: counter(list-counter);
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

ol > li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

ol > li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* ===== 内页内容布局优化 ===== */
.page-template .site-main,
.single-page .site-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* 页面标题优化 */
.page-template .site-main > h1:first-child,
.single-page .site-main > h1:first-child {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin: 2rem 0 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* 页面副标题优化 */
.page-template .site-main > h1 + p,
.single-page .site-main > h1 + p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* 内页 H2 标题优化 */
.page-template .site-main > h2,
.single-page .site-main > h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-primary);
}

.page-template .site-main > h2::after,
.single-page .site-main > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

/* 内页 H3 标题优化 */
.page-template .site-main > h3,
.single-page .site-main > h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.25rem;
}

.page-template .site-main > h3::before,
.single-page .site-main > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

/* 内页段落优化 */
.page-template .site-main > p,
.single-page .site-main > p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 内页列表优化 */
.page-template .site-main > ul,
.single-page .site-main > ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.page-template .site-main > ul > li,
.single-page .site-main > ul > li {
    background: white;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    position: relative;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.page-template .site-main > ul > li::before,
.single-page .site-main > ul > li::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8125rem;
}

.page-template .site-main > ul > li:hover,
.single-page .site-main > ul > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

/* 服务卡片样式（内页） */
.page-template .site-main > h3,
.single-page .site-main > h3 {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.page-template .site-main > h3:hover,
.single-page .site-main > h3:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

/* 服务卡片内的段落 */
.page-template .site-main > h3 + p,
.page-template .site-main > h3 + p + p,
.page-template .site-main > h3 + p + p + p,
.single-page .site-main > h3 + p,
.single-page .site-main > h3 + p + p,
.single-page .site-main > h3 + p + p + p {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-template .site-main > h3 + p strong,
.page-template .site-main > h3 + p + p strong,
.single-page .site-main > h3 + p strong,
.single-page .site-main > h3 + p + p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 联系方式卡片 */
.page-template .site-main > h3:nth-of-type(1),
.page-template .site-main > h3:nth-of-type(2),
.page-template .site-main > h3:nth-of-type(3),
.page-template .site-main > h3:nth-of-type(4),
.single-page .site-main > h3:nth-of-type(1),
.single-page .site-main > h3:nth-of-type(2),
.single-page .site-main > h3:nth-of-type(3),
.single-page .site-main > h3:nth-of-type(4) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #2563eb, #7c3aed) 1;
}

/* 响应式内页优化 */
@media (max-width: 768px) {
    .page-template .site-main,
    .single-page .site-main {
        padding: 1.5rem 1rem 3rem;
    }
    
    .page-template .site-main > h1:first-child,
    .single-page .site-main > h1:first-child {
        margin: 1.5rem 0 1rem;
    }
    
    .page-template .site-main > h2,
    .single-page .site-main > h2 {
        margin: 2rem 0 1rem;
    }
    
    .page-template .site-main > h3,
    .single-page .site-main > h3 {
        padding: 1.25rem 1.5rem;
    }
}

/* ===== 发展历程时间线样式 ===== */
.page-template .site-main > ul > li h2,
.single-page .site-main > ul > li h2 {
    font-size: 1.125rem;
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    padding-bottom: 0;
}

.page-template .site-main > ul > li h2::after,
.single-page .site-main > ul > li h2::after {
    display: none;
}

.page-template .site-main > ul > li .ace-line,
.single-page .site-main > ul > li .ace-line {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* ===== 团队卡片样式 ===== */
.page-template .site-main > h3 ~ h3,
.single-page .site-main > h3 ~ h3 {
    margin-top: 1.5rem;
}

/* ===== 引用块样式 ===== */
.page-template .site-main blockquote,
.single-page .site-main blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* ===== 链接样式增强 ===== */
.page-template .site-main a,
.single-page .site-main a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-template .site-main a:hover,
.single-page .site-main a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* ===== 分隔线样式 ===== */
.page-template .site-main hr,
.single-page .site-main hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.3) 50%, transparent 100%);
    margin: 3rem 0;
}

/* ===== Hero副标题样式 ===== */
.page-template .site-main > .hero-subtitle,
.single-page .site-main > .hero-subtitle,
.home .site-main > .hero-subtitle {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 案例卡片样式 ===== */
.page-template .site-main > h3,
.single-page .site-main > h3 {
    position: relative;
}

/* 案例标题后的段落 */
.page-template .site-main > h3 + p,
.single-page .site-main > h3 + p {
    margin-top: 0.5rem;
}

/* ===== 痛点列表样式 ===== */
.page-template .site-main > ul > li strong:first-child,
.single-page .site-main > ul > li strong:first-child {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

/* ===== 数据高亮样式 ===== */
.page-template .site-main strong,
.single-page .site-main strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== 服务流程表格优化 ===== */
.page-template .site-main table,
.single-page .site-main table {
    margin: 2rem 0;
}

.page-template .site-main table td:first-child,
.single-page .site-main table td:first-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
}

/* ===== 首页特殊布局 ===== */
.home .site-main > h2:first-of-type {
    margin-top: 4rem;
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
    .page-template .site-main > .hero-subtitle,
    .single-page .site-main > .hero-subtitle,
    .home .site-main > .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .page-template .site-main table td:first-child,
    .single-page .site-main table td:first-child {
        width: 80px;
    }
}

/* ===== 页面副标题通用样式 ===== */
.page-subtitle {
    text-align: center;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 强调文本样式 ===== */
.page-template .site-main > p > strong,
.single-page .site-main > p > strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== 行业洞察区块样式 ===== */
.home .site-main > h2:nth-of-type(1) + p,
.home .site-main > h2:nth-of-type(1) + p + ul {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

/* ===== 核心优势卡片样式 ===== */
.home .site-main > h2:nth-of-type(2) ~ h3 {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.home .site-main > h2:nth-of-type(2) ~ h3:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

/* ===== 案例区块样式 ===== */
.home .site-main > h2:nth-of-type(3) ~ h3 {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #2563eb, #7c3aed) 1;
    margin: 1.5rem 0;
}

/* ===== 为什么选择我们列表样式 ===== */
.home .site-main > h2:nth-of-type(4) ~ ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.home .site-main > h2:nth-of-type(4) ~ ul > li {
    background: white;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.home .site-main > h2:nth-of-type(4) ~ ul > li::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.home .site-main > h2:nth-of-type(4) ~ ul > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

/* ===== 文章分享页面样式 ===== */
.articles-share-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--enhanced-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card-image {
    display: block;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.article-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-card-image::after {
    opacity: 1;
}

.article-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.08);
}

.article-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date::before {
    content: '📅';
    font-size: 1rem;
}

.article-category {
    background: var(--enhanced-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-card-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.article-card:hover .article-card-title a {
    color: var(--enhanced-primary);
}

.article-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--enhanced-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.article-read-more:hover {
    gap: 0.75rem;
    color: var(--enhanced-secondary);
}

/* 文章分享分页 */
.articles-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.articles-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.articles-pagination .page-numbers li {
    display: inline-block;
}

.articles-pagination .page-numbers a,
.articles-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 0.5rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.articles-pagination .page-numbers a:hover {
    background: var(--enhanced-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.articles-pagination .page-numbers .current {
    background: var(--enhanced-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 无文章提示 */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-articles p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* 响应式文章分享网格 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-card-image img {
        height: 200px;
    }
    
    .articles-share-section {
        padding: 2rem 0;
    }
}

/* ===== Elementor 组件全面响应式优化 ===== */

/* 平板端优化 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .elementor-section {
        padding: 3rem 0;
    }
    
    .elementor-widget-heading .elementor-heading-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    }
    
    .elementor-column {
        padding: 0.5rem;
    }
    
    .elementor-widget-wrap {
        padding: 1rem;
    }
}

/* 移动端优化 (max-width: 768px) */
@media (max-width: 768px) {
    /* Elementor Section 优化 */
    .elementor-section {
        padding: 2rem 0;
    }
    
    .elementor-section > .elementor-container {
        padding: 0 1rem;
    }
    
    /* Elementor Column 优化 */
    .elementor-column {
        width: 100% !important;
        padding: 0.5rem 0;
    }
    
    .elementor-widget-wrap {
        padding: 0.75rem;
    }
    
    /* 标题优化 */
    .elementor-widget-heading .elementor-heading-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        text-align: center;
    }
    
    .elementor-widget-heading .elementor-heading-title::after {
        width: 40px;
        bottom: -8px;
    }
    
    /* 文本编辑器优化 */
    .elementor-widget-text-editor {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .elementor-widget-text-editor p {
        margin-bottom: 0.875rem;
    }
    
    /* 按钮优化 */
    .elementor-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        justify-content: center;
    }
    
    .elementor-button-wrapper {
        text-align: center;
    }
    
    /* 图标优化 */
    .elementor-icon-wrapper {
        margin-bottom: 1rem;
    }
    
    .elementor-icon {
        font-size: 2rem !important;
    }
    
    /* 图片优化 */
    .elementor-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* 分隔线优化 */
    .elementor-divider {
        margin: 1.5rem 0;
    }
    
    /* 图标列表优化 */
    .elementor-icon-list-items .elementor-icon-list-item {
        padding: 0.625rem 0;
    }
    
    .elementor-icon-list-text {
        font-size: 0.9375rem;
    }
    
    /* 计数器优化 */
    .elementor-counter {
        padding: 1rem;
    }
    
    .elementor-counter-number {
        font-size: 2rem !important;
    }
    
    .elementor-counter-title {
        font-size: 0.875rem !important;
    }
    
    /* 进度条优化 */
    .elementor-progress-wrapper {
        margin: 1rem 0;
    }
    
    .elementor-progress-title {
        font-size: 0.875rem !important;
    }
    
    /* 标签页优化 */
    .elementor-tab-title {
        font-size: 0.9375rem !important;
    }
    
    .elementor-tab-content {
        font-size: 0.9375rem;
        padding: 1rem;
    }
    
    /* 手风琴优化 */
    .elementor-accordion-item {
        margin-bottom: 0.5rem;
    }
    
    .elementor-accordion-title {
        font-size: 0.9375rem !important;
        padding: 0.875rem 1rem;
    }
    
    .elementor-accordion-content {
        font-size: 0.9375rem;
        padding: 1rem;
    }
    
    /* 轮播优化 */
    .elementor-swiper-button {
        display: none;
    }
    
    .elementor-swiper .swiper-pagination {
        position: relative;
        margin-top: 1rem;
    }
    
    /* 表单优化 */
    .elementor-field-group {
        margin-bottom: 1rem;
    }
    
    .elementor-field-label {
        font-size: 0.875rem !important;
        margin-bottom: 0.375rem;
    }
    
    .elementor-field {
        font-size: 0.9375rem !important;
        padding: 0.625rem 0.875rem !important;
    }
    
    .elementor-button[type="submit"] {
        width: 100%;
        padding: 0.75rem !important;
    }
}

/* 小屏手机优化 (max-width: 480px) */
@media (max-width: 480px) {
    .elementor-section {
        padding: 1.5rem 0;
    }
    
    .elementor-section > .elementor-container {
        padding: 0 0.75rem;
    }
    
    .elementor-widget-wrap {
        padding: 0.5rem;
    }
    
    .elementor-widget-heading .elementor-heading-title {
        font-size: clamp(1.25rem, 6vw, 1.75rem) !important;
    }
    
    .elementor-widget-text-editor {
        font-size: 0.875rem;
    }
    
    .elementor-button {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
    
    .elementor-icon {
        font-size: 1.75rem !important;
    }
    
    .elementor-counter-number {
        font-size: 1.75rem !important;
    }
    
    .elementor-tab-title,
    .elementor-accordion-title {
        font-size: 0.875rem !important;
    }
    
    .elementor-tab-content,
    .elementor-accordion-content {
        font-size: 0.875rem;
    }
    
    .elementor-field-label {
        font-size: 0.8125rem !important;
    }
    
    .elementor-field {
        font-size: 0.875rem !important;
    }
}

/* 触摸设备交互优化 */
@media (hover: none) and (pointer: coarse) {
    .elementor-button,
    .elementor-icon-list-item a,
    .elementor-accordion-title,
    .elementor-tab-title {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .elementor-button:active {
        transform: scale(0.98);
    }
    
    .elementor-icon-list-item:active {
        background: var(--light-bg);
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .elementor-section {
        padding: 1.5rem 0;
    }
    
    .elementor-widget-heading .elementor-heading-title {
        font-size: 1.5rem !important;
    }
}
