/* Homepage revision requested in 中文官网首页修改建议20261028-v1.docx. */
body .index-banner { aspect-ratio: auto; }
body .index-banner .banner-imgs picture { display:block; }
body .index-banner .index-banner-img { display:block; width:100%; height:auto; min-height:0; object-fit:contain; }
body .index-banner .hero-slider-two__content { max-width: min(560px, 44vw); }
body .index-banner .hero-slider-two__title__text { font-size:clamp(30px, 3.1vw, 56px); line-height:1.35; }
body .index-banner .hero-slider-two__title__box2 .hero-slider-two__title__text { font-size:clamp(16px, 1.35vw, 24px); line-height:1.7; margin-top:20px; }
body .index-banner .hero-slider-two__btn { margin-top:26px; }
@media (max-width:768px) {
  body .index-banner .banner-text { top:6% !important; transform:none !important; }
  body .index-banner .hero-slider-two__content { max-width:100%; }
  body .index-banner .hero-slider-two__title__text { font-size:clamp(27px, 7.2vw, 42px); line-height:1.35; }
  body .index-banner .hero-slider-two__title__box2 .hero-slider-two__title__text { font-size:15px; line-height:1.7; margin-top:12px; }
  body .index-banner .hero-slider-two__btn { margin-top:18px; gap:12px; padding:0; }
  body .index-banner .hero-slider-two__btn .wallox-btn { font-size:14px; line-height:1.4; padding:12px 18px; }
  body .index-banner .hero-slider-two__carousel .owl-nav { right:18px; bottom:18px; top:auto; }
}

/* Service carousel: neutral background, explicit navigation, preserve artwork. */
body .index-service-swp {
    background: var(--bg-secondary, #f7f8fa);
}
.index-service-swp > .project-three__bg,
.index-service-swp > .project-three__element,
.index-service-swp > .project-three__element-two {
    display: none;
}
body .index-service-swp .project-card .project-card__content::before {
    display: none;
}
.index-service-swp .service-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 24px auto 0;
}
.index-service-swp .service-carousel-prev,
.index-service-swp .service-carousel-next {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 50%;
    background: var(--bg-primary, #fff);
    color: var(--heading-color, #30343b);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s, background-color .2s, border-color .2s;
}
.index-service-swp .service-carousel-prev:hover,
.index-service-swp .service-carousel-next:hover {
    color: var(--brand-primary, #f3132b);
    border-color: var(--brand-primary, #f3132b);
    background: var(--brand-soft, #fff1f2);
}
.index-service-swp .service-carousel-prev:focus-visible,
.index-service-swp .service-carousel-next:focus-visible,
.index-service-swp .swiper-pagination-bullet:focus-visible {
    outline: 2px solid var(--brand-primary, #f3132b);
    outline-offset: 4px;
}
.index-service-swp .service-carousel-controls .swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    gap: 2px;
    transform: none;
}
.index-service-swp .service-carousel-controls .swiper-pagination-bullet {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 6px solid var(--bg-secondary, #f7f8fa);
    border-radius: 50%;
    background: var(--muted-color, #667085);
    opacity: .55;
    box-sizing: border-box;
}
.index-service-swp .service-carousel-controls .swiper-pagination-bullet-active {
    background: var(--brand-primary, #f3132b);
    opacity: 1;
}
.index-service-swp .project-card__thumb img {
    -webkit-user-drag: none;
    user-select: none;
}
@media (max-width: 575px) {
    .index-service-swp .service-carousel-controls { gap: 10px; margin-top: 20px; }
}

/* Restore the supplied template's layered image composition. */
body .index-about .about-three__thumb {
  aspect-ratio: 1.16;
  min-height: 0;
}

/* Keep the square company image intact as the primary panel. */
body .index-about .about-three__thumb > img {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 84%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 0;
  border-radius: 12px;
  z-index: 1;
}

/* The existing factory image is landscape, so preserve its natural ratio. */
body .index-about .about-three__thumb__small {
  top: -12%;
  right: -2%;
  bottom: auto;
  left: auto;
  width: 40%;
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
  padding: 7px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(48, 52, 59, .14);
  z-index: 2;
}

body .index-about .about-three__thumb__small > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Existing editable year badge anchors the lower-left of the composition. */
body .index-about .about-three__funfact {
  left: 0;
  right: auto;
  bottom: 0;
  width: 210px;
  z-index: 3;
}

body .index-about .about-three__thumb__box,
body .index-about .about-three__thumb::before,
body .index-about .about-three__thumb::after { display: none; }

@media (max-width: 575px) {
  body .index-about .about-three__thumb { aspect-ratio: 1.08; }
  body .index-about .about-three__thumb > img { width: 86%; }
  body .index-about .about-three__thumb__small {
    top: -13%;
    right: -1%;
    width: 40%;
    padding: 5px;
    border-radius: 12px;
  }
  body .index-about .about-three__thumb__small > img { border-radius: 8px; }
  body .index-about .about-three__funfact { left: 0; bottom: 0; width: 46%; }
}
