/* ========== 新闻详情页专属样式 ========== */
/* 注意：过渡模块 .product-detail-banner 已在 common.css 中定义，此处不再重复 */

.article-page {
    padding: 50px 0;
}
.article-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.article-main {
    flex: 2;
    min-width: 0;
}
.article-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2a3e;
    margin-bottom: 15px;
    line-height: 1.3;
}
.article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef2f8;
    color: #8a9aaa;
    font-size: 14px;
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.article-content {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.8;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1f2a3e;
}
.article-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #1f2a3e;
}
.article-content img {
    max-width: 100%;
    border-radius: 16px;
    margin: 20px 0;
}
.article-content ul, .article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}
.article-content li {
    margin-bottom: 8px;
}
.share-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eef2f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.share-label {
    font-size: 14px;
    color: #5a6e8a;
}
.share-icons {
    display: flex;
    gap: 12px;
}
.share-icons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: #f0f4f9;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.share-icons a:hover {
    background: #1a5aaa;
    transform: translateY(-2px);
}
.share-icons svg {
    width: 18px;
    height: 18px;
    fill: #5a6e8a;
}
.share-icons a:hover svg {
    fill: #fff;
}

/* 侧边栏 */
.article-sidebar {
    flex: 1;
    min-width: 280px;
}
.sidebar-widget {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a5aaa;
    display: inline-block;
}
.related-list {
    list-style: none;
}
.related-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f8;
}
.related-list li:last-child {
    border-bottom: none;
}
.related-list a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
}
.related-list a:hover {
    color: #1a5aaa;
}
.related-date {
    font-size: 12px;
    color: #8a9aaa;
    margin-top: 5px;
    display: block;
}

/* 上下篇导航 */
.article-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.nav-prev, .nav-next {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-prev:hover, .nav-next:hover {
    background: #eef2f8;
    transform: translateX(-3px);
}
.nav-next:hover {
    transform: translateX(3px);
}
.nav-label {
    font-size: 13px;
    color: #8a9aaa;
    margin-bottom: 8px;
    display: block;
}
.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a3e;
}

/* 响应式 */
@media (max-width: 1024px) {
    .article-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .article-card {
        padding: 25px;
    }
    .article-title {
        font-size: 24px;
    }
}