/* 新闻文章样式 */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px #ddd solid;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #f9f9f9;
    transform: translateY(-3px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.news-content {
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.news-excerpt {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 - 平板及以上 */
@media (min-width: 768px) {
    .news-item {
        flex-direction: row;
        gap: 30px;
    }
    
    .news-image {
        width: 300px;
        height: 200px;
    }
    
    .news-content {
        padding: 20px 30px 20px 0;
        flex: 1;
    }
    
    .news-date {
        font-size: 18px;
    }
}

/* 文章详情 */
.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0 20px;
  border-bottom: 1px #ddd solid;
}

.article-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--text-lighter);
  font-size: 14px;
}

.article-body {
  font-size: 16px;
  line-height: 2;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 20px;
}
.article-body video {
  width: 100%;
  height: auto;
}
.article-body img {
  margin: 30px auto;
  border-radius: 8px;
  max-width: 100%;
}