/* hrzm.com.cn homepage top slideshow | 2026-11-20 d
   Ported switch effects from feiyiweb hero: slice / blinds / blocks / zoom.
   Added clickable dots, hidden until first image loaded, hard absolute positioning. */
.hts{width:1003px;max-width:100%;margin:0 auto;position:relative;overflow:hidden;background:#fff;line-height:0;visibility:hidden;}
.hts.hts-ready{visibility:visible;}
.hts-stage{position:relative;width:100%;overflow:hidden;aspect-ratio:1200/404;}
.hts-slide{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:0;pointer-events:none;}
.hts-slide.hts-on{opacity:1;z-index:1;pointer-events:auto;}
.hts-base{opacity:1;}
.hts-slide a{position:absolute;left:0;top:0;display:block;width:100%;height:100%;line-height:0;}
.hts-slide img{position:absolute;left:0;top:0;display:block;width:100%;height:100%;object-fit:cover;border:0;}

/* 底部圆点：黄色为当前图，灰色可点击直接切换 */
.hts-dots{position:absolute;left:0;right:0;bottom:8px;z-index:5;text-align:center;line-height:1;font-size:0;}
.hts-dot{display:inline-block;vertical-align:middle;width:10px;height:10px;margin:0 5px;padding:0;
  border:0;border-radius:50%;background:rgba(255,255,255,.55);
  box-shadow:0 0 0 1px rgba(0,0,0,.18);cursor:pointer;
  -webkit-appearance:none;appearance:none;
  -webkit-tap-highlight-color:transparent;}
.hts-dot.hts-dot-on{width:18px;height:8px;border-radius:5px;background:#d8a84b;box-shadow:0 0 0 1px rgba(0,0,0,.15);}

.hts-cells{position:absolute;left:0;top:0;right:0;bottom:0;z-index:3;pointer-events:none;overflow:hidden;}
.hts-cells .c{position:absolute;background-repeat:no-repeat;
  -webkit-clip-path:var(--from,inset(0 100% 0 0));clip-path:var(--from,inset(0 100% 0 0));
  -webkit-transition:-webkit-clip-path .7s cubic-bezier(.76,0,.24,1);transition:clip-path .7s cubic-bezier(.76,0,.24,1);
  will-change:clip-path;}
.hts-cells .c.in{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0);}
.hts-cells.zoom .c{-webkit-clip-path:none;clip-path:none;opacity:0;transform:scale(1.14);
  -webkit-transition:opacity .9s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);transition:opacity .9s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);}
.hts-cells.zoom .c.in{opacity:1;transform:scale(1);}

@media screen and (max-width:768px){
  .m-topslider{visibility:hidden;}
  .m-topslider.hts-ready,.m-topslider.hts-ready .hts{visibility:visible!important;}
  .m-topslider,.m-topslider .hts{width:100%!important;max-width:100%!important;margin:0 0 20px!important;}

  /* 覆盖 mobile.css 的 img{height:auto!important}；
     所有图层/链接/图片全部绝对贴到舞台上，第二张以后也不会掉到页面顶部 */
  .m-topslider .hts-slide,
  .m-topslider .hts-slide a,
  .m-topslider .hts-slide img,
  #hrzmTopSlider .hts-slide,
  #hrzmTopSlider .hts-slide a,
  #hrzmTopSlider .hts-slide img{
    position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;
    display:block!important;margin:0!important;padding:0!important;
    width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
    object-fit:cover!important;object-position:center center!important;
  }
  .m-topslider .hts-dots,#hrzmTopSlider .hts-dots{bottom:6px!important;}
  .m-topslider .hts-dot,#hrzmTopSlider .hts-dot{width:9px!important;height:9px!important;margin:0 4px!important;}
  .m-topslider .hts-dot.hts-dot-on,#hrzmTopSlider .hts-dot.hts-dot-on{width:16px!important;height:8px!important;}
}
