/* =========================================
   기본 레이아웃
   ========================================= */
body {
    overflow-x: hidden;
    padding-top: 90px;
}

.text-letter {
    letter-spacing: 0.2px;
}

/* 회색바 스타일 */
.stitle {
    background: #f5f5f5 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 1px 0 !important;
    margin-bottom: 25px !important;
}

.stitle-view .inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* 배너 컨테이너 */
.swiper.mySwiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: transparent;
}

.swiper-wrapper {
    width: 100%;
}

.swiper-slide {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.swiper-slide::before, 
.swiper-slide::after,
.banner-overlay,
.swiper-slide .overlay { 
    display: none !important; 
    background: none !important; 
    opacity: 0 !important;
}

/* 배너 이미지 */
.banner_image_link,
.banner_image_link.no-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* 배너 텍스트 */
#bannerDisplayTitle {
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 20px 0 !important;
    word-break: keep-all !important;
    letter-spacing: -0.02em;
}

#bannerDisplaySub {
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    opacity: 0.95;
    word-break: keep-all !important;
}

/* READ MORE 버튼 */
.banner_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    min-width: 168px;
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: #55a51c; 
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    transition: all .25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 양옆 화살표 표시 */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    opacity: 0.7;
    z-index: 25;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

/* 하단 네비게이션 */
.bottom-nav-group {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 1;
}

.bottom-nav-group .bottom-arrow {
    width: 24px;
    height: 24px;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 2px;
}

.bottom-nav-group .bottom-arrow:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.bottom-nav-group .bottom-arrow:active {
    transform: scale(0.95);
}

.bottom-nav-group .bottom-arrow svg {
    pointer-events: none;
}

.bottom-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bottom-pagination .pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #cccccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bottom-pagination .pagination-bullet.active {
    background-color: #333333;
    transform: scale(1.3);
}

.bottom-pagination .pagination-bullet:hover {
    background-color: #666666;
    transform: scale(1.1);
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1125px) {
    .bottom-nav-group {
        right: 40px;
        bottom: 35px;
        padding: 8px 20px;
        min-width: 140px;
    }
    
    #bannerDisplayTitle {
        font-size: 2.5em !important;
        margin-bottom: 14px !important;
    }
    
    #bannerDisplaySub {
        font-size: 1.5em !important;
    }
}

@media (max-width: 1020px) {
    /* 모바일에서 양옆 화살표 숨김 */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .banner_img {
        min-height: 500px !important;
        object-fit: cover !important;
    }
    
    .bottom-nav-group {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: 30px !important;
        padding: 8px 18px;
        min-width: 130px;
        gap: 12px;
    }
    
    .bottom-nav-group .bottom-arrow {
        width: 20px;
        height: 20px;
    }
    
    .bottom-nav-group .bottom-arrow svg {
        width: 14px;
        height: 14px;
    }
    
    .bottom-pagination .pagination-bullet {
        width: 6px;
        height: 6px;
    }
    
    #bannerDisplayTitle {
        margin-bottom: 12px !important;
    }
    
    #bannerDisplaySub {
        line-height: 1.4 !important;
    }
}

@media (max-width: 890px) {
	body {
		padding-top: 70px;
	}
}

@media (max-width: 600px) {
    .banner_btn {
        margin-top: 25px;
        padding: 12px 32px;
    }

    .bottom-nav-group {
        bottom: 25px !important;
    }
    
    #bannerDisplayTitle {
        font-size: 2em !important;
        line-height: 1.3 !important;
    }
    
    #bannerDisplaySub {
        font-size: 1.5em !important;
    }
}

@media (max-width: 500px) {
    #bannerDisplayTitle {
        font-size: 1.5em !important;
        line-height: 1.3 !important;
    }
    
    #bannerDisplaySub {
        font-size: 1em !important;
    }
}

@media (max-width: 480px) {
	body {
		padding-top: 60px;
	}
}

/* 오버레이 제거 및 링크 방지 */
.mySwiper .swiper-slide::before,
.mySwiper .swiper-slide::after,
.mySwiper .banner_wrap::before,
.mySwiper .banner_wrap::after,
.mySwiper .banner-overlay,
.mySwiper .overlay {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
}

.mySwiper img,
.mySwiper .banner_img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.mySwiper .banner_image_link,
.mySwiper .banner_image_link.no-link {
    pointer-events: none !important;
    cursor: default !important;
}