@charset "utf-8";

:root {
  --ap-red: #ce0f17;
  --ap-bg: #f5f5f5;
  --ap-white: #fff;
  --ap-text: #333;
  --ap-text-light: rgba(0, 0, 0, 0.7);
  --ap-border: #cdcbc8;
  --ap-radius: 20px;
  --ap-space1: 4rem;
  --ap-cont: 1600px;
  /* 雍熙 why 桌面默认 */
  --ap-circle: 150px;
  --ap-item-pad: 11px;
  --ap-item-w: 172px;
  --ap-row-offset: 48px;
  --ap-gap-y: 9px;
  --ap-icon-pad: 13px;
}

.ys-cont1400 {
  max-width: var(--ap-cont);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .about-partner-page .ys-cont1400 {
    padding-left: 0;
    padding-right: 0;
  }
}

.about-partner {
  --ap-bg: rgba(245, 245, 245, 1);
  background: var(--ap-bg);
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: visible;
}

.about-partner .partner-map-bg {
  position: absolute;
  left: 50%;
  top: 180px;
  width: min(1598px, 92%);
  height: 422px;
  margin-left: calc(min(1598px, 92%) / -2);
  background: url(../images/about/partner-map-bg.png) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.partner-head {
  background: transparent;
  padding: 120px 0 40px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.partner-head-wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.partner-head-left {
  flex-shrink: 0;
  padding-top: 16px;
}

.about-partner .partner-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 420px);
  flex-shrink: 0;
}

.partner-stats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(222, 222, 222, 1);
  padding: 20px 0;
}

.partner-stats .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--ap-red);
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1;
  flex-shrink: 0;
}

.partner-stats .label {
  font-size: 30px;
  font-weight: 400;
  color: #292929;
  text-align: right;
  line-height: 1.4;
  white-space: nowrap;
}

.partner-logos {
  background: transparent;
  padding: 0 0 80px;
  /* 只裁跑马灯左右；上下靠内边距给 hover scale 留空，对齐雍熙 */
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.partner-logos-inner {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: 100%;
  max-width: none;
}

.why-case-logo {
  background: transparent;
  position: relative;
  list-style: none;
  margin: 0;
  /* 150 * 1.29 相对圆多出约 22px/侧，与雍熙 padding-top:31px 一致 */
  padding: 31px 0 28px;
  overflow: visible;
  width: 100%;
}

.why-case-logo-horse {
  margin-bottom: var(--ap-gap-y);
  position: relative;
  overflow: visible;
  --ap-marquee-dur: 40s;
}

.why-case-logo-horse:last-child {
  margin-bottom: 0;
}

.why-case-logo-horse2 {
  transform: translateX(var(--ap-row-offset));
}

.wclh-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

.why-case-logo-horse1 .wclh-track {
  animation: ap-marquee-left var(--ap-marquee-dur) linear infinite;
}

.why-case-logo-horse2 .wclh-track {
  animation: ap-marquee-right var(--ap-marquee-dur) linear infinite;
}

.why-case-logo-horse.is-offscreen-paused .wclh-track {
  animation-play-state: paused;
}

.wclh-list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wclh-list-item {
  flex: 0 0 var(--ap-item-w);
  width: var(--ap-item-w);
  position: relative;
  padding: 0 var(--ap-item-pad);
  box-sizing: border-box;
}

.wclh-list-item-link {
  position: relative;
  display: block;
  width: 100%;
}

.wclh-lil-circle {
  width: var(--ap-circle);
  height: var(--ap-circle);
  background: var(--ap-white);
  border-radius: 50%;
  transition: all 0.4s ease;
  margin: 0 auto;
  position: relative;
  transform-origin: center center;
}

.wclh-lil-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ap-circle);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wclh-lil-wrap-icon {
  width: 100%;
  height: var(--ap-circle);
  opacity: 1;
  transition: all 0.36s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  box-sizing: border-box;
  padding: var(--ap-icon-pad);
}

.wclh-lil-wrap-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1) !important;
}

.wclh-lil-wrap-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.wclh-lil-wrap-text .std-h6 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ap-text);
  margin: 0 0 4px;
}

.wclh-lil-wrap-text .std-text2 {
  font-size: 12px;
  color: var(--ap-text-light);
}

.wclh-list-item-link:hover .wclh-lil-circle {
  background: var(--ap-red);
  transform: scale(1.29);
}

.wclh-list-item-link:hover {
  z-index: 10;
}

.wclh-list-item-link:hover .wclh-lil-wrap {
  z-index: 3;
}

.wclh-list-item-link:hover .wclh-lil-wrap-text .std-h6 {
  color: var(--ap-white);
}

.wclh-list-item-link:hover .std-text2 {
  color: #cdcbc8;
}

.wclh-list-item-link:hover .wclh-lil-wrap-icon {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20%) scale(0.8);
}

.wclh-list-item-link:hover .wclh-lil-wrap-text {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

.wclh-list-item:hover {
  z-index: 10;
}

.why-case-logo-horse:hover {
  z-index: 5;
}

.why-case-logo-horse:hover .wclh-track {
  animation-play-state: paused !important;
}

@keyframes ap-marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ap-marquee-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media only screen and (max-width: 1199px) {
  .about-partner {
    min-height: 0;
  }

  .partner-head-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .partner-stats {
    width: 100%;
  }

  .partner-stats .label {
    white-space: normal;
  }

  .partner-map-bg {
    height: min(360px, 42vw);
    top: 80px;
  }

  :root {
    --ap-circle: 140px;
    --ap-item-w: 160px;
    --ap-item-pad: 10px;
    --ap-row-offset: 40px;
    --ap-icon-pad: 12px;
  }
}

@media only screen and (max-width: 991px) {
  .partner-head {
    padding: 48px 0 36px;
  }

  .partner-head-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .partner-stats {
    width: 100%;
  }

  .why-case-logo-horse2 {
    transform: none;
  }

  :root {
    --ap-circle: 116px;
    --ap-item-w: 130px;
    --ap-item-pad: 7px;
    --ap-row-offset: 36px;
    --ap-gap-y: 8px;
    --ap-icon-pad: 10px;
  }
}

@media only screen and (max-width: 767px) {
  .ys-cont1400 {
    padding: 0 20px;
  }

  :root {
    --ap-circle: 102px;
    --ap-item-w: 110px;
    --ap-item-pad: 4px;
    --ap-gap-y: 5px;
    --ap-icon-pad: 9px;
  }

  .about-partner {
    min-height: 0;
  }

  .partner-map-bg {
    height: min(280px, 55vw);
  }

  .partner-stats .label {
    white-space: normal;
  }

  .partner-logos {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wclh-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .wclh-list:nth-child(n + 2) {
    display: none;
  }
}
