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

.main_mmb21 {
    display: flex;
    flex-direction: column;
}

.main_mmb21 .main_cont_container {
    position: relative;
    flex: 1;
    overflow: hidden;
}
.main_mmb21 .main_container_inner {
    display: flex;
    flex-direction: column;
    gap: 52px 0;
    width: 100%;
    height: 100%;
	justify-content: space-between;
}

/* 텍스트 정보 */
.main_mmb21 .txt_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34.5%;
    text-align: center;
	padding-top:14%;
}

/* 요소이미지 */
.main_mmb21 .main_container_inner .itemSubImg {
    width: auto;
    margin: 0 auto 30px 0;
}

/* 타이틀 */
.main_mmb21 .inner_title {
    margin-bottom: 12px;
}

.main_mmb21 .inner_title h2 {
    font-size: 35px;
    line-height: 1.23;
    font-weight: 700;
    color: #000;
    display: inline-block;
    width: auto;
}

/* 서브타이틀 */
.main_mmb21 .inner_subtitle {
    margin-bottom: 16px;
}

.main_mmb21 .inner_subtitle h3 {
    font-size: 17px;
    line-height: 24.5px;
    font-weight: 400;
    color: #666;
    display: inline-block;
    width: auto;
}

/* 더보기 */
.main_mmb21 .btn_container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.main_mmb21 .btn_container a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    transition: .3s;
}

.main_mmb21 .btn_container a:first-child {
    background-color: #402210;
}

.main_mmb21 .btn_container a:first-child:hover {
    background-color: #583d2c;
    transition: .3s;
}

/* 이미지 정보 */
.main_mmb21 .img_container {
    height: 46.5%;
    padding: 0 29px 66px;
    overflow: hidden;
}
.main_mmb21 .img_container a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.main_mmb21 .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:12px;
	overflow:hidden;
}

/* 메인 동영상 */
.main_mmb21 .iframe_container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.main_mmb21 .iframe_container .iframe_container_inner {
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
}

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

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

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