html,
body,
.wrapper_oc,
.wrapper_oc * {
  font-size: 16px;
  font-family: "Noto Sans KR", "Sans-serif";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  padding: 0px;
  margin: 0px;
  border: none;
  box-sizing: border-box;
}

p,
h2,
h3 {
  word-wrap: break-word;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
  letter-spacing: -1px;
}

.wrapper_oc a {
  text-decoration: none;
}

.wrapper_oc {
  max-width: 1200px;
  margin: 25px auto 100px auto;
  /* border: 1px solid #efefef; */
}

.lv_header {
  text-align: center;
  padding: 55px 0 25px 0;
  width: 100%;
}

.lv_header h2 {
  font-size: 32px;
  color: #4e4e4e;
  letter-spacing: -2px;
  padding-bottom: 18px;
  font-weight: 600; /* update0625 */
}

.lv_header p {
  font-size: 20px;
  color: #4e4e4e;
  letter-spacing: 0px;
  /* word-break: keep-all; */
}

.lv_header p span {
  font-size: 20px;
}

.lv_tit_bg_box {
  width: 640px;
  min-height: 126px;
  background-image: url("/images/main/openCourse/lv_header_bg_left_w.png"),
    url("/images/main/openCourse/lv_header_bg_right_w.png"),
    url("/images/main/openCourse/lv_header_bg_middle.png");

  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: left center, right center, center center;
  background-size: auto 100%, auto 100%, auto;
  margin-bottom: 20px;
}
.lv_tit_bg_box p {
  padding: 27px 0 0 115px;
  font-size: 19px;
  color: #003281;
  letter-spacing: -1px;
  font-weight: 500;
}

.lv_tit_bg_box p span {
  font-size: 19px;
}

.lv_tit_bg_box h3 {
  color: #fff;
  text-align: center;
  font-size: 20px;
  padding-top: 20px; /* update 0704 - 88*/
  font-weight: 500;
}

.lv_media_img {
  position: relative;
  display: inline-block;
}

.lv_media_img .media_img {
  display: block;
  width: 100%;
}

.lv_media_img .play_ico {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a.btn_reg {
  background-color: #008ae0;
  text-align: center;
  max-width: 163px;
  padding: 5px 20px;
  color: #fff;
  font-size: 14px;
  letter-spacing: -1px;
  border-radius: 20px;
  display: block;
  margin-top: 3px;
}

.lv_media {
  display: flex; /* 1행 2열 구조 설정 */
  gap: 20px;
  align-items: start;
  width: 100%;
}

.lv_media .lv_media_img {
  width: 640px;
}

.lv_media .lv_list_container {
  /* width: 430px; */
  width: 525px;
}

.lv_list_container {
  border-bottom: 1px solid #d6d6d6;
}

.lv_list {
  display: flex; /* 1행 2열 구조 설정 */
  gap: 20px;
  align-items: center;
  width: 100%;
  border-top: 1px solid #d6d6d6;
  padding: 10px 25px;
  align-items: flex-start; /* 새로 변경됨 */
}

.lv_list .img_area {
  width: 163px;
}

.lv_list .list_area {
  flex: 1;
}

.lv_list .list_area h3.txt_next {
  color: #5e5d5d;
  font-size: 21px; /* update0702 */
  letter-spacing: -2px; /* update0702 */
  font-weight: 700; /* update0625 */
}

.lv_list .list_area p.txt_cat {
  color: #278de0;
  letter-spacing: -1px;
  padding: 8px 0; /* update0630 */
  font-size: 17px; /* update0630 */
}

/* 169행 정도 */
.lv_list .list_area h3.txt_tit {
  color: #2f2e2e; /* update0630 */
  font-size: 20px; /* update0630 */
  letter-spacing: -1px; /* update0630 */
  font-weight: 600; /* update0630 */
}

.bottom_area {
  background-color: #ececec;
  border-radius: 15px;
  width: 100%;
  margin: 20px auto;
}

.bottom_area .text_p {
  background: url(/images/main/openCourse/character.png) no-repeat right center;
  min-height: 90px;
  max-width: 430px;
  margin: 0px auto;
  padding: 30px 0;
}

.bottom_area .text_p p {
  font-size: 20px;
  font-weight: 700;
}

.lv_list_container_mobile {
  display: none;
}

.bottom_area_box {
  flex-wrap: wrap !important;
  white-space: normal !important;
  word-break: keep-all !important;
}

.bottom_area_box .text_p {
  flex: 1 !important;
  min-width: 0 !important;
}

.bottom_area_box .text_p p {
  word-wrap: normal !important; /* 오래된 방식 */
  word-break: normal !important; /* 표준 방식 */
  overflow-wrap: normal !important; /* 최신 표준 */
  white-space: normal !important;
  word-break: break-word;
}

/* 화면이 961px 이상일 때 레이아웃 유지 - PC */
@media (min-width: 961px) {
  /* .lv_media {
    min-width: 1198px;
  } */
}

/* 새로 추가된 부분 1 Start */
.bottom_area_box_wrap {
  width: 100%;
  background-color: #ececec;
  border-radius: 15px;
}
.bottom_area_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 90%;
  margin: 20px auto;
  flex: 1 !important;
  min-width: 0 !important;
}

