/*! 首页顶部轮播（后台「复刻站点 → 轮播」维护） */

.cms-hero { width: 100%; background: #06182e; }

.bn {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    background: #06182e;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.bn__slides { position: absolute; inset: 0; }

.bn__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.bn__slide.is-active { opacity: 1; }

.bn__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border: 0;
}

.bn__link { position: absolute; inset: 0; z-index: 2; }

/* 文字层：与卡片配套的居中排版 */
.bn__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
    color: #fff;
    pointer-events: none;
}
.bn__title {
    margin: 0 0 18px;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}
.bn__desc {
    max-width: 780px;
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.bn__btn {
    pointer-events: auto;
    display: inline-block;
    padding: 10px 34px;
    border: 1px solid rgba(255, 255, 255, .72);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.bn__btn:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

/* 左右箭头 */
.bn__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 68px;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .8);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.bn__arrow:hover { background: rgba(0, 0, 0, .38); color: #fff; }
.bn__arrow--prev { left: 0; }
.bn__arrow--next { right: 0; }

/* 圆点 */
.bn__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 3;
    text-align: center;
}
.bn__dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.bn__dot.is-active { background: #fff; transform: scale(1.15); }

/* ---------------------------------------------------------------- 断点 */
@media (min-width: 768px) {
    .bn__title { font-size: 38px; }

    /* PC：轮播宽屏满幅，向左右两侧延伸
       原站正文容器 #smv_Main 是 1200px 定宽居中，这里用 100vw + 负外边距挣脱，
       只影响轮播自身，不动页面其它版式。 */
    .cms-hero {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

/* 宽屏下 100vw 会包含滚动条宽度，屏蔽横向滚动避免出现几像素的溢出条 */
@media (min-width: 1200px) {
    html, body { overflow-x: hidden; }
}

@media (max-width: 767px) {
    .bn__title { font-size: 22px; letter-spacing: .06em; margin-bottom: 10px; }
    .bn__desc {
        font-size: 12px;
        line-height: 1.8;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bn__btn { padding: 7px 20px; font-size: 13px; }
    .bn__arrow { width: 30px; height: 46px; font-size: 20px; }
    .bn__dot { width: 8px; height: 8px; margin: 0 4px; }
    .bn__dots { bottom: 10px; }
}
