.slider-section {
    margin: 0;
    padding: 0;
    line-height: 0;
    background: transparent;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    line-height: 0;
    background: transparent;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    line-height: 0;
}

.slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
    height: auto;
}

.slide a {
    display: block;
    line-height: 0;
}

.slide img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: top;
}

.controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
    line-height: normal;
}

.controls .prev,
.controls .next {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-indent: 0;
    font-size: 0;
    color: transparent;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 4px 14px rgba(15, 23, 32, .16);
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.controls .prev:hover,
.controls .next:hover {
    background: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(15, 23, 32, .22);
}

/* 隐藏旧结构里的空箭头层，改用伪元素画箭头 */
.controls .arrow {
    display: none !important;
}

.controls .prev::before,
.controls .next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #222;
    border-right: 2px solid #222;
    box-sizing: border-box;
}

.controls .prev::before {
    margin-left: 3px;
    transform: rotate(-135deg);
}

.controls .next::before {
    margin-right: 3px;
    transform: rotate(45deg);
}

@media (max-width: 767px) {
    .controls {
        padding: 0 8px;
    }

    .controls .prev,
    .controls .next {
        width: 34px;
        height: 34px;
    }

    .controls .prev::before,
    .controls .next::before {
        width: 8px;
        height: 8px;
    }
}
