/* bomao_testimonial - 客户评价组件样式隔离 */
.bomao-testimonial {
  margin-top: 290px!important;
  position: relative;
  border-radius: 1.5625rem 1.5625rem 0 0;
  overflow: hidden;
  padding: 80px 0 80px!important;
  margin-top: -6.25rem;
  background: linear-gradient(105deg, #52A0EA -5.68%,  #ecb1ac 100.37%);
  margin-bottom: 0px!important;
}

/* 背景图片和渐变叠加 */
.bomao-testimonial .bomao-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bomao-testimonial .bomao-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.bomao-testimonial .bomao-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
}
.bomao-testimonial .bomao-bg-overlay  img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bomao-testimonial .container {
  position: relative;
  z-index: 3;
  padding: 0 !important;
  max-width: 100% !important;
}

/* 头部标题区域 */
.bomao-testimonial .bomao-header {
  margin-bottom: 1.72rem;
}

.bomao-testimonial .bomao-title {
  font-family: var(--title-font-family);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.22;
  color: #fff!important;
  margin-bottom: 5px;
}

.bomao-testimonial .bomao-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.625rem;
  line-height: 1.22;
  color: #fff;
  max-width: 27.8125rem;
  margin: 0 auto;
}

/* PC端滚动容器 */
.bomao-testimonial .bomao-testimonials-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.bomao-testimonial .bomao-testimonials-scroll {
  display: flex;
  gap: 0.75rem;
  min-width: fit-content;
  will-change: transform;
  transform: translateZ(0); /* 强制开启GPU合成层 */
  backface-visibility: hidden; /* 防止在拼接处出现抖动 */
}


/* 使用 GSAP 时，强制关闭内置 CSS 动画 */
.bomao-testimonial .bomao-testimonials-container.use-gsap .bomao-testimonials-scroll {
  animation: none !important;
  padding-top: 0.5625rem;
}

.bomao-testimonial .bomao-testimonial-column {
  display: flex;
  flex-direction: column;
  gap: 1.02rem;
  /* flex: 0 0 30%;
  width: 30%; */
  width: 25vw;
}

/* .bomao-testimonial .bomao-testimonial-column.even{
  flex-direction: column-reverse;
} */
.bomao-testimonial .bomao-testimonial-column.even{
  flex-direction: column-reverse;
}
.bomao-testimonial .bomao-testimonial-column .bomao-testimonial-item:nth-child(2){
  flex: 1;
}
/* 奇偶列高度分配 */
/* .bomao-testimonial .bomao-testimonial-column.odd .bomao-testimonial-item.tall {
  flex: 0 0 calc(408 / (408 + 722) * 100%);
}

.bomao-testimonial .bomao-testimonial-column.odd .bomao-testimonial-item.short {
  flex: 0 0 calc(722 / (408 + 722) * 100%);
}

.bomao-testimonial .bomao-testimonial-column.even .bomao-testimonial-item.tall {
  flex: 0 0 calc(722 / (408 + 722) * 100%);
}

.bomao-testimonial .bomao-testimonial-column.even .bomao-testimonial-item.short {
  flex: 0 0 calc(408 / (408 + 722) * 100%);
} */

/* 卡片样式 */
.bomao-testimonial .bomao-card {
  border-radius: 1.125rem;
background: rgba(122, 170, 255, 0.41);
/* backdrop-filter: blur(14.75px); */
height: 100%;
  
}

.bomao-testimonial .bomao-card-content {
  border-radius: 1.125rem;
  box-shadow: 0 4px 0.625rem rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 文字图片布局 - 左文右图 */
.bomao-testimonial .bomao-text-image-layout {
  display: flex;
  gap: 0.86rem;
  align-items: flex-start;
  flex: 1;
  background-color: #fff;
  border-radius: 1.125rem;
  background: #FFF;
  box-shadow: 0 4px 0.625rem 0 rgba(0, 0, 0, 0.10);
  padding: 0.5625rem 0.5625rem 0.5625rem 1.07rem;
}

.bomao-testimonial .bomao-text-image-layout .bomao-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}



/* 图片文字布局 - 上图下文 */
.bomao-testimonial .bomao-image-text-layout {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  border-radius: 1.125rem;
  background: #FFF;
  box-shadow: 0 4px 0.625rem 0 rgba(0, 0, 0, 0.10);
  padding: 1.02rem 0.4rem 0.71875rem;
}

.bomao-testimonial .bomao-image-text-layout .bomao-image-content {
  width: 100%;
  /* height: 180px; */
}

