/* 
 * WhatsApp Web 指南 - 主样式文件
 * 版本: 1.2
 * 作者: WhatsApp Web Guide Team
 * 最后更新: 2023-11-15
 */

/* ===========================================
   1. CSS重置和基础变量定义
   =========================================== */

/* 编辑器中的FAQ样式，适配现有主题样式 */
.editor-styles-wrapper .faq-item {
    margin-bottom: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.editor-styles-wrapper .faq-question {
    padding: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.editor-styles-wrapper .faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: #25d366;
}

.editor-styles-wrapper .faq-answer {
    padding: 0 1.8rem 1.8rem;
    max-height: none !important;
    overflow: visible !important;
}

.editor-styles-wrapper .faq-answer p {
    margin: 1rem 0;
    color: #4b5563;
    line-height: 1.6;
}

/* ===========================================
   1. CSS重置和基础变量定义
   =========================================== */

/* 全局重置 - 消除浏览器默认样式差异 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS自定义属性（变量）定义 */
:root {
    /* 主要品牌色 - WhatsApp 绿色 */
    --primary: #25D366;
    --primary-dark: #1c1e21;
    --primary-light: #128C7E;
    --secondary: #34B7F1;
    --accent: #FFD700;
    
    /* 中性色系 */
    --dark: #1C1E21;
    --light: #F8F9FA;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
    --white: #FFFFFF;
    
    /* 视觉效果 */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 根元素设置 */
html {
    scroll-behavior: smooth; /* 平滑滚动 */
    font-size: 16px;
}

/* 主体样式 */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden; /* 防止横向滚动 */
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* 段落样式 */
p {
    margin-bottom: 1rem;
}

/* 链接基础样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器类 - 用于内容居中 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   2. SVG图标和通用组件样式
   =========================================== */

/* 区域图标容器 */
.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* SVG图标样式 */
.section-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

/* ===========================================
   3. 头部导航栏样式
   =========================================== */

/* 头部整体样式 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky; /* 固定头部 */
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    background-color: rgba(255, 255, 255, 0.95);
}

/* 头部内容布局 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 网站logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #25d366;
}

/* logo图标容器 */
.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* logo SVG图标 */
.logo-icon svg {
    width: 40px;
    height: 40px;
}

/* 主导航栏 */
.nav {
    display: flex;
    gap: 2.5rem;
}

/* 导航链接 */
.nav-link {
    font-weight: 600;
    color: var(--dark);
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

/* 导航链接悬停效果 */
.nav-link:hover {
    color: var(--primary);
}

/* 导航链接下划线动画 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端菜单按钮（默认隐藏） */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===========================================
   4. 英雄区域（Hero Section）样式
   =========================================== */

/* 英雄区域整体 */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* 英雄区域背景装饰 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, rgba(52, 183, 241, 0.03) 70%, transparent 100%);
    border-radius: 50%;
}

/* 英雄内容布局 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列布局 */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 英雄区域文本样式 */
.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    line-height: 1.7;
}

/* 行动按钮容器 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 通用按钮样式 */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* 主要按钮样式 */
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    background-color: #1da851;
}

/* 次要按钮样式 */
.btn-secondary {
    background-color: white;
    color: var(--primary-dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* 英雄区域可视化内容 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* WhatsApp演示区域 */
.whatsapp-demo {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    color: var(--dark);
    max-width: 380px;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-demo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 演示图片样式 */
.demo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-light);
}

/* 图片说明文字 */
.demo-caption {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ===========================================
   5. 特性区域（Features Section）样式
   =========================================== */

/* 特性区域整体 */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

/* 区域标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* 特性卡片网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 特性卡片 */
.feature-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 特性卡片悬停效果 */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 特性图标容器 */
.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: var(--primary);
    font-size: 1.8rem;
}

/* 特性卡片标题 */
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    width: 100%;
}

/* 特性卡片描述 */
.feature-card p {
    color: var(--gray);
    line-height: 1.6;
    width: 100%;
}

/* ===========================================
   6. 文章区域（Articles Section）样式
   =========================================== */

/* 文章区域整体 */
.articles {
    padding: 6rem 0;
    background-color: var(--light);
}

/* 文章网格布局 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 文章卡片 */
.article-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 文章图片容器 - 固定高度和宽高比 */
.article-image {
    height: 200px;
    width: 100%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* 文章图片样式 - 确保统一尺寸 */
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例填充，裁剪多余部分 */
    transition: transform 0.5s ease;
    background-color: #f5f5f5; /* 加载时的背景色 */
}

