.mnCardThumb .thumbnail {
    height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    object-fit: contain;
}
.mnCardThumb .thumbnail.rotate-portrait {
    transform: translate(-50%, -50%) rotate(90deg) !important;
    width: 167px !important;  /* 가로/세로 바꿈 */
    height: 296px !important;
}
.mnMoreMatchesBox {
    width: 328px;
    margin: 21px auto;
}

.mnTabNav.fixed {
    position: fixed;
    top: 56px; /* mnPageTitle 높이만큼 (헤더 높이에 따라 조정) */
    left: 50%;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 720px;
    transform: translateX(-50%);
}

/* fixed 시 공간 확보 */
.mnMentorProfileDetail.has-fixed-nav {
    padding-top: 40px; /* mnTabNav의 높이만큼 (실제 높이에 따라 조정) */
}

.mnTabNavList {
    padding-top: 4px !important;
    background: #f7f7f7 !important;
}
.mnTabNavLink {
    font-weight: 600 !important;
}
.mnSubjectClass {
    margin: 24px auto 0;
    padding-top: 24px;
    width: 328px;
    border-top: 1px solid #DFDFDF;
}
.mnInfoBox {
    background: #fff !important;
}
.mnInfoBox .mnInfoList .mnInfoItem .mnLabel{
    font-size: 10px;
    color: #007EFF !important;
}
.mnInfoBox .mnInfoList .mnInfoItem .mnValue{
    font-size: 12px;
}
.mnExperiencePane {
    background: #f7f7f7 !important;
}
.mnCourseCard{
    height: 186px;
    border-radius: 8px;
}
.mnCourseCard .mnCardThumb{
    margin-top: 0px;
}
.mnCourseCard .mnCardThumb .mnPlayIcon{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background-image: url(../../images/icons/ico_video_play.svg);
    background-size: 48px 48px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}
.mnTeaching {
    margin: 24px auto 0;
    padding-top: 24px;
    width: 328px;
    border-top: 1px solid #DFDFDF;
}
.mnTeachingIndex {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 40px;
    background: #454545;
    color: white;
    font-size: 10px;
    font-weight: 500;
}
/* iframe 오버레이 스타일 수정 */
.mnIframeOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: #fff;
    z-index: 100;
    display: none;
    overflow: visible;
}

.mnIframeOverlay.active {
    display: block !important;
}

.mnIframeOverlay iframe {
    width: 100%;
    border: none;
    display: block;
}

/* mnTabPanes에 relative 포지션 추가 */
.mnTabPanes {
    position: relative;
    min-height: 500px;
    padding-bottom: 60px;
}
/* 페이지 헤더 fixed 스타일 */
.mnPageTitle.fixed-header,
#navigator_header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* iframe 열렸을 때 본문 여백 */
.mnPageContent.has-fixed-header {
    padding-top: 56px; /* 헤더 높이만큼 */
}
.mnPageHeader.fixed {
    z-index: 999;
}
.mnIframeCloseButton {
    position: absolute; /* 그대로 absolute 유지 */
    top: 102px; /* mnTabNav 바로 아래 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    width: 40px;
    height: 40px;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.mnIframeCloseButton.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* fixed 상태 */
.mnIframeCloseButton.fixed {
    position: fixed;
    top: 102px; /* 헤더 높이 + 탭 높이 + 여백 */
}

.mnMentorProfileActions {
    width: 100%;
    max-width: 720px;
    display: flex;
    position: fixed;
    bottom: 0;
    padding: 7px 16px;
    background: #f2f2f2;
    z-index: 999;
}
.mnMentorProfileActions .mnButton {
    flex: 1 0 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #007eff;
    border-radius: 6px;
    min-width: 0%;
    height: 46px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}
.mnMentorProfileActions .mnButton.outline {
    color: #007eff;
}
.mnMentorProfileActions .mnButton.primary {
    background: #007eff;
    color: #fff;
}