@charset "utf-8";

/* 리뷰 슬라이드 섹션 */
.ls-review-story-section{
    width:100%;
    padding:72px 0 86px;
    background:#fff;
    box-sizing:border-box;
    overflow:hidden;
}

.ls-review-story-title-wrap{
    width:100%;
    max-width:1280px;
    margin:0 auto 84px;
    box-sizing:border-box;
}

.ls-review-story-title{
    margin:0;
    color:#000;
    font-size:42px;
    line-height:1.38;
    font-weight:900;
    letter-spacing:-1px;
    word-break:keep-all;
}

.ls-review-story-title strong{
    color:#0875ff;
    font-weight:900;
}

/* 슬라이더 */
.ls-review-story-slider{
    position:relative;
    width:100%;
    box-sizing:border-box;
}

.ls-review-story-viewport{
    width:100%;
    overflow:hidden;
    box-sizing:border-box;
}

.ls-review-story-track{
    display:flex;
    align-items:stretch;
    gap:24px;
    padding:0;
    margin:0;
    box-sizing:border-box;
    will-change:transform;

    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    touch-action:pan-y;
}

.ls-review-story-card{
    flex:0 0 588px;
    min-width:0;
    box-sizing:border-box;
}

.ls-review-story-link{
    display:block;
    width:100%;
    color:inherit;
    text-decoration:none !important;
    -webkit-tap-highlight-color:transparent;
}

.ls-review-story-thumb{
    position:relative;
    width:100%;
    height:360px;
    border-radius:14px;
    overflow:hidden;
    background:#111;
    box-sizing:border-box;
}

.ls-review-story-thumb:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.86) 0%,
        rgba(0,0,0,.66) 26%,
        rgba(0,0,0,.30) 56%,
        rgba(0,0,0,.04) 100%
    );
    pointer-events:none;
}

.ls-review-story-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:scale(1.001);
    transition:transform .42s ease;

    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}

.ls-review-story-link:hover .ls-review-story-thumb img{
    transform:scale(1.045);
}

.ls-review-story-content{
    position:absolute;
    left:40px;
    top:50%;
    z-index:2;
    width:50%;
    transform:translateY(-50%);
    box-sizing:border-box;
}

.ls-review-story-quote{
    margin:0;
    color:#fff;
    font-size:25px;
    line-height:1.38;
    font-weight:900;
    letter-spacing:-1.3px;
    word-break:keep-all;
    text-shadow:0 2px 10px rgba(0,0,0,.24);

    /* 리뷰 이미지 위 텍스트 최대 3줄 */
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:normal;
    max-height:calc(25px * 1.38 * 3);
}

.ls-review-story-name{
    margin:38px 0 0;
    color:rgba(255,255,255,.46);
    font-size:18px;
    line-height:1.35;
    font-weight:800;
    letter-spacing:-.7px;
    word-break:keep-all;
}

/* 도트 */
.ls-review-story-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-top:28px;
}

.ls-review-story-dot{
    display:block;
    width:12px;
    height:12px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#c3ccd5;
    cursor:pointer;
    transition:background .22s ease, transform .22s ease;
}

.ls-review-story-dot.is-active{
    background:#0875ff;
    transform:scale(1.08);
}

/* 등록된 리뷰 없을 때 */
.ls-review-story-empty{
    width:calc(100% - 40px);
    max-width:1216px;
    margin:0 auto;
    padding:56px 20px;
    border-radius:18px;
    background:#f7f9fc;
    color:#666;
    font-size:17px;
    font-weight:800;
    text-align:center;
    box-sizing:border-box;
}

/* PC 마우스 드래그 / 모바일 터치 슬라이드 */
.ls-review-story-section.is-dragging .ls-review-story-track,
.ls-review-story-section.is-dragging-ready .ls-review-story-track{
    cursor:grabbing;
}

/* 태블릿 */
@media (max-width: 1199px){
    .ls-review-story-section{
        padding:64px 0 76px;
    }

    .ls-review-story-title-wrap{
        max-width:100%;
        margin-bottom:56px;
        padding:0 28px;
    }

    .ls-review-story-title{
        font-size:38px;
    }

    .ls-review-story-track{
        gap:20px;
    }

    .ls-review-story-card{
        flex-basis:520px;
    }

    .ls-review-story-thumb{
        height:322px;
    }

    .ls-review-story-content{
        left:34px;
        width:52%;
    }

    .ls-review-story-quote{
        font-size:23px;
        max-height:calc(23px * 1.38 * 3);
    }

    .ls-review-story-name{
        margin-top:32px;
        font-size:17px;
    }
}

/* 모바일 */
@media (max-width: 767px){
    .ls-review-story-section{
        padding:32px 0 62px;
        overflow:hidden;
    }

    .ls-review-story-title-wrap{
        margin:0 0 48px;
        padding:0 20px;
    }

    .ls-review-story-title{
        font-size:27px;
        line-height:1.34;
        font-weight:900;
        letter-spacing:-1px;
    }

    .ls-review-story-slider{
        padding:0 10px;
        box-sizing:border-box;
    }

    .ls-review-story-viewport{
        overflow:hidden;
        border-radius:7px;
    }

    .ls-review-story-track{
        display:flex;
        align-items:stretch;
        gap:12px;
        padding:0;
        margin:0;
    }

    .ls-review-story-card{
        flex:0 0 calc(100vw - 20px);
        width:calc(100vw - 20px);
        min-width:0;
    }

    .ls-review-story-thumb{
        width:100%;
        height:auto;
        aspect-ratio:335 / 200;
        border-radius:7px;
    }

    .ls-review-story-thumb:before{
        background:linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.62) 35%,
            rgba(0,0,0,.22) 72%,
            rgba(0,0,0,.02) 100%
        );
    }

    .ls-review-story-content{
        left:25px;
        top:50%;
        width:56%;
        transform:translateY(-50%);
    }

    .ls-review-story-quote{
        font-size:18px;
        line-height:1.42;
        font-weight:900;
        letter-spacing:-.95px;
        max-height:calc(18px * 1.42 * 3);
    }

    .ls-review-story-name{
        margin-top:25px;
        color:rgba(255,255,255,.43);
        font-size:13px;
        line-height:1.35;
        font-weight:800;
        letter-spacing:-.55px;
    }

    .ls-review-story-dots{
        gap:8px;
        margin-top:18px;
    }

    .ls-review-story-dot{
        width:8px;
        height:8px;
    }

    .ls-review-story-empty{
        width:calc(100% - 20px);
        padding:42px 16px;
        border-radius:12px;
        font-size:15px;
    }
}

/* 아주 작은 모바일 */
@media (max-width: 360px){
    .ls-review-story-title-wrap{
        padding:0 17px;
        margin-bottom:42px;
    }

    .ls-review-story-title{
        font-size:25px;
        letter-spacing:-1.3px;
    }

    .ls-review-story-slider{
        padding:0 9px;
    }

    .ls-review-story-card{
        flex-basis:calc(100vw - 18px);
        width:calc(100vw - 18px);
    }

    .ls-review-story-content{
        left:22px;
        width:58%;
    }

    .ls-review-story-quote{
        font-size:17px;
        max-height:calc(17px * 1.42 * 3);
    }

    .ls-review-story-name{
        margin-top:20px;
        font-size:12.5px;
    }
}