/* ========================================
  공통 슬라이드
======================================== */


/* ----------------------------------------
   Slider 
======================================== */

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}



/* ----------------------------------------
   Track
======================================== */

.slider-track {
    display: flex;
    width: max-content;
    transition: transform 0.3s ease;
}


/* ----------------------------------------
   Slide
======================================== */

.slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.slide img {
    display: block;
    width: 100%;
    height: auto;
}



/* 폰트 박스 */

.slide .cont {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    padding: 32px 24px;

    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 6px;

    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;

}




/* 페이지 내비 1 */

.slider__nav {
    position: absolute;
    bottom: 32px;
    right: 24px;
}


.slider__count {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #FFF;
    font-size: 12px;

}

.slider__current {
    color: #fff;

}

.slider__total {
    color: #FFF;
}





/* 페이지 내비 2 */

.slider__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.slider__pagination button {
    display: block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.slider__pagination button.is-active {
    background: #111;
}