/* ====================== 文章详情页专属样式 ====================== */
.article-page {
  padding-top: 70px;
}
.article-wrapper {
    display: flex;
    gap: 30px;
}
.article-main {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(22,93,255,0.05);
}
.article-title {
    font-size: 28px;
    color: #222;
    line-height: 1.0;
    margin-bottom: 20px;
    font-weight: 700;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}
.article-meta i {
    color: #165DFF;
    margin-right: 5px;
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.article-content h2 {
    font-size: 22px;
    color: #222;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #165DFF;
}
.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}
.article-content img {
    margin: 20px 0;
    width: 100%;
}
/* ====================== 面包屑导航 ====================== */
.breadcrumb {
    padding: 20px 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #666;
}
.breadcrumb a:hover {
    color: #165DFF;
}
.breadcrumb span {
    color: #165DFF;
    font-weight: 500;
}
.breadcrumb i {
    font-size: 12px;
    color: #999;
}
/* ====================== 页面通用Banner ====================== */
.page-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, #165DFF 0%, #0047CC 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.banner-content p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 侧边栏 */
.article-sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-box {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(22,93,255,0.05);
}
.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #165DFF;
}
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.related-item {
    font-size: 15px;
    line-height: 1.5;
    padding-left: 15px;
    position: relative;
}
.related-item::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #165DFF;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}
.related-item:hover {
    color: #165DFF;
    padding-left: 20px;
}
/* ====================== 新增：上一页 / 下一页 导航 ====================== */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    gap: 20px;
}
.article-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    flex: 1;
    transition: 0.3s;
}
.article-nav a:hover {
    background: #165DFF;
    color: #fff;
}
.article-nav a i {
    font-size: 14px;
}
.article-nav .prev {
    justify-content: flex-start;
}
.article-nav .next {
    justify-content: flex-end;
    text-align: right;
}

/* ====================== 文章页响应式 ====================== */
@media (max-width: 992px) {
    .article-wrapper {
        flex-direction: column;
    }
    .article-sidebar {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .article-main {
        padding: 20px;
    }
    .article-title {
        font-size: 22px;
    }
    .article-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
    .article-content h2 {
        font-size: 19px;
    }
	 .page-banner {
        padding: 80px 0;
    }
    .banner-content h2 {
        font-size: 24px;
    }
    .breadcrumb {
        padding: 15px 0;
    }
	 /* 上一页下一页移动端适配 */
    .article-nav {
        flex-direction: column;
    }
    .article-nav a {
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    .article-main {
        padding: 15px;
    }
}