
@layer legacy {
/* ==========================================================================
   Ricodisk Enterprise Theme — 12-home-home-about-section-psd-height-correction.css
   由 main.css 自动拆分(保序连续段 12/30,作用域: home)
   ========================================================================== */
@media (max-width: 1440px) {
  main.psd-home .psd-feature-strip .psd-features {
    width: min(calc(100% - 48px), 1180px) !important;
    gap: 14px !important;
  }
}

@media (max-width: 1024px) {

  main.psd-home .psd-feature-strip .psd-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  main.psd-home .psd-feature-strip .psd-feature span {
    white-space: normal !important;
  }
}

main.psd-home {
  --home-width: 1300px;
  --home-gap: 30px;
  --home-title: clamp(34px, 3vw, 44px);
  --home-card-title: 24px;
  --home-text: 16px;
  background: #fff !important;
}

main.psd-home .psd-feature-strip {
  padding: 0 !important;
  background: transparent !important;
}

main.psd-home .psd-feature-strip .psd-feature {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  column-gap: 18px !important;
  position: relative !important;
  display: grid !important;
  grid-template-areas: "icon title" "icon text" !important;
  align-content: baseline;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-top: 0 !important;
  border-radius: 4px !important;
  background: linear-gradient(155deg, rgba(248,250,252,.9) 0%, rgba(240,245,249,.82) 52%, rgba(248,250,252,.92) 100%) !important;
  box-shadow: 0 8px 16px rgba(18,24,39,.14) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  transform: none !important;
  min-height: 126px !important;
  /* 容器 1300px 后单卡约 311px，内边距 30→22 让默认 14 字描述保持单行；
     更长文案由换行兜底（nowrap 已移除），不会再被 overflow 裁切 */
  padding: 29px 22px 27px !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
}

main.psd-home .psd-feature-strip .psd-feature::before {
  background: linear-gradient(135deg, #555b64 0%, #747b85 58%, rgba(116,123,133,.7) 100%) !important;
  box-shadow: 9px 12px 0 rgba(85,91,100,.13), 13px 16px 12px rgba(85,91,100,.15) !important;
  transition: background .2s ease, box-shadow .2s ease !important;
}

main.psd-home .psd-feature-strip .psd-feature.is-active::before {
  background: linear-gradient(135deg, #f01824 0%, #ff2633 58%, rgba(255,76,86,.7) 100%) !important;
  box-shadow: 9px 12px 0 rgba(255,41,52,.2), 13px 16px 12px rgba(255,41,52,.18) !important;
}

main.psd-home .psd-feature-strip .psd-feature:focus-visible {
  outline: 2px solid #e30613 !important;
  outline-offset: 3px !important;
}

main.psd-home .psd-feature-strip .psd-feature strong {
  grid-area: title !important;
  color: #2d3137 !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  margin-bottom: 12px !important;
  font-size: 20px !important;
}

main.psd-home .psd-feature-strip .psd-feature span {
  grid-area: text !important;
  color: var(--color-text) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

@media (max-width: 1440px) {

  main.psd-home .psd-feature-strip .psd-feature {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    min-height: 112px !important;
    padding: 24px 22px 22px !important;
  }

  main.psd-home .psd-feature-strip .psd-feature strong {
    margin-bottom: 10px !important;
    font-size: 17px !important;
  }

  main.psd-home .psd-feature-strip .psd-feature span {
    font-size: 12px !important;
  }
}

@media (max-width: 620px) {

  main.psd-home .psd-feature-strip .psd-feature {
    min-height: 104px !important;
    padding: 22px 20px !important;
  }
}

@media (max-width: 1440px) {
  main.psd-home .psd-feature-strip {
    margin-top: -56px !important;
  }
}

@media (max-width: 1024px) {

  main.psd-home .psd-feature-strip {
    margin-bottom: 44px !important;
    margin-top: -20px !important;
  }
}

@media (max-width: 620px) {
  main.psd-home .psd-feature-strip {
    margin-bottom: 38px !important;
    margin-top: -20px !important;
  }
}

@media (max-width: 1440px) {
  main.psd-home .psd-feature-strip {
    margin-bottom: 30px !important;
  }

  main.psd-home .psd-products {
    padding-top: 46px !important;
  }
}

@media (max-width: 760px) {

  main.psd-home .psd-products {
    padding-top: 42px !important;
  }
}

main.psd-home .psd-app-carousel.psd-container {
  position: relative !important;
  overflow: visible !important;
}

main.psd-home .psd-app-carousel .psd-app-icons {
  width: 100% !important;
  scroll-behavior: smooth !important;
  color: #999 !important;
}

main.psd-home .psd-app-icon:hover,
main.psd-home .psd-app-icon:focus-visible {
  transform: translateY(-2px) !important;
}

main.psd-home .psd-app-icon__glyph {
  transition: background-color .18s ease !important;
}

main.psd-home .psd-app-icon.is-active {
  flex-basis: 98px !important;
  height: 124px !important;
  margin-top: -18px !important;
  padding-top: 19px !important;
  color: #fff !important;
  background: #e30613 !important;
  transform: none !important;
}

main.psd-home .psd-app-icon.is-active::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: -14px !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 14px solid transparent !important;
  border-right: 14px solid transparent !important;
  border-top: 14px solid #e30613 !important;
  transform: translateX(-50%) !important;
}

main.psd-home .psd-app-icon.is-active:hover,
main.psd-home .psd-app-icon.is-active:focus-visible {
  color: #fff !important;
  transform: none !important;
}

main.psd-home .psd-app-icon.is-active .psd-app-icon__glyph,
main.psd-home .psd-app-icon.is-active:hover .psd-app-icon__glyph,
main.psd-home .psd-app-icon.is-active:focus-visible .psd-app-icon__glyph {
  width: 54px !important;
  height: 54px !important;
  background: #fff !important;
}

main.psd-home .psd-app-icon.is-active .psd-app-icon__label {
  font-size: 16px !important;
  font-weight: 900 !important;
}

main.psd-home .psd-app-icon--medical {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M23 8h18a5 5 0 0 1 5 5v6h4a7 7 0 0 1 7 7v27a7 7 0 0 1-7 7H14a7 7 0 0 1-7-7V26a7 7 0 0 1 7-7h4v-6a5 5 0 0 1 5-5Zm3 7v4h16v-4H26Zm7 14h-8v8h-8v8h8v8h8v-8h8v-8h-8v-8Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-icon--iot {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 13a19 19 0 1 0 0 38a19 19 0 0 0 0-38Zm0 5c3 3 5 7 5.8 12H26.2c.8-5 2.8-9 5.8-12Zm0 28c-3-3-5-7-5.8-12h11.6c-.8 5-2.8 9-5.8 12ZM19 30a14 14 0 0 1 7-11.3A31 31 0 0 0 21.8 30H19Zm2.8 4A31 31 0 0 0 26 45.3A14 14 0 0 1 19 34h2.8Zm22.4 0H47a14 14 0 0 1-7 11.3A31 31 0 0 0 44.2 34Zm0-4A31 31 0 0 0 40 18.7A14 14 0 0 1 47 30h-2.8Z'/%3E%3Cpath d='M14 6h9v4h-5v5h-4V6Zm26 0h10v9h-4v-5h-6V6ZM14 49h4v5h5v4h-9v-9Zm32 0h4v9H40v-4h6v-5Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-icon--consumer {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 14h34a6 6 0 0 1 6 6v21a6 6 0 0 1-6 6H14a6 6 0 0 1-6-6V20a6 6 0 0 1 6-6Zm2 6v23h32V20H16Zm3 32h26a3 3 0 0 1 3 3v2H16v-2a3 3 0 0 1 3-3Z'/%3E%3Cpath d='M49 25h6a3 3 0 0 1 3 3v18a3 3 0 0 1-3 3h-6V25Zm4 5v14h2V30h-2Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-icon--automotive {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M13 28l5-13a6 6 0 0 1 6-4h16a6 6 0 0 1 6 4l5 13h2a5 5 0 0 1 5 5v11a5 5 0 0 1-5 5h-2v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4v-4H25v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4v-4h-2a5 5 0 0 1-5-5V33a5 5 0 0 1 5-5h2Zm7 0h24l-4-10H24l-4 10Zm-4 10a5 5 0 1 0 0-.1V38Zm33 5a5 5 0 1 0 0-10a5 5 0 0 0 0 10Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-icon--industrial {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 54h48v6H8v-6Zm4-28l13 8V22l13 8V16l10-6h6v44H12V26Zm11 24h6v-8h-6v8Zm13 0h6v-8h-6v8Zm13 0h6v-8h-6v8Zm-7-31h6v-8h-6v8Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-icon--iot-hand {
  --app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M38 10h14v18H38V10Zm4 4v10h8V14h-8ZM9 41l14-9a8 8 0 0 1 7-1l9 3a5 5 0 0 1 3 6l9-4a7 7 0 0 1 8 2l1 2l-26 16a12 12 0 0 1-10 1L7 52l2-11Zm14 1l11 3a3 3 0 0 0 3-1l1-2l-13-4l-11 7l11 5a8 8 0 0 0 6 0l17-10l-16 7l-10-3l1-2Z'/%3E%3C/svg%3E");
}

main.psd-home .psd-app-arrow {
  position: absolute !important;
  z-index: 2 !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

main.psd-home .psd-app-arrow--prev {
  left: -48px !important;
}

main.psd-home .psd-app-arrow--next {
  right: -48px !important;
}

main.psd-home .psd-app-arrow span {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  border-top: 3px solid #e30613 !important;
  border-left: 3px solid #e30613 !important;
}

main.psd-home .psd-app-arrow--prev span {
  transform: rotate(-45deg) !important;
}

main.psd-home .psd-app-arrow--next span {
  transform: rotate(135deg) !important;
}

main.psd-home .psd-app-arrow:hover span,
main.psd-home .psd-app-arrow:focus-visible span {
  border-color: #b9000d !important;
}

@media (max-width: 1100px) {
  main.psd-home .psd-app-carousel.psd-container {
    width: min(calc(100% - 84px), 965px) !important;
    max-width: min(calc(100% - 84px), 965px) !important;
  }

  main.psd-home .psd-app-carousel .psd-app-icons {
    justify-content: flex-start !important;
    gap: 18px !important;
    scroll-snap-type: x mandatory !important;
  }

  main.psd-home .psd-app-icon {
    scroll-snap-align: center !important;
  }

  main.psd-home .psd-app-arrow--prev {
    left: -39px !important;
  }

  main.psd-home .psd-app-arrow--next {
    right: -39px !important;
  }
}

@media (max-width: 760px) {

  main.psd-home .psd-apps .psd-section-title {
    margin-bottom: 54px !important;
  }

  main.psd-home .psd-app-carousel.psd-container {
    width: min(calc(100% - 64px), 965px) !important;
    max-width: min(calc(100% - 64px), 965px) !important;
    margin-bottom: 30px !important;
  }

  main.psd-home .psd-app-icon {
    flex-basis: 90px !important;
    font-size: 14px !important;
  }

  main.psd-home .psd-app-icon.is-active {
    flex-basis: 94px !important;
  }

  main.psd-home .psd-app-icon__glyph {
    width: 44px !important;
    height: 44px !important;
  }
}

main.psd-home .psd-app-carousel .psd-app-icons span {
  min-width: 0 !important;
  padding-top: 0 !important;
  position: static !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  main.psd-home .psd-about,
main.psd-home .psd-about__inner.psd-container,
main.psd-home .psd-about__inner {
    height: auto !important;
  }

  main.psd-home .psd-about__copy h3,
main.psd-home .psd-about__text,
main.psd-home .psd-stats {
    width: 100% !important;
  }
}

/* Home about section PSD height correction: design height 525px */

@media (max-width: 1024px) {

  main.psd-home .psd-about__copy h3 {
    font-size: 22px !important;
  }
}

main.psd-home .psd-about__copy {
  color: #fff !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

main.psd-home .psd-about__text p + p {
  margin-top: 2px !important;
}

main.psd-home .psd-stats div {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center !important;
}

@media (max-width: 1024px) {
  main.psd-home .psd-about {
    height: auto !important;
    min-height: 525px !important;
  }

  main.psd-home .psd-about__copy h3,
  main.psd-home .psd-about__text,
  main.psd-home .psd-stats {
    margin-left: 0 !important;
  }

  main.psd-home .psd-stats {
    gap: 28px !important;
    margin-top: 42px !important;
  }

  main.psd-home .psd-stats span {
    font-size: 14px !important;
  }
}

@media (max-width: 760px) {
  main.psd-home .psd-about {
    min-height: 660px !important;
    background-position: center center !important;
  }

  main.psd-home .psd-about__inner.psd-container,
  main.psd-home .psd-about__inner {
    min-height: 660px !important;
    padding: 42px 0 40px !important;
  }

  main.psd-home .psd-about .psd-section-title {
    margin-bottom: 28px !important;
  }

  main.psd-home .psd-about__copy h3 {
    margin-bottom: 18px !important;
  }

  main.psd-home .psd-about__copy p,
  main.psd-home .psd-about__text p {
    font-size: 12px !important;
    line-height: 1.75 !important;
  }

  main.psd-home .psd-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px 22px !important;
    margin-top: 34px !important;
  }

  main.psd-home .psd-stats strong {
    font-size: 40px !important;
  }

  main.psd-home .psd-stats em {
    font-size: 14px !important;
  }

  main.psd-home .psd-stats span {
    margin-top: 10px !important;
    font-size: 13px !important;
  }
}

main.psd-home .psd-about {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  height: auto !important;
  min-height: 525px !important;
  /* 背景图支持后台「首页内容 → 区块背景图」覆盖：模板在 .psd-about 上输出 --home-about-bg 变量 */
  background: #000711 var(--home-about-bg, url('../img/home/about-bg-psd-composite-clean.jpg')) center center / cover no-repeat !important;
}

main.psd-home .psd-about__inner.psd-container,
main.psd-home .psd-about__inner {
  display: block !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  width: 965px !important;
  max-width: calc(100% - 32px) !important;
  height: 525px !important;
  padding: 60px 0 36px !important;
}
}