/* 评价图片 */
.bomao-testimonial .bomao-review-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.bomao-testimonial .bomao-image-content{
  overflow: hidden;
  border-radius: 10px;
}
.bomao-testimonial .bomao-image-content:hover img{
  transform: scale(1.05);
}

.bomao-testimonial .bomao-text-image-layout .bomao-review-image{
  height: 9.4375rem;
  aspect-ratio: 1 / 1 ;
}
.bomao-testimonial .bomao-image-text-layout .bomao-review-image{
  width: 100%;
  height: auto;
  aspect-ratio: 664/440;
}

/* 星级评分 */
.bomao-testimonial .bomao-stars {
  display: flex;
  gap: 4px;
}

.bomao-testimonial .bomao-stars .star {
  color: #FFF100;
  font-size: 12px;
}
.bomao-testimonial .bomao-stars .star i{

  font-size: 12px;
}

/* 评价文字 */
.bomao-testimonial .bomao-review-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  /* font-size: 0.625rem; */
  font-size: 16px;
  line-height: 1.22;
  color: #000;
  margin: 0;
}

.bomao-testimonial .bomao-text-image-layout .bomao-review-text{
  padding-top: 0.5rem;
}
.bomao-testimonial .bomao-image-text-layout .bomao-review-text{
  padding: 0 0.5rem;
}

/* 用户信息 */
.bomao-testimonial .bomao-user-info {
  padding: 0.25rem 1.3125rem 0.25rem 3.09rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  position: relative;
}

.bomao-testimonial .bomao-avatar {
  width: 1.91603rem;
  height: 1.91603rem;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -0.32rem;
  left: 0.91rem;
}

.bomao-testimonial .bomao-user-details {
  flex: 1;
  display: flex;
  gap: 0.5375rem;
  align-items: center;
}

.bomao-testimonial .bomao-user-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  /* font-size: 0.75rem; */
  font-size: 13.5px;
  line-height: 1.22;
  color: #fff;
}

.bomao-testimonial .bomao-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  /* font-size: 0.5rem; */
  font-size: 12px;
  line-height: 1.22;
  color: #fff;
}

.bomao-testimonial .bomao-flag {
  width: 0.84375rem;
  object-fit: cover;
}

/* 移动端轮播 */
.bomao-testimonial .bomao-mobile-testimonials {
  display: block;
}

.bomao-testimonial .bomao-mobile-swiper {
  overflow: hidden;
  position: relative;
}

.bomao-testimonial .swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bomao-testimonial .bomao-mobile-item {
  width: 100%;
}

.bomao-testimonial .bomao-mobile-item .bomao-card-content {
  flex-direction: column;
  gap: 0.5rem;
}

.bomao-testimonial .bomao-mobile-item .bomao-image-content {
  /* width: 100%; */
  /* height: 160px; */
}

.bomao-testimonial .bomao-mobile-item .bomao-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* 移动端分页 */
.bomao-testimonial .bomao-mobile-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  position: relative;
  bottom: -0.625rem;
}

.bomao-testimonial .bomao-mobile-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 2px;
  border-radius: 1.25rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bomao-testimonial .bomao-mobile-pagination .swiper-pagination-bullet-active {
  background: #FFF100;
  opacity: 1;
}

/* 响应式设计 */
@media (min-width: 768px) {
  .bomao-testimonial .bomao-testimonials-container {
    display: block;
  }
  
  .bomao-testimonial .bomao-mobile-testimonials {
    display: none !important;
  }
}
@media (max-width: 1440px) {
  .bomao-testimonial .bomao-testimonial-column{
    width: 35vw;
  }
}
@media (max-width: 1200px) {
  /* .bomao-testimonial .bomao-testimonial-column{
    flex: 0 0 25%;
    width: 25%;
  } */
  
  .bomao-testimonial .bomao-text-image-layout .bomao-review-image{
    /* height: 6.25rem; */
  }
  .bomao-testimonial .bomao-user-info{
    /* padding: 0.5rem 10px 0.375rem 3.9375rem; */
  }
  .bomao-testimonial .bomao-avatar{
    /* width: 2.25rem;
    height: 2.25rem;
    left: 1.25rem;
    top: -9px; */
  }
  .bomao-testimonial .bomao-user-name{
    /* font-size: 0.5625rem; */
  }
  .bomao-testimonial .bomao-location{
    /* font-size: 0.4375rem; */
  }
  .bomao-testimonial .bomao-flag{
    /* width: 0.625rem; */
  }
  .bomao-testimonial .bomao-review-text{
    /* font-size: 0.5rem; */
  }
  .bomao-testimonial .bomao-image-text-layout{
    /* padding: 0.9375rem 10px 10px; */
  }
  .bomao-testimonial .bomao-text-image-layout{
    /* padding: 0.9375rem 10px 10px 1.875rem; */
  }
  .bomao-testimonial .bomao-text-image-layout .bomao-review-text{
    padding-top: 0;
  }
}
/* @media (max-width: 991px) {
  .bomao-testimonial {
    padding: 1.25rem 0 1.875rem;
  }
  
  .bomao-testimonial .bomao-header {
    margin-bottom: 1.25rem;
  }
  
  .bomao-testimonial .bomao-title {
    font-size: 1.5rem;
  }
  
  .bomao-testimonial .bomao-subtitle {
    font-size: 0.5rem;
  }
  .bomao-testimonial .bomao-card-content,
  .bomao-testimonial .bomao-card,
  .bomao-testimonial .bomao-image-text-layout,
  .bomao-testimonial .bomao-text-image-layout{
    border-radius: 0.5rem;
  }
} */

