/* Swiper 커스텀 스타일 */

/* 비주얼 슬라이더 */
#visual .area {
    position: relative;
    padding-bottom: 19px; /* POPUP ZONE과 동일 */
}

#visual .swiper {
    position: relative;
    width: 100%;
    height: 325px; /* 정확한 높이 */
    border: 2px solid #ddd; /* POPUP ZONE과 동일한 테두리 */
    box-sizing: border-box;
    border-radius: 25px; /* POPUP ZONE과 동일한 라운드 */
    overflow: hidden;
}

#visual .swiper-slide {
    width: 100%;
}

#visual .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visual 컨트롤 - global.css의 .vis_zone .cont 스타일이 적용됨 */

/* 관련 배너 슬라이더 */
#rel .swiper {
    padding: 0 50px;
}

/* 2025-10-05: 이미지 크기 통일 및 수직 중앙 정렬 - 반응형 */
#rel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important; /* Swiper 자동 너비 계산 무시 */
}

#rel .swiper-slide img {
    width: auto !important;
    height: 70px;
    max-width: none !important; /* 너비 제약 제거 */
    border: 1px solid #ddd; /* 2025-11-02: 배너 이미지 테두리 1px로 통일 */
}

/* 태블릿 */
@media (max-width: 1024px) {
    #rel .swiper-slide img {
        height: 65px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    #rel .swiper-slide img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    #rel .swiper-slide img {
        height: 50px;
    }
}

/* POPUP ZONE 슬라이더 */
#gerrelly {
    /* 그리드는 기본값 유지 - global.css에서 처리 */
}

#gerrelly .area {
    position: relative;
    padding-bottom: 19px; /* Visual과 동일 */
}

#gerrelly .popupSwiper {
    height: 325px; /* Visual과 동일한 높이 */
    border: 2px solid #ddd; /* Visual과 동일한 테두리 */
    box-sizing: border-box;
    border-radius: 25px; /* Visual과 동일한 라운드 */
    overflow: hidden;
    background: #f5f5f5;
}

#gerrelly .swiper-wrapper {
    width: 100%;
    height: 100%;
}

#gerrelly .swiper-slide {
    width: 100%;
    height: 100%;
}

#gerrelly .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

#gerrelly .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}

/* 반응형 */
@media (max-width: 1024px) {
    #gerrelly .popupSwiper {
        height: 325px; /* 높이 유지 */
    }
}

@media (max-width: 768px) {
    #visual .swiper {
        height: 250px;
    }

    #gerrelly .popupSwiper {
        height: 250px;
        border-radius: 12px;
    }

    #visual .swiper-button-prev,
    #visual .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    #visual .swiper-button-prev i,
    #visual .swiper-button-next i {
        font-size: 20px;
        line-height: 40px;
    }
}