/**
 * 메인 배너 슬라이더 - 프론트엔드 스타일
 */

.mbs-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mbs-swiper {
    width: 100%;
    overflow: visible;
    position: relative;
}

.mbs-swiper .swiper-wrapper {
    align-items: stretch;
}

.mbs-swiper .swiper-slide {
    border-radius: 16px;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.mbs-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.mbs-swiper .swiper-slide a {
    display: block;
}

/* 비활성 슬라이드 */
.mbs-swiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.4;
}

.mbs-swiper .swiper-slide-active {
    opacity: 1;
}

/* 컨트롤 - 우측 하단 */
.mbs-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 50px;
}

/* 재생/일시정지 버튼 */
.mbs-controls .mbs-play-pause {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.mbs-controls .mbs-play-pause:hover,
.mbs-controls .mbs-play-pause:focus,
.mbs-controls .mbs-play-pause:active {
    opacity: 0.7 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
}

.mbs-controls .mbs-pause-icon,
.mbs-controls .mbs-play-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #fff !important;
}

/* 페이지 번호 */
.mbs-controls .mbs-fraction {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-width: 40px !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mbs-controls .mbs-current {
    font-weight: 700 !important;
}

.mbs-controls .mbs-total {
    opacity: 0.7 !important;
}

/* 이전/다음 버튼 */
.mbs-controls .mbs-prev,
.mbs-controls .mbs-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.mbs-controls .mbs-prev:hover,
.mbs-controls .mbs-prev:focus,
.mbs-controls .mbs-prev:active,
.mbs-controls .mbs-next:hover,
.mbs-controls .mbs-next:focus,
.mbs-controls .mbs-next:active {
    background: rgba(255, 255, 255, 0.35) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
}

.mbs-prev svg,
.mbs-next svg {
    width: 16px;
    height: 16px;
}

/* 반응형 */
@media (max-width: 768px) {
    .mbs-controls {
        bottom: 12px !important;
        right: 12px !important;
        padding: 6px 10px !important;
        gap: 6px !important;
    }
    
    .mbs-controls .mbs-play-pause {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }
    
    .mbs-controls .mbs-fraction {
        font-size: 12px !important;
        min-width: 32px !important;
    }
    
    .mbs-controls .mbs-prev,
    .mbs-controls .mbs-next {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }
    
    .mbs-controls .mbs-prev svg,
    .mbs-controls .mbs-next svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .mbs-swiper .swiper-slide {
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .mbs-controls {
        bottom: 8px;
        right: 8px;
        padding: 5px 8px;
        gap: 4px;
    }
    
    .mbs-swiper .swiper-slide {
        border-radius: 8px;
    }
}
