/* ========================================
   新闻详情页面样式
   ======================================== */

.news-detail-page {
    padding-top: 80px;
    background: #ffffff;
    min-height: 100vh;
}

.news-detail-page .container {
    max-width: 1000px;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #10b981;
}

.breadcrumb .separator {
    color: #d1d5db;
}

.breadcrumb .current {
    color: #1a1a1a;
}

.breadcrumb i {
    font-size: 0.875rem;
}

/* 文章主体 */
.article {
    margin-bottom: 4rem;
}

.article-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.article-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #10b981;
    color: #10b981;
}

/* 文章内容 */
.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.article-content ul {
    margin: 2rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-content img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 相关新闻 */
.related-news {
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    background: #f3f4f6;
    transform: translateX(8px);
}

.related-news-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    flex: 1;
}

.related-news-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-detail-page .container {
        padding-top: 1rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-actions {
        gap: 0.25rem;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .related-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .related-news-date {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.25rem;
    }

    .breadcrumb {
        font-size: 0.8125rem;
    }

    .section-title {
        font-size: 1.25rem;
    }
}
