/* ============================================
   腾飞振兴通风设备 - 文章页公共样式
   依赖：/css/style.css 变量体系
   ============================================ */

/* --- 文章页 Banner --- */
.article-banner {
    background: linear-gradient(135deg, rgba(13,59,102,0.92), rgba(25,118,210,0.88));
    padding: 100px 0 40px;
    color: #fff;
}

.article-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 16px;
}

.article-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.article-banner .breadcrumb a:hover { opacity: 1; }

.article-banner .breadcrumb .sep { opacity: 0.5; }

.article-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-banner .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- 文章主体布局 --- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    padding: 40px 0 60px;
}

/* --- 文章内容区 --- */
.article-content {
    background: var(--bg-white, #fff);
    border-radius: var(--radius-md, 10px);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
}

.article-content h2 {
    font-size: 1.4rem;
    color: var(--primary, #0d3b66);
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border, #e2e8f0);
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 1.15rem;
    color: var(--text-dark, #1a202c);
    margin: 24px 0 12px;
}

.article-content h4 {
    font-size: 1rem;
    color: var(--text-dark, #1a202c);
    margin: 20px 0 10px;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium, #4a5568);
    margin-bottom: 16px;
}

.article-content strong {
    color: var(--text-dark, #1a202c);
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 信息框 --- */
.article-content .info-box {
    background: var(--bg-section, #edf2f7);
    border-left: 4px solid var(--secondary, #1976d2);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.article-content .info-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.article-content .info-box p:last-child { margin-bottom: 0; }

.article-content .info-box.warning {
    border-left-color: #e53e3e;
    background: #fff5f5;
}

.article-content .info-box .info-title {
    font-weight: 700;
    color: var(--primary-dark, #082a4a);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 对比表格 --- */
.article-content .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.article-content .compare-table th {
    background: var(--primary, #0d3b66);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.article-content .compare-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    color: var(--text-medium, #4a5568);
}

.article-content .compare-table tr:nth-child(even) td {
    background: var(--bg-section, #edf2f7);
}

/* --- 要点列表 --- */
.article-content .key-points {
    background: linear-gradient(135deg, rgba(25,118,210,0.05), rgba(33,150,243,0.08));
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
}

.article-content .key-points h4,
.article-content .key-points .kp-title {
    color: var(--secondary, #1976d2);
    margin-bottom: 12px;
    font-size: 1rem;
}

.article-content .key-points .kp-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content .key-points ul {
    list-style: none;
    padding: 0;
}

.article-content .key-points li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-medium, #4a5568);
    line-height: 1.7;
}

.article-content .key-points li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary, #1976d2);
    font-size: 0.8rem;
}

/* --- 检测报告专用 --- */
.article-content .cert-report {
    background: linear-gradient(135deg, rgba(25,118,210,0.05), rgba(33,150,243,0.08));
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
}

.article-content .cert-report .report-no {
    display: inline-block;
    background: var(--primary, #0d3b66);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.article-content .cert-report .report-logos {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.article-content .cert-report .report-logos span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-medium, #4a5568);
    font-size: 0.95rem;
    font-weight: 600;
}

.article-content .cert-report .report-logos i {
    color: var(--secondary, #1976d2);
    font-size: 1.1rem;
}

.article-content .report-photo {
    max-width: 420px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 16px auto;
    display: block;
}

.article-content .report-card {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.article-content .report-card h3 {
    margin-top: 0;
    color: var(--primary, #0d3b66);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--border, #e2e8f0);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.article-content .report-card .report-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-medium, #4a5568);
}

.article-content .report-card .report-meta strong {
    color: var(--text-dark, #1a202c);
    margin-right: 6px;
}

.article-content .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.article-content .product-card-mini {
    background: var(--bg-section, #edf2f7);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-content .product-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
}

.article-content .product-card-mini img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 12px;
}

.article-content .product-card-mini .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content .product-card-mini .icon-box i {
    font-size: 2rem;
    color: var(--secondary, #1976d2);
}

.article-content .product-card-mini h4 {
    font-size: 1rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 6px;
}

.article-content .product-card-mini p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-light, #718096);
}

.article-content .wechat-share-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- 文章底部 CTA --- */
.article-cta {
    background: linear-gradient(135deg, var(--primary, #0d3b66), var(--secondary, #1976d2));
    border-radius: 10px;
    padding: 28px 32px;
    margin-top: 36px;
    color: #fff;
    text-align: center;
}

.article-cta h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.article-cta p {
    opacity: 0.9;
    margin-bottom: 16px;
    color: #fff;
}

.article-cta .btn-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--highlight, #ff8f00), var(--highlight-hover, #ff6f00));
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-cta .btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,143,0,0.35);
}

.article-cta .cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--highlight, #ff8f00);
    padding: 12px 32px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.12));
}

/* --- 侧边栏 --- */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-white, #fff);
    border-radius: var(--radius-md, 10px);
    padding: 20px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
}

.sidebar-card h3,
.sidebar-card h4 {
    font-size: 1rem;
    color: var(--primary, #0d3b66);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border, #e2e8f0);
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card ul li {
    margin-bottom: 10px;
}

.sidebar-card ul li a,
.sidebar-card .related-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
    text-decoration: none;
    color: var(--text-medium, #4a5568);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.2s;
}

.sidebar-card ul li a:hover,
.sidebar-card .related-item:hover {
    color: var(--secondary, #1976d2);
}

.sidebar-card ul li:last-child a,
.sidebar-card .related-item:last-child {
    border-bottom: none;
}

.sidebar-card .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-card .tag-cloud a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-section, #edf2f7);
    color: var(--text-medium, #4a5568);
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar-card .tag-cloud a:hover {
    background: var(--secondary, #1976d2);
    color: #fff;
}

.sidebar-card .contact-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-medium, #4a5568);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card .contact-info p:last-child { margin-bottom: 0; }

/* --- 响应式 --- */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        order: 1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .article-banner {
        padding: 80px 0 32px;
    }
    .article-banner h1 {
        font-size: 1.5rem;
    }
    .article-banner .subtitle {
        font-size: 0.9rem;
    }
    .article-content {
        padding: 24px 20px;
    }
    .article-content h2 {
        font-size: 1.2rem;
    }
    .article-content .product-grid {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        order: 1;
        flex-direction: column;
    }
    .sidebar-card {
        min-width: auto;
    }
    .article-content .report-photo {
        max-width: 100%;
    }
}
