@charset "utf-8";

/* MAIN_SWCF_5_in - Textset 위젯 */
.MAIN_SWCF_5_in {
  overflow: hidden;
  position: relative;

}

.MAIN_SWCF_5_in .textset {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin-top: 100px;
}

.MAIN_SWCF_5_in .textset .textset-tit {
  width: calc(50% - 3rem);
}

.MAIN_SWCF_5_in .textset .textset-wrap {
  width: calc(50% - 3rem);
  display: flex;
  align-items: center;
}

.MAIN_SWCF_5_in .textset .textset-subtit {
  display: block;
  margin: 1.2rem 0 0;
}

.MAIN_SWCF_5_in .textset .textset-desc {
  margin: 0.8rem 0 0;
  color: var(--text-color3);
}

@media (max-width: 992px) {
  .MAIN_SWCF_5_in .textset {
    display: block;
    margin-top: 4rem;
  }

  .MAIN_SWCF_5_in .textset .textset-tit {
    width: 100%;
  }

  .MAIN_SWCF_5_in .textset .textset-wrap {
    width: 100%;
    margin-top: 3rem;
  }

  .MAIN_SWCF_5_in .textset .textset-subtit {
    margin: 1.2rem 0 0;
  }

  .MAIN_SWCF_5_in .textset .textset-desc {
    margin: 0.8rem 0 0;
  }
}

/* 관리자 인라인 편집 */
.MAIN_SWCF_5_in .wg_edit_txt,
.MAIN_SWCF_5_in .wg_edit_img {
    position: relative;
    z-index: 10;
    cursor: pointer;
    display: block;
}

/* 텍스트셋 영역 편집 요소 */
.MAIN_SWCF_5_in .textset .wg_edit_txt {
    display: block;
    width: 100%;
    float: left;
}

.MAIN_SWCF_5_in .textset h2.wg_edit_txt,
.MAIN_SWCF_5_in .textset strong.wg_edit_txt,
.MAIN_SWCF_5_in .textset p.wg_edit_txt {
    display: block;
    width: 100%;
    float: left;
    cursor: pointer;
}

/* hover 효과 무시 */
.MAIN_SWCF_5_in .wg_edit_txt,
.MAIN_SWCF_5_in .wg_edit_txt:hover {
    background-color: transparent !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.MAIN_SWCF_5_in .wg_edit_img,
.MAIN_SWCF_5_in .wg_edit_img:hover {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.MAIN_SWCF_5_in .wg_edit_link,
.MAIN_SWCF_5_in .wg_edit_link:hover {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 파트너 스와이퍼 영역 (가로 3칸, 세로 2줄) */
.MAIN_SWCF_5_in .partner-swiper {
    width: 100%;
    overflow: hidden;
}

.MAIN_SWCF_5_in .partner-swiper .swiper-slide {
    height: calc((100% - 20px) / 2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.MAIN_SWCF_5_in .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #fff !important;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    box-sizing: border-box;
}

.MAIN_SWCF_5_in .partner-item img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .MAIN_SWCF_5_in .partner-item img {
        max-height: 40px;
    }
}

/* 스와이퍼 컨테이너 */
.MAIN_SWCF_5_in .partner-swiper-container {
    position: relative;
    width: 100%;
}

/* 네비게이션 화살표 */
.MAIN_SWCF_5_in .partner-swiper-prev,
.MAIN_SWCF_5_in .partner-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.MAIN_SWCF_5_in .partner-swiper-prev:hover,
.MAIN_SWCF_5_in .partner-swiper-next:hover {
    background: var(--main-color, #333);
    color: #fff;
}

.MAIN_SWCF_5_in .partner-swiper-prev {
    left: -20px;
}

.MAIN_SWCF_5_in .partner-swiper-next {
    right: -20px;
}

.MAIN_SWCF_5_in .partner-swiper-prev.swiper-button-disabled,
.MAIN_SWCF_5_in .partner-swiper-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .MAIN_SWCF_5_in .partner-swiper-prev,
    .MAIN_SWCF_5_in .partner-swiper-next {
        width: 32px;
        height: 32px;
    }

    .MAIN_SWCF_5_in .partner-swiper-prev {
        left: -10px;
    }

    .MAIN_SWCF_5_in .partner-swiper-next {
        right: -10px;
    }
}
