/* hrzm.com.cn 首页 Banner 轮播样式（替代 Flash lanren.swf）| 2026-11-19 */
/* PC：固定 536x200，与原 Flash 尺寸一致；手机：宽度铺满，等比缩放 */

/* --- PC 容器 --- */
#hrzmBanner{width:536px;height:200px;margin:0 auto;line-height:0;}
.hb-wrap{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;line-height:0;}
.hb-stage{position:relative;width:100%;height:100%;}
.hb-slide{position:absolute;left:0;top:0;width:100%;height:100%;display:none;}
.hb-slide.hb-on{display:block;}
.hb-slide a{display:block;width:100%;height:100%;}
.hb-slide img{display:block;width:100%;height:100%;border:0;}

/* 左右箭头 */
.hb-arrow{position:absolute;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);z-index:5;
  width:28px;height:46px;line-height:44px;text-align:center;font-size:34px;font-family:Arial,sans-serif;
  color:#fff;background:rgba(0,0,0,.35);text-decoration:none;border-radius:4px;opacity:0;transition:opacity .2s;}
.hb-wrap:hover .hb-arrow{opacity:1;}
.hb-prev{left:0;}
.hb-next{right:0;}
.hb-arrow:hover{background:rgba(0,0,0,.6);}

/* 圆点指示器 */
.hb-dots{position:absolute;left:0;right:0;bottom:6px;z-index:5;text-align:center;line-height:0;}
.hb-dot{display:inline-block;width:9px;height:9px;margin:0 3px;border-radius:50%;
  background:#fff;opacity:.55;box-shadow:0 0 2px rgba(0,0,0,.5);}
.hb-dot-on{background:#1568b0;opacity:1;}

/* ===== 手机端：宽度铺满屏幕，等比缩放（比例 536:200 ≈ 2.68） ===== */
@media screen and (max-width:768px){
  #hrzmBanner,.m-banner{width:100%!important;height:auto!important;margin:0!important;padding:0!important;line-height:0!important;}
  .m-banner{overflow:hidden!important;}
  .hb-wrap,.hb-stage,.hb-slide{width:100%!important;}
  .hb-stage{height:auto!important;padding-bottom:37.3%!important;}
  .hb-slide{height:100%!important;}
  .hb-slide img{width:100%!important;height:100%!important;border:0!important;}
  .hb-arrow{width:30px!important;height:44px!important;line-height:42px!important;font-size:30px!important;opacity:1!important;}
  .hb-dot{width:10px!important;height:10px!important;}
}
