/* 新闻详情页样式 */
.news-detail-page {
    padding: 40px 0 60px;
    min-height: 60vh;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.news-detail-tag {
    display: inline-block;
    background: var(--primary-color, #4285f4);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-gray, #666);
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-detail-meta {
    color: var(--text-gray, #666);
    font-size: 0.9rem;
}

.news-detail-meta span {
    margin: 0 8px;
}

.news-detail-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray, #666);
}

.news-detail-body p {
    margin-bottom: 1.2em;
    text-indent: 2em;
}

.news-detail-body h2 {
    font-size: 1.4rem;
    margin: 2em 0 1em;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color, #4285f4);
}

.news-detail-body h3 {
    font-size: 1.2rem;
    margin: 1.5em 0 0.8em;
}

.news-detail-body ul, .news-detail-body ol {
    margin: 1em 0;
    padding-left: 2em;
}

.news-detail-body li {
    margin-bottom: 0.5em;
}

.news-detail-image {
    text-align: center;
    margin: 30px 0;
}

.news-detail-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.news-detail-image p {
    text-indent: 0;
    font-size: 0.85rem;
    color: var(--text-gray, #999);
    margin-top: 8px;
}

.news-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.news-detail-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color, #4285f4);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.news-detail-nav a:hover {
    opacity: 0.7;
}

.news-detail-nav .back-to-list {
    margin: 0 auto;
    padding: 10px 30px;
    background: var(--primary-color, #4285f4);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 500;
}

.news-detail-nav .back-to-list:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.5rem;
    }
    .news-detail-body {
        font-size: 1rem;
    }
}
