@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width: 767px) {
  .responsive #bo_list .float-left.float-md-none {
    margin-right: 0.75rem;
  }
  .responsive #bo_list .na-title {
    margin-bottom: 0.14rem;
  }
}
.na-videowrap {
  margin: 2rem auto 1rem;
}

/* gallery */
#bo_gallery .chk-box {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}
#bo_gallery .wr-now {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* 게시판 읽기 */
#bo_v_title {
  font-size: 23px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: -1px;
}
#bo_v_con {
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}
@media all and (max-width: 575px) {
  .responsive #bo_v_title {
    font-size: 20px;
    line-height: 1.5;
  }
  .responsive #bo_v_con {
    min-height: 140px;
  }
}

#bo_v_con img {
  max-width: 100%;
  height: auto;
}
#bo_v_img {
  width: 100%;
  text-align: center;
  overflow: hidden;
  zoom: 1;
}
#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_img a.view_image {
  display: block;
}
#bo_v_img img {
  margin-bottom: 1rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon {
  margin: -5px auto;
}
#bo_v_sns_icon img {
  width: 40px;
  border-radius: 50%;
  margin: 5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
  top: 0;
  left: -16px;
}
.by-writer {
  background: #fbefef !important;
  border-top: 1px solid #f6cece !important;
}
.cmt-content {
  word-break: break-all;
  overflow: hidden;
}
.cmt-content img {
  max-width: 100%;
  height: auto;
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul {
  list-style: none;
  margin: 0;
}
.cmt-btn ul > li {
  float: left;
  font-size: 12px;
  padding: 0 10px;
}
.cmt-btn ul > li::before {
  float: left;
  color: #ccc;
  content: "|";
  margin-left: -12px;
}
.cmt-btn ul > li:last-child {
  padding-right: 0;
}
.cmt-btn ul > li:first-child::before,
.cmt-btn ul > li.no-bar::before {
  content: "";
  margin-left: 0;
}
.cmt-btn ul > li > a {
  float: left;
  color: #888;
  white-space: nowrap;
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content {
  resize: none;
}
@media all and (max-width: 575px) {
  .responsive .cmt-box {
    border-right: 0 !important;
  }
  .responsive #bo_vc_w .cmt-box {
    border-left: 0 !important;
    border-radius: 0 !important;
  }
  .responsive #bo_vc_login {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
  background: #ccc;
  border-radius: 3px;
}
#bo_vc_opt ol:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_opt ol li {
  float: left;
  margin: 0;
}
#bo_vc_send_sns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
}
#bo_vc_send_sns ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_send_sns ul li {
  float: left;
  margin: 0 1rem 0 0;
}
#bo_vc_send_sns input {
  margin: 0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
  border-right: 0;
}
#bo_w #wr_content {
  margin-bottom: 1rem !important;
}
/* 포트폴리오 갤러리 - 리스트 및 카테고리 부분 */
.sly-tab li a {
  border: 1px solid #000;
  background-color: #fff;
  font-weight: 500;
  color: #000;
}
.sly-tab li.active a {
  border-bottom: 1px solid #000;
  background-color: #000;
  color: #fff;
  font-weight: 700;
}
#bo_cate_ul {
  gap: 8px;
}
.na-title .na-subject {
  display: flex;
  flex-direction: column;
}
.catt {
  font-weight: 700;
}
/* 포트폴리오 갤러리 */
.pf-head {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background-color: #151515;
  color: #fff;
  padding: 3rem 0;
}
.pf-head .pf-info {
  padding: 2rem 3rem;
}
.pf-head .pf-info #bo_v_title {
  padding-bottom: 1.6rem;
  font-size: 36px !important;
}
.pf-head .pf-info p {
  font-size: 16px;
}
.pf-head .pf-img {
  padding: 2rem 3rem;
}
.pf-head .pf-img a img {
  height: auto;
  width: 100%;
  border-radius: 0 !important;
}
.pf-head.tall-img {
  grid-template-columns: 3fr 7fr; /* 세로가 더 긴 경우 */
}
.pf-slider-wrap {
  padding-bottom: 5rem;
}
.pf-slider-wrap h3 {
  padding-left: 40px;
  padding-bottom: 1rem;
}
.pf-features {
  padding: 5rem 40px;
}
.pf-features h1 {
  font-size: 64px;
  padding-bottom: 2rem;
  font-weight: 700;
}
.pf-features .pf-feature-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}
.pf-features .pf-feature-wrap .pf-feature {
  padding: 3rem;
  border: 2px solid #000;
  line-height: 1.4;
}
.pf-features .pf-feature-wrap .pf-feature i {
  font-size: 36px;
  padding-bottom: 2rem;
}
.pf-features .pf-feature-wrap .pf-feature h2 {
  font-weight: 700;
  padding-bottom: 0.6rem;
}
.pf-history {
  padding: 5rem 40px;
}
.pf-history h1 {
  font-size: 64px;
  padding-bottom: 2rem;
  font-weight: 700;
}
.pf-history ul li::marker {
  content: "- "; /* 마커 내용 */
  color: #a5a5a5; /* 마커 색상 */
  font-size: 1em; /* 마커 크기 */
}
.pf-news {
  padding: 40px;
  width: 100%;
}
.pf-news .main-news-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.pf-news .main-news-wrap a {
  border: 2px solid #000;
  border-radius: 2rem;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 40px;
  text-align: center;
}
.pf-news .main-news-wrap h1 {
  font-size: 64px;
  font-weight: 700;
}
.pf-news ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.pf-news ul li img {
  width: 100%;
  margin-bottom: 1.4rem;
}
.pf-news ul li h2 {
  padding-bottom: 1rem;
}
.pf-news ul li h3 {
  font-size: 13px;
}
.pf-partners {
  width: 100%;
  padding: 5rem 40px;
}
.pf-partners h1 {
  font-size: 64px;
  font-weight: 700;
  padding-bottom: 4rem;
}
.pf-partners .pf-logo-wrap {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 30px;
}
.pf-partners .pf-logo-wrap li {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-partners .pf-logo-wrap li img {
  width: 80px;
  filter: grayscale(100%) opacity(80%);
}
.item img {
  /* aspect-ratio: 16/9; */
}

@media all and (max-width: 575px) {
  #bo_w .list-group-item {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .responsive #bo_w #wr_content {
    max-height: 160px !important;
  }
  .pf-head {
    display: grid;
    grid-template-columns: unset;
    background-color: #151515;
    color: #fff;
    padding: 3rem 0;
  }
  .pf-features .pf-feature-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pf-partners .pf-logo-wrap li img:nth-child(1) {
    width: 50px;
  }
  .pf-partners .pf-logo-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }
  .pf-head.tall-img {
    grid-template-columns: unset; /* 세로가 더 긴 경우 */
  }
}
