@charset "utf-8";
/* ========================================
   box_sw1 - 둥근 박스 풀배너 스와이퍼
   moodu/index.html .median-N3 디자인 이식
   모든 선택자는 .box_sw1 (스킨 폴더명) 으로 스코핑
======================================== */

.box_sw1 {
    overflow: hidden;
    position: relative;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.box_sw1 .contents-inner {
    margin: 0 !important;
    padding: 0 !important;
}

.box_sw1 .slide-area {
    margin: 0 !important;
    padding: 0 !important;
}

.box_sw1 .blind {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.box_sw1 .contents-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: var(--boxsw1-h-pc, 700px);
    padding: 0 var(--boxsw1-padx, 6%);
    box-sizing: border-box;
}

.box_sw1 .contents-inner,
.box_sw1 .slide-area,
.box_sw1 .swiper {
    width: 100%;
    height: 100%;
}

.box_sw1 .swiper-slide {
    overflow: hidden;
    position: relative;
    height: 100%;
    border-radius: var(--boxsw1-radius, 32px);
}

.box_sw1 .swiper-slide .imageset {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.box_sw1 .swiper-slide .imageset::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: var(--boxsw1-overlay, 0.4);
    z-index: 1;
    background: #000;
    pointer-events: none;
}

.box_sw1 .swiper-slide .imageset-img,
.box_sw1 .swiper-slide .imageset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.box_sw1 .swiper-slide-active .imageset-img,
.box_sw1 .swiper-slide-active .imageset img {
    transform: scale(1.05);
}

.box_sw1 .swiper-slide .textset {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute !important;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 80px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.box_sw1 .swiper-slide .textset-wrap {
    max-width: calc(100% - 300px);
    pointer-events: auto;
}

.box_sw1 .swiper-slide .textset-subtit,
.box_sw1 .swiper-slide .textset-tit,
.box_sw1 .swiper-slide .textset-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    color: #fff;
    pointer-events: auto;
}

.box_sw1 .swiper-slide .textset-tit,
.box_sw1 .swiper-slide .textset-subtit {
    display: -webkit-box;
}

.box_sw1 .swiper-slide .textset-tit {
    transform: translateY(-50px);
    -webkit-line-clamp: 2;
    font-size: clamp(38px, calc(2.95vw + 28.5px), 76px);
    line-height: 1.26;
    font-weight: 700;
    margin: 0 0 40px;
}

.box_sw1 .swiper-slide .textset-subtit {
    -webkit-line-clamp: 4;
    margin: 0;
    transform: translateY(30px);
    font-size: clamp(20px, calc(0.62vw + 18px), 28px);
    font-weight: 600;
    line-height: 1.5;
}

.box_sw1 .swiper-slide .textset-desc {
    -webkit-line-clamp: 5;
    transform: translateY(20px);
    margin: 12px 0 0;
    font-size: clamp(14px, calc(0.16vw + 13.5px), 16px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* 우하단 컨트롤 영역 */
.box_sw1 .swiper-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 80px;
    right: 100px;
    z-index: 3;
}

.box_sw1 .paging {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.box_sw1 .paging .curr,
.box_sw1 .paging .total {
    display: inline-block;
    min-width: 18px;
    text-align: center;
}

.box_sw1 .paging .curr {
    font-weight: 700;
    color: #fff;
}

.box_sw1 .paging .total {
    color: #d4cac1;
}

/* progressbar 컨테이너 */
.box_sw1 .paging .swiper-pagination,
.box_sw1 .paging .swiper-pagination-progressbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: 2px;
    width: 100px;
    background: #878787;
    overflow: hidden;
    flex-shrink: 0;
}

/* progressbar 채움 — Swiper가 transform: scaleX()로 채움 */
.box_sw1 .paging .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: left top;
}

.box_sw1 .btn-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.box_sw1 .swiper-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.box_sw1 .swiper-control button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #fff;
}

.box_sw1 .swiper-progress {
    position: relative;
    width: 28px;
    height: 28px;
}

.box_sw1 .swiper-progress button {
    display: none;
    position: absolute;
    inset: 0;
}

.box_sw1 .swiper-progress button.active {
    display: inline-flex;
}

/* 인라인 편집 시 호버 가시성 */
.box_sw1 .wg_edit_txt:hover,
.box_sw1 .wg_edit_img:hover {
    outline: 2px dashed rgba(0, 200, 150, 0.7);
    outline-offset: 2px;
}

/* 반응형 */
@media (max-width: 992px) {
    .box_sw1 {
        padding-top: 0;
    }
    .box_sw1 .contents-container {
        height: var(--boxsw1-h-mo, 600px);
        padding: 0 24px;
    }
    .box_sw1 .swiper-slide {
        border-radius: var(--boxsw1-radius-mo, 24px);
    }
    .box_sw1 .swiper-slide .textset {
        padding: 30px 24px 82px;
    }
    .box_sw1 .swiper-slide .textset-tit {
        -webkit-line-clamp: 3;
        font-size: 32px;
        line-height: 1.5;
        margin: 0 0 24px;
    }
    .box_sw1 .swiper-slide .textset-subtit {
        -webkit-line-clamp: 3;
    }
    .box_sw1 .swiper-slide .textset-wrap {
        max-width: 100%;
    }
    .box_sw1 .swiper-control {
        justify-content: flex-start;
        inset: auto 0 30px;
        right: auto;
        bottom: 30px;
        padding: 0 48px;
    }
    .box_sw1 .paging {
        gap: 4px;
    }
    .box_sw1 .paging span {
        flex: 0 0 21px;
    }
    .box_sw1 .paging .swiper-pagination,
    .box_sw1 .paging .swiper-pagination-progressbar {
        width: 80px;
    }
    .box_sw1 .swiper-control button {
        width: 24px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .box_sw1 .contents-container {
        height: 480px;
    }
    .box_sw1 .swiper-slide .textset {
        padding: 24px 20px 70px;
    }
    .box_sw1 .swiper-slide .textset-tit {
        font-size: 26px;
    }
    .box_sw1 .swiper-slide .textset-subtit {
        font-size: 16px;
    }
    .box_sw1 .swiper-slide .textset-desc {
        font-size: 13px;
    }
    .box_sw1 .swiper-control {
        padding: 0 20px;
    }
}
