/* RiPro 首页大图增强 V1.4.3 */
.section.rizhuti_v2-widget-slideer-img.rhe-home-section,
.section.rizhuti_v2-widget-slider-img.rhe-home-section{
  position:relative!important;
  overflow:hidden!important;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  z-index:0!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-color:transparent!important;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer > .rhe-home-video,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer > .rhe-home-video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  border:0!important;
  background:transparent!important;
  pointer-events:none!important;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .container,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .container{
  position:relative!important;
  z-index:2!important;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-ai-shade,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-ai-shade{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  pointer-events:none!important;
  background:rgba(0,0,0,var(--rhe-overlay,.08))!important;
}

/* 首页展示型输入框：纯视觉元素，不包含任何交互 */
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input{
  position:absolute!important;
  z-index:5!important;
  width:min(570px,calc((100% - 40px)*.75))!important;
  height:51px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:16.5px!important;
  padding:0 10.5px 0 13.5px!important;
  border:var(--rhe-box-border-width,1.5px) solid var(--rhe-box-border,#b8b8b8)!important;
  border-radius:14.25px!important;
  background:var(--rhe-box-rgba,rgba(255,255,255,.72))!important;
  box-shadow:0 8px 30px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.55)!important;
  -webkit-backdrop-filter:blur(14px) saturate(140%)!important;
  backdrop-filter:blur(14px) saturate(140%)!important;
  color:var(--rhe-box-text,#8d8d8d)!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  transform:translate(-50%,-50%) translate(var(--rhe-offset-x,0),var(--rhe-offset-y,0))!important;
  font-family:inherit!important;
}
.rhe-display-plus{
  position:relative!important;
  flex:0 0 25.5px!important;
  width:25.5px!important;
  height:25.5px!important;
}
.rhe-display-plus:before,
.rhe-display-plus:after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:20.25px!important;
  height:2.25px!important;
  border-radius:3px!important;
  background:var(--rhe-plus-color,#555)!important;
  transform:translate(-50%,-50%)!important;
}
.rhe-display-plus:after{transform:translate(-50%,-50%) rotate(90deg)!important}
.rhe-display-placeholder{
  min-width:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  font-size:15.75px!important;
  line-height:1!important;
  font-weight:400!important;
  color:var(--rhe-box-text,#8d8d8d)!important;
}
.rhe-display-send{
  flex:0 0 37.5px!important;
  width:37.5px!important;
  height:37.5px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  background:var(--rhe-arrow-bg,#a7a7a7)!important;
  color:var(--rhe-arrow-color,#fff)!important;
  transform:scale(var(--rhe-arrow-scale,1))!important;
  transform-origin:center center!important;
}
.rhe-display-send svg{width:23.25px!important;height:23.25px!important;display:block!important}

/* 九宫格定位 */
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-left-top,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-left-top{left:12%!important;top:14%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-center-top,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-center-top{left:50%!important;top:14%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-right-top,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-right-top{left:88%!important;top:14%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-left-center,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-left-center{left:12%!important;top:50%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-center,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-center{left:50%!important;top:50%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-right-center,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-right-center{left:88%!important;top:50%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-left-bottom,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-left-bottom{left:12%!important;top:86%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-center-bottom,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-center-bottom{left:50%!important;top:86%!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input.rhe-pos-right-bottom,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input.rhe-pos-right-bottom{left:88%!important;top:86%!important}

.section.rizhuti_v2-widget-slideer-img.rhe-home-section.rhe-video-fallback > .rhe-home-video-layer,
.section.rizhuti_v2-widget-slider-img.rhe-home-section.rhe-video-fallback > .rhe-home-video-layer{background-size:cover!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section.rhe-video-fallback .rhe-home-video,
.section.rizhuti_v2-widget-slider-img.rhe-home-section.rhe-video-fallback .rhe-home-video{opacity:0!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section.rhe-no-mobile-video .rhe-home-video,
.section.rizhuti_v2-widget-slider-img.rhe-home-section.rhe-no-mobile-video .rhe-home-video{display:none!important}

/* iOS/Safari 兼容：媒体层默认不遮挡主题原有图片，视频失败时使用封面。 */
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer,
.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer{
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section.rhe-video-fallback > .rhe-home-video-layer,
.section.rizhuti_v2-widget-slider-img.rhe-home-section.rhe-video-fallback > .rhe-home-video-layer{
  background-color:transparent!important;
}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section.rhe-video-fallback .rhe-home-video,
.section.rizhuti_v2-widget-slider-img.rhe-home-section.rhe-video-fallback .rhe-home-video{
  opacity:0!important;
}
@supports (-webkit-touch-callout:none){
  .section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer,
  .section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer{
    background-color:transparent!important;
  }
  .section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer > .rhe-home-video,
  .section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer > .rhe-home-video{
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
  }
}


@media (min-width:769px){
.section.rizhuti_v2-widget-slideer-img.rhe-home-section,.section.rizhuti_v2-widget-slider-img.rhe-home-section{min-height:66.7vh!important}
}
@media (max-width:768px){
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-home-video-layer,.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-home-video-layer{display:none!important}
.section.rizhuti_v2-widget-slideer-img.rhe-home-section > .rhe-display-input,.section.rizhuti_v2-widget-slider-img.rhe-home-section > .rhe-display-input{width:calc((100% - 24px)*.75)!important;height:42px!important;gap:9px!important;padding:0 7.5px 0 9px!important;border-radius:12.75px!important}
.rhe-display-plus{flex-basis:22.5px!important;width:22.5px!important;height:22.5px!important}.rhe-display-plus:before,.rhe-display-plus:after{width:17.25px!important;height:1.9px!important}.rhe-display-placeholder{font-size:12px!important}.rhe-display-send{flex-basis:31.5px!important;width:31.5px!important;height:31.5px!important;transform:scale(calc(var(--rhe-arrow-size,31.5px) / 31.5))!important;transform-origin:center center!important}.rhe-display-send svg{width:20.25px!important;height:20.25px!important}
}
