/* 设置根元素字体大小 */
html {
  font-size: 62.5%; /* 让 1rem = 10px */
}

body {
  font-size: 1.6rem; /* 恢复默认字体大小为 16px */
}

/* 重置默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  text-decoration: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 头部样式 */
.header {
  /* width: 100%;  */
  /*padding-bottom: 20rem;*/
  /* min-height: 30rem; */ /* 保持最小高度 300px */
  background: url("../images/head_bg.jpg") no-repeat center center;
  background-size: cover; /* 改为 contain 确保完整显示图片 */
  /*padding-bottom: calc(100% / (1920 / 500)); */ /* 假设图片尺寸为 1920x500，根据实际图片比例调整 */
}

/* 顶部链接样式 */
.top-links {
  width: 100%;
  padding: 1rem 0; /* 10px */
}

.top-links .container {
  display: flex;
  justify-content: space-between;
}

.left-links,
.right-links {
  display: flex;
  gap: 2rem; /* 20px */
}

.top-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem; /* 14px */
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  opacity: 0.9;
}

/* 悬停效果 */
.top-links a:hover {
  opacity: 1;
  text-shadow: 0 0 1rem rgba(255, 255, 255, 0.5);
}

/* 添加底部线条效果 */
.top-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.1rem;
  background-color: #fff;
  transition: width 0.3s ease;
}

.top-links a:hover::after {
  width: 100%;
}

/* Logo 区域样式 */
.logo-container {
  margin-top: 8rem; /* 距离顶部链接 30px */
  padding: 0;
  text-align: center;
}

.logo {
  height: 7.2rem; /* 72px */
  max-width: 80%; /* 在小屏幕上限制最大宽度 */
  object-fit: contain; /* 保持图片比例 */
}

/* 搜索区域样式 */
.search-container {
  margin-top: 5rem; /* 距离 logo 50px */
  padding: 0;
}

.search-form {
  max-width: 60rem; /* 600px */
  width: 90%; /* 在小屏幕上留出边距 */
  margin: 0 auto;
}

.search-wrapper {
  display: flex;
  height: 5rem;
  align-items: center;
  background: #fff;
  border-radius: 0.8rem; /* 4px */
  padding: 0rem;
  padding-left: 2rem;
}

.search-icon {
  width: 2rem; /* 20px */
  height: 2rem;
  background: url("../images/search_icon.png") no-repeat center;
  background-size: contain;
  margin-right: 1rem; /* 10px */
}

.search-input {
  flex: 1;
  border: none;
  height: 5rem;
  outline: none;
  font-size: 1.6rem;
  padding: 0.8rem; /* 8px */
  font-size: 1.4rem; /* 14px */
}
.search-input::placeholder {
  color: #666;
}
.search-btn {
  padding: 0.8rem 4rem;
  background: #007bff;
  height: 5rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  border: none;
  border-radius: 0 0.8rem 0.8rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 123, 255, 0.2);
}

.search-btn:hover {
  background: #0056b3; /* 稍深的蓝色 */
  box-shadow: 0 0.4rem 1rem rgba(0, 123, 255, 0.3);
  transform: translateY(-0.1rem);
}

.search-btn:active {
  transform: translateY(0);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 123, 255, 0.2);
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .container {
    padding: 0;
    box-sizing: border-box;
  }
  .header {
    padding-bottom: 10rem;
  }
  .top-links .container {
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* 10px */
  }

  .search-btn {
    padding: 0 1rem;
  }

  .left-links {
    display: none;
  }
  .left-links,
  .right-links {
    align-items: center;
    gap: 1rem; /* 10px */
  }
  .right-links {
    line-height: 4rem;
    opacity: 0;
  }

  .logo-container {
    margin-top: 2rem; /* 20px */
  }

  .logo {
    height: 6rem; /* 60px，稍微缩小一点 */
  }

  .search-container {
    margin-top: 3rem; /* 30px */
  }
}

@media screen and (max-width: 480px) {
  .top-links a {
    font-size: 1.2rem;
  }
  .logo-container {
    margin-top: 1.5rem; /* 15px */
  }

  .logo {
    height: 5rem; /* 50px，进一步缩小 */
  }

  .search-container {
    margin-top: 2rem; /* 20px */
  }
}

/* 针对超宽屏幕的优化 */
@media screen and (min-width: 1920px) {
  .logo-container {
    margin-top: 4rem; /* 40px */
  }

  .search-container {
    margin-top: 5rem; /* 50px */
  }
}

.m-nav {
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 导航容器样式 */
.main-nav {
  background-color: #2b82f0;
  width: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 6rem;
}

.nav-item {
  position: relative;
  flex: 1; /* 平均分配空间 */
  text-align: center; /* 文字居中 */
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center; /* 文字居中 */
  height: 6rem;
  width: 100%; /* 确保链接占满整个li */
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

/* 悬停效果 */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.3rem;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-item.on .nav-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* .nav-link:hover::after {
    width: 80%;
    opacity: 1;
} */

/* 当前激活项样式 */
.nav-item.active .nav-link {
  background-color: rgba(255, 255, 255, 0.15);
}

.nav-item.active .nav-link::after {
  width: 80%;
  opacity: 1;
}

/* 平板端响应式 */
@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .nav-list {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
  }

  .nav-item {
    flex: 0 0 33.333%; /* 平板上每行显示3个 */
  }

  .nav-link {
    height: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    height: auto;
    padding: 1rem;
  }

  .nav-item {
    flex: 0 0 33.333%;
    text-align: center;
  }

  .nav-link {
    justify-content: center;
    height: 4rem;
    padding: 0 1rem;
  }
}

/* 服务板块样式 */
.m-index_service {
  /* padding: 4rem 0; */
}

/* 通用标题模块 */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.title-left {
  display: flex;
  align-items: center;
}

.title-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
}

.title-icon {
  width: 0.5rem;
  height: 2.2rem;
  background: url("../images/title_icon.png") no-repeat center;
  background-size: contain;
  margin-right: 1rem;
}

.title-more {
  display: inline-block;
  width: 6.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  text-align: center;
  background: #2b82f0;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.3s;
}

