/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

.main_mb17 {
    padding: 0 50px 50px;
}

.main_mb17 .main_cont_container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    overflow: hidden;
	height:100%;
}

/* 메인슬라이드 */
.main_mb17 .right_banner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.main_mb17 .swiper.main_swiper {
    position: relative;
}

/* 슬라이드 공통 */
/* 스와이프 */
.main_mb17 .swiper {
    /* widget-wrap before보다 위로 올라오게 결정 */
    z-index: 2;
    height: 100%;
}

.main_mb17 .swiper-wrapper {
    height: 100%;
}

.main_mb17 .swiper-slide {
    position: relative;
    z-index: 1;
}

.main_mb17 .swiper-slide.swiper-slide-active {
    /* 슬라이드 fade 중첩 효과 이슈로 active 순서 필요 */
    z-index: 2;
}

/* 스와이프 이미지 */
.main_mb17 .img_container {
    width: 100%;
    height: 100%;
    position: relative;
}

.main_mb17 .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 메인스와이프 동영상 */
.main_mb17 .main_swiper .iframe_container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.main_mb17 .main_swiper .iframe_container .iframe_container_inner {
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mb17 .main_swiper .iframe_container iframe {
    position: absolute;
    left: 0;
    top: -60px;
    width: 100%;
    height: calc(100% + 120px);
    object-fit: cover;
}

/* 메인스와이프 동영상 요소이미지 */
.main_mb17 .main_swiper .iframe_container .itemSubVideoImg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mb17 .main_swiper .iframe_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    cursor: grab; /* 메인스와이프 UI 힌트를 제공 */
}

/* 메인스와이프 정보 */
.main_mb17 .main_swiper .swiper_info_container {
    width: 100%;
    position: absolute;
    bottom: 50px;
    left: 47px;
    z-index: 2;
    padding: 0 20px 0 0;
    text-align: left;
}

/* 메인스와이프 요소이미지 */
.main_mb17 .main_swiper .swiper_info_container .itemSubImg {
    width: auto;
    margin: 0 auto 30px 0;
}

/* 메인스와이프 아이브로우 */
.main_mb17 .main_swiper .swiper_eyebrow {
    margin-bottom: 12px;
}

.main_mb17 .main_swiper .swiper_eyebrow p {
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
}

/* 메인스와이프 타이틀 */
.main_mb17 .main_swiper .swiper_title {
    margin-bottom: 30px;
}

.main_mb17 .main_swiper .swiper_title h2 {
    font-size: 50px;
    font-weight: bold;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
	line-height:60px;
}

.main_mb17 .main_swiper .swiper_title h2 span {
    color: var(--main-btn-font-point-color);
}

/* 메인스와이프 서브타이틀 */
.main_mb17 .main_swiper .swiper_subtitle {
    margin-bottom: 35px;
}

.main_mb17 .main_swiper .swiper_subtitle h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
    line-height: 32px;
}

/* 메인스와이프 더보기 — 버튼별 스타일은 하단 .btn_more1/.btn_more2 규칙으로 처리 */
.main_mb17 .main_swiper .swiper_more {
    display: inline-block;
    margin-bottom: 0px;
}

/* 서브스와이프 정보 */
.main_mb17 .sub_swiper .swiper_info_container {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 0 20px 46px 50px;
    text-align: left;
}

/* 서브스와이프 타이틀 */
.main_mb17 .sub_swiper .swiper_title {
    margin-bottom: 0px;
}

.main_mb17 .sub_swiper .swiper_title h2 {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    display: inline-block;
    width: auto;
}

.main_mb17 .sub_swiper .swiper_title h2 span {
    font-size: 23px;
	display:inline-block;
	margin-left: 7px;
}

/* 서브스와이프 카테고리 */
.main_mb17 .sub_swiper .swiper_category {
    margin-bottom: 8px;
}

.main_mb17 .sub_swiper .swiper_category h4 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    width: auto;
}