/* update 0630 start*/
.bottom_area_box > div.text_p > div {
  width: max-content;
  margin: 0 auto;
}
/* update 0630 end*/

.bottom_area_box .character_area img {
  width: 100%;
  height: auto;
  min-width: 60px;
}

.bottom_area_box .text_p p {
  font-size: 20px;
  font-weight: 500;
}

/* 250  행 정도 update 0704 */
.thumbnail-box {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 새로 추가된 부분 1 End */

@media screen and (max-width: 960px) {
  .lv_header {
    padding-top: 20px;
  }

  .lv_list_container {
    display: none;
  }

  .lv_list_container_mobile {
    display: block !important;
    width: 100% !important;
  }

  .wrapper_oc {
    width: 100%;
    padding: 20px;
    margin: 25px auto 100px auto;
  }

  .wrapper_oc h2,
  .wrapper_oc h3 {
    font-weight: bold !important;
  }

  .lv_tit_bg_box {
    max-width: none;
    width: 100%;
    min-height: 126px;
    background-image: url("/images/main/openCourse/lv_header_bg_left_w.png"),
      url("/images/main/openCourse/lv_header_bg_right_w.png"),
      url("/images/main/openCourse/lv_header_bg_middle.png");

    background-repeat: no-repeat, no-repeat, repeat-x;

    background-position: left center, right center, center center;

    background-size: auto 100%, auto 100%, auto;
    margin: 30px 0 20px 0;
  }

  .lv_tit_bg_box p {
    padding: 5px 0 0 115px;
    color: #003281;
    letter-spacing: -1px;
    font-weight: 500;
    font-size: clamp(15px, 2.5vw, 17px);
  }

  .lv_tit_bg_box p span {
    font-size: clamp(15px, 2.5vw, 17px);
    letter-spacing: -1px;
    display: block;
  }

  .lv_tit_bg_box h3 {
    color: #fff;
    text-align: center;
    font-size: 22px; /*update 0704*/
    padding-top: 20px; /*update 0704*/
    font-weight: 400;
  }

  .lv_media {
    /* flex-direction: column;
    align-items: stretch; */

    display: flex;
    flex-direction: row; /* 가로 정렬 */
    justify-content: space-between; /* 좌우 양 끝 정렬 */
    align-items: flex-start; /* 세로축 정렬 (원하는 높이 기준) */
    flex-wrap: wrap; /* 필요 시 줄바꿈 허용 */
    /* gap: 30px;  */
    /* 요소 간 간격 (선택) */
  }

  .lv_media .lv_media_img,
  .lv_media .lv_list_container {
    width: 100%;
  }

  .lv_list_mo {
    display: flex;
    gap: 30px;
    align-items: center;
    width: 100%;
    padding: 10px 0 30px 0;
  }

  .lv_list_container_mobile h3.txt_next_mo {
    color: #5e5d5d;
    letter-spacing: -1px;
    padding: 30px 0 10px 20px;
    font-size: clamp(22px, 2.5vw, 25px);
    word-break: keep-all;
    font-weight: 700; /* update0625 */
  }

  .lv_list_container_mobile .img_area {
    width: 33%;
    padding-left: 20px;
  }

  /* update 0704 - 370*/
  .lv_list_container_mobile .img_area img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
  }

  .lv_list_container_mobile .list_area {
    min-width: 40%;
  }

  .lv_list_container_mobile h3.txt_tit {
    font-size: clamp(20px, 2.5vw, 24px);
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
    font-weight: 600; /* update0625 */
  }

  .lv_list_container_mobile a.btn_reg {
    max-width: none;
    padding: 5px 18px;
    font-size: clamp(16px, 2.5vw, 20px);
    letter-spacing: -1px;
    display: inline-block;
    margin-top: 15px;
  }

  .bottom_border_style {
    border-bottom: 1px solid #d6d6d6;
  }

  .bottom_area .text_p {
    background-position: 70% center;
    background-size: 80px auto;
    padding: 20px 30px 20px 0;
    max-width: 90%;
  }

  .bottom_area .text_p p {
    font-size: clamp(18px, 2.5vw, 224px);
    padding-left: 15%;
  }

  .bottom_area_box .text_p {
    display: flex;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .bottom_area_box * {
    flex-wrap: wrap !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }
}

@media screen and (max-width: 720px) {
  .bottom_area .text_p {
    background-position: 85% center;
    background-size: 80px auto;
  }

  .lv_header p span {
    display: block;
  }

  .bottom_area_box {
    padding: 20px 10px;
    width: 90%;
    margin: 20px auto;
  }

  .bottom_area_box .text_p p {
    font-size: 17px;
  }

  .bottom_area_box {
    width: 95%;
    margin: 20px auto;
  }
  /* 새로 추가된 부분 2 - end */
}

@media screen and (max-width: 600px) {
  .bottom_area .text_p {
    background-position: 95% center;
    background-size: 70px auto;
  }

  /*update 0704 신규 - 447행 정도*/
  .lv_tit_bg_box h3 {
    font-size: 19px;
    padding-top: 30px;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 530px) {
  /*update 0704 아래 삭제 - 462행 */
  /* .lv_tit_bg_box h3 {
    font-size: 20px; 
    padding-top: 20px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  } */

  .lv_list_container_mobile .img_area {
    width: 40%;
  }

  .lv_list_container_mobile .list_area {
    width: 40%;
  }

  .bottom_area .text_p {
    background-position: 88% center;
  }

  .bottom_area .text_p p {
    font-size: clamp(16px, 2.5vw, 18px);
    padding-left: 7.5%;
  }

  .bottom_area_box {
    margin: 20px auto;
    padding: 10px 5px;
  }
}

@media screen and (max-width: 500px) {
  /*update 0704 498행 */
  .lv_tit_bg_box h3 {
    font-size: 18px;
    /* padding-top: 30px; */
  }

  .lv_list_container_mobile h3.txt_next_mo {
    padding-top: 10px;
  }

  .lv_list_container_mobile .img_area {
    width: 42%;
    padding-left: 5px;
  }
}

@media screen and (max-width: 460px) {
  .lv_header h2 {
    font-size: 28px;
  }
  .lv_tit_bg_box {
    margin: 20px 0 10px 0;
  }

  .lv_tit_bg_box p {
    padding: 0px 0 0 95px;
  }

  /*update 0704 526행 */
  .lv_tit_bg_box h3 {
    font-size: 18px;
    margin: 0 auto;
  }

  .bottom_area .text_p {
    background-position: 90% center;
  }

  .bottom_area .text_p p {
    font-size: clamp(14px, 2.5vw, 16px);
    padding-left: 10%;
  }

  /* 새로 추가된 영역 4 Start */
  .bottom_area_box .character_area img {
    width: 70%;
    height: auto;
  }

  /* 새로 추가된 영역 4 ENd */
}

@media screen and (max-width: 420px) {
  .lv_tit_bg_box p,
  .lv_tit_bg_box p span {
    font-size: 14px;
    line-height: 130%;
  }

  .lv_list_container_mobile .img_area {
    width: 42%;
    padding-left: 5px;
  }

  .lv_list_container_mobile .list_area {
    width: 45%;
  }

  /* 새로 추가된 영역 5 Start */
  .bottom_area_box .text_p p {
    font-size: 14px;
  }

  .bottom_area_box .text_p p:last-child {
    padding-top: 10px;
  }

  .bottom_area_box {
    width: 98%;
    padding: 10px 10px;
  }

  /* 새로 추가된 영역 5 ENd */
}

@media screen and (max-width: 380px) {
  .lv_tit_bg_box p {
    padding: 2px 0 0 115px;
  }

  .lv_tit_bg_box h3 {
    font-size: 18px;
    padding-top: 25px;
  }

  .lv_list_mo {
    gap: 10px;
  }

  .lv_list_container_mobile h3.txt_next_mo {
    padding-left: 0;
    font-size: 19px;
  }

  .lv_list_container_mobile div.list_area h3 {
    font-size: 17px;
  }

  .lv_list_container_mobile .img_area {
    width: 50%;
    padding-left: 0px;
  }

  .lv_list_container_mobile .list_area {
    width: 45%;
  }

  .bottom_area .text_p {
    background-position: 97% center;
  }

  .bottom_area .text_p p {
    font-size: clamp(16px, 2.5vw, 18px);
    padding-left: 5%;
    letter-spacing: -2px;
  }
}

@media screen and (max-width: 320px) {
  .lv_tit_bg_box h3 {
    font-size: 15px;
    padding-top: 25px;
  }

  .lv_list_container_mobile div.list_area h3 {
    font-size: 15px;
  }

  .bottom_area .text_p {
    background-size: 70px auto;
  }

  .bottom_area .text_p p {
    font-size: clamp(14px, 2.5vw, 16px);
  }
}
