@charset "UTF-8";
/*  게시판 목록 페이지 스타일 파일입니다. */

.article-list-tabs-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 45px;
  padding: 45px 0 100px 0;
}

.tabs-wrap {
  margin: 0;
}
.article-list-tabs-container .tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 750px;
}
.article-list__board-name {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  padding: 100px 0 0 0;
  text-align: center;
}

.board-name {
  padding: 100px 0 80px 0;
}

.article-list-tabs-container .tabs-wrap ul {
  /* width: 100%; */
  gap: 12px;
}
.article-list-tabs-container .tabs-wrap li {
  text-align: center;
  display: inline-block;
}
.article-list-tabs-container .tabs-wrap .tab__btn {
  min-width: 140px; /* 최소 너비는 140px로 유지 */
  width: auto; /* 글자의 길이에 따라 자동으로 너비 조정 */
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  padding: 24px; /* 패딩값 고정 */
  display: inline-block; /* 글자의 길이에 맞게 요소 크기 조정 */
  text-align: center; /* 텍스트 가운데 정렬 */
  white-space: nowrap; /* 줄 바꿈 방지 */
}

.board-reviews {
  padding-top: 30px;
}

.categories-wrap.tab a {
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 5px 18px;
}
.l-page .categories-wrap a::before {
  padding-right: 12px;
}

table.l-table th {
  border: 1px solid #bababa;
}

table.l-table td {
  padding: 16px 12px;
  border: 1px solid #bababa;
}

table.l-table td:last-child {
  border: 1px solid #bababa;
}

thead {
  background-color: var(--bg-gray);
}

.article-view__table.cell-date {
  width: 100%;
}

.board-page {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0 200px;
  text-align: center;
}

.qna_item_container {
  border-top: 1px solid var(--black);
}

.qna_item {
  display: flex;
  gap: 20px;
  padding: 12px 22px;
  border-bottom: 1px solid #dddddd;
}

.question {
  width: 34px;
  height: 34px;
  padding: 6px 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px !important;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 100%;
}

.article-list__item-title-text {
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  line-height: 36px !important;
}

.answer {
  width: 34px;
  height: 34px;
  padding: 6px 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px !important;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 100%;
}

.answer-text {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  line-height: 36px !important;
  color: var(--gray002);
}

.answer-item {
  transition: all 0.3s ease;
}

.category-item {
  margin: 0;
  border: none;
}
