@charset "utf-8";

/* ================================================
   MAIN_JLS_4 - 관리자 뱃지 위치 (하단 왼쪽)
   ================================================ */
.MAIN_JLS_4 .grid_layout_badge {
  top: auto !important;
  bottom: 10px !important;
  left: 10px !important;
  right: auto !important;
}

/* ================================================
   MAIN_JLS_4 - 배너 카드 그리드 스타일
   항목1: 배경 데코 이미지 (100% 너비)
   항목2~: 배너 카드 (아이콘 + 제목 + 설명)
   ================================================ */

.MAIN_JLS_4 {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding:300px 0 150px;
}


/* ================================================
   배경 데코 영역 (컨테이너 밖 100% 너비)
   ================================================ */
.MAIN_JLS_4 .deco_area {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.MAIN_JLS_4 .deco_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.MAIN_JLS_4 .deco_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC/모바일 표시 제어 */
.MAIN_JLS_4 .wg_pc_only {
  display: block;
}

.MAIN_JLS_4 .wg_mo_only {
  display: none;
}

/* ================================================
   컨테이너
   ================================================ */
.MAIN_JLS_4 .contents-container {
  position: relative;
  z-index: 10;
  max-width: var(--container-width, 1560px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================
   배너 카드 그리드
   ================================================ */
.MAIN_JLS_4 .banner_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 배너 카드 */
.MAIN_JLS_4 .banner_card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.MAIN_JLS_4 .banner_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.MAIN_JLS_4 .banner_card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 카드 콘텐츠 */
.MAIN_JLS_4 .card_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 20px; position: relative
}

/* 텍스트 영역 */
.MAIN_JLS_4 .card_text {
  flex: 1;
  min-width: 0;
}

.MAIN_JLS_4 .card_text .tx1 {
font-size:calc(var(--tit-mds-size) * 0.9);
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.3;
  word-break: keep-all;
}

.MAIN_JLS_4 .card_text .tx2 {
font-size:calc(var(--tx-sm-size) * 0.9);
  font-weight: 400;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  word-break: keep-all;
}

/* 아이콘 영역 */
.MAIN_JLS_4 .card_icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center; position: absolute; right:20px; top: 20px
}

.MAIN_JLS_4 .card_icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 빈 리스트 */
.MAIN_JLS_4 .empty_li {
  text-align: center;
  color: #94a3b8;
  padding: 60px 20px;
  font-size: 15px;
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
}

/* ================================================
   반응형 - 태블릿
   ================================================ */
@media only all and (max-width: 1200px) {
  .MAIN_JLS_4 {
    padding: 80px 0;
  }

  .MAIN_JLS_4 .banner_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .MAIN_JLS_4 .card_content {
    padding: 25px;
  }

  .MAIN_JLS_4 .card_text .tx1 {
    font-size: 18px;
  }

  .MAIN_JLS_4 .card_icon {
    width: 50px;
    height: 50px;
  }
}

/* ================================================
   반응형 - 모바일
   ================================================ */
@media only all and (max-width: 767px) {
  .MAIN_JLS_4 {
    padding: 60px 0;
  }

  .MAIN_JLS_4 .wg_pc_only {
    display: none;
  }

  .MAIN_JLS_4 .wg_mo_only {
    display: block;
  }

  .MAIN_JLS_4 .contents-container {
    padding: 0 15px;
  }

  .MAIN_JLS_4 .banner_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .MAIN_JLS_4 .banner_card {
    border-radius: 15px;
  }

  .MAIN_JLS_4 .card_content {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }

  .MAIN_JLS_4 .card_text .tx1 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .MAIN_JLS_4 .card_text .tx2 {
    font-size: 13px;
  }

  .MAIN_JLS_4 .card_icon {
    width: 45px;
    height: 45px;
  }
}

/* ================================================
   반응형 - 작은 모바일
   ================================================ */
@media only all and (max-width: 480px) {
  .MAIN_JLS_4 .banner_grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .MAIN_JLS_4 .card_content {
    padding: 15px;
    gap: 12px;
  }

  .MAIN_JLS_4 .card_text .tx1 {
    font-size: 15px;
  }

  .MAIN_JLS_4 .card_text .tx2 {
    font-size: 12px;
  }

  .MAIN_JLS_4 .card_icon {
    width: 40px;
    height: 40px;
  }
}
