/* ============================================
   新闻详情页样式 - news-detail.html
   ============================================ */

.news-detail-section {
  padding: 60px 0;
  background-color: #f8f9fc;
}

.news-detail-container {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  padding: 40px;
}

.news-detail-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.news-detail-date {
  font-size: 0.9rem;
  color: #999;
}

.news-detail-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 15px;
}

.news-detail-header h1 {
  font-size: 1.8rem;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0;
}

.news-detail-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.news-detail-body {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.9;
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-body h3 {
  color: #222;
  font-size: 1.25rem;
  margin: 30px 0 15px;
}

.news-detail-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.btn-back:hover {
  gap: 12px;
}

@media (max-width: 768px) {
  .news-detail-container {
    padding: 25px 20px;
  }
  .news-detail-header h1 {
    font-size: 1.4rem;
  }
}
