@charset "utf-8";

/* TOTAL_SW1 - 통이미지 스와이퍼 */

/* 외곽 컨테이너 */
.TOTAL_IMGBBS1_outer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(0.78vw + 7.5px), 15px);
}

/* 이미지 영역 */
.TOTAL_IMGBBS1_wrap {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    order: 1;
}

.TOTAL_IMGBBS1_swiper {
    width: 100%;
    padding: 0;
    margin: 0;
}

.TOTAL_IMGBBS1_swiper .swiper-wrapper {
    padding: 0;
    margin: 0;
}

.TOTAL_IMGBBS1_swiper .swiper-slide {
    position: relative;
    width: 100%;
    aspect-ratio: var(--thumb-ratio, 1 / 1.2);
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

/* 슬라이드 링크 */
.TOTAL_IMGBBS1_link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

/* 배경 이미지 */
.TOTAL_IMGBBS1_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 50px 20px 50px;
    overflow: hidden;
}

.TOTAL_IMGBBS1_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* ================================================
   컨트롤 영역 (CSS 변수로 위치/배치/표시 제어)
   --sw-ctrl-order: 0(상단) / 2(하단)
   --sw-ctrl-justify: flex-end(우측) / space-between(양쪽)
   --sw-prev-order: 0(기본) / -1(spread)
   --sw-dots-display: flex / none
   --sw-arrows-display: flex / none
   ================================================ */
.TOTAL_IMGBBS1_controls {
    margin-top: 5px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: var(--sw-ctrl-justify, flex-end);
    gap: 10px;
    height: 48px;
    order: var(--sw-ctrl-order, 0);
}

/* 네비게이션 화살표 */
.TOTAL_IMGBBS1_prev,
.TOTAL_IMGBBS1_next {
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: var(--sw-arrows-display, flex);
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.TOTAL_IMGBBS1_prev {
    order: var(--sw-prev-order, 0);
}

.TOTAL_IMGBBS1_prev:hover,
.TOTAL_IMGBBS1_next:hover {
    opacity: 0.6;
}

.TOTAL_IMGBBS1_prev:after,
.TOTAL_IMGBBS1_next:after {
    font-size: 40px;
    color: #555;
    font-weight: bold;
    font-family: unicons-line;
}

.TOTAL_IMGBBS1_prev:after {
    content: "\ec49";
}

.TOTAL_IMGBBS1_next:after {
    content: "\eb9f";
}

/* 페이지네이션 dots */
.TOTAL_IMGBBS1_pagination {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto !important;
    height: 48px;
    display: var(--sw-dots-display, flex);
    align-items: center;
    gap: 8px;
}

.TOTAL_IMGBBS1_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    margin: 0 !important;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.TOTAL_IMGBBS1_pagination .swiper-pagination-bullet-active {
    background: var(--main-color, #333);
}

/* ================================================
   페이징바 모드: [← →] [━━ progress ━━]
   ================================================ */
.TOTAL_IMGBBS1_paging_bar {
    display: flex;
    align-items: center;
    gap: 0;
    height: 48px;
    order: 2;
}

.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev,
.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev:hover,
.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next:hover {
    opacity: 0.6;
}

.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev:after,
.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next:after {
    font-size: 30px;
    color: #333;
    font-weight: bold;
    font-family: unicons-line;
}
.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev:after { content: "\ec49"; }
.TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next:after { content: "\eb9f"; }

.TOTAL_IMGBBS1_progress_wrap {
    flex: 1;
    height: 3px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.TOTAL_IMGBBS1_progress_fill {
    height: 100%;
    width: 0%;
    background: #333;
    border-radius: 2px;
    transition: width 0.3s ease;
}

@media only all and (max-width:767px) {
    .TOTAL_IMGBBS1_paging_bar {
        height: 40px;
    }
    .TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev,
    .TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next {
        width: 40px;
        height: 40px;
    }
    .TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_prev:after,
    .TOTAL_IMGBBS1_paging_bar .TOTAL_IMGBBS1_next:after {
        font-size: 24px;
    }
}

/* 빈 상태 */
.TOTAL_IMGBBS1_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    text-align: center;
    color: #fff;
    background: var(--item-color, #1976d2);
}

.TOTAL_IMGBBS1_empty_title {
    font-size: clamp(16px, calc(0.63vw + 14px), 20px);
    font-weight: 700;
    margin-bottom: 8px;
}

.TOTAL_IMGBBS1_empty_desc {
    font-size: clamp(12px, calc(0.23vw + 11.25px), 14px);
    opacity: 0.8;
}