/* 스와이프 페이지네이션 */
/* 메인 페이지네이션 */
.main_mb17 .swiper_btn_container.main_swiper_btn {
    position: absolute;
    bottom: 50px;
    right: 450px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_mb17 .main_swiper_btn .swiper-pagination-bullets {
    position: static;
}

.main_mb17 .main_swiper_btn .swiper-pagination-bullet {
    width: 48px;
    height: 2px;
    margin: 0 !important;
    background: rgba(255,255,255,0.4);
    border: none;
    border-radius: 0px;
    position: relative;
    opacity: 1;
}

.main_mb17 .main_swiper_btn .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 1s linear;
}

.main_mb17 .main_swiper_btn .swiper-pagination-bullet-active::before {
    width: 100%;
}

/* 서브 페이지네이션 */
.main_mb17 .swiper_btn_container.sub_swiper_btn {
    position: absolute;
    top: 40px;
    right: 44px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    padding: 5px 13px;
}

.main_mb17 .sub_swiper_btn .swiper-pagination-fraction {
    position: static;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
	letter-spacing: 0.5px;
}

/* 스와이프 네비게이션 */
/* 메인 네비게이션 */
.main_mb17 .main_swiper_btn .swiper_arr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_mb17 .main_swiper_btn .swiper-button-next,
.main_mb17 .main_swiper_btn .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    margin: 0;
    margin-left: 25px;
}

.main_mb17 .main_swiper_btn .swiper-button-next:after,
.main_mb17 .main_swiper_btn .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

/* 공지사항 네비게이션 */
.main_mb17 .board_category_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main_mb17 .board_swiper_btn .swiper_arr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_mb17 .board_swiper_btn .swiper-button-next,
.main_mb17 .board_swiper_btn .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    margin: 0;
    margin-left: 5px;
}

.main_mb17 .board_swiper_btn .swiper-button-next:after,
.main_mb17 .board_swiper_btn .swiper-button-prev:after {
    display: none;
}

/* 버튼 2개 레이아웃 */
.main_mb17 .main_swiper .swiper_more {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* 버튼1 — secondary (라이트 회색) */
.main_mb17 .main_swiper .swiper_more .btn_more1 {
    background: #eef0f3;
    color: #0a0b0d;
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    height: 52px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 150ms ease;
    white-space: nowrap;
}
.main_mb17 .main_swiper .swiper_more .btn_more1:hover { background: #dee1e6; }

/* 버튼2 — primary green */
.main_mb17 .main_swiper .swiper_more .btn_more2 {
    background: #1f7a52;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 150ms ease;
    white-space: nowrap;
}
.main_mb17 .main_swiper .swiper_more .btn_more2:hover { background: #15613f; }

/* D-DAY 플로팅 카드 */
.main_mb17 .dday_float {
    position: absolute;
    right: 40px;
    bottom: 50px;
    min-width: 300px;
    z-index: 5;
    background: #f7f7f7;
    border-radius: 22px;
    border: 1px solid #dee1e6;
    padding: 32px 30px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main_mb17 .dday_float__label {
    font-size: 16px;
    color: #7c828a;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main_mb17 .dday_float__num {
    font-size: 80px;
    font-weight: 400;
    color: #1f7a52;
    line-height: 1;
}

.main_mb17 .dday_float__divider {
    border: none;
    border-top: 1px solid #dee1e6;
    margin: 0;
}

.main_mb17 .dday_float__date_row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main_mb17 .dday_float__icon_box {
    width: 44px;
    height: 44px;
    background: #eaf5ee;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main_mb17 .dday_float__icon_box svg {
    width: 22px;
    height: 22px;
}

.main_mb17 .dday_float__date_text {
    font-size: 14px;
    color: #7c828a;
    line-height: 1.5;
}

.main_mb17 .dday_float__date_text strong {
    color: #0a0b0d;
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.main_mb17 .dday_float--closed .dday_float__num {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
}
.main_mb17 .dday_float__time {
    display: block;
    font-size: 13px;
    color: #7c828a;
    margin-top: 2px;
}
.main_mb17 .dday_float__time:empty {
    display: none;
}