/* ============================================
   联邦融启 - 新闻页面样式
   ============================================ */

/* News List Page */
.news-list-header {
    padding: 180px 0 60px;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(26, 32, 44, 0.9)),
                url('../images/bg-service.jpg') center/cover no-repeat fixed;
    text-align: center;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-metal-blue);
    border-color: var(--color-metal-blue);
    color: var(--color-text-primary);
}

/* News Detail Page */
.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 2rem;
}

.news-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.news-detail-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(74, 144, 226, 0.2);
    color: var(--color-metal-blue-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.news-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.news-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-card);
}

.news-detail-content {
    color: var(--color-text-secondary);
    line-height: 1.9;
    font-size: 1.1rem;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
}

.news-detail-content h2 {
    color: var(--color-text-primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
}

.news-detail-content h3 {
    color: var(--color-text-primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-detail-content li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.news-detail-content blockquote {
    border-left: 4px solid var(--color-metal-blue);
    padding: 1.5rem 2rem;
    background: var(--color-bg-hover);
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-primary);
}

/* Related News Section */
.related-news-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.related-news-title {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* News Archive Sections */
.news-archive-section {
    margin-top: 4rem;
}

.archive-section-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.archive-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--color-warning-orange);
    border-radius: 2px;
}

.archive-news-list {
    display: grid;
    gap: 1rem;
}

.archive-news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--color-bg-card);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.archive-news-item:hover {
    border-color: var(--color-metal-blue);
    transform: translateX(5px);
}

.archive-news-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.archive-news-info {
    flex: 1;
}

.archive-news-title {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.archive-news-item:hover .archive-news-title {
    color: var(--color-metal-blue);
}

.archive-news-date {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .news-detail-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .news-detail-image {
        height: 300px;
    }
    
    .archive-news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .archive-news-image {
        width: 100%;
        height: 150px;
    }
}
