@charset "utf-8";

/* JSL_MAIN_05 - 유관기관 파트너 슬라이드 */
.JSL_MAIN_05 {
  width: 100%;
  float: left;
  background: #f8f9fa;
  padding: clamp(30px, calc(3vw + 15px), 60px) 0;
  overflow: visible;
  position: relative;
}

.JSL_MAIN_05 .partner-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* 왼쪽 타이틀 영역 */
.JSL_MAIN_05 .partner-title {
  flex-shrink: 0;
  width: 120px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-align: center;
  padding-right: 30px;
  border-right: 1px solid #ddd;
}

/* 관리자 뱃지 - 왼쪽 상단 고정 */
.JSL_MAIN_05 .admin-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #8bc34a;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.JSL_MAIN_05 .admin-badge:hover {
  background: #7cb342;
}

/* 오른쪽 슬라이더 영역 */
.JSL_MAIN_05 .partner-slider {
  flex: 1;
  min-width: 0; /* flex 아이템 넘침 방지 */
  overflow: visible;
  position: relative;
  padding: 0 50px; /* 화살표 공간 확보 */
}

.JSL_MAIN_05 .swiper {
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
}

.JSL_MAIN_05 .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 파트너 아이템 */
.JSL_MAIN_05 .partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 0px 0px;

  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 80px;
  width: 100%; overflow: hidden
}

.JSL_MAIN_05 .partner-item:hover {
  transform: translateY(-2px);
}

.JSL_MAIN_05 .partner-item img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* 네비게이션 버튼 */

.JSL_MAIN_05 .swiper-button-prev:after{
  font-size: 20px;
  color: #222;
  font-weight: bold;content: "\ec49";    font-family: unicons-line;
}

.JSL_MAIN_05  .swiper-button-next:after {
  font-size: 20px;
  color: #222;
  font-weight: bold;content: "\eb9f";    font-family: unicons-line;
}
.JSL_MAIN_05  .swiper-button-prev:hover:after {
  color: #fff;content: "\ec49";    font-family: unicons-line;
}

.JSL_MAIN_05  .swiper-button-next:hover:after {
  color: #fff;content: "\eb9f";    font-family: unicons-line;
}


.JSL_MAIN_05 .swiper-button-prev:hover,
.JSL_MAIN_05 .swiper-button-next:hover {
  background: var(--primary, #e53935);
  color: #fff;
}

.JSL_MAIN_05 .swiper-button-prev {
  left: 0;
}

.JSL_MAIN_05 .swiper-button-next {
  right: 0;
}

/* 빈 리스트 */
.JSL_MAIN_05 .empty_li {
  text-align: center;
  padding: 30px;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/**** PC ****/
@media only all and (min-width: 1024px) {
  .JSL_MAIN_05 .partner-title {
    width: 150px;
    font-size: 20px;
    padding-right: 40px;
  }
}

/**** 태블릿 ****/
@media only all and (max-width: 1023px) and (min-width: 768px) {
  .JSL_MAIN_05 .partner-wrap {
    gap: 20px;
  }

  .JSL_MAIN_05 .partner-title {
    width: 100px;
    font-size: 16px;
    padding-right: 20px;
  }

  .JSL_MAIN_05 .partner-slider {
    padding: 0 40px;
  }
}

/**** 모바일 ****/
@media only all and (max-width: 767px) {
  .JSL_MAIN_05 {
    padding: 25px 0;
  }

  .JSL_MAIN_05 .partner-wrap {
    gap: 15px;
  }

  .JSL_MAIN_05 .partner-title {
    width: 80px;
    font-size: 14px;
    padding-right: 15px;
  }

  .JSL_MAIN_05 .partner-slider {
    padding: 0;
  }

  .JSL_MAIN_05 .partner-item {
    padding: 12px 15px;
    min-height: 60px;
  }

  .JSL_MAIN_05 .partner-item img {
    max-height: 40px;
  }

  .JSL_MAIN_05 .swiper-button-prev,
  .JSL_MAIN_05 .swiper-button-next {
    display: none;
  }
}