.article-card:hover .article-image img {
    transform: scale(1.08); /* 悬停时轻微放大图片 */
}

/* 图片加载占位符 */
.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 图片加载完成后隐藏占位符 - 修正选择器 */
.article-image img.loaded {
    opacity: 1;
}

/* 当图片加载完成后，移除占位符 */
.article-image img.loaded::after {
    display: none;
}

/* 或者更好的方法：通过给父元素添加类来隐藏占位符 */
.article-image.loaded::before {
    display: none;
}

/* 文章内容区域 */
.article-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

/* 文章标签 */
.article-tag {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* 文章卡片标题 */
.article-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    flex-grow: 1;
}

/* 文章卡片描述 */
.article-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* 阅读更多链接 */
.read-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ===========================================
   7. 使用步骤区域（Steps Section）样式
   =========================================== */

/* 步骤区域整体 */
.steps {
    padding: 6rem 0;
    background-color: var(--white);
}

/* 步骤容器 */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 单个步骤 */
.step {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 步骤编号 */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

/* 步骤标题 */
.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* ===========================================
   8. 下载区域（Download Section）样式
   =========================================== */

/* 下载区域整体 */
.download {
    padding: 4rem 0;
    background-color: var(--light);
}

/* 下载卡片网格布局 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 四列布局 */
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 下载卡片 */
.download-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 380px; /* 确保卡片高度一致 */
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 下载图标容器 */
.download-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
}

/* 下载图标SVG */
.download-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

/* 下载卡片标题 */
.download-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

/* 下载卡片描述 */
.download-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 下载按钮（复用.btn类） */

/* ===========================================
   9. 常见问题区域（FAQ Section）样式
   =========================================== */

/* 常见问题预览区域 */
.faq-preview {
    padding: 6rem 0;
    background-color: var(--white);
}

/* 问题列表容器 */
.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

/* 单个问题项 */
.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 问题标题 */
.faq-question {
    padding: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(37, 211, 102, 0.03);
}

/* 问题标题后的加号图标 */
.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    transition: var(--transition);
    color: var(--primary);
}

/* 激活状态的问题项 */
.faq-item.active .faq-question::after {
    transform: rotate(45deg); /* 旋转成叉号 */
    color: var(--primary-dark);
}

/* 问题答案区域 */
.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* 激活状态的答案区域 */
.faq-item.active .faq-answer {
    padding: 0 1.8rem 1.8rem;
    max-height: 500px;
}

/* 查看全部按钮容器 */
.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* ===========================================
   10. 页脚区域（Footer）样式
   =========================================== */

/* 页脚整体 */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 5rem 0 2rem;
}

/* 页脚内容网格布局 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3.5rem;
    margin-bottom: 4rem;
}

/* 页脚列标题 */
.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--primary);
}

/* 页脚标题下划线 */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

/* 页脚链接列表 */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

/* 页脚链接样式 */
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px); /* 悬停时向右移动 */
}

/* 版权信息区域 */
.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================================
   11. 响应式设计（Responsive Design）
   =========================================== */

/* 中等屏幕（平板横向） - 最大宽度992px */
@media (max-width: 992px) {
    /* 英雄区域改为单列布局 */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    /* 下载卡片改为两列 */
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 小屏幕（平板纵向/大手机） - 最大宽度768px */
@media (max-width: 768px) {
    /* 移动端导航菜单 */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }
    
    /* 调整文字大小 */
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* 改为单列布局 */
    .features-grid, .articles-grid, .steps-container, .download-grid {
        grid-template-columns: 1fr;
    }
}

/* 超小屏幕（手机） - 最大宽度480px */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    /* 按钮全宽 */
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 按钮垂直排列 */
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* ===========================================
   12. 打印样式（Print Styles）
   =========================================== */

@media print {
    /* 隐藏不必要元素 */
    .header, .footer, .mobile-menu-btn, .btn {
        display: none;
    }
    
    /* 优化打印颜色 */
    body {
        color: #000;
    }
    
    /* 简化英雄区域 */
    .hero {
        background: none;
        color: #000;
        padding: 1rem 0;
    }
    
    /* 减少各区域间距 */
    .features, .articles, .steps, .download, .faq-preview {
        padding: 1rem 0;
    }
}