.title-more:hover {
  background: #1a6fd4;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.2);
}

/* 服务网格布局 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  row-gap: 2rem;
}

/* 服务项目样式 */
.service-item {
  border: 1px solid #eeeeee;
  padding: 4rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(43, 130, 240, 0.1);
  transform: translateY(-0.3rem);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.service-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-name {
  font-size: 1.6rem;
  color: #333333;
  margin: 0;
}

.service-btn {
  display: none;
  padding: 0.2rem 1.5rem;
  margin-top: 0.2rem;
  border: 1px solid #2b82f0;
  border-radius: 0.4rem;
  color: #2b82f0;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background-color: #2b82f0;
  color: #fff;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.2);
}

/* 平板端响应式 */
@media screen and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .service-item {
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .service-icon {
    margin-bottom: 0.5rem;
  }
  .service-icon img {
    width: 4rem;
    height: 4rem;
  }
  .service-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .section-title {
    margin-bottom: 1.5rem;
  }

  .title-text {
    font-size: 1.8rem; /* 移动端字号调小 */
  }

  .service-item {
    border: 0;
    padding: 0rem;
  }
  .service-name {
    font-size: 1.2rem;
  }
  .service-btn {
    font-size: 1.2rem;
    display: none;
  }
}

/* 新闻动态板块 */
.m-index_news {
  background-color: #f5f8fc;
  padding: 4rem 0;
}

.news-container {
  display: flex;
  gap: 2rem;
}

.news-left,
.news-right {
  width: 50%;
}

.news-swiper {
  height: 39rem;
}

/* 轮播图片样式 */
.swiper-slide {
  height: 100%;
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
}

.slide-img img {
  width: 100%;
  height: 39rem;
  object-fit: cover; /* 确保图片覆盖整个容器且不变形 */
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.5);
}

.slide-title {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
  .news-container {
    flex-direction: column;
    gap: 3rem;
  }

  .news-left,
  .news-right {
    width: 100%;
  }

  .swiper {
    height: 30rem; /* 平板端降低轮播图高度 */
  }

  .tabs-nav {
    gap: 2rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* iOS滚动优化 */
    padding-bottom: 0.5rem; /* 为滚动条留出空间 */
  }
}

@media screen and (max-width: 768px) {
  .news-container {
    gap: 2rem;
  }

  .swiper {
    height: 25rem; /* 手机端进一步降低高度 */
  }

  .tabs-nav {
    gap: 1.5rem;
  }

  .tab-item {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
  }

  .news-list {
    padding: 0 1rem;
  }

  .news-title {
    font-size: 1.4rem;
    padding-left: 1.2rem;
  }

  .news-date {
    font-size: 1.2rem;
  }

  .slide-info {
    padding: 0.8rem 1.5rem;
  }

  .slide-title {
    font-size: 1.4rem;
  }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
  .swiper {
    height: 20rem;
  }

  .news-list {
    max-height: 30rem;
    overflow-y: auto;
  }

  .tab-item {
    padding: 0.8rem 1rem;
    font-size: 1.3rem;
  }
}

.news-tabs {
  flex: 0 0 50%;
  height: 39rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 0.1rem solid #eeeeee;
  margin-bottom: 1.5rem;
}

.tab-item {
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.tab-item.active {
  color: #2b82f0;
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: #2b82f0;
}

.news-list {
  display: none;
  height: calc(39rem - 5rem);
}

.news-list.active {
  display: block;
}

.news-item {
  margin-bottom: 1.5rem;
}

.news-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem 0;
}

.news-title {
  font-size: 1.8rem;
  color: #333333;
  position: relative;
  padding-left: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 8rem); /* 预留日期空间 */
  transition: color 0.3s ease;
}

.news-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 0.6rem;
  background: #d2d2d2;
}

.news-link:hover .news-title {
  color: #2b82f0;
}

.news-date {
  font-size: 1.6rem;
  color: #666;
  flex-shrink: 0;
}

.news-swiper .swiper-button-prev,
.news-swiper .swiper-button-next {
  width: 4rem;
  height: 6rem;
  background: rgba(0, 0, 0, 0.5);
  color: #666;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-swiper .swiper-button-prev {
  right: auto;
  left: 0;
}
.news-swiper .swiper-button-prev:after,
.news-swiper .swiper-button-next:after {
  font-size: 3rem;
}
.news-swiper .swiper-pagination {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  width: auto !important;
  left: auto !important;
  z-index: 10;
}

.news-swiper .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.news-swiper .swiper-pagination-bullet-active {
  background: #fff;
}

/* 更新 tab 项的悬停效果 */
.tab-item:hover {
  color: #2b82f0;
}

/* 移动端适配优化 */
@media screen and (max-width: 768px) {
  .news-swiper .swiper-button-prev,
  .news-swiper .swiper-button-next {
    width: 3rem;
    height: 4rem;
  }
  .news-swiper .swiper-button-prev:after,
  .news-swiper .swiper-button-next:after {
    font-size: 2rem;
  }
  .news-tabs {
    height: auto;
    min-height: 30rem;
  }

  .tabs-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
  }

  .tab-item {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }

  .news-title {
    font-size: 1.4rem;
    padding-left: 1.2rem;
  }

  .news-date {
    font-size: 1.2rem;
  }

  .news-item {
    margin-bottom: 1rem;
  }

  .news-list {
    height: auto;
    max-height: 30rem;
  }
}

@media screen and (max-width: 480px) {
  .tab-item {
    padding: 0.6rem 1.2rem;
    font-size: 1.3rem;
  }

  .news-title {
    font-size: 1.3rem;
  }

  .news-date {
    font-size: 1.1rem;
  }
}

/* 标题模块样式优化 */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.title-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .section-title {
    margin-bottom: 1.5rem;
  }

  .title-text {
    font-size: 1.8rem; /* 移动端字号调小 */
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    margin-bottom: 1.2rem;
  }

  .title-text {
    font-size: 1.6rem; /* 更小屏幕进一步调小 */
  }
}

/* 更多按钮样式 */
.title-more {
  display: inline-block;
  width: 6.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  text-align: center;
  background: #2b82f0;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.3s;
}

