/* 新闻详情页特有样式 */
.news-detail-breadcrumb {
  height: 40px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.news-detail-breadcrumb-inner {
  width: 1440px;
  margin: 0 auto;
  font-size: 14px;
  color: #666;
}

.news-detail-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.news-detail-breadcrumb a:hover {
  color: #009944;
}

.news-detail-breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

.news-detail-container {
  width: 1440px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  gap: 32px;
}

.news-detail-content {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.news-detail-title {
  font-size: 32px;
  font-weight: bold;
  color: #1e1e1e;
  line-height: 44px;
  margin-bottom: 24px;
  text-align: center;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 32px;
  font-size: 14px;
  color: #999;
}

.news-detail-date,
.news-detail-source,
.news-detail-views {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-detail-body {
  font-size: 16px;
  line-height: 30px;
  color: #333;
}

.news-detail-body p {
  margin-bottom: 24px;
  text-align: justify;
}

.news-detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 4px;
}

.news-detail-tags {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.news-detail-tags-label {
  font-size: 14px;
  color: #666;
  margin-right: 16px;
}

.news-detail-tag {
  display: inline-block;
  padding: 6px 16px;
  margin-right: 12px;
  margin-bottom: 8px;
  background: #f8fffb;
  color: #009944;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-detail-tag:hover {
  background: #009944;
  color: #fff;
}

.news-detail-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.news-detail-share-label {
  font-size: 14px;
  color: #666;
}

.news-detail-share-icons {
  display: flex;
  gap: 12px;
}

.news-detail-share-icon {
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-detail-share-icon:hover {
  background: #009944;
  color: #fff;
}

.news-detail-related {
  margin-top: 40px;
}

.news-detail-related-title {
  font-size: 20px;
  font-weight: bold;
  color: #1e1e1e;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #009944;
}

.news-detail-related-list {
  display: flex;
  gap: 24px;
}

.news-detail-related-item {
  flex: 1;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-detail-related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #009944;
}

.news-detail-related-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.news-detail-related-content {
  padding: 16px;
}

.news-detail-sidebar {
  width: 340px;
  flex-shrink: 0;
}

.news-detail-sidebar-section {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 24px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.news-detail-sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #1e1e1e;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-detail-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-detail-sidebar-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-detail-sidebar-item:last-child {
  border-bottom: none;
}

.news-detail-sidebar-item:hover {
  color: #009944;
}

.news-detail-sidebar-item-number {
  width: 24px;
  height: 24px;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.news-detail-sidebar-item:nth-child(1) .news-detail-sidebar-item-number,
.news-detail-sidebar-item:nth-child(2) .news-detail-sidebar-item-number,
.news-detail-sidebar-item:nth-child(3) .news-detail-sidebar-item-number {
  background: #009944;
  color: #fff;
}

.news-detail-sidebar-item-title {
  flex: 1;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-detail-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: #f8fffb;
  color: #009944;
  border: 1px solid #009944;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 32px;
}

.news-detail-back-btn:hover {
  background: #009944;
  color: #fff;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  .news-detail-container {
    width: 100%;
    padding: 20px;
  }
  
  .news-detail-breadcrumb-inner {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .news-detail-container {
    flex-direction: column;
  }
  
  .news-detail-sidebar {
    width: 100%;
  }
  
  .news-detail-related-list {
    flex-wrap: wrap;
  }
  
  .news-detail-related-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .news-detail-content {
    padding: 24px;
  }
  
  .news-detail-title {
    font-size: 24px;
    line-height: 36px;
  }
  
  .news-detail-meta {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .news-detail-related-item {
    flex: 0 0 100%;
  }
}
/*导航白底黑色字体*/
.unified-header {
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.brand-title {
  color: #1a1a1a;
}
.brand-subtitle {
  color: #888888;
}
.nav-item > a {
  color: #1a1a1a;
}