/* PCP Why HONOR — layout from temp.html; carousel stays inside 1184px (no viewport bleed). */

.pcp-why-hihonor-component {
  --pcp-why-slide-gap: 20px;
}

.pcp-why-hihonor-component * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.pcp-why-hihonor-component theme-carousel {
  display: block;
  width: 100%;
}

/* Contained carousel stage (≠ advice-showcase-slider .acs__slider-bleed) */
.pcp-why-hihonor-component .pcp-why-carousel-inner {
  position: relative;
  width: 100%;
}

/* Card row scrolls inside the content column only */
.pcp-why-hihonor-component .why-carousel-track.carousel__track {
  gap: var(--pcp-why-slide-gap);
}

.pcp-why-hihonor-component .why-btn-prev[disabled],
.pcp-why-hihonor-component .why-btn-next[disabled] {
  opacity: 0;
}

.pcp-why-hihonor-component theme-carousel[data-single-slide='true'] .why-swiper-btn {
  display: none;
}

@media screen and (min-width: 768px) {
  .pcp-why-hihonor-component theme-carousel[data-hide-nav-desktop='true'] .why-swiper-btn {
    display: none;
  }
}

.pcp-why-hihonor-component section {
  max-width: 1184px;
  margin-inline: auto;
}

.pcp-why-hihonor-component section:first-of-type {
  margin-top: 0;
}

.pcp-why-hihonor-component .radius {
  border-radius: 24px;
}

.pcp-why-hihonor-component .why-main {
  position: relative;
}

.pcp-why-hihonor-component .why-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #000;
}

.pcp-why-hihonor-component .why-content {
  width: 100%;
}

.pcp-why-hihonor-component .why-swiper {
  position: relative;
  overflow: hidden;
}

/* Arrows anchored to this section’s carousel box (版心边界), not the viewport */
.pcp-why-hihonor-component .why-swiper .why-swiper-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  cursor: pointer;
  border: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0px 0px 10px 2px rgba(200, 200, 200, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcp-why-hihonor-component .why-swiper .why-swiper-btn svg {
  width: 100%;
  height: 100%;
}

.pcp-why-hihonor-component .why-swiper .why-btn-prev {
  left: 20px;
  transform: translateY(-50%) rotate(180deg);
}

.pcp-why-hihonor-component .why-swiper .why-btn-next {
  right: 20px;
}

.pcp-why-hihonor-component .why-swiper .swiper-slide.pcp-why-slide {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  flex: 0 0 281px;
  width: 281px;
}

.pcp-why-hihonor-component .pcp-why-slide__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.pcp-why-hihonor-component .pcp-why-slide__wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.pcp-why-hihonor-component .why-swiper .img-content {
  width: 100%;
  overflow: hidden;
}

.pcp-why-hihonor-component .pcp-why-slide__img-fallback {
  aspect-ratio: 281 / 200;
  min-height: 120px;
  background: linear-gradient(180deg, #ffe8dc 0%, #ffd8c4 100%);
}

.pcp-why-hihonor-component .why-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.pcp-why-hihonor-component .why-swiper .text-content {
  padding: 20px 10px;
  text-align: center;
  background-color: #ececec;
  flex: 1;
}

.pcp-why-hihonor-component .text-content .text-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.pcp-why-hihonor-component .text-content .text-desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 10px;
}

.pcp-why-hihonor-component .text-content .text-desc.rte p {
  margin: 0;
}

.pcp-why-hihonor-component .text-content .text-desc.rte p + p {
  margin-top: 0.5em;
}

@media screen and (max-width: 767.98px) {
  .pcp-why-hihonor-component section {
    width: calc(100% - 20px);
    margin-top: 0;
  }

  .pcp-why-hihonor-component .radius {
    border-radius: 12px;
  }

  .pcp-why-hihonor-component .why-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .pcp-why-hihonor-component .why-swiper .swiper-slide.pcp-why-slide {
    border-radius: 12px;
    flex-basis: 281px;
    width: 281px;
  }

  .pcp-why-hihonor-component .why-swiper .text-content {
    padding: 10px;
  }

  .pcp-why-hihonor-component .text-content .text-title {
    font-size: 14px;
  }

  .pcp-why-hihonor-component .text-content .text-desc {
    font-size: 11px;
    margin-top: 6px;
  }
}
