/* ===== 页面Banner ===== */
.page-banner {
  width: 100%;
  height: 16vw;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 文章详情 ===== */
.news-detail-section {
  padding: 3vw 0;
  background-color: #fff;
}

.news-article {
  max-width: 60vw;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2.5vw;
  padding-bottom: 2vw;
  border-bottom: 0.0625vw solid var(--border-color);
}

.article-title {
  font-size: 2vw;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 1vw;
}

.article-meta {
  font-size: 0.875vw;
  color: var(--text-gray);
  display: flex;
  gap: 1.5vw;
}

.article-content {
  font-size: 1vw;
  color: var(--text-dark);
  line-height: 2;
}

.article-content p {
  margin-bottom: 1.5vw;
  text-indent: 2em;
}

.article-content h3 {
  font-size: 1.5vw;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2.5vw 0 1.25vw;
}

.article-content h4 {
  font-size: 1.125vw;
  font-weight: 600;
  color: var(--primary-color);
  margin: 1.5vw 0 0.75vw;
}

.article-image {
  margin: 2vw 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  border-radius: 0.5vw;
}

/* ===== 文章底部 ===== */
.article-footer {
  margin-top: 3vw;
  padding-top: 2vw;
  border-top: 0.0625vw solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1vw;
}

.article-tags {
  display: flex;
  gap: 0.75vw;
}

.article-tags span {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: 0.375vw 0.75vw;
  border-radius: 0.25vw;
  font-size: 0.8125vw;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 0.75vw;
  font-size: 0.875vw;
  color: var(--text-gray);
}

.article-share a {
  color: var(--primary-color);
  text-decoration: none;
}

/* ===== 相关文章 ===== */
.related-articles {
  margin-top: 4vw;
  padding-top: 3vw;
  border-top: 0.0625vw solid var(--border-color);
}

.related-title {
  font-size: 1.25vw;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2vw;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
}

.related-item {
  background-color: var(--bg-light);
  padding: 1.5vw;
  border-radius: 0.5vw;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.related-item:hover {
  transform: translateY(-0.25vw);
  box-shadow: 0 0.25vw 0.9375vw rgba(0, 0, 0, 0.08);
}

.related-item h4 {
  font-size: 0.9375vw;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0.75vw;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-item span {
  font-size: 0.75vw;
  color: var(--text-gray);
}