.title-more:hover {
  background: #1a6fd4;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.2);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .title-more {
    width: 5.2rem;
    height: 2.2rem;
    line-height: 2.2rem;
    font-size: 1.2rem;
    border-radius: 0.3rem;
  }
}

@media screen and (max-width: 480px) {
  .title-more {
    width: 4.8rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.1rem;
    border-radius: 0.2rem;
  }

  .title-more:hover {
    transform: none;
    box-shadow: none;
  }
}

/* 新闻和服务模块基础样式 */
.m-index_news,
.m-index_service {
  /* padding: 4rem 0; */
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .m-index_news,
  .m-index_service {
    /* padding: 2.5rem 0; */
  }
}

@media screen and (max-width: 480px) {
  .m-index_news,
  .m-index_service {
    /* padding: 2rem 0; */
  }
}

/* 法律宣传模块 */
.m-index_legal {
  padding: 4rem 0;
  background: #fff;
}

.legal-container {
  display: flex;
  gap: 2rem;
}

.legal-left,
.legal-right {
  flex: 1;
}

/* 继承新闻模块的基础样式，添加特殊样式 */
.m-index_legal .tabs-nav {
  display: flex;
  flex-wrap: nowrap; /* 改为不换行 */
  height: 4.4rem; /* 固定高度 */
  padding: 0;
  overflow-x: auto; /* 添加横向滚动 */
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* 增加移动端滚动顺滑度 */
}

@media screen and (max-width: 1200px) {
  .legal-container {
    display: block;
  }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .m-index_legal {
    padding: 2.5rem 0;
  }

  .m-index_legal .tab-item {
    padding: 0.6rem 1.2rem;
    font-size: 1.3rem;
  }

  .m-index_legal .tabs-nav {
    height: 3.8rem; /* 调整移动端高度 */
  }
}

@media screen and (max-width: 480px) {
  .m-index_legal {
    padding: 2rem 0;
  }

  .legal-container {
    gap: 1.2rem;
  }

  .m-index_legal .tab-item {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
  }

  .m-index_legal .tabs-nav {
    height: 3.4rem; /* 调整小屏幕高度 */
  }
}

/* 法律服务机构模块 */
.m-index_institution {
  padding: 4rem 0;
  background: #f5f8fc;
}

.institution-container {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.map-container {
  flex: 0 0 50%;
  overflow: hidden;
}

.data-container {
  flex: 1;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.data-item {
  background: #fff;
  padding: 2rem;
  border-radius: 0.8rem;
  text-align: center;
  transition: all 0.3s;
}

.data-item:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.5rem 1.5rem rgba(43, 130, 240, 0.1);
}

.data-num {
  font-size: 2.4rem;
  font-weight: bold;
  color: #2b82f0;
  margin-bottom: 1rem;
}

.data-label {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.4;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .m-index_institution {
    padding: 2.5rem 0;
  }

  .institution-container {
    flex-direction: column;
    gap: 2rem;
  }

  .map-container {
    flex: none;
    height: 30rem;
  }

  .data-grid {
    gap: 1.5rem;
  }

  .data-num {
    font-size: 2rem;
  }

  .data-label {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .m-index_institution {
    padding: 2rem 0;
  }

  .map-container {
    height: 25rem;
  }

  .data-grid {
    gap: 1rem;
  }

  .data-item {
    padding: 0.5rem;
  }

  .data-num {
    font-size: 1.4rem;
  }

  .data-label {
    font-size: 1.2rem;
  }
}

.m-index_query {
  background: #fff;
  padding: 4rem 2rem;
}

.m-index_query .section-title {
  margin-bottom: 2rem;
}

.query-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 改为6等分 */
  gap: 1rem;
  margin: 0 auto 2rem;
  width: 100%; /* 占满容器宽度 */
  max-width: 120rem; /* 限制最大宽度 */
}

.query-btn {
  width: 100%; /* 占满格子宽度 */
  display: flex;
  align-items: center;
  background: #edf4fa;
  border: 0.2rem solid #cfdcec;
  border-radius: 1rem;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.query-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
}

.query-btn img {
  width: 2.6rem;
  height: 2.6rem;
  margin-right: 1rem;
}

.query-btn span {
  color: #2b82f0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.query-btn.long-btn {
  grid-column: span 2; /* 跨越2列 */
}

.survey-ads {
  overflow: hidden;

  margin: 0 auto; /* 居中显示 */
}

.survey-ads a {
  width: 32%;
  margin: 0 1%;
  float: left;
  display: block;
  transition: all 0.3s ease; /* 添加过渡效果 */
}
.survey-ads a:nth-child(3n) {
  margin-right: 0;
}
.survey-ads a:nth-child(3n-2) {
  margin-left: 0;
}
.survey-ads a img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease; /* 添加过渡效果 */
}

.survey-ads a:hover img {
  opacity: 0.8;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
}