/*************************************************************************************/







        /* ===========================================
           8. iCloud备份区域 - 统一风格
           =========================================== */

        /* iCloud备份区域整体 */
        .icloud-section {
            padding: 6rem 0;
            background-color: var(--light);
        }

        /* iCloud内容布局 */
        .icloud-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        /* iCloud信息区域 */
        .icloud-info h3 {
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
        }

        .icloud-info p {
            font-size: 1.1rem;
            color: var(--gray);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        /* iCloud步骤列表 */
        .icloud-steps {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .icloud-step {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .icloud-step-number {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            background-color: var(--secondary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .icloud-step-content h4 {
            font-size: 1.1rem;
            color: var(--primary-dark);
            margin-bottom: 0.3rem;
        }

        .icloud-step-content p {
            color: var(--gray);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 0;
        }

        /* iCloud预览区域 */
        .icloud-preview {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* ===========================================
           5. 平台选择标签页 - 居中显示
           =========================================== */

        /* 平台标签页容器 */
        .platform-tabs-section {
            background-color: var(--white);
            padding: 3rem 0 4rem;
        }

        /* 标签页标题 */
        .tabs-title {
            text-align: center;
            margin-bottom: 2rem;
        }

        .tabs-title h2 {
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 0.8rem;
        }

        .tabs-title p {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }

        /* 标签页容器居中 */
        .tabs-container-wrapper {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .tabs-container {
            display: inline-flex;
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 50px;
            padding: 0.3rem;
        }

        .tab {
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .tab.active {
            background-color: var(--white);
            color: var(--primary-dark);
            box-shadow: var(--shadow);
        }

        .tab:hover:not(.active) {
            background-color: rgba(255, 255, 255, 0.3);
        }

        .tab-icon {
            font-size: 1.2rem;
        }

        /* 平台内容区域 */
        .platform-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        /* ===========================================
           6. 下载方式区域 - 与Windows页面功能特性区样式一致
           =========================================== */

        /* 下载方式区域整体 */
        .download-methods-section {
            padding: 6rem 0;
            background-color: var(--white);
        }

        /* 区域标题样式（与主站点一致） */
        /*.section-title {*/
        /*    text-align: center;*/
        /*    margin-bottom: 4rem;*/
        /*}*/

        /*.section-title h2 {*/
        /*    font-size: 2.8rem;*/
        /*    color: var(--primary-dark);*/
        /*    margin-bottom: 1rem;*/
        /*}*/

        /*.section-title p {*/
        /*    color: var(--gray);*/
        /*    max-width: 700px;*/
        /*    margin: 0 auto;*/
        /*    font-size: 1.1rem;*/
        /*}*/

        /* 方法卡片网格布局（与主站点一致） */
        .methods-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        /* 方法卡片（与主站点一致） */
        .method-card {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 2.5rem 2rem;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.03);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .method-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        /* 方法图标容器（与主站点一致） */
        .method-icon {
            width: 70px;
            height: 70px;
            background: rgba(37, 211, 102, 0.1);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.8rem;
            color: var(--primary);
            font-size: 1.8rem;
        }

        /* 方法卡片标题（与主站点一致） */
        .method-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-dark);
            width: 100%;
        }

        /* 方法卡片描述（与主站点一致） */
        .method-card p {
            color: var(--gray);
            line-height: 1.6;
            width: 100%;
            margin-bottom: 1.5rem;
        }

        /* 方法步骤列表 */
        .method-steps {
            text-align: left;
            width: 100%;
            margin-bottom: 1.5rem;
        }

        .method-steps ol {
            padding-left: 1.2rem;
        }

        .method-steps li {
            margin-bottom: 0.5rem;
            color: var(--gray);
        }

        /* 方法链接 */
        .method-link {
            color: var(--primary);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
            margin-top: auto;
        }

        .method-link:hover {
            color: var(--primary-dark);
            gap: 0.8rem;
        }
        /* Android特定徽章 */
        .android-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background-color: #3DDC84;
            color: #000;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-left: 1rem;
            vertical-align: middle;
        }
        /* ===========================================
           3. 对比表格容器
           =========================================== */
/* 对比表格容器 */
.comparison-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    background: var(--white);
}

/* 对比表格 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* 确保表格有最小宽度 */
}

/* 表格表头样式 */
.comparison-table th {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 3px solid var(--primary-dark);
}

/* 表格单元格样式 */
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    vertical-align: middle; /* 确保内容垂直居中 */
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

/* 功能名称单元格 */
.comparison-table .feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark);
    padding-left: 2rem;
    background-color: rgba(37, 211, 102, 0.05);
}

/* 表格隔行变色 */
.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(37, 211, 102, 0.03);
}

