/* 页脚容器 */
a {
  text-decoration: none !important;
}
.footer-container {
  width: 100%;
  background: #f6f7f9;
}

/* 顶部链接区域 */
.footer-top {
  height: 74px;
  background: #495873;
  display: flex;
  align-items: center;
}
/* 下拉菜单样式 */
.top-links-selects {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.select-item {
  position: relative;
  flex: 1;
  min-width: 120px; /* 最小宽度 */
  width: auto;
  max-width: 200px; /* 添加最大宽度限制 */
}

.footer-select {
  width: 100%;
  padding: 8px 35px 8px 12px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

.footer-select:focus {
  outline: none;
  outline-offset: 2px;
}

.footer-select option {
  padding: 5px;
  color: #333;
}

/* 屏幕阅读器专用文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-links .link-item {
  padding-right: 28px;
  background: url("/newwz/images/icon_arrwo_b.png") right center no-repeat;
}
.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  height: 42px;
  border-radius: 5px;
  color: #fff;
  font-family: "Source Han Sans CN";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 底部主要信息区域 */
.footer-main {
  height: 184px;
  background: #576884;
  padding: 20px 0;
}

/* 网站地图和政府链接 */
.footer-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
}
.footer-links .link-item {
  padding-left: 27px !important;
}
.footer-links .link-item:nth-child(1) {
  background: url("/newwz/images/city_icon1.png") left center no-repeat;
}
.footer-links .link-item:nth-child(2) {
  background: url("/newwz/images/city_icon2.png") left center no-repeat;
}
.footer-links .link-item:nth-child(3) {
  background: url("/newwz/images/city_icon3.png") left center no-repeat;
}
.sitemap-link {
  font-family: "Source Han Sans CN";
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
  text-decoration: none;
}

.sitemap-link:hover {
  text-decoration: underline;
}
.line {
  width: 1px;
  height: 15px;
  background: #ffffff;
}
.government-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.government-links .link-item {
  background: transparent;
  padding: 0;
  height: auto;
  color: #ffffff;
  gap: 8px;
}

.government-links .link-item a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Source Han Sans CN";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.government-links .link-item a:hover {
  text-decoration: underline;
}

.government-links .link-item img {
  vertical-align: middle;
}

/* 联系信息 */
.footer-info {
  display: flex;
  justify-content: space-between;
}

.contact-info,
.record-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #ffffff;
  font-family: "Source Han Sans CN";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-info p,
.record-info p {
  margin: 0;
}

.record-info a {
  color: #ffffff;
  text-decoration: none;
}

.record-info a:hover {
  text-decoration: underline;
}

.record-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.record-item img {
  vertical-align: middle;
}

.record-item a {
  text-decoration: none;
  color: #ffffff;
}

/* 二维码区域 */
.qr-codes {
  display: flex;
  align-items: center;
  gap: 39px;
}

.qr-code-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.qr-code-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Source Han Sans CN";
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* 政府网站找错 */
.ewb-footer-error {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .footer-top {
    height: auto;
    padding: 10px 0;
  }

  .top-links {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .link-item {
    padding: 4px 10px;
    font-size: 14px;
    height: 36px;
  }

  .footer-main {
    height: auto;
    padding: 20px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .government-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-info {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .contact-info,
  .record-info {
    align-items: center;
  }

  .record-item {
    justify-content: center;
  }

  .qr-codes {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .top-links-selects {
    flex-wrap: wrap;
  }
}
