/* ============================================
   烽云官网 - 文章详情页样式
   文件: news-show.css
   作者: Bruce
   创建时间: 2026-02-27
   设计风格: 科技感蓝色主题
   主色调: #2563EB
   ============================================ */


/* ---- 面包屑导航 ---- */
.news-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}

.news-breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.news-breadcrumb a {
    color: #64748b;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.news-breadcrumb a:hover {
    color: #2563eb;
}

.news-breadcrumb .home-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.news-breadcrumb .separator {
    margin: 0 12px;
    color: #cbd5e1;
}

.news-breadcrumb .current {
    color: #2563eb;
    font-weight: 500;
}

/* ---- 文章详情主体 ---- */
.news-detail-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 文章头部 */
.news-article-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 48px;
}

.news-article-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 24px;
}

.news-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    color: #64748b;
    font-size: 14px;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta-icon {
    width: 18px;
    height: 18px;
    color: #2563eb;
}

/* 文章正文 */
.news-article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
}

.news-article-content p {
    margin-bottom: 24px;
    text-align: justify;
}

.news-article-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1e293b;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
}

.news-article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 36px 0 18px;
}

.news-article-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin: 28px 0 14px;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-article-content ul,
.news-article-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.news-article-content li {
    margin-bottom: 10px;
}

.news-article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    color: #1e40af;
    font-style: italic;
    position: relative;
}

.news-article-content blockquote::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 48px;
    color: #2563eb;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.news-article-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.news-article-content a:hover {
    border-bottom-color: #2563eb;
}

.news-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-article-content th,
.news-article-content td {
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
}

.news-article-content th {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 600;
    text-align: left;
}

.news-article-content tr:nth-child(even) {
    background: #f8fafc;
}

.news-article-content tr:hover {
    background: #eff6ff;
}

.news-article-content code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 14px;
    color: #2563eb;
}

.news-article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
}

.news-article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* 文章标签 */
.news-article-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.news-tags-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.news-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-tag-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.news-tag-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* 文章导航 */
.news-article-nav {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.news-nav-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.news-nav-item:hover {
    background: #eff6ff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.news-nav-item.prev {
    text-align: left;
}

.news-nav-item.next {
    text-align: right;
    align-items: flex-end;
}

.news-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.news-nav-icon {
    width: 18px;
    height: 18px;
}

.news-nav-title {
    font-size: 16px;
    line-height: 1.5;
}

.news-nav-title a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-nav-title a:hover {
    color: #2563eb;
}

.news-nav-title {
    font-size: 16px;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
}

.news-nav-empty {
    color: #94a3b8;
    font-style: italic;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 1024px) {
    
    .news-article-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    
    .news-detail-section {
        padding: 40px 0 60px;
    }
    
    .news-article-header {
        padding-bottom: 28px;
        margin-bottom: 32px;
    }
    
    .news-article-title {
        font-size: 24px;
    }
    
    .news-article-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .news-article-content {
        font-size: 15px;
    }
    
    .news-article-content h2 {
        font-size: 22px;
        margin: 36px 0 18px;
    }
    
    .news-article-content h3 {
        font-size: 18px;
    }
    
    .news-article-nav {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-nav-item.next {
        text-align: left;
        align-items: flex-start;
    }
    
    .news-nav-item.next .news-nav-label {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    
    .news-article-title {
        font-size: 20px;
    }
    
    .news-article-content img {
        border-radius: 8px;
    }
    
    .news-article-content blockquote {
        padding: 20px;
    }
}
