/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimSun", sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f5f5f5;
  line-height: 1.5;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #0066cc;
}

ul, li {
  list-style: none;
}

/* 顶部日期栏 */
.top-date-bar {
  background-color: #0066cc;
  color: #fff;
  padding: 5px 0;
}

.top-date-bar .container {
  text-align: left;
}

/* 网站标题横幅 */
.site-header {
  background-color: #ebf5ff;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.logo {
  max-width: 100%;
  height: auto;
}

/* 主导航菜单 */
.main-nav {
  background-color: #0066cc;
}

.nav-list {
  display: flex;
  height: 50px;
}

.nav-list li {
  flex: 1;
  text-align: center;
}

.nav-list li a {
  display: block;
  color: #fff;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
}

.nav-list li.active {
  background-color: #004d99;
}

.nav-list li:hover {
  background-color: #004d99;
}

/* 主要内容区域 */
.main-content {
  padding: 20px 0;
}

/* 轮播图和新闻区域容器 */
.slider-news-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
/* 轮播图和新闻区域容器 */
.slider-news-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* 轮播图区域 */
.slider-section {
  flex: 3;
  margin-bottom: 0;
}

.slider {
  position: relative;
  height: 350px;
  background-color: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
}

/* 轮播容器 */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 轮播项 */
.slide-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 0;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 轮播图过渡动画 */
.slide-item.fade-out {
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.slide-item.fade-in {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}


/* 轮播图片 */
.slider-image {
  width: 100%;
  height: 100%;
}

.slider-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* 轮播标题 */
.slider-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  z-index: 2;
}

.slider-title a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 轮播指示点 */
.slider-dots {
  position: absolute;
  bottom: 50px; /* 调整位置，避免与标题重叠 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #fff;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* 轮播箭头 */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.arrow {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .slider {
    height: 280px;
  }

  .slider-image img {
    height: 280px;
  }

  .slider-title {
    padding: 8px;
  }

  .slider-title a {
    font-size: 14px;
  }

  .arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media screen and (max-width: 480px) {
  .slider {
    height: 220px;
  }

  .slider-image img {
    height: 220px;
  }

  .slider-dots {
    bottom: 40px;
  }

  .arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
/* 新闻区域 */
.news-section {
  flex: 2;
  margin-bottom: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.tabs-header {
  display: flex;
  background-color: #f0f0f0;
  border-bottom: 1px solid #ddd;
  width: 100%;
  table-layout: fixed;
}

.tab-link {
  padding: 8px 5px;
  color: #333;
  font-weight: bold;
  border-right: 1px solid #ddd;
  transition: background-color 0.3s ease;
  font-size: 14px;
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  height: 36px;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-link.active {
  background-color: #0066cc;
  color: #fff;
}

.tab-link:hover {
  background-color: #e0e0e0;
}

.tab-link.active:hover {
  background-color: #0066cc;
}

.tabs-content {
  padding: 10px;
  flex: 1;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* 选项卡内容区域 */
.tab-pane {
  height: 100%;
  width: 100%;
  overflow: auto;
  position: relative;
  box-sizing: border-box;
  display: none; /* 默认隐藏 */
  padding-bottom: 5px;
}

.tab-pane.active {
  display: block; /* 激活时显示 */
}

.news-list {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  border-bottom: none;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 28px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li a {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  flex: 1;
  display: block;
  padding-right: 10px;
  box-sizing: border-box;
  max-width: calc(100% - 80px);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  max-height: 2.8em;
  overflow: hidden;
}

.news-list li a:before {
  content: "■";
  color: #0066cc;
  margin-right: 5px;
  font-size: 10px;
  display: inline-block;
  vertical-align: middle;
}

.news-date {
  color: #999;
  flex-shrink: 0;
  text-align: right;
  display: inline-block;
}

.more-news {
  text-align: right;
  padding: 0px 0px 0;
  margin-top: 0;
  position: relative;
  clear: both;
  background-color: #f9f9f9;
  border-radius: 0 0 3px 3px;
}

.more-news .more-link {
  color: #0066cc;
  font-size: 14px;
  display: inline-block;
  padding: 0px 8px;
  font-weight: bold;
}

.more-news .more-link:hover {
  text-decoration: underline;
  color: #004d99;
}

/* 宣传横幅 */
.banner-section {
  margin-bottom: 20px;
}

.banner-img {
  width: 100%;
  height: auto;
}

/* 信息公开和查询服务 */
.info-service-section {
  display: flex;
  margin-bottom: 20px;
}

.info-section, .service-section {
  flex: 1;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-right: 10px;
}

.service-section {
  margin-right: 0;
}

.section-header {
  display: flex;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  justify-content: space-between; /* 左右对齐 */
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  margin-right: 10px;
}

.more-link {
  color: #0066cc;
  font-size: 13px;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-info {
  /*background-image: url('../images/info-icon.png');*/
}

.icon-service {
  /*background-image: url('../images/service-icon.png');*/
}

.section-header h2 {
  font-size: 16px;
  font-weight: bold;
  color: #0066cc;
}

.section-content {
  padding: 10px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px dashed #ddd;
}

.info-table td {
  padding: 8px 5px;
}

.info-table td:first-child {
  width: 80%;
}

.info-table td:last-child {
  text-align: right;
  color: #999;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-item {
  display: block;
  text-align: center;
  padding: 10px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.service-item:hover {
  background-color: #e0e0e0;
}

/* 页脚 */
.site-footer {
  background-color: #f0f0f0;
  padding: 20px 0;
  border-top: 2px solid #0066cc;
}

.footer-links {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.link-group {
  display: flex;
  align-items: center;
}

.link-group span {
  font-weight: bold;
  margin-right: 10px;
}

.link-group a {
  margin-right: 20px;
  position: relative;
}

.link-group a:after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background-color: #ddd;
}

.link-group a:last-child:after {
  display: none;
}

.footer-info {
  text-align: center;
  color: #666;
  line-height: 24px;
}

.footer-info p {
  margin-bottom: 5px;
}

.footer-info a {
  color: #666;
}

.footer-info a:hover {
  color: #0066cc;
}

.row{
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.list-inline{
  margin: 10px 15px;
}
.list-inline-item{
  display: inline-block;
}
.text-center{
    text-align: center;
}