/* News Detail Page Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 0 100px 0;
}

.news-detail-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Article */
.news-article {
    padding: 40px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.article-date, .article-views {
    color: #666;
    font-size: 14px;
}

.article-title {
    font-size: 26px;
    font-weight: normal;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-summary {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Featured Image */
.article-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Title */
.article-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 10px 0 16px 0;
}

/* Article Content */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 12px 0;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 8px;
}

/* 多行文本换行支持 */
.multi-line-text {
    white-space: pre-line;
}

/* Article Footer - Prev/Next / Back */
.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

.article-footer a{
    color: #000;
    text-decoration: none;
}

.article-footer-actions {
    display: flex;
    justify-content: center;
}

.back-link {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-link:hover {
    border-color: #ff0000;
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        padding: 80px 20px 80px 20px;
    }
    .article-title { font-size: 24px; font-weight: normal; }
}

@media (max-width: 768px) {
    .main-content {
        padding: 60px 15px 60px 15px;
    }
    .news-article { padding: 30px 20px; }
    .article-title { font-size: 22px; font-weight: normal; }
    .article-summary { font-size: 15px; }
}

@media (max-width: 480px) {
    .main-content { padding: 50px 10px 50px 10px; }
    .news-article { padding: 20px 15px; }
    .article-title { font-size: 18px; font-weight: normal; }
    .article-summary { font-size: 14px; }
}
