/* ===== 技术中心文章详情页专属样式 ===== */

.article-banner {
    position: relative;
    margin-top: 80px;
    padding: 90px 0;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
}
.article-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.10), transparent 55%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06), transparent 50%);
    z-index: 1;
}
.article-banner .container {
    position: relative;
    z-index: 2;
}
.article-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 auto 22px;
    max-width: 820px;
}
.article-banner .article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    align-items: center;
}
.article-banner .art-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 40px;
    font-weight: 600;
}

/* 正文容器 */
.article-section {
    padding: 60px 0 80px;
}
.article-content {
    max-width: 820px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 44px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.4;
}
.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 28px 0 12px;
}
.article-content p {
    font-size: 1rem;
    color: #3f4756;
    line-height: 1.9;
    margin: 0 0 16px;
    text-align: justify;
}
.article-content ul,
.article-content ol {
    margin: 0 0 18px;
    padding-left: 26px;
    color: #3f4756;
    line-height: 1.9;
}
.article-content li {
    margin-bottom: 6px;
}
.article-content blockquote {
    margin: 20px 0;
    padding: 16px 22px;
    background: #f0f6ff;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: #1e40af;
    font-size: 1rem;
    line-height: 1.8;
}
.article-content blockquote p {
    margin: 0;
    color: inherit;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
}
.article-content table th,
.article-content table td {
    border: 1px solid #e5e9f0;
    padding: 12px 14px;
    text-align: left;
    line-height: 1.6;
}
.article-content table th {
    background: #f5f8ff;
    color: var(--secondary);
    font-weight: 700;
}
.article-content table tr:nth-child(even) td {
    background: #fafbfd;
}
.article-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 22px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 20px 0;
}
.article-content pre code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    white-space: pre;
}
.article-content hr {
    border: none;
    border-top: 1px solid #eef2f6;
    margin: 44px 0;
}

/* 文末品牌信息块 */
.article-footer-note {
    margin-top: 40px;
    padding: 22px 26px;
    background: #f5f8ff;
    border: 1px solid #e8efff;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #3f4756;
    line-height: 1.8;
}
.article-footer-note p {
    margin: 0;
    text-align: left;
}
.article-footer-note .copyright {
    display: block;
    margin-top: 12px;
    color: #9aa3b2;
    font-size: 0.8rem;
    font-style: italic;
}

/* 返回按钮 */
.article-back {
    margin-top: 48px;
    text-align: center;
}
.article-back a {
    display: inline-block;
    padding: 12px 34px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
}
.article-back a:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 640px) {
    .article-banner {
        padding: 60px 0;
    }
    .article-banner h1 {
        font-size: 1.55rem;
    }
    .article-content table {
        font-size: 0.8rem;
    }
    .article-content table th,
    .article-content table td {
        padding: 8px 10px;
    }
    .article-content pre {
        font-size: 0.78rem;
        padding: 14px 16px;
    }
}