.survey-ads img {
  max-width: 39.2rem;
  height: auto;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .m-index_query {
    padding: 2rem 0;
  }
  .query-btn span {
    font-size: 1.4rem;
  }
  .query-buttons {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .survey-ads a {
    width: 100%;
  }

  .survey-ads img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .query-btn {
    width: 100%;
  }
  .survey-ads a:hover {
    transform: none;
    box-shadow: none;
  }
}

/* 屏幕宽度小于1200px时的样式 */
@media screen and (max-width: 1200px) {
  .query-buttons {
    grid-template-columns: repeat(4, 1fr); /* 4等分 */
  }
}

/* 屏幕宽度小于900px时的样式 */
@media screen and (max-width: 900px) {
  .query-buttons {
    grid-template-columns: repeat(3, 1fr); /* 3等分 */
  }
}

/* 屏幕宽度小于700px时的样式 */
@media screen and (max-width: 700px) {
  .query-buttons {
    grid-template-columns: repeat(2, 1fr); /* 2等分 */
  }
}

/* 屏幕宽度小于480px时的样式 */
@media screen and (max-width: 480px) {
  .query-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  .query-btn span {
    font-size: 1.2rem;
  }
  .query-btn.long-btn {
    grid-template-columns: repeat(1, 14rem);
  }
}

/* 屏幕宽度小于1200px时的样式 */
@media screen and (max-width: 1200px) {
  .survey-ads {
    grid-template-columns: repeat(2, 39.2rem);
  }
}

/* 屏幕宽度小于900px时的样式 */
@media screen and (max-width: 900px) {
  .survey-ads {
    grid-template-columns: 39.2rem;
  }
}

/* 屏幕宽度小于480px时的样式 */
@media screen and (max-width: 480px) {
  .survey-ads {
    grid-template-columns: 1fr; /* 充满容器宽度 */
  }

  .survey-ads img {
    width: 100%;
    height: auto;
    aspect-ratio: 39.2/12.2; /* 保持原有比例 */
  }
}

.m-index_star {
  background: #f5f8fc;
  padding: 4rem 2rem;
}

.star-swiper {
  width: 100%;
  padding: 1rem;
}

.star-card {
  box-sizing: border-box;
  width: 100%;
  height: 21rem;
  cursor: pointer;
  background: #fff;
  padding: 2rem;
  display: flex;
  overflow: hidden;
  gap: 2rem;
  transition: all 0.3s ease; /* 添加过渡效果 */
}

.star-card:hover {
  transform: translateY(-0.2rem); /* 向上移动 */
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.2); /* 添加阴影 */
}

/* 移动端取消hover效果 */
@media screen and (max-width: 480px) {
  .star-card:hover {
    transform: none;
    box-shadow: none;
  }
}

.star-photo {
  width: 40%; /* 固定占30%宽度 */
  height: 17rem;
  float: left;
  overflow: hidden;
}

