/* 首页及通用样式 */
.gradient-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}
.search-box {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.menu-item:hover {
  transform: translateY(-2px);
}
.transition-all {
  transition: all 0.3s ease;
}

.banner-container {
  height: 300px; /* 可根据实际需求调整 */
  background: #f0f4f8; /* 备用背景色，图片加载时显示 */
}

@media (max-width: 768px) {
  .banner-container {
    height: 180px;
  }
}

/* 新闻列表页样式 */

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 新闻内容页样式 */
.news-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  color: #1e40af;
}
.news-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.news-content ul,
.news-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}
.news-content li {
  margin-bottom: 0.5rem;
}

/* 分页组件样式 */
.pagination {
  display: flex;
  flex-wrap: wrap;
}

.pagination li {
  margin: 0px 6px;
}

.pagination a,
.pagination li.disabled span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ababab;
  background-image: -o-linear-gradient(bottom, #e1e1e1 0%, #ffffff 100%);
  background-image: -moz-linear-gradient(bottom, #e1e1e1 0%, #ffffff 100%);
  background-image: -webkit-linear-gradient(bottom, #e1e1e1 0%, #ffffff 100%);
  background-image: -ms-linear-gradient(bottom, #e1e1e1 0%, #ffffff 100%);
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e1e1e1), color-stop(1, #ffffff));
  background-image: linear-gradient(bottom, #e1e1e1 0%, #ffffff 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #666;
  text-shadow: 0 1px #fff;
  display: block;
  text-decoration: none;
}

.pagination a:hover {
  background-color: #2563eb;
  color: white;
  background-image: -o-linear-gradient(bottom, #2563eb 0%, #2a68ee 100%);
  background-image: -moz-linear-gradient(bottom, #2563eb 0%, #2a68ee 100%);
  background-image: -webkit-linear-gradient(bottom, #2563eb 0%, #2a68ee 100%);
  background-image: -ms-linear-gradient(bottom, #2563eb 0%, #2a68ee 100%);
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2563eb), color-stop(1, #2a68ee));
  background-image: linear-gradient(bottom, #2563eb 0%, #2a68ee 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.pagination span {
  padding: 6px 12px;
  color: #999;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pagination li.active span {
  background-color: #2563eb;
  color: white;
  margin: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.pagination li.disabled {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: not-allowed;
}
