.pages_index {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.banner_text {
  position: absolute;
  top: 50%;
  left: 189px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
}
.banner_right_text {
  margin-left: 20px;
}

/* 首页主体 */
.index_main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: var(--min-width);
}

.index_main_first {
  display: flex;
  justify-content: space-between;
  background: #fff;
  height: 436px;
  border-radius: 10px;
  margin-top: 50px;
  padding: 20px;
  box-shadow: 10px 10px 15px rgba(4, 4, 4, 0.1);
  min-width: var(--min-width);
  max-width: var(--max-width);
}
.index_main_first_img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 2px;
}
/* tab */
.tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
  height: 47px;
  padding: 0 20px;
  border-radius: 10px 10px 0 0;
}
.tab {
  padding: 0px 18px 10px 18px;
  font-size: 22px;
  color: #666;
  cursor: pointer;
  position: relative;
  background: transparent;
  transition: color 0.2s;
}
.tab.active {
  color: #1677ff;
  font-weight: bold;
}
.tab-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 90px; /* 初始宽度，和第一个tab宽度一致 */
  background: #1677ff;
  border-radius: 2px;
  transition: left 0.3s, width 0.3s;
}

/* 新闻内容 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  margin-top: 20px;
}
.news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: #222;
  position: relative;
  padding-left: 12px;
}
.news-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #222;
  border-radius: 50%;
}
.news-list a {
  display: flex;

  width: 100%;
}
.news-title {
  flex: 1;
  margin-right: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
  width: 560px;
}
.news-date {
  color: #888;
  font-size: 14px;
  text-align: right;
  margin-right: 20px;
  width: 100px;
}

/* 案例分析 */
.second_case_content {
  margin-top: 48px;
}

.second_img_box {
  width: 435px;
  height: 298px;
  border-radius: 10px;
  background: #fff;
}

.second_case_img {
  width: 419px;
  height: 207px;
  border-radius: 10px 10px 0 0;
}

/* 专家库 */
.third_expert {
  width: 100%;
  height: 548px;
  background: url(../../images/image_expert_bg.png) no-repeat;
  background-size: cover;
  padding-top: 60px;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 轮播图 头像 */
.carousel-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-top: 70px;
}

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.carousel-item {
  flex: 0 0 180px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-item img {
  width: 190px;
  height: 221px;
  border-radius: 5px;
  object-fit: fill;
}

.member-title {
  font-size: 16px;
  color: #666;
}

.nav-btn {
  cursor: pointer;
}

.nav-btn:hover {
  transform: scale(1.1);
}

.nav-btn:active {
  transform: scale(0.95);
}

/* 协会会员 轮播图 */
.bao_carousel-container {
  display: flex;
  align-items: center;
  width: 1340px;
}

.bao_carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 20px;
}

.bao_carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.bao_carousel-group {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

.bao_carousel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bao_carousel-item {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 10px;
  height: 185px;
  background: #fff;

  width: 100%;
}

.bao_carousel-item .item_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 10px;
}

/* 图片宽度保持比例 */
.bao_carousel-item .logo_box img {
  height: 87px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

.bao_carousel-item .name {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  font-weight: 500;
}

.bao_carousel-item:hover {
  transform: translateY(-5px);
}

.bao_carousel-item img {
  width: 320px;
  height: 175px;
  border-radius: 10px;
}

.bao_company-name {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.bao_nav-btn {
  cursor: pointer;
}

.swiper {
  width: 576px;
  height: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  flex-shrink: 0;
  width: 576px;
  height: 396px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 100px;
  width: max-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 1000;
  font-size: 12px;
  padding: 8px 0;
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown:hover .bao_triangle_down {
  transform: rotate(180deg);
}

.bao_triangle_down {
  transition: transform 0.3s;
}

.mobileSwiper {
  width: 100%;
  height: 100%;
}

.mobile_news-carousel {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
}

.mobile_news-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}


.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
  color: #fff;
  background: #007aff;
}

.carousel-track {
  white-space: nowrap; /* 防止项目换行 */
}
.carousel-item {
  display: inline-block; /* 确保项目水平排列 */
}