@charset "utf-8";

/* MAIN_TOP2_JLS - 팝업존 스타일 */
.MAIN_TOP2_JLS { width: 100%; height: 100%; position: relative; }

/* 팝업존 내부 레이아웃 */
.MAIN_TOP2_JLS .popup_zone_inner {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 헤더 영역 - 타이틀 (이미지 위 오버레이) */
.MAIN_TOP2_JLS .popup_zone_header {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 20;
}

.MAIN_TOP2_JLS .popup_title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  font-family: var(--ff-en4, 'Arial');
  letter-spacing: 1px;
}

/* 네비게이션 화살표 (우측 상단 - 컨테이너 half 영역 안) */
/* popup_zone_box = 화면 50%, 화살표는 컨테이너 half 안쪽에 위치 */
/* 100% = popup_zone_box 너비 = 화면의 50% = 50vw */
/* 컨테이너 half = 컨테이너 max-width / 2 */
/* right = 50vw - 컨테이너half + 20px (단, 최소 20px) */
.MAIN_TOP2_JLS .popup_nav {
  position: absolute;
  top: 20px;
  /* 기본: 1560px 이상, 컨테이너 1560px, half=780px */
  right: calc(50vw - 780px + 20px);
  display: flex;
  gap: 8px;
  z-index: 20;
}

/* 반응형: 컨테이너 half 기준 화살표 위치 */
/* 1400px ~ 1559px: 컨테이너 1280px, half=640px */
@media (max-width: 1559px) and (min-width: 1400px) {
  .MAIN_TOP2_JLS .popup_nav {
    right: calc(50vw - 640px + 20px);
  }
}

/* 1200px ~ 1399px: 컨테이너 1290px, half=645px */
@media (max-width: 1399px) and (min-width: 1200px) {
  .MAIN_TOP2_JLS .popup_nav {
    right: calc(50vw - 645px + 20px);
  }
}

/* 992px ~ 1199px: 컨테이너 960px, half=480px */
@media (max-width: 1199px) and (min-width: 992px) {
  .MAIN_TOP2_JLS .popup_nav {
    right: calc(50vw - 480px + 20px);
  }
}

/* 768px ~ 991px: 컨테이너 720px, half=360px */
@media (max-width: 991px) and (min-width: 768px) {
  .MAIN_TOP2_JLS .popup_nav {
    right: calc(50vw - 360px + 20px);
  }
}

.MAIN_TOP2_JLS .popup_nav .swiper-button-prev2,
.MAIN_TOP2_JLS .popup_nav .swiper-button-next2 {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.MAIN_TOP2_JLS .popup_nav .swiper-button-prev2:hover,
.MAIN_TOP2_JLS .popup_nav .swiper-button-next2:hover {
  background: #222;
}

.MAIN_TOP2_JLS .popup_nav .swiper-button-prev2:before {
  content: "\ec49";
  font-family: unicons-line;
  font-size: 20px;
  color: #222;
}

.MAIN_TOP2_JLS .popup_nav .swiper-button-next2:before {
  content: "\eb9f";
  font-family: unicons-line;
  font-size: 20px;
  color: #222;
}

.MAIN_TOP2_JLS .popup_nav .swiper-button-prev2:hover:before,
.MAIN_TOP2_JLS .popup_nav .swiper-button-next2:hover:before {
  color: #fff;
}

/* 스와이퍼 영역 - 420px 꽉 채움 */
.MAIN_TOP2_JLS .popup_swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.MAIN_TOP2_JLS .popup_swiper .swiper-wrapper {
  height: 100%;
  width: 100%;
}

.MAIN_TOP2_JLS .popup_swiper .swiper-slide {
  height: 100% !important;
  width: 100% !important;
  position: relative;
  flex-shrink: 0;
}

/* 슬라이드 배경 이미지 - popup_zone_box 전체 */
.MAIN_TOP2_JLS .popup_slide_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.MAIN_TOP2_JLS .popup_slide_bg img {
  width: auto;
  height: 100%;
  max-width: none;
  object-position: left center;
}


/* 슬라이드 컨텐츠 레이아웃 */
.MAIN_TOP2_JLS .popup_slide_content {
  display: flex;
  height: 100%;
  gap: 20px;
  position: relative;
  z-index: 10;
  padding: 70px 60px 70px 70px;
  box-sizing: border-box;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* 텍스트 영역 */
.MAIN_TOP2_JLS .popup_text_area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.MAIN_TOP2_JLS .popup_text_area .tx1 {
  font-size: 14px;
  color: #666;
 
  font-weight: 500;
}

.MAIN_TOP2_JLS .popup_text_area .tx2 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;

}

.MAIN_TOP2_JLS .popup_text_area .tx3 {
  font-size: 14px;
  color: #666;
  line-height: 1.6;

}

/* 바로가기 버튼 */
.MAIN_TOP2_JLS .popup_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

.MAIN_TOP2_JLS .popup_btn .btn_dot {
  font-size: 8px;
}

.MAIN_TOP2_JLS .popup_btn .btn_arrow {
  width: 32px;
  height: 32px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MAIN_TOP2_JLS .popup_btn .btn_arrow i {
  color: #fff;
  font-size: 16px;
}

.MAIN_TOP2_JLS .popup_btn:hover .btn_arrow {
  background: var(--primary, #e74c3c);
}


/* 빈 리스트 */
.MAIN_TOP2_JLS .empty_li {
  text-align: center;
  color: #999;
  padding: 50px 20px;
}

/**** 모바일 ****/
@media only all and (max-width:767px) {
  .MAIN_TOP2_JLS .popup_slide_content {
    flex-direction: column;
    gap: 15px;
    padding: 50px 20px 20px 20px;
  }

  .MAIN_TOP2_JLS .popup_zone_header {
    top: 15px;
    left: 20px;
  }

  .MAIN_TOP2_JLS .popup_nav {
    top: 15px;
    right: 15px;
  }

  .MAIN_TOP2_JLS .popup_nav .swiper-button-prev2,
  .MAIN_TOP2_JLS .popup_nav .swiper-button-next2 {
    width: 32px;
    height: 32px;
  }

  .MAIN_TOP2_JLS .popup_nav .swiper-button-prev2:before,
  .MAIN_TOP2_JLS .popup_nav .swiper-button-next2:before {
    font-size: 16px;
  }

  .MAIN_TOP2_JLS .popup_text_area .tx2 {
    font-size: 20px;
  }

  .MAIN_TOP2_JLS .popup_text_area .tx3 {
    font-size: 13px;
    margin-bottom: 15px;
  }

  /* 모바일 오버레이 조정 */
  .MAIN_TOP2_JLS .popup_slide_bg::after {
    background: rgba(255,255,255,0.85);
  }
}