.star-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.star-info {
  padding-left: 2rem;
  float: right;
  width: 60%; /* 固定占70%宽度 */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.star-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.star-header .name {
  font-size: 1.6rem;
  color: #333333;
}

.star-header .rate {
  font-size: 1.2rem;
  color: #666;
}

.star-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item {
  font-size: 1.4rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-intro {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.star-content_kpd {
  width: 100%;
}

/* Swiper配置 */
@media screen and (min-width: 1200px) {
  .star-swiper .swiper-slide {
    width: calc(100% / 3);
  }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .star-swiper .swiper-slide {
    width: 50%;
  }
  .star-photo {
    width: 30%;
  }
}

@media screen and (max-width: 767px) {
  .m-index_star {
    padding: 2rem 0;
  }
  .star-swiper .swiper-slide {
    width: 100%;
  }

  .star-card {
    width: 100%;
  }
  .detail-item,
  .star-intro {
    font-size: 1.2rem;
  }
}

/* 屏幕宽度小于480px时的样式 */
@media screen and (max-width: 480px) {
}

.m-footer {
  width: 100%;
  background: #fff;
  padding: 1rem;
}

.footer-links {
  padding: 1.5rem 0;
  display: flex;
  gap: 2rem;
}

.links-left {
  flex: 0 0 75%; /* 固定占75%宽度 */
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列 */
  grid-template-rows: repeat(2, 5.8rem); /* 2行，每行5.8rem */
  gap: 1rem 2rem;
}
.links-left a {
  font-size: 1.4rem;
}

.links-right {
  flex: 0 0 25%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.right-link {
  width: 18rem;
  height: 12.6rem;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.right-link:hover {
  opacity: 0.8;
}

.right-icon {
  width: 10rem;
  height: 12.6rem;
  display: flex;
  background: #f5f5f5;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.right-icon:hover {
  opacity: 0.8;
}

.right-link img,
.right-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.m-footer .copyright {
  padding: 1rem 0;
  text-align: center;
  font-size: 1.4rem;
  line-height: 2em;
  color: #000;
}
.m-footer .copyright span,
.m-footer .copyright a {
  margin: 0 1rem;
}
.m-footer .copyright a {
  color: #000;
  text-decoration: none;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
  .links-right {
    justify-content: center;
    display: block;
    text-align: center;
  }
  .links-right a {
    display: inline-block;
    width: auto;
  }
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .m-footer .copyright {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .links-right {
    flex-direction: column;
    align-items: center;
  }
  .links-left a {
    font-size: 1.2rem;
  }
  .link-item span {
    font-size: 1.2rem;
  }
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f5f5f5;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.link-item:hover {
  background: #d0e7ff;
  transform: translateY(-2px);
}

.link-item img {
  width: 2.4rem;
  height: 2.4rem;
}

.wechat {
  position: relative;
  cursor: pointer;
}

.qr-code {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 1rem;
  border-radius: 0.4rem;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 10;
}

.qr-code img {
  width: 12rem;
  height: 12rem;
}

.wechat:hover .qr-code {
  display: block;
}

/* 响应式适配 */
@media screen and (max-width: 1200px) {
  .footer-links {
    flex-direction: column;
  }

  .links-right a {
    height: auto;
    background: none;
  }
  .links-right a img {
    height: 4rem;
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .links-left {
    grid-template-columns: repeat(2, 1fr); /* 移动端2列 */
    grid-template-rows: repeat(4, 5.8rem); /* 4行 */
  }
}

.m-sidebar {
  position: fixed;
  right: 0;
  bottom: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.4rem 0 0 0.4rem;
}
.side-toggle {
  display: none; /* 默认隐藏 */
  width: 7.5rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
}

.side-toggle img {
  width: 1.6rem;
  height: 1.6rem;
  display: none;
  transition: transform 0.3s ease;
}

.side-toggle .toggle-text {
  font-size: 1.2rem;
  color: #666;
}

/* 菜单展开时的状态 */
.m-sidebar.expanded .side-toggle img {
  transform: rotate(180deg);
}

.m-sidebar.expanded .toggle-text {
  content: "关闭菜单";
}

/* 修改文字内容 */
.m-sidebar.expanded .toggle-text::before {
  content: "关闭菜单";
}

.side-toggle .toggle-text::before {
  content: "展开菜单";
}

/* 菜单展开时的图标旋转 */
.m-sidebar.expanded .side-toggle img {
  transform: rotate(180deg);
}

@media screen and (max-width: 1300px) {
  .side-toggle {
    display: flex; /* 显示切换按钮 */
  }

  .side-menu {
    display: none; /* 默认隐藏菜单 */
  }

  .m-sidebar.expanded .side-menu {
    display: block; /* 展开时显示菜单 */
  }

  /* 未展开时只显示返回顶部 */
  .gotop {
    display: flex !important; /* 始终显示返回顶部按钮 */
  }
}

.side-btn {
  width: 7.5rem;
  height: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
}

.side-btn:last-child {
  border-bottom: none;
}

.side-btn img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.side-btn span {
  font-size: 1.4rem;
  color: #666;
}

.side-btn:hover {
  background: #f5f5f5;
}

.mobile-btn {
  position: relative;
}

.qr-popup {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 1rem;
  border-radius: 0.4rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  display: none;
}

.qr-popup img {
  width: 12rem;
  height: 12rem;
}

.mobile-btn:hover .qr-popup {
  display: block;
}

/* 响应式适配 */
@media screen and (max-height: 800px) {
  .side-btn {
    height: 6rem;
    gap: 0.4rem;
  }

  .side-btn img {
    width: 2.4rem;
    height: 2.4rem;
  }

  .side-btn span {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  /* .m-sidebar {
        display: none;  
    } */
}

/* 移动端导航按钮 */
.mobile-nav-btn {
  display: none;
  width: 3rem;
  height: 3rem;
  position: fixed;
  left: 1.5rem; /* 改为左侧 */
  top: 1.5rem;
  z-index: 1000;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff; /* 改为白色 */
  margin: 6px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 按钮激活状态 - 当菜单打开时改变颜色 */
.mobile-nav-btn.active span {
  background: #2b82f0; /* 激活状态改为蓝色 */
}

.mobile-nav-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* 移动端导航菜单 */
.mobile-nav {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: -100%; /* 改为左侧 */
  width: 80%;
  max-width: 40rem;
  height: 100vh;
  background: #fff;
  z-index: 999999999;
  transition: all 0.3s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
  left: 0; /* 改为滑到左侧 */
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  height: 3rem;
}

.mobile-nav-close {
  width: 2rem;
  height: 2rem;
  position: relative;
  cursor: pointer;
}

.mobile-nav-close span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #0056b3;
  top: 50%;
  left: 0;
}

.mobile-nav-close span:first-child {
  transform: rotate(45deg);
}

.mobile-nav-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav-list {
  padding: 1.5rem;
}

.mobile-nav-item {
  list-style: none;
  margin-bottom: 1.5rem;
  transform: translateX(-2rem); /* 改为向左位移 */
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-item {
  transform: translateX(0);
  opacity: 1;
}

/* 为每个菜单项添加延迟动画 */
.mobile-nav-item:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav-item:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-nav-item:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-nav-item:nth-child(4) {
  transition-delay: 0.4s;
}
.mobile-nav-item:nth-child(5) {
  transition-delay: 0.5s;
}
.mobile-nav-item:nth-child(6) {
  transition-delay: 0.6s;
}
.mobile-nav-item:nth-child(7) {
  transition-delay: 0.7s;
}

.mobile-nav-link {
  display: block;
  font-size: 1.6rem;
  color: #333;
  text-decoration: none;
  padding: 1rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #2b82f0;
  background: #f5f5f5;
  padding-left: 2rem;
}

/* 遮罩层 */
.mobile-nav-mask {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998998;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(3px);
}

.mobile-nav-mask.active {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-nav-btn {
    display: block;
  }
  .mobile-nav-btn.active {
    display: none;
  }
}

.mobile-footer_bar {
  display: none; /* 默认隐藏 */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 99;
  padding: 0.5rem 0;
}

.footer-bar_item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.bar-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.bar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bar-text {
  font-size: 1.2rem;
  color: #666;
  transition: color 0.3s ease;
}

/* 激活状态 */
.footer-bar_item.active .bar-text {
  color: #2b82f0;
}

.footer-bar_item.active .bar-icon img {
  filter: invert(45%) sepia(90%) saturate(1234%) hue-rotate(195deg) brightness(98%) contrast(94%); /* 将图片颜色改为 #2B82F0 */
}
/* 点击效果 */
.footer-bar_item:active {
  opacity: 0.7;
}

/* 移动端显示 */
@media screen and (max-width: 768px) {
  .mobile-footer_bar {
    display: flex;
    justify-content: space-around;
  }

  /* 为底部内容添加间距 */
  body {
    padding-bottom: 6rem;
  }
}

/* 适配iPhone底部黑条 - 仅在移动端生效 */
@media screen and (max-width: 768px) {
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-footer_bar {
      padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
      height: calc(1rem + env(safe-area-inset-bottom));
    }

    body {
      padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
  }
}
.m-gotop {
  display: none;
  position: fixed;
  right: 1.5rem;
  bottom: 8rem; /* 位于底部工具条上方 */
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 98;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.m-gotop img {
  width: 100%;
  height: 100%;
  padding: 1rem;
  object-fit: contain;
}

.m-gotop:active {
  transform: scale(0.95);
}

/* 移动端显示 */
@media screen and (max-width: 768px) {
  .m-gotop {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.m-mobile_header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  z-index: 1000;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

/* 滚动后的样式 */
.m-mobile_header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 移动端logo */
.mobile-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-logo2 {
  height: 2.5rem;
}
.mobile-logo img {
  height: 2.5rem;
  width: auto;
}

/* 滚动后显示logo */
.m-mobile_header.scrolled .mobile-logo {
  opacity: 1;
  visibility: visible;
}

/* 导航按钮样式 */
.mobile-nav-btn {
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1001;
}

.mobile-nav-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff; /* 初始为白色 */
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* 滚动后按钮变色 */
.m-mobile_header.scrolled .mobile-nav-btn span {
  background: #2b82f0;
}

/* 登录按钮 */
.mobile-login {
  font-size: 1.4rem;
  color: #fff;
  transition: all 0.3s ease;
  margin-left: auto; /* 确保在右侧 */
}

/* 滚动后登录按钮变色 */
.m-mobile_header.scrolled .mobile-login {
  color: #2b82f0;
}

/* 仅在移动端显示 */
@media screen and (max-width: 768px) {
  .m-mobile_header {
    display: flex;
  }
}

/* 面包屑导航样式 */
.m-breadcrumb {
  padding: 2rem 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 1.4rem;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px !important;
}

.breadcrumb-link:hover {
  color: #2b82f0;
}

.breadcrumb-icon {
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0.4rem;
  background: url("../images/home-icon.png") no-repeat center;
  background-size: contain;
}

.breadcrumb-separator {
  margin: 0 0.8rem;
  color: #d9d9d9;
  font-family: "宋体";
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .m-breadcrumb {
    padding: 1.5rem 0;
  }

  .breadcrumb-item {
    font-size: 1.5rem;
  }

  .breadcrumb-separator {
    margin: 0 0.5rem;
  }

  .breadcrumb-icon {
    width: 1.4rem;
    height: 1.4rem;
  }
}

/* 新闻列表页样式 */
.m-news {
  padding: 3rem 0;
  background: #f5f8fc;
}

.news-container {
  display: flex;
  gap: 2rem;
}

/* 左侧分类导航 */
.news-sidebar {
  flex: 0 0 24rem;
  background: #fff;
  border-radius: 0.4rem;
  padding: 1.5rem 0;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

.category-item {
  position: relative;
}

.category-link {
  display: block;
  padding: 1.2rem 2rem;
  color: #333;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.category-link:hover {
  color: #2b82f0;
  background: #f5f8fc;
}

.category-link.active {
  color: #2b82f0;
  background: #f5f8fc;
  font-weight: 500;
  position: relative;
}

.category-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.3rem;
  height: 1.6rem;
  background: #2b82f0;
  border-radius: 0 0.2rem 0.2rem 0;
}

.has-children > .category-link::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 2rem;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background: url("../images/arrow-down.png") no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.has-children.active > .category-link::after {
  transform: translateY(-50%) rotate(180deg);
}

.sub-category {
  padding-left: 2rem;
  display: none;
}

.has-children.active > .sub-category {
  display: block;
}

/* 右侧新闻列表 */
.m-news .news-content_kpd {
  flex: 1;
  min-width: 0;
}

.m-news .article-list_mxe {
  background: #fff;
  border-radius: 0.4rem;
  padding: 2rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

.m-news .article-item_nwr {
  padding: 2rem;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.m-news .article-item_nwr:last-child {
  border-bottom: none;
}

.m-news .article-item_nwr:hover {
  background: #f5f8fc;
}

.m-news .article-link_tqs {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 新增标题和日期的容器 */
.m-news .article-header_yxm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.m-news .article-title_vpm {
  font-size: 1.6rem;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 0;
  flex: 1;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
  padding-right: 2rem; /* 预留日期的空间 */
}

.m-news .article-item_nwr:hover .article-title_vpm {
  color: #2b82f0;
}

.m-news .article-desc_lxj {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m-news .article-date_hwy {
  font-size: 1.2rem;
  color: #666;
  white-space: nowrap;
}

/* 分页样式 */

.nodata {
  text-align: center;
  padding: 2rem 0;
}
.ui-pagination-container {
  text-align: center;
  line-height: 3.4rem;
}

.ui-pagination-container .ui-pagination-page-item {
  font-size: 1.4rem;
  padding: 0.4rem 1rem;
  border: 0.1rem solid #c5b7b7;
  color: #888;
  margin: 0 0.3rem;
  text-decoration: none;
}

.ui-pagination-container .ui-pagination-page-item:hover {
  border-color: #2b82f0;
  color: #2b82f0;
  text-decoration: none;
}

.ui-pagination-container .ui-pagination-page-item.active {
  background: #2b82f0;
  border-color: #2b82f0;
  color: #fff;
  cursor: default;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.page-item {
  min-width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 0.4rem;
  color: #666;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.page-item:hover:not(.disabled) {
  color: #2b82f0;
  border-color: #2b82f0;
}

.page-item.active {
  background: #2b82f0;
  color: #fff;
  border-color: #2b82f0;
}

.page-item.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.prev,
.next {
  padding: 0 1.5rem;
}

.page-dots {
  color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .m-news {
    padding: 1.5rem 0;
  }
  .m-news .news-container {
    flex-direction: column;
  }

  .m-news .news-sidebar {
    flex: none;
    width: 100%;
  }

  .m-news .article-item_nwr {
    padding: 1.5rem 0;
  }

  /* 移动端标题和日期样式调整 */
  .m-news .article-header_yxm {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    width: 100%; /* 确保容器占满宽度 */
  }

  .m-news .article-title_vpm {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    padding-right: 0;
    width: 100%; /* 让标题容器占满宽度 */
    max-width: 100%; /* 限制最大宽度 */
    flex: none; /* 移除 flex 属性 */
  }

  .m-news .article-date_hwy {
    margin-bottom: 0.8rem;
  }

  .m-news .article-desc_lxj {
    font-size: 1.2rem;
  }

  .pagination {
    gap: 0.5rem;
  }

  .page-item {
    min-width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }

  .prev,
  .next {
    padding: 0 1rem;
  }
}
/* 移动端分类导航优化 */
@media screen and (max-width: 768px) {
  .m-news .news-sidebar {
    display: none;
    margin-bottom: 1.5rem;
  }
}

.m-category_nav {
  display: none;
}

/* 移动端横向分类导航 */
@media screen and (max-width: 768px) {
  .m-category_nav {
    display: block;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
  }

  .category-scroll_box {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 1.2rem 1.5rem;
    gap: 2rem;
  }

  /* 隐藏滚动条 */
  .category-scroll_box::-webkit-scrollbar {
    display: none;
  }

  .category-item_nav {
    font-size: 1.5rem;
    color: #666;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0;
  }

  .category-item_nav.active {
    color: #2b82f0;
    font-weight: 500;
  }

  .category-item_nav.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3rem;
    height: 0.2rem;
    background: #2b82f0;
    border-radius: 0.1rem;
  }
}

/* 文章详情页样式 */
.article-detail_kxm {
  background: #fff;
  padding: 3rem;
  border-radius: 0.4rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

/* 文章标题 */
.detail-title_wsp {
  text-align: center;
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
}

/* 文章信息 */
.detail-info_tnr {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.info-item_pxq {
  color: #666;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-item_pxq i {
  font-size: 1.6rem;
}

.source-link_ymt {
  color: #2b82f0;
  text-decoration: none;
}

.source-link_ymt:hover {
  text-decoration: underline;
}

/* 文章内容 */
.detail-content_fxw {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 3rem;
}

.detail-content_fxw p {
  margin-bottom: 1.6rem;
}

.detail-content_fxw img {
  max-width: 100%;
  height: auto !important;
  margin: 0;
}

.detail-content_fxw table {
  width: 100% !important;
  margin-bottom: 1.6rem;
  border-spacing: 0 !important;
  border-collapse: collapse !important;
  padding: 0 !important;
  border: 0;
}
.detail-content_fxw table td {
  border: 0.1rem solid #ddd !important;
  font-size: 1.2rem;
}
.detail-content_fxw table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 0.7rem;
  line-height: 1.6;
  vertical-align: top;
  border-top: 0.1rem solid #ddd;
}
.detail-content_fxw table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 0.1rem solid #ddd;
}

/* 上一篇下一篇导航 */
.detail-nav_hkl {
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.nav-item_qws {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.nav-label_xmt {
  color: #666;
  font-size: 1.4rem;
  margin-right: 1rem;
}

.nav-link_bnt {
  color: #333;
  font-size: 1.4rem;
  text-decoration: none;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link_bnt:hover {
  color: #2b82f0;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .article-detail_kxm {
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }

  .detail-title_wsp {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .detail-info_tnr {
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .info-item_pxq {
    font-size: 1.2rem;
  }

  .detail-content_fxw {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .nav-item_qws {
    margin-bottom: 1rem;
  }

  .nav-label_xmt,
  .nav-link_bnt {
    font-size: 1.3rem;
  }
}

/* 明星列表页样式 */
.star-list_mxe {
  background: #fff;
  border-radius: 0.4rem;
  padding: 2rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 2rem;
}

.star-card {
  box-sizing: border-box;
  height: 21rem;
  cursor: pointer;
  background: #fff;
  padding: 2rem;
  display: flex;
  overflow: hidden;
  gap: 2rem;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  border-radius: 0.4rem;
}

/* 保持原有的卡片样式，添加新的响应式布局 */
@media screen and (min-width: 1200px) {
  .star-list_mxe {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .star-list_mxe {
    grid-template-columns: repeat(2, 1fr);
  }

  .star-photo {
    width: 30%;
  }

  .star-info {
    width: 70%;
  }
}

@media screen and (max-width: 767px) {
  .star-list_mxe {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }

  .star-card {
    padding: 1.5rem;
    height: auto;
    min-height: 18rem;
  }

  .star-photo {
    width: 35%;
    height: 15rem;
  }

  .star-info {
    width: 65%;
    padding-left: 1.5rem;
  }

  .detail-item,
  .star-intro {
    font-size: 1.2rem;
  }
}

/* 明星详情页样式 */
.star-detail_card {
  background: #fff;
  border-radius: 0.4rem;
  padding: 3rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

.star-section {
  background: #fff;
  border-radius: 0.4rem;
  padding: 3rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.section-title {
  position: relative;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 4rem;
  height: 0.3rem;
  background: #2b82f0;
  border-radius: 0.2rem;
}

.section-content {
  color: #666;
  line-height: 1.8;
  font-size: 1.4rem;
}

.section-content h3 {
  font-size: 1.6rem;
  color: #333;
  margin: 2rem 0 1rem;
  font-weight: 500;
}

.section-content h3:first-child {
  margin-top: 0;
}

.section-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.section-content li {
  margin-bottom: 0.8rem;
}

.section-content p {
  margin-bottom: 1rem;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .star-detail_card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .star-photo {
    width: 100%;
    text-align: center;
    height: auto;
    max-height: 25rem;
  }
  .star-photo img {
    width: 50%;
    height: auto;
  }

  .star-info {
    width: 100%;
    padding-left: 0;
  }

  .star-section {
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-content {
    font-size: 1.3rem;
  }

  .section-content h3 {
    font-size: 1.5rem;
  }
}

/* 平板端适配 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .star-detail_card {
    padding: 2rem;
    gap: 2rem;
  }

  .star-photo {
    width: 35%;
  }

  .star-info {
    width: 65%;
  }

  .star-section {
    padding: 2rem;
  }
}

/* 服务列表页样式 */
.service-list_mxe {
  /* background: #fff; */
  border-radius: 0.4rem;
  padding: 2rem;
  /* box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.05); */
}

.service-grid_wrs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item_nwr {
  background: #fff;
  border-radius: 0.4rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.service-item_nwr:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.1);
  border-color: #2b82f0;
}

.item-icon_tqs {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa; /* 改为浅灰色背景 */
  border-radius: 0.4rem;
  overflow: hidden; /* 确保图片不溢出 */
}

.item-icon_tqs img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 保持图片比例 */
  padding: 0.4rem; /* 给图标留出一些内边距 */
}

/* 移动端适配时同步调整 */
@media screen and (max-width: 768px) {
  .item-icon_tqs {
    width: 2rem;
    height: 2rem;
  }

  .item-icon_tqs img {
    padding: 0.3rem;
  }
}

.item-info_yxm {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-name_vpm {
  font-size: 1.8rem;
  color: #333;
  font-weight: 500;
}

.item-desc_lxj {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.item-btn_hwy {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: #2b82f0;
  color: #fff;
  border-radius: 2rem;
  font-size: 1.4rem;
}

.service-item_nwr:hover .item-btn_hwy {
  background: #1a6fd4;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .service-list_mxe {
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }

  .service-grid_wrs {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-item_nwr {
    padding: 1.5rem;
  }

  .item-icon_tqs {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
  }

  .item-name_vpm {
    font-size: 1.5rem;
  }

  .item-desc_lxj {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .item-btn_hwy {
    padding: 0.6rem 2rem;
    font-size: 1.3rem;
  }
}

/* 小屏幕手机适配 */
@media screen and (max-width: 480px) {
  .service-grid_wrs {
    grid-template-columns: 1fr;
  }

  .service-item_nwr {
    flex-direction: row;
    text-align: left;
    padding: 1.2rem;
    gap: 1.5rem;
  }

  .item-icon_tqs {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0;
  }

  .item-info_yxm {
    align-items: flex-start;
  }

  .item-btn_hwy {
    align-self: flex-start;
  }
}

/* 平板端优化 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .service-grid_wrs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 内部业务列表样式 */
.internal-list_kxe {
  background: #fff;
  border-radius: 0.4rem;
  padding: 2rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

.internal-grid_wrs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.internal-item_nwr {
  background: #f8f9fa;
  border-radius: 0.4rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  position: relative; /* 添加相对定位 */
}

.internal-item_nwr:hover {
  background: #fff;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 0.8rem rgba(43, 130, 240, 0.1);
  border-color: #2b82f0;
}

.item-icon_tqs {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa; /* 改为浅灰色背景 */
  border-radius: 0.4rem;
  overflow: hidden; /* 确保图片不溢出 */
}
.internal-list_kxe .item-icon_tqs {
  width: 2.4rem;
  height: 2.4rem;
}
.item-icon_tqs img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 保持图片比例 */
  padding: 0.4rem; /* 给图标留出一些内边距 */
}

/* 移动端适配时同步调整 */
@media screen and (max-width: 768px) {
  .item-icon_tqs {
    width: 2rem;
    height: 2rem;
  }

  .item-icon_tqs img {
    padding: 0.3rem;
  }
}

.item-text_vpm {
  flex: 1; /* 让文字占据剩余空间 */
  font-size: 1.6rem;
  color: #333;
  font-weight: 500;
}

.item-arrow_pxq {
  width: 1.6rem;
  height: 1.6rem;
  position: relative;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.item-arrow_pxq::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem solid #666;
  border-right: 0.2rem solid #666;
  transform: translateY(-50%) rotate(45deg);
}

/* 悬停效果 */
.internal-item_nwr:hover .item-arrow_pxq {
  opacity: 1;
  transform: translateX(0.3rem);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .item-arrow_pxq {
    width: 1.2rem;
    height: 1.2rem;
  }

  .item-arrow_pxq::after {
    width: 0.6rem;
    height: 0.6rem;
    border-width: 0.15rem;
  }
}

/* 响应式适配 */
@media screen and (max-width: 1200px) {
  .internal-grid_wrs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .internal-list_kxe {
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }

  .internal-grid_wrs {
    grid-template-columns: repeat(2, 1fr); /* 改为2列 */
    gap: 1.2rem;
  }

  .internal-item_nwr {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .item-icon_tqs {
    width: 3.2rem; /* 适当加大图标 */
    height: 3.2rem;
  }

  .item-text_vpm {
    font-size: 1.4rem; /* 适当加大字号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .item-arrow_pxq {
    display: none;
  }
}

/* 小屏手机适配 */
@media screen and (max-width: 360px) {
  .internal-grid_wrs {
    gap: 1rem;
  }

  .internal-item_nwr {
    padding: 1.2rem;
  }

  .item-icon_tqs {
    width: 2.8rem;
    height: 2.8rem;
  }

  .item-text_vpm {
    font-size: 1.3rem;
  }
}

.m-zwgk_cc .category-link {
  overflow: hidden;
}
.m-zwgk_cc .active > .category-link {
  background: #e9f2fd;
}
.m-zwgk_cc .category-item.active {
  background: #fcfcfc;
}
.m-zwgk_cc .category-item_img {
  margin-right: 2rem;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  position: relative;
  top: 1.5rem;
  float: left;
}
.m-zwgk_cc .category-item span {
  font-size: 2.2rem;
  display: block;
  float: left;
  height: 6rem;
  line-height: 3rem;
  letter-spacing: 0.2rem;
}
.m-zwgk_cc .category-item:first-child span {
  line-height: 6rem;
}
.m-zwgk_cc .has-children > .category-link::after {
  top: 4rem;
}

.m-zwgk_cc .category-link.active {
  color: #2b82f0;
}
.m-zwgk_cc .category-link.active::before {
  background: #2b82f0;
}
.m-zwgk_cc .category-link:hover {
  color: #2b82f0;
}
.m-zwgk_cc .sub-category .category-link {
  font-size: 1.6rem;
  background: url("/static/images/27icon16.png") no-repeat 1rem center;
  padding-left: 3rem;
}

.m-zwgk_page .detail-title_wsp {
  text-align: left;
  color: #2b82f0;
  border-bottom: 0.1rem solid #2d66a5;
  padding-bottom: 1rem;
}

.list_title_wtap {
  background: #fff;
  padding: 3rem;
  padding-bottom: 0;
  border-radius: 0.4rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}
.list_title_wtap h1 {
  margin-bottom: 0;
}

.list_title_wtap .detail-title_wsp {
  text-align: left;
  color: #2b82f0;
  border-bottom: 0.1rem solid #2b82f0;
  padding-bottom: 1rem;
}

.m-zwgk_cc.m-news .article-date_hwy {
  font-size: 1.5rem;
}

.leader-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
}

.leader-row-first {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.leader-row-second {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.leader-info {
  text-align: center;
}

.leader-position {
  color: #e60012;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.leader-name {
  color: #333;
  font-size: 1.8rem;
  font-weight: bold;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .leader-row-second {
    flex-wrap: wrap;
  }

  .leader-row-second .leader-item {
    width: 45%;
    margin-bottom: 2rem;
    
  }

  .leader-item img {
    width: 14rem;
    height: 18rem;
  }
  .breadcrumb-link {
    font-size: 1.5rem !important; /* 使用rem单位提高兼容性 */
    font-size: 15px; /* 降级方案，兼容不支持rem的环境 */
  }
  
  /* 小程序内置浏览器兼容性处理 */
  @supports (-webkit-appearance: none) {
    .breadcrumb-link {
      font-size: 1.5rem !important; /* 小程序环境下的字体大小调整 */
    }
  }
}
