
@layer legacy {
/* ==========================================================================
   Ricodisk Enterprise Theme — 16-home-home-news-featured-image-fallback-keep-l.css
   由 main.css 自动拆分(保序连续段 16/30,作用域: home)
   ========================================================================== */
/* Home news featured image fallback: keep local article images visually centered */
main.psd-home .psd-news-feature {
  background: #fff !important;
}

main.psd-home .psd-news-feature img {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

main.psd-home .psd-news-item .psd-news-item__thumb--placeholder {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(227, 6, 19, .16), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 52%, #e6ebf3 100%) !important;
  border: 1px solid rgba(214, 220, 230, .92) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
}

main.psd-home .psd-news-placeholder {
  position: relative !important;
  z-index: 1 !important;
  width: calc(100% - 22px) !important;
  display: grid !important;
  grid-template-columns: 54px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
}

main.psd-home .psd-news-placeholder__mark {
  display: flex !important;
  width: 54px !important;
  height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  background: linear-gradient(135deg, #e30613 0%, #b90812 100%) !important;
  box-shadow: 0 8px 18px rgba(227, 6, 19, .20) !important;
}

main.psd-home .psd-news-placeholder__lines {
  display: grid !important;
  gap: 7px !important;
}

main.psd-home .psd-news-placeholder__lines i {
  display: block !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(180, 189, 203, .70) !important;
}

main.psd-home .psd-news-placeholder__lines i:nth-child(1) {
  width: 92% !important;
}

main.psd-home .psd-news-placeholder__lines i:nth-child(2) {
  width: 72% !important;
}

main.psd-home .psd-news-placeholder__lines i:nth-child(3) {
  width: 48% !important;
}

main.psd-home .psd-news-item:hover .psd-news-item__thumb--placeholder,
main.psd-home .psd-news-item:focus-visible .psd-news-item__thumb--placeholder {
  border-color: rgba(227, 6, 19, .30) !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(227, 6, 19, .22), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f4f7fb 48%, #edf1f7 100%) !important;
}

main.psd-home .psd-hero,
main.psd-home .psd-hero-slider {
  height: min(calc(100vw * 5 / 12), calc(100svh - 80px)) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #020c16 !important;
}

main.psd-home .psd-hero-slider__track,
main.psd-home .psd-hero-slider__slide {
  height: 100% !important;
  min-height: 0 !important;
}

main.psd-home .psd-hero-slider__slide .psd-hero__link {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

main.psd-home .psd-hero-slider__slide picture {
  width: 100%;
}

main.psd-home .psd-hero-slider__slide img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 1024px) {
  main.psd-home .psd-hero,
  main.psd-home .psd-hero-slider {
    height: min(calc(100vw * 5 / 12), calc(100svh - 80px)) !important;
    min-height: 0 !important;
  }

}

@media (max-width: 620px) {
  main.psd-home .psd-hero,
  main.psd-home .psd-hero-slider {
    height: min(calc(100vw * 5 / 12), calc(100svh - 80px)) !important;
  }

  main.psd-home .psd-hero-slider__slide img {
    object-position: center center !important;
  }
}

main.psd-home .psd-feature-strip {
  margin-top: -50px !important;
  position: relative !important;
  z-index: 5 !important;
}

main.psd-home .psd-products > .psd-product-layout.psd-container .psd-product-poster img,
main.psd-home .psd-product-layout .psd-product-poster img,
main.psd-home .psd-product-poster img,
main.psd-home .psd-news-feature img,
main.psd-home .psd-news-item .psd-news-item__thumb img,
main.psd-home .psd-news-item .psd-news-placeholder {
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform .36s ease !important;
  will-change: transform;
}

main.psd-home .psd-news-item .psd-news-item__thumb {
  overflow: hidden !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform .36s ease !important;
  will-change: transform;
}

main.psd-home .psd-news-item .psd-news-item__thumb--placeholder::before {
  content: "" !important;
  position: absolute !important;
  inset: -40% -24% auto auto !important;
  width: 108px !important;
  height: 108px !important;
  border-radius: 50% !important;
  background: rgba(227, 6, 19, .08) !important;
  transition: transform .36s ease !important;
  transform-origin: center center !important;
}

main.psd-home .psd-brand img {
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform .36s ease !important;
  will-change: transform;
}

main.psd-home .psd-brand:hover img,
main.psd-home .psd-brand:focus-visible img,
main.psd-home .psd-products > .psd-product-layout.psd-container .psd-product-poster:hover img,
main.psd-home .psd-product-layout .psd-product-poster:hover img,
main.psd-home .psd-product-poster:hover img,
main.psd-home .psd-products > .psd-product-layout.psd-container .psd-product-poster:focus-visible img,
main.psd-home .psd-product-layout .psd-product-poster:focus-visible img,
main.psd-home .psd-product-poster:focus-visible img,
main.psd-home .psd-news-feature:hover img,
main.psd-home .psd-news-feature:focus-visible img,
main.psd-home .psd-news-item:hover .psd-news-item__thumb img,
main.psd-home .psd-news-item:focus-visible .psd-news-item__thumb img,
main.psd-home .psd-news-item:hover .psd-news-placeholder,
main.psd-home .psd-news-item:focus-visible .psd-news-placeholder,
main.psd-home .psd-news-item:hover .psd-news-item__thumb,
main.psd-home .psd-news-item:focus-visible .psd-news-item__thumb,
main.psd-home .psd-news-item:hover .psd-news-item__thumb--placeholder::before,
main.psd-home .psd-news-item:focus-visible .psd-news-item__thumb--placeholder::before {
  transform: scale(1.08) !important;
}
}
