/* ===== 文章内容区 ===== */
.article-section { padding: 50px 0 60px; background: #fff; }

.article-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* 文章元信息 */
.article-meta-top {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
}

.article-meta-top .amt-cat {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.article-meta-top h1 {
    font-size: 32px;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.article-meta-top .amt-meta {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.article-meta-top .amt-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* 封面图 */
.article-cover {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-cover:hover img {
    transform: scale(1.02);
}

/* 正文 */
.article-content {
    font-size: 16px;
    color: #374151;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.article-content h2 {
    font-size: 24px;
    color: #0f172a;
    margin: 45px 0 20px;
    font-weight: 700;
    padding-left: 16px;
    border-left: 4px solid #2563eb;
}

.article-content h3 {
    font-size: 20px;
    color: #1e293b;
    margin: 35px 0 16px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 22px;
    text-align: justify;
}

.article-content strong {
    color: #0f172a;
    font-weight: 600;
}

.article-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-content blockquote {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-left: 4px solid #2563eb;
    padding: 24px 28px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-size: 16px;
}

.article-content blockquote .bq-author {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    color: #94a3b8;
}
/* ===== 表格样式 ===== */
.article-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.article-content table thead,
.article-content table tr.firstRow {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.article-content table th {
    padding: 16px 20px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.5px;
    background: transparent;
}

.article-content table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}

.article-content table tbody tr {
    transition: all 0.3s ease;
}

.article-content table tbody tr:not(.firstRow):hover {
    background: #f8fafc;
}

.article-content table tbody tr:last-child td {
    border-bottom: none;
}

.article-content table td strong {
    color: #2563eb;
    font-weight: 700;
}

/* ===== 列表样式 ===== */
.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-content ul li::marker {
    color: #2563eb;
}

.article-content ol li::marker {
    color: #2563eb;
    font-weight: 600;
}
/* 底部标签 */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 2px solid #f1f5f9;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.article-footer .af-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.article-footer .af-tags a {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 13px;
    color: #64748b;
    transition: all 0.3s;
}

.article-footer .af-tags a:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

.article-footer .af-share {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #94a3b8;
}

.article-footer .af-share a {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.article-footer .af-share a:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

/* 上下篇 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.article-nav a {
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.article-nav a:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(37,99,235,0.2);
    color: #fff;
}

.article-nav a:last-child { text-align: right; }

.article-nav a .an-label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.article-nav a:hover .an-label { color: rgba(255,255,255,0.7); }

.article-nav a .an-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
    transition: color 0.3s;
}

.article-nav a:hover .an-title { color: #fff; }
/* 相关文章 */
.related-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.rel-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid #e2e8f0;
}

.rel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37,99,235,0.1);
    border-color: rgba(37,99,235,0.2);
}

.rel-card .rc-img { height: 200px; overflow: hidden; }

.rel-card .rc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.rel-card:hover .rc-img img { transform: scale(1.08); }

.rel-card .rc-body { padding: 22px; }

.rel-card .rc-body .rc-date {
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 8px;
}

.rel-card .rc-body h4 {
    font-size: 15px;
    color: #0f172a;
    line-height: 1.5;
    transition: color 0.3s;
}

.rel-card:hover .rc-body h4 { color: #2563eb; }

/* ===== 响应式适配 ===== */
@media (max-width: 992px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .article-section { padding: 30px 0 40px; }
    .article-meta-top h1 { font-size: 24px; }
    .article-content { font-size: 15px; line-height: 1.8; }
    .article-content h2 { font-size: 20px; margin: 30px 0 16px; }
    .article-content table { font-size: 13px; }
    .article-content table th,
    .article-content table td { padding: 10px 12px; }
    .article-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
    .article-nav a { padding: 18px 20px; }
    .article-nav a:last-child { text-align: left; }
    .article-nav a .an-title { font-size: 14px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-section { padding: 40px 0; }
}