/* 북한이탈주민 지원 */
.sub-content.w1300.defec_content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 기본 레이아웃 */
.defec_cont1 {
  margin-bottom: 130px;
}

.defec_cont2 {
  margin-bottom: 0;
}

/* 콘텐츠 박스 */
.defec_cont1 .contBox {
  width: 100%;
}

.defec_cont1 .contBox h4 {
  font-size: 35px;
  font-weight: 700;
  color: #146e79;
  line-height: 1.4;
  margin-bottom: 40px;
  word-break: keep-all;
}

.defec_cont1 .contBox p {
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

/* Flexbox 유틸리티 */
.flex {
  display: flex;
}

.a_i_center {
  align-items: center;
}

/* 콘텐츠 섹션 2 */
.defec_cont2 .contBox {
  margin-bottom: 80px;
  gap: 50px;
}

.defec_cont2 .contBox:last-child {
  margin-bottom: 0;
}

/* 좌우 박스 레이아웃 */
.defec_cont2 .contBox .leftBox {
  flex: 0 0 45%;
  max-width: 45%;
}

.defec_cont2 .contBox .rightBox {
  flex: 1;
}

.defec_cont2 .contBox .rightBox.pl105 {
  padding-left: 105px;
}

/* 이미지 박스 */
.defec_cont2 .imgBox {
  width: 100%;
}

.defec_cont2 .imgBox img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* 텍스트 박스 */
.defec_cont2 .textBox h5 {
  font-size: 35px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
  word-break: keep-all;
}

.defec_cont2 .textBox p {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 30px;
  margin-bottom: 30px;
  word-break: keep-all;
}

/* 리스트 스타일 */
.defec_cont2 .textBox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.defec_cont2 .textBox ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.8;
  color: #146e79;
}

.defec_cont2 .textBox ul li:last-child {
  margin-bottom: 0;
}

.defec_cont2 .textBox ul li.dotted::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: #146e79;
  border-radius: 50%;
}

/* 유틸리티 클래스 */
.fs35 {
  font-size: 35px;
}

.fs18 {
  font-size: 18px;
}

.fw700 {
  font-weight: 700;
}

.main_color1 {
  color: #146e79;
}

.black_2 {
  color: #333;
}

.lh14 {
  line-height: 1.4;
}

.lh18 {
  line-height: 1.8;
}

.mb130 {
  margin-bottom: 130px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb30 {
  margin-bottom: 30px;
}

.mt30 {
  margin-top: 30px;
}

.pl105 {
  padding-left: 105px;
}

.relative {
  position: relative;
}

.dotted {
  position: relative;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .sub-content.w1300.defec_content {
    padding: 0 15px;
  }

  .defec_cont1 {
    margin-bottom: 60px;
  }

  .defec_cont1 .contBox h4 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .defec_cont1 .contBox p {
    font-size: 16px;
    line-height: 1.7;
  }

  .defec_cont2 .contBox {
    flex-direction: column;
    margin-bottom: 60px;
    gap: 30px;
  }

  .defec_cont2 .contBox .leftBox {
    flex: 1;
    max-width: 100%;
    width: 100%;
    order: 1;
  }

  .defec_cont2 .contBox .rightBox {
    flex: 1;
    width: 100%;
    order: 2;
    padding-left: 0 !important;
  }

  /* 두 번째 박스는 이미지가 오른쪽이므로 순서 변경 */
  .defec_cont2 .contBox:nth-child(2) .leftBox {
    order: 2;
  }

  .defec_cont2 .contBox:nth-child(2) .rightBox {
    order: 1;
  }

  .defec_cont2 .textBox h5 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .defec_cont2 .textBox p {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .defec_cont2 .textBox ul li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .defec_cont2 .textBox ul li.dotted::before {
    top: 10px;
  }

  /* 유틸리티 클래스 모바일 */
  .fs35 {
    font-size: 24px;
  }

  .fs18 {
    font-size: 16px;
  }

  .mb130 {
    margin-bottom: 60px;
  }

  .mb40 {
    margin-bottom: 30px;
  }

  .mb30 {
    margin-bottom: 20px;
  }

  .mt30 {
    margin-top: 20px;
  }

  .pl105 {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .sub-content.w1300.defec_content {
    padding: 0 10px;
  }

  .defec_cont1 {
    margin-bottom: 40px;
  }

  .defec_cont1 .contBox h4 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .defec_cont1 .contBox p {
    font-size: 14px;
    line-height: 1.6;
  }

  .defec_cont2 .contBox {
    margin-bottom: 40px;
    gap: 25px;
  }

  .defec_cont2 .textBox h5 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .defec_cont2 .textBox p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .defec_cont2 .textBox ul li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 18px;
  }

  .defec_cont2 .textBox ul li.dotted::before {
    width: 5px;
    height: 5px;
    top: 8px;
  }

  /* 유틸리티 클래스 모바일 */
  .fs35 {
    font-size: 20px;
  }

  .fs18 {
    font-size: 14px;
  }

  .mb130 {
    margin-bottom: 40px;
  }

  .mb40 {
    margin-bottom: 20px;
  }

  .mb30 {
    margin-bottom: 15px;
  }

  .mt30 {
    margin-top: 15px;
  }
}

