/* 게시판 에디터 안에 들어가는 내용 */

/* 일반 텍스트 설정 */
.content--module,
.content--module p,
.content--module li {
  color: #666;
  line-height: 1.6;
  word-break: break-all;
}
/* 굵기 설정 */
.content--module b,
.content--module strong,
.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.attach-file {
  width: 10%;
}
.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 {
  position: relative;
  color: var(--color-gray-700);
  vertical-align: middle;
}
.board-table tr.notice {
  background-color: var(--color-primary-transparent-100);
}
.board-table .tag-notice {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
  white-space: nowrap;
}
.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-link:hover {
  color: var(--color-gray-500);
}
.board-table .i-file::after {
  content: "\e2bc" / "";
  width: fit-content;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  transform: rotate(-90deg);
  font-family: "Material Symbols Outlined";
  font-size: 21px;
}
.board-page-link .i-new {
  width: 12px;
  height: 14px;
  padding: 0 1px 0 0;
  margin-left: 3px;
  display: inline-block;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}
/* 게시글 검색 */
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;
  flex-wrap: wrap;
  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("/cau_adpr/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 {
  min-width: 68px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}
.board-search-options .btn-search:hover,
.board-search-options .btn-search:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-white);
}
/* 게시글 보기 */
.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-primary-transparent-100);
  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: center;
}

@media screen and (min-width: 2000px) {
  .content--module,
  .content--module p,
  .content--module li {
    font-size: 19px;
  }
  .board-list-num {
    font-size: 20px;
  }
  .search-select {
    font-size: 18px;
  }
  .board-search-options input {
    height: 53px;
    padding: 10px 50px 10px 16px;
    font-size: 18px;
  }
  .board-search-options .btn-search {
    min-width: 110px;
    padding: 13px 16px;
    font-size: 19px;
  }
  .board-table th,
  .board-table td {
    padding: 20px 18px;
    font-size: 19px;
  }
  .board-page-link .i-new {
    width: 16px;
    height: 18px;
    font-size: 12px;
  }
  .board-table .tag-notice {
    font-size: 19px;
  }
  .board-table .i-file::after {
    font-size: 24px;
    font-weight: 300;
  }
  .board-view-tit {
    padding: 30px;
    font-size: 30px;
  }
  .board-view-add {
    padding: 15px 30px 30px;
    font-size: 18px;
  }
  .board-view-file {
    margin-bottom: 50px;
  }
  ul.board-view-file-list {
    margin: 30px 0 0;
  }
  .board-view-file-num {
    font-size: 19px;
  }
  .board-view-file-list a {
    font-size: 20px;
  }
  .board-view-content {
    padding: 30px 30px 80px;
  }
  .board-view-pagi-box > div {
    padding: 25px 30px;
  }
  .board-view-pagi--tit,
  .board-view-pagi-box .link {
    font-size: 18px;
  }
}

/* 반응형 */
@media screen and (max-width: 1024px) {
  .board-table tr th,
  .board-table tr td:nth-child(1),
  .board-table tr td:nth-child(3),
  .board-table tr td:nth-child(4),
  .board-table tr td:nth-child(5) {
    display: none;
  }
  .board-table thead tr {
    border: 0;
  }
  .board-col--subject {
    width: 100%;
  }
  .board-page-link {
    font-size: 18px;
  }
  .board-col--mb {
    margin: 13px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  .board-col--mb .notice {
    font-size: 14px;
  }
  .board-col--mb .date,
  .board-col--mb .view {
    font-size: 15px;
  }
  .board-col--mb .view {
    display: flex;
    gap: 5px;
  }
  .board-col--mb .view-tit {
    color: var(--color-dark);
    font-weight: 600;
  }
}

@media screen and (max-width: 600px) {
  .board-search {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .board-search-options {
    display: flex;
    flex-direction: column;
  }
  .board-search-options,
  .input-wrap,
  .input-wrap input {
    width: 100%;
  }
  .board-search-options select,
  .board-search-options input,
  .btn-search {
    height: 44px;
  }
  .input-wrap input {
    box-sizing: border-box;
  }
  .board-search-options .btn-search {
    background-color: var(--color-primary);
    color: var(--color-white);
  }
  .board-page-link {
    font-size: 16px;
  }
  .board-col--mb {
    margin: 10px 0 0;
    gap: 11px;
  }
  .board-col--mb .notice {
    font-size: 12px;
  }
  .board-col--mb .date,
  .board-col--mb .view {
    font-size: 14px;
  }
  .board-icon.i-new {
    width: 15px;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .board-view-pagi-box {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .board-view-pagi-box > div {
    padding: 0;
  }
}

@media screen and (max-width: 430px) {
  .board-search {
    margin: 0 0 25px 0;
  }
  .board-table th,
  .board-table td {
    padding: 12px;
  }
  .board-view-tit {
    padding: 16px 12px;
    font-size: 18px;
  }
  .board-view-add {
    padding: 5px 12px 16px;
  }
  .board-view-add-txt {
    font-size: 14px;
  }
  .board-view-content {
    padding: 20px 12px 40px;
  }
  .board-view-file {
    padding: 20px;
  }
  .board-view-file-list a {
    font-size: 15px;
  }
}
