

.steps-slider {
    background: #f9f9f9;
    box-shadow: 0 2px 13px 0 rgba(0, 0, 0, .25);
    border-radius: 20px;
    padding: 40px;
    margin-top: 20px;
}

.steps-slider .content-wrap {
    display: flex;
    align-items: flex-start;
}

.steps-slider .slid {
    width: 360px;
    flex: 0 0 360px;
}

.steps-slider .demoimg {
    position: relative;
    width: 100%;
    height: 436px;
}

.steps-slider .demoimg .swiper-container {
    height: 436px;
    width: 100%;
    overflow: hidden;
}

.steps-slider .demoimg .swiper-slide {
    height: 436px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-slider .demoimg .swiper-slide img {
    max-height: 436px;
    max-width: 100%;
    width: auto;
}

.steps-slider .swiper-button-next,
.steps-slider .swiper-button-prev {
    color: #ff5700;
    transform: scale(1.2);
}

.steps-slider .swiper-button-prev { left: -5px; }
.steps-slider .swiper-button-next { right: -5px; }

.steps-slider .right-content {
    flex: 1;
    margin-left: 2%;
}

.steps-slider .steps {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 16px;
}


.steps-slider .steps li {
    list-style-type: none;
    opacity: .4;
    transition: all .3s;
    padding: 5px 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    width: 100%;
    padding-top: 15px;
}

.steps-slider .steps li .bignum {
    position: relative;
    top: 0;
    font-weight: 700;
    padding-right: 10px;
    color: #333;
    flex: 0 0 30px;
    width: 30px;
    margin-right: 8px;
    transition: all .3s;
}

.steps-slider .steps li.currentStep {
    width: 100%;
    padding: 10px 0 20px;
    opacity: 1;
    border-top: 1px solid #ababab;
    border-bottom: 1px solid #ababab;
    margin: 15px 0;
}

.steps-slider .steps li.currentStep .bignum {
    font-size: 30px;
    color: #ff5700;
    flex: 0 0 40px;
    width: 40px;
    top: 3px;
    margin-right: 10px;
}

/* 非當前步：收成一行（本頁文字長、步驟多）*/
.steps-slider .steps li .full {
    display: -webkit-box;
    flex: 1 1 auto;
    width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.steps-slider .steps li.currentStep .full {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.steps-slider-section {
    background-color: #fff;
    padding-top: 3em;
    padding-bottom: 3em;
}

@media (max-width: 1024px) {
    .steps-slider-section {
        background-color: transparent;
        padding-top: 0;
        padding-bottom: 0;
    }

    .steps-slider { padding: 20px; }

    .steps-slider .content-wrap { flex-direction: column; align-items: stretch; }

    .steps-slider .slid { width: 100%; flex: 1 1 auto; }

    .steps-slider .right-content { margin-left: 0; margin-top: 20px; width: 100%; flex: 0 0 auto; }

    .steps-slider .steps { width: 100%; }

    .steps-slider .steps li { display: none; }

    .steps-slider .steps li.currentStep {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 10px 0;
    }
}
