/*
(주)파이브센스_FIVESENSES.Corp.

본 라이브러리(라이브러리 소스코드)는 (주)파이브센스의 자산입니다.
무단으로 외부로 유출 및 일시 반출을 할 경우 손해배상 책임 및 민사/형사적 책임이 있습니다.
*/

.main_mmb17 {
    height: 100dvh;
    padding: 0 17px 17px;
}

.main_mmb17 .main_cont_container {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 배너 높이 설정 */
.main_mmb17 .common_banner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: transparent;
}

.main_mmb17 .mid_banner {
    height: calc(17% - 36px);
}

.main_mmb17 .bot_banner {
    height: 39.5%;
	border-radius:12px;
}

/* 메인슬라이드 */
.main_mmb17 .swiper.main_swiper {
    position: relative;
}

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

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

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

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

/* 스와이프 이미지 */
.main_mmb17 .img_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
}

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

/* 스와이프 동영상 */
.main_mmb17 .iframe_container {
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
}

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

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

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

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

/* 메인 스와이프 정보 */
.main_mmb17 .main_swiper .swiper_info_container {
    position: absolute;
    top: 7.6%;
    left: 13px;
    z-index: 2;
    text-align: left;
}

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

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

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

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

.main_mmb17 .main_swiper .swiper_title h2 {
    font-size: 33px;
    font-weight: 700;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
    line-height: 40.5px;
}

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

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

.main_mmb17 .main_swiper .swiper_subtitle h3 {
    font-size: 15px;
    font-weight: 500;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
    line-height: 20px;
}

/* 메인 스와이프 더보기 버튼 컨테이너 */
.main_mmb17 .main_swiper .btn_container {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* 버튼1 — secondary */
.main_mmb17 .main_swiper .btn_more {
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background 150ms ease;
    white-space: nowrap;
    line-height: 1;

}
.main_mmb17 .main_swiper .btn_more1 {
    color: #0a0b0d;
    background: #eef0f3;
}
.main_mmb17 .main_swiper .btn_more1:hover { background: #dee1e6; }

/* 버튼2 — primary green */
.main_mmb17 .main_swiper .btn_more2 {
    color: #fff;
    background: #1f7a52;
}
.main_mmb17 .main_swiper .btn_more2:hover { background: #15613f; }

/* top_banner 위치 기준 */
.main_mmb17 .top_banner {
    position: relative;
}

/* D-DAY 플로팅 카드 (모바일) */
.main_mmb17 .dday_float {
    position: absolute;
    right: 16px;
    bottom: 35px;
    z-index: 5;
    background: #f7f7f7;
    border-radius: 14px;
    border: 1px solid #dee1e6;
    padding: 18px 16px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_mmb17 .dday_float__label {
    font-size: 11px;
    color: #7c828a;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.main_mmb17 .dday_float__num {
    font-size: 36px;
    font-weight: 400;
    color: #1f7a52;
    line-height: 1;
    letter-spacing: -0.04em;
    font-family: 'Pretendard Mono', 'Pretendard', monospace;
}

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

.main_mmb17 .dday_float__date_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.main_mmb17 .dday_float__date_text {
    font-size: 12px;
    color: #7c828a;
    line-height: 1.4;
    text-align: left;
}

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

/* 스와이프 페이지네이션 */
/* 메인 페이지네이션 */
.main_mmb17 .swiper_btn_container.main_swiper_btn {
    position: absolute;
    bottom: 35px;
    left: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    z-index: 2;
}

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

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

.main_mmb17 .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_mmb17 .main_swiper_btn .swiper-pagination-bullet-active::before {
    width: 100%;
}

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

.main_mmb17 .sub_swiper_btn .swiper-pagination-fraction {
    position: static;
    font-size: 15.5px;
    font-weight: bold;
    color: #fff;
}

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

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

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

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

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

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

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

.main_mmb17 .dday_float--closed .dday_float__num {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}
.main_mmb17 .dday_float__time {
    display: block;
    font-size: 11px;
    color: #7c828a;
    margin-top: 1px;
}
.main_mmb17 .dday_float__time:empty {
    display: none;
}