@charset "utf-8";

/* resources */
.resource_section {
  padding: 80px 0 110px;
}
.resources_inner {
  max-width: 1320px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}

.resources_inner h1 {
  color: #333;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 80px;
}

.resources_inner .contents .top_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.resources_inner .contents .top_box .ip_box {
  position: relative;
  width: 300px;
}

.resources_inner .contents .top_box .ip_box button {
  background: url(../_img/common/icon_search.svg) no-repeat center center / contain;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.resources_inner .contents .top_box .ip_box input {
  width: 300px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  padding: 0px 10px 0px 20px;
}

.resources_inner .contents .top_box .ip_box input::placeholder {
  color: #d5d5d5;
  font-size: 14px;
  font-weight: 400;
}
.resources_inner .contents .top_box .radio-btns {
  display: flex;
  gap: 40px;
  align-items: center;
  width: fit-content;
}

/* radio-A */
/* radio-typeA */
.radio--typeA input[type="radio"] {
  /* display: none; */
  opacity: 0;
  position: absolute;
}
.radio--typeA input[type="radio"] + em {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}
.radio--typeA input[type="radio"]:checked + em {
  color: #0e418a;
  font-weight: 600;
}
.sub-visual.resour {
  background: url(../_img/subpage/resour_visual_bg.png) no-repeat center center / cover;
}

.resources_inner .contents .card_cont {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
}

.resources_inner .contents .card_cont .item {
  max-width: 400px;
  width: 100%;
  border-radius: 24px;
  background: #f8f9fe;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 390px;
  gap: 16px;
  justify-content: space-between;
}

.resources_inner .contents .card_cont .item .img_box {
  border-radius: 12px;
  background: #fff;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.resources_inner .contents .card_cont .item .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources_inner .contents .card_cont .item .text_box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resources_inner .contents .card_cont .item .text_box .badges,
.resources_inner .detail_content .title .badges {
  display: flex;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis; /* 말줄임표 (...) 처리 */
  flex-wrap: wrap;
  height: 27px;
}

.resources_inner .contents .card_cont .item .text_box .badges span {
  padding: 0 8px;
  height: 25px;
  line-height: 25px;
  border-radius: 50px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
}

.resources_inner .contents .card_cont .item .text_box > h2 {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resources_inner .contents .card_cont .item .text_box > p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.resources_inner .contents .card_cont .item .name_day,
.resources_inner .detail_content .title .day {
  display: flex;
  gap: 8px;
  align-items: center;
}

.resources_inner .contents .card_cont .item .name_day h5,
.resources_inner .detail_content .title .day h5 {
  color: #424242;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.resources_inner .contents .card_cont .item .name_day h5:first-child::after,
.resources_inner .detail_content .title .day h5:first-child::after {
  content: "";
  width: 1px;
  height: 12px;
  background: #e5e5e5;
  display: inline-block;
  margin-left: 8px;
  line-height: 24px;
}

.resources_inner .pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resources_inner .pagination li {
  width: 24px;
  height: 24px;
}
.resources_inner .pagination a {
  width: 100%;
  height: 100%;
  display: inline-block;
  color: #424242;
  font-size: 15px;
  font-weight: 400;
  border-radius: 12px;
}

.resources_inner .pagination li.active a {
  background: #f7941c;
  color: #fff;
  font-weight: 700;
}
.resources_inner .pagination .num a {
  text-align: center;
  line-height: 24px;
}
.resources_inner .pagination .Abb a {
  text-align: center;
  padding-bottom: 7px;
}
.resources_inner .pagination .prev a {
  background: url(../_img/common/icon_pagi_prev_all.svg) no-repeat center center / contain;
}

.resources_inner .pagination .prev_one a {
  background: url(../_img/common/icon_pagi_prev.svg) no-repeat center center / contain;
}
.resources_inner .pagination .next_one a {
  background: url(../_img/common/icon_pagi_next.svg) no-repeat center center / contain;
}

.resources_inner .pagination .next a {
  background: url(../_img/common/icon_pagi_next_all.svg) no-repeat center center / contain;
}
/* detail */
.resources_inner .detail_content .title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 24px;
}

.resources_inner .detail_content .title h2 {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}
.resources_inner .detail_content .title .badges span {
  padding: 0 8px;
  height: 25px;
  line-height: 25px;
  border-radius: 50px;
  background: #fafafa;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}
.resources_inner .detail_content .contents {
  line-height: 150%;
}
/*
.resources_inner .detail_content .contents {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.resources_inner .detail_content .contents p img {
  max-width: 100%;
}

.resources_inner .detail_content .contents .cont_img {
  max-width: 100%;
  width: fit-content;
  height: fit-content;
  max-height: 480px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

.resources_inner .detail_content .contents .cont_img img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
}
.resources_inner .detail_content .contents h6 {
  color: #333;
  font-size: 16px;
  font-weight: 400;
} */

.resources_inner .detail_content .go_list {
  border-radius: 8px;
  background: #0e418a;
  display: flex;
  width: 120px;
  height: 48px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.blog_de_btns {
  display: flex;
  margin: 80px auto 0;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .resource_section {
    padding: 40px 0 64px;
  }
  .resources_inner h1 {
    margin-bottom: 24px;
    font-size: 20px;
  }
  .radio--typeA input[type="radio"] + em {
    font-size: 14px;
  }
  .resources_inner .contents .top_box .radio-btns {
    gap: 16px;
    margin-bottom: 16px;
  }
  .resources_inner .contents .top_box,
  .resources_inner .contents .card_cont {
    margin-bottom: 24px;
  }
  .resources_inner .contents .card_cont .item {
    padding: 12px;
    height: 350px;
  }
  .resources_inner .contents .card_cont .item .text_box .badges span,
  .resources_inner .detail_content .title .badges span {
    height: 23px;
    line-height: 23px;
    font-size: 12px;
  }
  .resources_inner .contents .card_cont .item .text_box {
    gap: 4px;
  }
  .resources_inner .contents .card_cont .item .text_box > h2 {
    font-size: 18px;
  }
  .resources_inner .contents .card_cont .item .text_box > p,
  .resources_inner .contents .card_cont .item .name_day h5,
  .resources_inner .detail_content .title .day h5 {
    font-size: 14px;
  }

  .resources_inner .contents .card_cont .item .name_day h5,
  .resources_inner .contents .card_cont .item .name_day h5:first-child::after,
  .resources_inner .detail_content .title .day h5,
  .resources_inner .detail_content .title .day h5:first-child::after {
    line-height: 20px;
  }
  .resources_inner .pagination li {
    width: 20px;
    height: 20px;
  }
  .resources_inner .pagination a {
    font-size: 12px;
  }
  .resources_inner .pagination .num a {
    line-height: 20px;
  }
  /* detail */
  .resources_inner .detail_content .title {
    gap: 4px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .resources_inner .detail_content .title h2 {
    font-size: 18px;
  }
  .resources_inner .detail_content .contents {
    gap: 16px;
  }
  .resources_inner .detail_content .contents h6 {
    font-size: 14px;
  }
  .resources_inner .detail_content .go_list {
    margin: 24px auto 0;
    width: 100%;
    font-size: 14px;
  }
}
