.nav-top-img  {
  width: 100%;
  height: 100%;
}
.nav-top-img  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 基础样式 */
body {
  color: #333;
  background-color: rgba(248, 250, 255, 1);
  margin: 0;
  padding-top: 65px; 
}
.news-container-content {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  gap: 20px; /* 内容和侧边栏之间的间距 */
}
/* 主容器 */
.news-container {
  min-width: 900px;
  background-color: #fff;
  min-height: 610px;
}

/* 标签导航栏 */
.news-tabs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding-top: 30px;
  padding-left: 25px;
}

.tab {
  padding-right: 120px;
  font-size: 16px;
  cursor: pointer;
  color: #666;
  position: relative;
}
.tab a {
  font-size: 16px;
  cursor: pointer;
  color: #1890ff;
}

.tab.active {
  font-weight: bold;
  color: #1890ff;
}

/* 主内容区 */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
}
.news-tabs-content {
  width: calc(100% - 280px);
}
/* 新闻项样式 */
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 30px;
}

.news-item img {
  height: 105px;
  object-fit: cover;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-header {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.news-body p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.8;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.actions {
  display: flex;
}

.actions img { 
  width: 15px;
  height: 15px;
  transform: translateY(3px);
  margin: 0 5px;
}

.actions span{
  margin-right: 20px;
}

/* 侧边栏 */
.news-sidebar {
  width: 280px;
  position: sticky; /* 可选： sticky 可以让侧边栏在滚动时固定 */
  top: 30px; /* 距离顶部的距离 */
}

.sidebar-block {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-top: #1890ff 4px solid;
}

.sidebar-block h3 {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.hot-articles ul {
  list-style: none;
}

.hot-articles li {
  padding: 12px 0;
  font-size: 15px;
  color: #666;
  cursor: pointer;
}

.hot-articles li:last-child {
  border-bottom: none;
}

.news-sidebar .img img {
  width: 100%;
}

