@charset "utf-8";

/* MAIN_JLS_1_1 스와이퍼 스타일 */
.MAIN_JLS_1_1 {
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.MAIN_JLS_1_1 .slider_inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.MAIN_JLS_1_1 .swiper {
  width: 100%;
  height: 100%;
}

.MAIN_JLS_1_1 .swiper-wrapper {
  height: 100%;
}

.MAIN_JLS_1_1 .swiper-slide {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  flex-shrink: 0;
}

/* 배경 이미지 */
.MAIN_JLS_1_1 .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.MAIN_JLS_1_1 .slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 텍스트 영역 - 하단 왼쪽 50px 안쪽 */
.MAIN_JLS_1_1 .slide-text {
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 10;
  color: #fff;
}

/* 슬라이드 전체 링크 */
.MAIN_JLS_1_1 .slide-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* 텍스트 애니메이션 트랜지션 */
.MAIN_JLS_1_1 .slide-text p {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.MAIN_JLS_1_1 .slide-text .tx1 {
  font-size: var(--tit-md-size, 28px);
  font-weight: 700;
  color: var(--primary, #f5a623);
  margin-bottom: 10px;
  line-height: 1.3;
}

.MAIN_JLS_1_1 .slide-text .tx2 {
  font-size: var(--tit-sm-size, 18px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.5;
}

.MAIN_JLS_1_1 .slide-text .tx3 {
  font-size: var(--tit-xs-size, 14px);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* 네비게이션 화살표 - 양쪽 가운데 */
.MAIN_JLS_1_1 .swiper-button-prev,
.MAIN_JLS_1_1 .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 20;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.MAIN_JLS_1_1 .swiper-button-prev:hover,
.MAIN_JLS_1_1 .swiper-button-next:hover {
  background: #222;
}

.MAIN_JLS_1_1 .swiper-button-prev {
  left: 20px;
}

.MAIN_JLS_1_1 .swiper-button-next {
  right: 20px;
}

.MAIN_JLS_1_1 .swiper-button-prev:after{
  font-size: 20px;
  color: #222;
  font-weight: bold;content: "\ec49";    font-family: unicons-line;
}

.MAIN_JLS_1_1 .swiper-button-next:after {
  font-size: 20px;
  color: #222;
  font-weight: bold;content: "\eb9f";    font-family: unicons-line;
}
.MAIN_JLS_1_1 .swiper-button-prev:hover:after {
  color: #fff;content: "\ec49";    font-family: unicons-line;
}

.MAIN_JLS_1_1 .swiper-button-next:hover:after {
  color: #fff;content: "\eb9f";    font-family: unicons-line;
}
/* 링크 아이콘 - 우측 하단 (호버 시 나타남) */
.MAIN_JLS_1_1 .link-icon {
  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* + 아이콘 */
.MAIN_JLS_1_1 .link-icon i {
  font-size: 24px;
  color: #333;
  transition: color 0.3s, transform 0.3s ease;
}

.MAIN_JLS_1_1 .swiper-slide:hover .link-icon:hover i {
  transform: rotate(180deg);
}

.MAIN_JLS_1_1 .swiper-slide:hover .link-icon {
  opacity: 1;
  background: rgba(255,255,255,0.6);
}

.MAIN_JLS_1_1 .swiper-slide:hover .link-icon:hover {
  background: #fff;
  transform: scale(1.1);
}

.MAIN_JLS_1_1 .swiper-slide:hover .link-icon i {
  color: #333;
}

/* 빈 리스트 */
.MAIN_JLS_1_1 .empty_li {
  text-align: center;
  color: #999;
  padding: 50px 20px;
}

/* 태블릿 반응형 (991px 이하) */
@media only all and (max-width: 991px) {
  .MAIN_JLS_1_1 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
  }

  .MAIN_JLS_1_1 .slider_inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .MAIN_JLS_1_1 .swiper,
  .MAIN_JLS_1_1 .swiper-wrapper,
  .MAIN_JLS_1_1 .swiper-slide {
    height: 100% !important;
  }

  .MAIN_JLS_1_1 .slide-text {
    bottom: 30px;
    left: 30px;
    right: 30px;
  }

  .MAIN_JLS_1_1 .slide-text .tx1 {
    font-size: 22px;
  }

  .MAIN_JLS_1_1 .slide-text .tx2 {
    font-size: 16px;
  }

  .MAIN_JLS_1_1 .link-icon {
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
  }
}

/* 모바일 반응형 (767px 이하) */
@media only all and (max-width: 767px) {
  .MAIN_JLS_1_1 {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.6;
    position: relative;
  }

  .MAIN_JLS_1_1 .slider_inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .MAIN_JLS_1_1 .swiper,
  .MAIN_JLS_1_1 .swiper-wrapper,
  .MAIN_JLS_1_1 .swiper-slide {
    height: 100% !important;
  }

  .MAIN_JLS_1_1 .slide-text {
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
  }

  .MAIN_JLS_1_1 .slide-text .tx1 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .MAIN_JLS_1_1 .slide-text .tx2 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .MAIN_JLS_1_1 .slide-text .tx3 {
    font-size: 12px;
  }

  .MAIN_JLS_1_1 .swiper-button-prev,
  .MAIN_JLS_1_1 .swiper-button-next {
    width: 35px;
    height: 35px;
  }

  .MAIN_JLS_1_1 .swiper-button-prev {
    left: 10px;
  }

  .MAIN_JLS_1_1 .swiper-button-next {
    right: 10px;
  }

  .MAIN_JLS_1_1 .swiper-button-prev:after,
  .MAIN_JLS_1_1 .swiper-button-next:after {
    font-size: 14px;
  }

  /* 모바일 링크 아이콘 - 항상 보임 */
  .MAIN_JLS_1_1 .link-icon {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    opacity: 1;
    background: var(--primary, #e53935);
  }

  .MAIN_JLS_1_1 .link-icon i {
    font-size: 18px;
    color: #fff;
  }
}
