/* 轮播图样式 */
/* 确保基础布局 */
.carousel-container {
    /*width: 1440px;*/
    /*margin-right: auto;*/
    /*margin-left: auto;*/
    width: 100%;
    position: relative;
    overflow: hidden;
    height: auto;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    padding: 0;
    outline: none;
    transition-duration: 0ms;
    opacity: 1;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    max-width: 2550px;
    min-width: 303px;
    width: 100%;
    position: relative;
    height: 100%;
    display: flex;
    animation: run 10s ease infinite;
}

.carousel-item img {
    width: 100%;
    display: block;
    transition: opacity .2s;
    visibility: visible;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    vertical-align: middle;
    border: 0 none;
    max-width: 100%;
    height: 630px;
    float: left;
    object-fit: cover;
}

.carousel-nav {
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    left: 0;
}
.isShow{display: none}
.nav-line {
    width: 180px;
    height: 4px;
    /*background-color: rgba(255, 255, 255, 0.5);*/
    cursor: pointer;
    transition: all 0.3s ease;
    left: 530px;
    top: 652px;

    opacity: 1;
    background: rgba(255,255,255,1);
}

.nav-line.active {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    /*transform: scaleX(1.2);*/
}


@media (max-width: 768px) {
    .nav-line {
        width: 30px;
        height: 2px;
    }
    .carousel-item img {
        max-height: 300px;
    }
    .carousel-item {
        width: 100%;
        position: relative;
        height: 100%;
        display: flex;
        animation: run 10s ease infinite;
    }
}
