* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  color: #333;
  width: 100%;
  min-height: 100vh;
}
#pageSizeSelect {
  width: 100px;
  height: 32px;
  line-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  box-sizing: border-box;
  margin: 0 12px;
  border-color: #dcdfe6;
}
.container {
  width: 100%;
  margin: 20px auto;
  margin-top: 0;
  background-color: #fff;
  /* border: 1px solid #e5e7eb; */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.header {
  display: flex;
  height: 70px !important;
  line-height: 70px;
  padding: 12px 50px;
  background: #f2f9f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  min-width: 100%;
}

.logo {
  width: 46px;
  height: 46px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.title {
  line-height: 50px;
  font-weight: 700;
  font-size: 18px;
}
.nav {
  width: 100%;
  min-width: 1440px;
  background: rgb(255, 255, 255);
  padding: 0 120px;
  display: flex;
  height: 60px;
  box-sizing: border-box;
  line-height: 56px;
}

.nav-item {
  padding: 0 20px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: transparent solid 1px;
  color: #303133;
}

.nav-item:hover {
  color: #22c55e;
}
.nav-item.active {
  box-shadow: inset 0px -2px 0px 0px #11af60;
  color: #11af60;
  border-bottom: 0px solid #22c55e;
}

.main {
  display: flex;
  padding: 20px;
  background-color: #f5f7fa;
}

.sidebar {
  padding: 10px 0;
  box-sizing: border-box;
  width: 200px;
  border-radius: 6px;
  background: #ffffff;
  margin-right: 20px;
}

.sidebar-item {
  width: 180px;
  height: 48px;
  line-height: 48px;
  padding-left: 13px;
  box-sizing: border-box;
  margin: 0 auto;
  cursor: pointer;
  font-size: 14px;
  color: #3d3d3d;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-item:hover,
.sidebar-item.active {
  background-color: #eaf6ef;
  color: #11af60;
  font-weight: 500;
}

.sidebar-item a {
  color: #3d3d3d;
  text-decoration: none;
}

.content {
  background: #fff;
  flex: 1;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  /* border: 1px solid #e5e7eb; */
  border-radius: 6px;
  transition: all 0.3s;
  text-decoration: none;
}

.news-item a {
  text-decoration: none;
  color: #666;
}

.news-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-img {
  width: 200px;
  height: 120px;
  border-radius: 6px;
  margin-right: 15px;
  object-fit: cover;
}

.news-info {
  flex: 1;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
  color: #333;
}

.news-title:hover {
  color: #22c55e;
}

.news-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
}

.news-view {
  margin-left: 2px;
  transform: translateY(5px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.pagination-item {
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
}

.pagination-item:hover,
.pagination-item.active {
  background-color: #22c55e;
  color: #fff;
  border-color: #22c55e;
}

.pagination-prev,
.pagination-next {
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
}

.pagination-prev:hover,
.pagination-next:hover {
  background-color: #f1f5f9;
}

.pagination-jump {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.pagination-jump input {
  width: 40px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  margin: 0 4px;
  text-align: center;
}

.pagination-jump button {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  color: #666;
  transition: all 0.3s;
}

.pagination-jump button:hover {
  background-color: #f1f5f9;
}

.top-buttons {
  position: absolute;
  top: 10px;
  right: 200px;
  display: flex;
  gap: 10px;
}

.top-btn {
  /* padding: 8px 16px; */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  width: 104px;
  height: 32px;
  text-align: center;
}

.top-btn.get-rights {
  background-color: #22c55e;
  color: #fff;
}

.top-btn.get-rights:hover {
  background-color: #16a34a;
}

.top-btn.consult {
  background-color: #fff;
  color: #333;
  border: 1px solid #e5e7eb;
}

.top-btn.consult:hover {
  background-color: #f1f5f9;
}

.top-btn.login {
  background-color: #fff;
  color: #333;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
}

.top-btn.login:hover {
  background-color: #f1f5f9;
}

.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e5e7eb;
}
