/* ============================================================
   HomeBan 首页轮播 —— 英文版专用样式
   与中文模板同源（结构 .HomeBan + slick），但：
   1) 不引入 common.css / bindex.css / min.css，避免 html{font-size:5.20vw}
      和 body{font-family:Microsoft YaHei} 破坏英文版原有 px 版式；
   2) 单位统一用 px / clamp，不依赖 rem 根字号；
   3) 所有规则限定在 .HomeBan / .secInfo 内部，不外溢。
   ============================================================ */

/* ---------- 容器 ---------- */
.HomeBan { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.HomeBan .slider { list-style: none; margin: 0; padding: 0; }
.HomeBan .item { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }

/* 视频层：铺满、等比裁切、居中 */
.HomeBan video {
    position: absolute; left: 0; top: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center center;
    z-index: 10;
}

/* 图片层（视频未加载时的封面 / 纯图片 slide） */
.HomeBan .imgbox { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.HomeBan .imgbox span {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ---------- 文字层：水平垂直居中 ---------- */
.HomeBan .secInfo {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 90%; max-width: 1100px;
    margin: 0; text-align: center;
    color: #fff;
}
.HomeBan .secInfo .ti {
    margin: 0 0 12px;
    font-weight: normal;
    font-size: clamp(28px, 3.2vw, 52px);
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.HomeBan .secInfo .desc {
    margin: 0 0 34px;
    font-weight: normal;
    font-size: clamp(14px, 1.45vw, 24px);
    line-height: 1.7;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* ---------- 按钮 ---------- */
.HomeBan .secInfo .btnam {
    position: relative;
    display: inline-block;
    min-width: 180px;
    padding: 0 28px;
    line-height: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s;
}
.HomeBan .secInfo .btnam em {
    position: relative; z-index: 1;
    display: inline-block;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0.05em;
}
.HomeBan .secInfo .btnam:after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 0;
    background: #5bbf21;
    transition: all 0.3s;
}
.HomeBan .secInfo .btnam:hover { border-color: #5bbf21; color: #fff; }
.HomeBan .secInfo .btnam:hover:after { height: 100%; }

/* ---------- 文字入场动画（复用 animate.css 的 fadeInUp） ---------- */
.HomeBan .slick-slide.slick-active .secInfo .ti   { animation: fadeInUp 1s 0.2s ease both; }
.HomeBan .slick-slide.slick-active .secInfo .desc { animation: fadeInUp 1s 0.4s ease both; }
.HomeBan .slick-slide.slick-active .secInfo .btnam{ animation: fadeInUp 1s 0.6s ease both; }

/* ---------- 左右箭头 ---------- */
.HomeBan .slick-arrow {
    position: absolute; top: 50%;
    margin-top: -28px;
    width: 56px; height: 56px;
    border: 0; border-radius: 50%;
    background: rgba(33, 30, 28, 0.75);
    z-index: 12;
    cursor: pointer;
    opacity: 0;
    transition: all 0.35s;
    font-size: 0;
}
.HomeBan .slick-arrow:after {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 12px; height: 12px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
}
.HomeBan .slick-prev { left: 2%; }
.HomeBan .slick-prev:after { transform: translate(-30%, -50%) rotate(-45deg); }
.HomeBan .slick-next { right: 2%; }
.HomeBan .slick-next:after { transform: translate(-70%, -50%) rotate(135deg); }
.HomeBan:hover .slick-arrow { opacity: 1; }
.HomeBan .slick-arrow:hover { background: #5bbf21; }

/* ---------- 底部圆点 ---------- */
.HomeBan .slick-dots {
    position: absolute; left: 0; bottom: 32px;
    width: 100%; margin: 0; padding: 0;
    list-style: none; text-align: center;
    z-index: 12;
}
.HomeBan .slick-dots li { display: inline-block; margin: 0 9px; vertical-align: middle; }
.HomeBan .slick-dots li button {
    display: block; width: 12px; height: 12px;
    padding: 0; font-size: 0; cursor: pointer;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: all 0.3s;
}
.HomeBan .slick-dots li.slick-active button { background: #fff; }

/* ---------- 右下 Scroll 提示 ---------- */
.HomeBan .banner_jt_tb {
    position: absolute; right: 20%; bottom: 26px;
    z-index: 12;
}
.HomeBan .banner_jt_tb a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.HomeBan .banner_jt_tb img { width: 18px; height: auto; vertical-align: middle; }
.HomeBan .banner_jt_tb span { padding-left: 10px; font-size: 14px; letter-spacing: 0.1em; }