.comparison-table tbody tr:hover {
    background-color: rgba(37, 211, 102, 0.08);
    transition: background-color 0.2s ease;
}

/* 支持状态样式 - 支持 */
.comparison-table .yes {
    color: #25D366;
    font-weight: 600;
}

/* 支持状态样式 - 更多支持 */
.comparison-table .yes-more {
    color: #25D366;
    font-weight: 600;
    position: relative;
}

.comparison-table .yes-more::after {
    content: '★';
    font-size: 0.8em;
    color: var(--accent);
    margin-left: 5px;
}

/* 支持状态样式 - 不支持 */
.comparison-table .no {
    color: #FF6B6B;
    font-weight: 600;
}

/* 支持状态样式 - 中等 */
.comparison-table .medium {
    color: #FFA726;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .comparison-table-container {
        border-radius: calc(var(--radius) / 2);
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1.2rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .comparison-table .feature-name {
        padding-left: 1rem;
    }
}
        /* ===========================================
           4. 页面标题区域（基于主站点英雄区域样式）
           =========================================== */

        /* 页面标题区域整体 */
        .page-header {
            padding: 6rem 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            position: relative;
            overflow: hidden;
        }

        /* 页面标题区域背景装饰 */
        .page-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 60%;
            height: 200%;
            background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, rgba(52, 183, 241, 0.03) 70%, transparent 100%);
            border-radius: 50%;
        }

        /* 页面标题内容 */
        .page-header-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        /* 页面主标题 */
        .page-title {
            font-size: 3.2rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
        }

        /* 页面描述文字 */
        .page-description {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto 2.5rem;
            line-height: 1.7;
        }

        /* 面包屑导航 */
        .breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            margin-top: 2rem;
            color: var(--gray);
        }

        /* 面包屑导航链接 */
        .breadcrumb a {
            color: var(--primary);
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        /* ===========================================
           5. 主要下载区域（专为Windows下载页面设计）
           =========================================== */

        /* 主要下载区域整体 */
        .main-download-section {
            background-color: var(--white);
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }

        /* 主要下载容器布局 - 两列网格 */
        .main-download-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        /* 下载内容区域 */
        .download-content {
            color: var(--dark);
        }

        /* 下载区域标题 */
        .download-content h2 {
            font-size: 2.8rem; /* 与主站点section-title h2保持一致 */
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }

        /* 下载区域描述文字 */
        .download-content p {
            font-size: 1.1rem; /* 与主站点section-title p保持一致 */
            color: var(--gray);
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }

        /* 统计信息样式 */
        .download-stats {
            display: flex;
            gap: 2rem;
            margin: 2rem 0;
        }

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

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 0.3rem;
        }
        /* 下载按钮容器 */
        .download-actions-official {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        /* Microsoft Store按钮样式 */
        .microsoft-store-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #000;
            border-radius: 8px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-align: center;
            max-width: 280px;
            text-decoration: none;
            overflow: hidden;
            padding: 0;
            height: 75px;
        }

        .microsoft-store-button:hover {
            background: #333;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .microsoft-store-button img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
        }

        /* 直接下载按钮样式 */
        .direct-download-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: transparent;
            color: var(--dark);
            padding: 0.8rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            border: 2px solid rgba(28, 30, 33, 0.2);
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            max-width: 280px;
            justify-content: center;
        }

        .direct-download-button:hover {
            background: rgba(28, 30, 33, 0.05);
            border-color: rgba(28, 30, 33, 0.4);
            transform: translateY(-2px);
        }

        .direct-download-button svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* 系统要求区域 */
        .requirements-section {
            margin-top: 3rem;
        }

        /* 系统要求标题 */
        .requirements-title {
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            color: rgba(28, 30, 33, 0.7);
            margin-bottom: 0.8rem;
        }

        /* 系统要求内容 */
        .requirements-content {
            color: rgba(28, 30, 33, 0.9);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .requirements-content p {
            margin-bottom: 0.5rem;
        }

        .requirements-content a {
            color: var(--dark);
            text-decoration: underline;
            font-weight: 500;
        }

        .requirements-content a:hover {
            color: rgba(28, 30, 33, 0.8);
        }

        /* 下载预览区域 */
        .download-preview-official {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* 预览图片容器 */
        .preview-image-container {
            position: relative;
            width: 100%;
            max-width: 400px;
        }

        /* 预览图片样式 */
        .preview-image-container img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            transform: perspective(1000px) rotateY(-10deg);
            transition: transform 0.5s ease;
        }

        .preview-image-container:hover img {
            transform: perspective(1000px) rotateY(-5deg);
        }
        /* ===========================================
           12. 响应式设计（与主站点一致）
           =========================================== */

        /* 中等屏幕（平板横向） - 最大宽度992px */
        @media (max-width: 992px) {
            /* 主要下载区域改为单列布局 */
            .main-download-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }
            
            .page-title {
                font-size: 2.8rem;
            }
            
            /* 下载按钮居中对齐 */
            .download-actions-official {
                align-items: center;
            }
            
            .section-title h2 {
                font-size: 2.4rem;
            }
            
            .download-content h2 {
                font-size: 2.5rem;
            }
        }

        /* 小屏幕（平板纵向/大手机） - 最大宽度768px */
        @media (max-width: 768px) {
            /* 移动端导航菜单 */
            .nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--white);
                flex-direction: column;
                padding: 1.5rem;
                box-shadow: var(--shadow);
                gap: 1.5rem;
                z-index: 999;
            }
            
            .nav.active {
                display: flex;
            }
            
            /* 显示移动端菜单按钮 */
            .mobile-menu-btn {
                display: block;
            }
            
            /* 调整文字大小 */
            .page-title {
                font-size: 2.4rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            /* 改为单列布局 */
            .features-grid, .steps-container, .platforms-grid {
                grid-template-columns: 1fr;
            }
            
            /* 对比表格水平滚动 */
            .comparison-table {
                display: block;
                overflow-x: auto;
            }
            
            .download-content h2 {
                font-size: 2rem;
            }
            
            /* 移除图片3D效果 */
            .preview-image-container img {
                transform: none;
            }
            
            .preview-image-container:hover img {
                transform: none;
            }
            
            /* 按钮全宽 */
            .microsoft-store-button, .direct-download-button {
                max-width: 100%;
                width: 100%;
            }
        }

        /* 超小屏幕（手机） - 最大宽度480px */
        @media (max-width: 480px) {
            .page-header {
                padding: 4rem 0;
            }
            
            .page-title {
                font-size: 2rem;
            }
            
            .page-description {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .main-download-section {
                padding: 4rem 0;
            }
            
            .download-content h2 {
                font-size: 1.8rem;
            }
            
            .microsoft-store-button {
                height: 65px;
            }
        }

        /* ===========================================
           13. 打印样式（与主站点一致）
           =========================================== */

        @media print {
            /* 隐藏不必要元素 */
            .header, .footer, .mobile-menu-btn, .microsoft-store-button, .direct-download-button, .platform-link {
                display: none;
            }
            
            /* 优化打印颜色 */
            body {
                color: #000;
            }
            
            /* 简化页面标题区域 */
            .page-header {
                background: none;
                color: #000;
                padding: 1rem 0;
            }
            
            /* 减少各区域间距 */
            .main-download-section, .features-section, .installation-steps, .comparison-section, .faq-section, .other-platforms {
                padding: 1rem 0;
            }
            
            /* 简化卡片阴影 */
            .feature-card, .step-card, .platform-card {
                box-shadow: none;
                border: 1px solid #ddd;
            }
            
            /* 简化表格样式 */
            .comparison-table {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }
        
        
        
        /* 浏览器支持区域 */
        .browser-support {
            background-color: var(--light);
            padding: 4rem 0;
            border-radius: var(--radius);
            margin-bottom: 5rem;
        }
        
        /*.section-title {*/
        /*    text-align: center;*/
        /*    margin-bottom: 3.5rem;*/
        /*}*/
        
        /*.section-title h2 {*/
        /*    font-size: 2.5rem;*/
        /*    color: var(--primary-dark);*/
        /*    margin-bottom: 1rem;*/
        /*}*/
        
        /*.section-title p {*/
        /*    color: var(--gray);*/
        /*    max-width: 700px;*/
        /*    margin: 0 auto;*/
        /*    font-size: 1.1rem;*/
        /*}*/
        
        .browsers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .browser-card {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 2.5rem 2rem;
            box-shadow: var(--card-shadow);
            text-align: center;
            transition: var(--transition);
        }
        
        .browser-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .browser-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 3rem;
            color: white;
        }
        
        /*.chrome .browser-icon {*/
        /*    background-color: #4285F4;*/
        /*}*/
        
        /*.firefox .browser-icon {*/
        /*    background-color: #FF7139;*/
        /*}*/
        
        /*.safari .browser-icon {*/
        /*    background-color: #000;*/
        /*}*/
        
        /*.edge .browser-icon {*/
        /*    background-color: #0078D7;*/
        /*}*/
        
        .browser-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-dark);
        }
        
        .browser-card p {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }
        
        .browser-version {
            font-size: 0.9rem;
            color: var(--gray);
            background-color: rgba(37, 211, 102, 0.1);
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            display: inline-block;
        }
        
        /* 键盘快捷键区域 */
        .shortcuts-section {
            background-color: rgba(37, 211, 102, 0.05);
            padding: 4rem 0;
            border-radius: var(--radius);
            margin-bottom: 5rem;
        }
        
        .shortcuts-container {
            max-width: 800px;
            margin: 3rem auto 0;
        }
        
        .shortcut-category {
            margin-bottom: 2.5rem;
        }
        
        .shortcut-category h3 {
            font-size: 1.5rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(37, 211, 102, 0.2);
        }
        
        .shortcut-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }
        
        .shortcut-item {
            display: flex;
            justify-content: space-between;
            padding: 1rem;
            background-color: var(--white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        
        .shortcut-action {
            font-weight: 600;
            color: var(--dark);
        }
        
        .shortcut-key {
            display: flex;
            gap: 0.3rem;
        }
        
        .key {
            background-color: var(--dark);
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            font-size: 0.9rem;
            font-family: monospace;
        }
        
        .plus {
            color: var(--gray);
            margin: 0 0.2rem;
        }
        /* 响应式设计 */
        @media (max-width: 992px) {
            .main-access {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .page-title {
                font-size: 2.8rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 768px) {
            .nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--white);
                flex-direction: column;
                padding: 1.5rem;
                box-shadow: var(--shadow);
                gap: 1.5rem;
                z-index: 999;
            }
            
            .nav.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .page-title {
                font-size: 2.4rem;
            }
            
            .access-stats {
                flex-wrap: wrap;
                gap: 1.5rem;
            }
            
            .access-button {
                max-width: 100%;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 480px) {
            .page-header {
                padding: 4rem 0 2rem;
            }
            
            .page-title {
                font-size: 2rem;
            }
            
            .page-description {
                font-size: 1rem;
            }
            
            .access-button {
                padding: 1rem 1.5rem;
                font-size: 1.1rem;
            }
            
            .feature-card, .step-card, .browser-card, .platform-card {
                padding: 1.5rem;
            }
            
            .web-badge {
                margin-left: 0.5rem;
                padding: 0.3rem 0.8rem;
                font-size: 0.8rem;
            }
        }
        
        /* 打印样式 */
        @media print {
            .header, .footer, .mobile-menu-btn, .access-button, .platform-link {
                display: none;
            }
            
            body {
                color: #000;
                font-size: 12pt;
            }
            
            .main-access {
                margin: 1rem 0;
            }
            
            .web-preview {
                box-shadow: none;
                border: 1px solid #ddd;
            }
            
            .feature-card, .step-card, .browser-card, .platform-card {
                box-shadow: none;
                border: 1px solid #ddd;
                break-inside: avoid;
            }
            
            .comparison-table {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }
        

/* ===========================================
   13. 文章列表页 首页文章缩略图有冲突
   =========================================== */
/* 文章列表页面主要内容 */
.articles-page {
    padding: 6rem 0;
    background-color: var(--white);
}

.articles-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* 文章列表样式 - 使用图片展示 */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.article-item {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 250px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

/* 文章图片容器 - 固定高度 */
.article-image1 {
    height: 100%;
    min-height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-light);
}

/* 文章图片样式 */
.article-image1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* 图片加载占位符 */
.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 当图片加载完成后，隐藏占位符 */
.article-image.loaded::before {
    display: none;
}

.article-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.article-tag {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.article-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

.article-item h2 a {
    color: inherit;
    transition: var(--transition);
}

.article-item h2 a:hover {
    color: var(--primary);
}

.article-item p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* 侧边栏样式 - 使用主页面卡片风格 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--primary);
}

.categories-list .count {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 热门文章图片 */
.popular-article-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: var(--gray-light);
}

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

.popular-article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.popular-article-image.loaded::before {
    display: none;
}

.popular-article-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.popular-article-content h3 a {
    color: var(--dark);
    transition: var(--transition);
}

.popular-article-content h3 a:hover {
    color: var(--primary);
}

.popular-article-content .date {
    font-size: 0.85rem;
    color: var(--gray);
}

/* 分页样式 - 使用主页面按钮风格 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--gray-light);
}

.pagination a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination .active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .prev, .pagination .next {
    width: auto;
    padding: 0 1.2rem;
    border-radius: 50px;
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tag {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* 搜索框样式 - 使用主页面输入风格 */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border-radius: 50px;
    border: 2px solid var(--gray-light);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.search-box svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* 订阅表单样式 */
.subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 50px;
    border: 2px solid var(--gray-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.subscribe-form button[type="submit"] {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}


/* 响应式设计 - 与主页面一致 */
@media (max-width: 992px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
    
    .page-header {
        padding: 5rem 0 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .article-item {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        min-height: 200px;
        height: 200px;
    }
    
    .page-title {
        font-size: 2.4rem;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .article-item h2 {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .pagination a, .pagination span {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .pagination .prev, .pagination .next {
        padding: 0 0.8rem;
    }
}

/* 打印样式 */
@media print {
    .header, .footer, .sidebar, .pagination, .mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
    }
    
    .articles-page {
        padding: 1rem 0;
    }
    
    .article-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}






        /* Web特定徽章 */
        .web-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background-color: #3DDC84;
            color: #000;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-left: 1rem;
            vertical-align: middle;
        }
/* ===========================================
   14. 文章内容页有冲突
   =========================================== */
/* 苹果徽章样式 */
.apple-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
    vertical-align: middle;
}

/* 文章导航按钮样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius);
}

.nav-link-prev, .nav-link-next {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--dark);
    flex: 1;
    transition: var(--transition);
}

.nav-link-prev:hover, .nav-link-next:hover {
    color: var(--primary);
}

.nav-link-prev {
    justify-content: flex-start;
}

.nav-link-next {
    justify-content: flex-end;
    text-align: right;
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-text h4 {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0 0 0.5rem;
    font-weight: normal;
}

.nav-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.nav-link-prev.disabled, .nav-link-next.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 分页按钮样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pagination a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.pagination .current {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .prev, .pagination .next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 20px;
    background-color: var(--light);
    border-color: var(--light);
}

.pagination .prev:hover, .pagination .next:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* windows徽章样式 */
.windows-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
    vertical-align: middle;
}

/* ============================================
   E: 文章内容区域 (400-599)
   ============================================ */
/* E1: 文章页面容器 */
.article-page {
    padding: 4rem 0;
    background-color: var(--white);
}

/* E2: 文章布局 */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* E3: 文章内容区域 */
.article-content {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* E4: 文章头部 */
.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
}

/* E5: 文章标题 */
.article-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* E6: 文章元信息 */
.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray);
    flex-wrap: wrap;
}

/* E7: 文章标签 */
.article-tag {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

/* E8: 文章作者信息 */
.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(37, 211, 102, 0.05);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

/* E9: 作者头像 */
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /*background-color: var(--primary);*/
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

/* E10: 作者信息 */
.author-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* E11: 文章主体内容 */
.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* E12: 文章二级标题 */
.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
}

/* E13: 文章三级标题 */
.article-body h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* E14: 文章段落 */
.article-body p {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* E15: 文章列表 */
.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    color: var(--dark);
}

/* E16: 强调文本 */
.article-body strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* E17: 文章内链接 */
.article-body a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.article-body a:hover {
    color: var(--primary-dark);
}

/* E18: 信息框 */
.info-box {
    background-color: rgba(52, 183, 241, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
    border: 1px solid rgba(52, 183, 241, 0.2);
}

.info-box h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* E19: 警告框 */
.warning-box {
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.warning-box h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* E20: 提示框 */
.tip-box {
    background-color: rgba(37, 211, 102, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.tip-box h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* E21: 图片容器 */
.image-container {
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: auto;
    object-fit: cover;
}

/* E22: 图片加载占位符 */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
    border-radius: var(--radius);
}

/* E23: 图片加载动画 */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* E24: 图片加载完成状态 */
.image-container.loaded::before {
    display: none;
}

/* E25: 图片说明 */
.image-caption {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.8rem;
    font-style: italic;
}

/* E26: 步骤容器 */
/*.steps-container {*/
/*    margin: 2rem 0;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1.5rem;*/
/*}*/
/* E31: 文章底部 */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(37, 211, 102, 0.1);
}

/* E32: 文章标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.article-tag-link {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.article-tag-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* E33: 文章导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-link-prev, .nav-link-next {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background-color: rgba(37, 211, 102, 0.05);
    border-radius: var(--radius);
    transition: var(--transition);
    max-width: 300px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-link-prev:hover, .nav-link-next:hover {
    background-color: rgba(37, 211, 102, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.nav-link-prev .nav-arrow {
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-link-next .nav-arrow {
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-text h4 {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.nav-text h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* E34: 分享按钮 */
.share-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.share-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

/* E35: 相关文章区域 */
.related-articles {
    margin-top: 4rem;
}

/* E36: 相关文章标题 */
.related-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
}

/* E37: 相关文章网格 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* E38: 相关文章项 */
.related-article {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

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

/* E39: 相关文章图片 */
.related-article-image {
    height: 160px;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-light);
}

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

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

/* E40: 相关文章图片占位符 */
.related-article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.related-article-image.loaded::before {
    display: none;
}

/* E41: 相关文章内容 */
.related-article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

.related-article-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* E42: 相关文章阅读更多 */
.related-read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.related-read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ============================================
   F: 侧边栏样式 (600-699)
   ============================================ */
/* F1: 侧边栏容器 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* F2: 侧边栏小部件 */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* F3: 侧边栏标题 */
.sidebar-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
}

/* F4: 侧边栏文章容器 */
.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* F5: 侧边栏文章项 */
.sidebar-article {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* F6: 侧边栏文章图片 */
.sidebar-article-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: var(--gray-light);
}

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

/* F7: 侧边栏文章图片占位符 */
.sidebar-article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.sidebar-article-image.loaded::before {
    display: none;
}

/* F8: 侧边栏文章内容 */
.sidebar-article-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sidebar-article-content h3 a {
    color: var(--dark);
    transition: var(--transition);
}

.sidebar-article-content h3 a:hover {
    color: var(--primary);
}

.sidebar-article-content .date {
    font-size: 0.85rem;
    color: var(--gray);
}
/* ============================================
   I: 响应式设计 (900-999)
   ============================================ */
/* I1: 大屏幕响应式 (992px以下) */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
}

/* I2: 中等屏幕响应式 (768px以下) */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2.4rem;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .nav-link-prev, .nav-link-next {
        max-width: 100%;
    }
}