@media (max-width: 991px) {


.bomao-testimonial {
    margin-top: 80px !important;
}



  .bomao-testimonial .bomao-testimonial-column{
    width: 50vw;
  }
  .bomao-testimonial .bomao-subtitle{
    font-size: 0.875rem;
  }
}
@media (max-width: 768px) {
  .bomao-testimonial .container{
    padding-left: 0.94rem !important;
    padding-right: 0.94rem !important;
  }
  .bomao-testimonial {  
    background: linear-gradient(115deg, #4C99E6 -5.09%, #0444BA 103.17%);
  }
  .bomao-testimonial .bomao-mobile-item{
    padding-top: 0.625rem;
  }
  .bomao-testimonial .bomao-bg-wrapper{
    display: none;
  }
  .bomao-testimonial {
    padding: 1.875rem 0 3.1875rem;
  }
  
  .bomao-testimonial .bomao-header {
    margin-bottom: 0.625rem;
  }
  .bomao-testimonial .bomao-flag{
    width: 0.825rem;
  }
  .bomao-testimonial .bomao-title {
    font-size: 2.5rem;
  }
  
  .bomao-testimonial .bomao-subtitle {
    font-size: 0.875rem;
  }
  
  .bomao-testimonial .bomao-testimonial-column {
    gap: 0.5625rem;
  }
  
  .bomao-testimonial .bomao-card-content {
    padding: 0;
  }
  
  .bomao-testimonial .bomao-review-text {
    font-size: 13px;
  }
  .bomao-testimonial .bomao-text-image-layout .bomao-review-text{
    padding-top: 1rem;
    /* width: 50%; */
  }
  .bomao-testimonial .bomao-user-name {
    font-size: 0.75rem;
  }
  
  .bomao-testimonial .bomao-location {
    font-size: 10px;
  }
  .bomao-testimonial .bomao-stars .star .iconfont{
    /* font-size: 0.375rem; */
  }
  .bomao-testimonial .bomao-card-content{
    border-radius: 0.5625rem;
  }
  .bomao-testimonial .bomao-user-info{
    padding: 5px 0.625rem 5px 5.35rem;
  }
  .bomao-testimonial .bomao-avatar{
    width: 3.31rem;
    height: 3.31rem;
    left: 1.58rem;
    top: -0.55rem;
  }
  .bomao-testimonial .bomao-card{
    border-radius: 0.5625rem;
  }
  .bomao-testimonial .bomao-text-image-layout{
    border-radius: 0.5625rem;
  }
  .bomao-testimonial .bomao-image-text-layout{
    border-radius: 0.5625rem;
  }
  .bomao-testimonial .bomao-text-image-layout{
    padding: 8px 8px 8px 0.9375rem;
  }
  .bomao-testimonial .bomao-text-image-layout .bomao-review-image{
    height: auto;
  }
  .bomao-testimonial .bomao-mobile-item .bomao-card-content{
    gap: 0;
  }
  .bomao-testimonial .bomao-user-details{
    gap: 0.625rem;
  }
  .bomao-testimonial .bomao-image-text-layout .bomao-review-image{
    width: 100%;
    height: auto;
  }
  .bomao-testimonial .bomao-image-text-layout{
    padding: 1.88rem 10px 0.625rem;
  }
  .bomao-testimonial .bomao-image-text-layout .bomao-review-text{
    padding: 0 0.4375rem;
  }
  .bomao-testimonial .bomao-image-text-layout{
    gap: 10px;
  }

  .bomao-testimonial .bomao-mobile-item .bomao-image-content{
    flex:1;
  }
}
