/* css/news-detail.css */
/* 新闻详情样式 */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.article-title {
    font-size: 2.2rem;
    color: #0073e6;
    margin-bottom: 15px;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.article-meta span {
    margin-right: 20px;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin: 20px 0;
}

/* 相关新闻 */
.related-news {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
}

.related-news h2 {
    color: #0073e6;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s;
}

.news-list li:hover {
    transform: translateX(5px);
    background: #f1f8ff;
}

.news-list a {
    color: #333;
    text-decoration: none;
    display: block;
}

.news-list a:hover {
    color: #0073e6;
}

/* 让新闻标题中的 strong 标签内文字加粗加大 */
.article-title strong {
    font-size: 2.3rem;
    font-weight: bolder;
}

/* 让新闻正文中的 strong 标签内文字加粗且加大一号字体 */
.article-content strong {
    font-size: 1.4rem;
    font-weight: bolder;
}

.related-news strong {
    font-size: 1.2rem;
    font-weight: bolder;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-container {
        margin: 20px auto;
        padding: 20px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-image {
        height: 250px;
    }

    .related-news {
        padding: 10px;
    }
}