.brief-box {
  width: 100%;
  background: #f6f6f6;
  padding: 1.28rem 0;
}
.flex-box {
  display: flex;
  justify-content: space-between;
}
.img-box {
  width: 50%;
  overflow: hidden;
}
.img-box img {
  width: 100%;
  height: 5.48rem;
}
.img-box img:hover {
  transform: scale(1.1);
  transition: all 0.5s;
}
.word-box {
  width: 50%;
  padding: 0.4rem 0.36rem;
  background: #fff;
  height: 5.48rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.p-box-wrapper {
  position: relative;
}

.p-box {
  height: 3.53rem;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  margin-top: 0.17rem;
  padding-right: 0.3rem;
  -webkit-overflow-scrolling: touch;
}

.p-box::-webkit-scrollbar {
  display: none;
}

.p-box-custom-scrollbar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #f1f1f1;
  border-radius: 3px;
  z-index: 10;
  pointer-events: auto;
}

.p-box-custom-scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 20px;
  background-color: #3f71d5;
  border-radius: 3px;
  cursor: pointer;
}

.word-box h4 {
  font-size: 0.43rem;
  color: #004b9b;
  line-height: 0.6rem;
}
.word-box h3 {
  font-weight: bold;
  font-size: 0.24rem;
  color: #000000;
  line-height: 0.34rem;
  margin-bottom: 0.35rem;
}
.word-box p {
  font-size: 0.16rem;
  color: #3d3d3d;
  line-height: 0.3rem;
}

.honnor-box {
  padding-top: 1.11rem;
}
.honnor-box h4 {
  font-size: 0.39rem;
  color: #2a66c8;
}
.honnor-box h3 {
  font-weight: bold;
  font-size: 0.39rem;
  color: #000000;
  line-height: 0.82rem;
  margin-bottom: 0.5rem;
}
.about-swiper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 0.52rem;
  height: 0.52rem;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  z-index: 10;
}
.swiper-button-prev {
  left: -0.8rem;
}
.swiper-button-next {
  right: -0.8rem;
}

.swiper-button-prev img,
.swiper-button-next img {
  width: 100%;
  height: 100%;
}
.swiper-container {
  flex: 1;
  overflow: hidden;
  /* margin: 0 0.3rem; */
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  flex-shrink: 0;
}
.honor-item {
  width: 100%;
  height: 3rem;
  border-radius: 0px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}
.honor-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.honor-item img {
  width: 100%;
  height: 2.32rem;
  object-fit: contain;
}
.honor-item p {
  font-size: 0.16rem;
  color: #262626;
  text-align: center;
  line-height: 0.49rem;
}
.swiper-pagination {
  display: none;
  position: relative;
  margin-top: 30px;
}
/* .swiper-pagination {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 30px;
  text-align: center;
  z-index: 20;
} */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d5d5d5;
  opacity: 1;
  margin: 0 5px;
}
.honnor-bot {
  width: 100%;
  height: 0.71rem;
  background: linear-gradient(180deg, #e3e3e3 0%, #f3f2f2 100%);
  margin-top: -0.8rem;
}
.honnor-grey {
  width: 100%;
  height: 0.91rem;
  background: #e6e6e6;
  margin-top: 0.05rem;
}

/* ======================
   移动端修复：不偏移版本
====================== */
@media screen and (max-width: 768px) {
  .brief-box {
    padding: 1.22rem 0;
    padding-bottom: 0.64rem;
  }
  .flex-box {
    flex-direction: column;
  }
  .img-box {
    width: 100%;
  }
  .img-box img {
  width: 100%;
  height: 5.25rem;
}
  .about-swiper {
    padding: 0;
    padding-bottom: 1rem;
    position: relative;
    display: block; /* 修复flex导致的偏移 */
  }

  /* 👑 核心修复：margin=0，宽度100% */
  .about-swiper .swiper-container {
    margin: 0 !important;
    width: 100% !important;
  }

  .word-box {
    height: unset;
    width: 100%;
    padding: 0.36rem 0.3rem;
    padding-bottom: 0.7rem;
  }
  .word-box h4 {
    font-size: 0.5rem;
    color: #004b9b;
    line-height: 0.7rem;
  }
  .word-box h3 {
    font-size: 0.34rem;
    color: #000000;
    line-height: 0.48rem;
  }
  .word-box p {
    font-size: 0.28rem;
    color: #5d5d5d;
    line-height: 0.5rem;
  }
  .p-box::-webkit-scrollbar {
    display: none;
  }

  .p-box {
    height: 9.56rem;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
  }

  .p-box-custom-scrollbar {
    width: 4px;
  }

  .p-box-custom-scrollbar-thumb {
    min-height: 30px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: block !important;
    width: 0.6rem;
    height: 0.6rem;
    left: 0.1rem;
  }
  .swiper-button-next {
    left: auto;
    right: 0.1rem;
  }
  .swiper-pagination {
    display: none !important;
  }
  .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }
  .honor-item {
    height: 5.3rem;
  }
  .honor-item img {
    height: 3.36rem;
  }
  .honor-item p {
    font-size: 0.28rem;
    line-height: 0.5rem;
    margin: 0.12rem 0 0 0;
  }

  .honnor-box {
    padding-top: 0.67rem;
  }
  .honnor-box h4 {
    width: 5.81rem;
    font-size: 0.5rem;
    line-height: 0.7rem;
    padding-left: 0.3rem;
  }
  .honnor-box h3 {
    font-size: 0.34rem;
    margin-bottom: 0.7rem;
    padding-left: 0.3rem;
  }
  .honnor-box .safe-width {
    padding: 0;
  }
  .about-swiper {
    padding-bottom: 0;
  }
  .honnor-bot {
    margin-top: -2.2rem;
    height: 1.1rem;
  }

  .honnor-grey {
    height: 0.92rem;
  }
  .swiper-button-prev,
  .swiper-button-next {
    top: 31%;
  }
  .swiper-button-prev {
    left: 0.4rem;
  }
  .swiper-button-next {
    right: 0.4rem;
  }
}

.img-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.img-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.img-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}
.img-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox-content img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.img-lightbox.active .img-lightbox-content img {
  transform: scale(1);
}
.img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 2;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
  user-select: none;
}
.img-lightbox-close:hover {
  transform: scale(1.2);
}

@media screen and (max-width: 768px) {
  .img-lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 32px;
  }
  .img-lightbox-content {
    max-width: 95%;
  }
}
