/* ========================================
   联诺融科 - 新闻详情页样式
   ======================================== */

/* 页面头部调整 */
.show .page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.95) 0%, rgba(27, 67, 50, 0.9) 100%),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
    text-align: center;
    position: relative;
}

.show .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(82, 183, 136, 0.2) 0%, transparent 60%);
}

.show .page-header-content {
    position: relative;
    z-index: 2;
}

.show .page-title {
    font-size: 48px;
    color: var(--cream-white);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

/* 面包屑导航 */
.show .breadcrumb {
    padding: 30px 0;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--pale-green);
}

.show .breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    list-style: none;
}

.show .breadcrumb-list a {
    color: var(--light-text);
}

.show .breadcrumb-list a:hover {
    color: var(--primary-green);
}

.show .breadcrumb-list span {
    color: var(--light-text);
    opacity: 0.6;
}

.show .breadcrumb-list .current {
    color: var(--primary-green);
    font-weight: 600;
}

/* 新闻详情主容器 */
.news-detail-page {
    padding: 80px 0;
    min-height: 60vh;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--pale-green);
}

.article-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--pale-green);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: var(--light-text);
    font-size: 15px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-cover {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.article-content {
    font-size: 17px;
    line-height: 2;
    color: var(--dark-text);
    margin-bottom: 60px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.article-content h2 {
    font-size: 26px;
    color: var(--primary-green);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin: 30px 0 15px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    border-left: 4px solid var(--light-green);
    padding: 20px 30px;
    background: rgba(82, 183, 136, 0.1);
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    font-style: italic;
    color: var(--dark-text);
}

/* 相关文章 */
.related-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid var(--pale-green);
}

.related-section h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45, 106, 79, 0.2);
}

.related-card a {
    display: block;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card-content {
    padding: 20px;
}

.related-card-title {
    font-size: 17px;
    color: var(--primary-green);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-date {
    font-size: 13px;
    color: var(--light-text);
}

/* 新闻分类列表 */
.news-category-section {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 2px solid var(--pale-green);
}

.news-category-section h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
}

.category-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.category-news-item {
    display: flex;
    gap: 20px;
    background: var(--bg-cream);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.15);
}

.category-news-item a {
    display: flex;
    gap: 20px;
    width: 100%;
}

.category-news-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.category-news-info {
    flex: 1;
}

.category-news-info h4 {
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-news-info .date {
    font-size: 13px;
    color: var(--light-text);
}

/* 响应式 */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-cover {
        height: 280px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .related-grid,
    .category-news-list {
        grid-template-columns: 1fr;
    }
    
    .category-news-item {
        flex-direction: column;
    }
    
    .category-news-item a {
        flex-direction: column;
    }
    
    .category-news-item img {
        width: 100%;
        height: 180px;
    }
}