/* I3: 小屏幕响应式 (480px以下) */
@media (max-width: 480px) {
    .article-page {
        padding: 2rem 0;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   J: 打印样式 (1000-1099)
   ============================================ */
/* J1: 打印样式 */
@media print {
    .header, .footer, .sidebar, .mobile-menu-btn, .article-navigation, .share-buttons, .related-articles {
        display: none;
    }
    
    body {
        color: #000;
        font-size: 12pt;
    }
    
    .article-page {
        padding: 0;
    }
    
    .article-content {
        box-shadow: none;
        padding: 0;
        border: none;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
    
    .article-body a::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
}





/* E7a: 星级推荐与评分区域（与 Schema.org aggregateRating 对应，利于谷歌富摘要显示星级） */
.article-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(255, 215, 0, 0.08) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(37, 211, 102, 0.15);
}
.article-rating-stars {
    display: inline-flex;
    gap: 0.1rem;
    font-size: 1.35rem;
    line-height: 1;
}
.article-rating-stars .star {
    color: var(--gray-light);
}
.article-rating-stars .star.filled {
    color: var(--accent);
}
.article-rating-stars .star.half {
    color: var(--accent);
    opacity: 0.85;
}
.article-rating-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}
.article-rating-value .rating-sep {
    margin: 0 0.1rem;
    color: var(--gray);
    font-weight: 500;
}
.article-rating-count {
    font-size: 0.9rem;
    color: var(--gray);
}