/* 게시판 에디터 안에 들어가는 내용 */

/* 일반 텍스트 설정 */
.content--module,
.content--module p,
.content--module li {
  color: #666;
  line-height: 1.6;
}
/* 굵기 설정 */
.content--module b,
.content--module strong {
  margin-bottom: 5px;
  color: #222;
  font-weight: 500;
}
.content--module h1,
.content--module h2,
.content--module h3,
.content--module h4,
.content--module h5,
.content--module h6 {
  margin-bottom: 5px;
  color: #222;
  font-weight: 600;
}
/* h 태그 */
.content--module h2 {
  font-size: 32px;
}
.content--module h3 {
  font-size: 27px;
}
.content--module h4 {
  font-size: 20px;
}
/* 기울기 이탤릭체 */
.content--module i {
  font-style: italic;
}
/* 링크 */
.content--module a {
  color: #555;
  text-decoration: underline;
}
/* 리스트 */
.content--module ul,
.content--module ol {
  margin-left: 20px;
}
.content--module ul {
  list-style: disc;
}
.content--module ol {
  list-style: decimal;
}
/* 이미지 */
.content--module img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
/* 인용구 */
.content--module blockquote,
.content--module q {
  position: relative;
  padding-left: 16px;
}
.content--module blockquote::before,
.content--module q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
/* 표 table */
.content--module table {
  width: 100%;
}
.content--module table th {
  background-color: #f1f1f1;
}
.content--module table th,
.content--module table td {
  border: 1px solid #ccc;
}

/* 게시글 목록 */
.board-table,
.board-view-wrap {
  width: 100%;
  border-top: 2px solid var(--color-secondary);
}
.board-col.num {
  width: 10%;
}
.board-col.subject {
  width: auto;
}
.board-col.date {
  width: 15%;
}
.board-table tr {
  border-bottom: 1px solid var(--color-gray-400);
}
.board-table th,
.board-table td {
  padding: 14px 18px;
  text-align: center;
  line-height: 1.5;
}
.board-table th.left,
.board-table td.left {
  text-align: left;
}
.board-table th {
  color: var(--color-gray-800);
  font-size: 15px;
  font-weight: 500;
}
.board-table td {
  color: var(--color-gray-700);
}
.board-table .notice {
  padding: 3px 9px;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
  white-space: nowrap;
}
.board-col--subject {
}
.board-col--subject .subject-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.board-col--mb {
  display: none;
}
.board-page-link {
  color: var(--color-dark);
  font-weight: 500;
  /* 말줄임표 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-page-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.board-page-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.board-page-icons .icon::after {
  font-family: "Material Symbols Outlined";
  font-size: 16px;
}
.board-page-icons .i-file::after {
  content: "\fffb5";
}
.board-page-icons .i-new {
  color: var(--color-tertiary);
  font-size: 12px;
  font-weight: 600;
}
/* 게시글 검색 */
input,
select {
  font-family: "Pretendard", "Dotum", "Arial", san-serif;
  font-size: 15px;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.board-search {
  margin: 0 0 15px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.board-list-num {
  color: var(--color-gray-800);
}
.board-list-num .count {
  color: var(--color-primary);
  font-weight: 600;
}
.board-search-options {
  display: flex;
  gap: 10px;
  position: relative;
}
.search-select {
  padding: 8px 50px 8px 10px;
  position: relative;
  background-image: url("/images/icon_down.png");
  background-position: calc(100% - 10px) 50%;
  background-size: 10px;
  background-repeat: no-repeat;
  border: 1px solid var(--color-gray-400);
  border-radius: 5px;
  color: var(--color-gray-700);
  font-weight: 500;
}
.board-search-options input {
  padding: 10px 50px 10px 12px;
  border: 1px solid var(--color-gray-400);
  border-radius: 5px;
}
.board-search-options input::placeholder {
  color: var(--color-gray-600);
}
.board-search-options .btn-search {
  width: 30px;
  height: 30px;
  display: flex;
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  background-repeat: no-repeat;
  border: 0;
  text-indent: -9999px;
}
.board-search-options .btn-search .in-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 22px;
  text-indent: 0;
}
/* 게시글 보기 */
.board-view-heading {
  border-bottom: 1px solid var(--color-gray-400);
}
.board-view-tit {
  padding: 20px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.board-view-add {
  padding: 10px 20px 20px;
  font-size: 15px;
}
.board-view-add-txt {
  display: flex;
  gap: 8px;
}
.board-view-add-txt .tit {
  color: var(--color-dark);
  font-weight: 600;
}
.board-view-add-txt .desc {
  margin-right: 10px;
  color: var(--color-gray-700);
}
.board-view-content {
  padding: 20px 20px 40px;
  box-sizing: border-box;
}
/* 첨부파일 */
.board-view-file {
  padding: 25px;
  margin-bottom: 30px;
  background-color: var(--color-gray-50);
  border-radius: 5px;
}
.board-view-file-num {
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 600;
}
.board-view-file-num .count {
  color: var(--color-primary);
}
ul.board-view-file-list {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}
.board-view-file-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  color: var(--color-gray-700);
}
.board-view-file-list a::before {
  content: "\f090";
  color: var(--color-dark);
  font-family: "Material Symbols Outlined";
}
/* view 페이지내이션 */
.board-view-pagination {
  border-top: 1px solid var(--color-gray-400);
  border-bottom: 1px solid var(--color-gray-400);
}
.board-view-pagi-box {
  display: flex;
  align-items: center;
}
.board-view-pagi-box:not(:last-child) {
  border-bottom: 1px solid var(--color-gray-400);
}
.board-view-pagi-box > div {
  padding: 20px;
}
.board-view-pagi--tit {
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.board-view-pagi-box .link {
  color: var(--color-gray-700);
  font-size: 15px;
  /* 말줄임표 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-view-btn-wrap {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

/* 갤러리 */
.gallery-content-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}
.gallery-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-content--video iframe {
  width: 100%;
  aspect-ratio: 16/9;
}
.gallery-content--info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-content--info .tit {
  color: var(--color-dark);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}
.gallery-content--info .date {
  color: var(--color-gray-700);
  font-size: 15px;
}
