.board {
  display: grid;
  overflow: hidden;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #dfe3ea;
  border-left: 0;
  border-radius: 0;
  background: #fff;
  padding: 0;
}

.detail-actions-footer {
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid #e5e8ef;
}

.board-list-section {
  margin-top: 13px;
}

.board-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.board-tools-right {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.board-count {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.board-count strong {
  color: var(--brand-primary);
  font-weight: 800;
}

.board-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
}

.board-search-select-wrap {
  position: relative;
  display: inline-flex;
  width: 112px;
  height: 48px;
  align-items: center;
  border-bottom: 1px solid #bfc3cc;
  background: #fff;
}

.board-search-select-wrap:focus-within {
  border-color: #111;
}

@media (hover: hover) and (pointer: fine) {
  .board-search-select-wrap:hover {
    border-color: #111;
  }
}

.board-search-select {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #111;
  padding: 0 28px 0 0;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.board-search-select::after {
  width: 9px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  content: "";
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.board-search-select[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.board-search-select:focus {
  outline: none;
}

.board-search-options {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 10;
  display: grid;
  width: 112px;
  overflow: hidden;
  border: 1px solid #bfc3cc;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  padding: 4px 0;
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.08);
}

.board-search-options[hidden] {
  display: none;
}

.board-search-options button {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  padding: 0 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.board-search-options button[aria-selected="true"] {
  background: #f6f8ff;
  color: var(--brand-primary);
}

@media (hover: hover) and (pointer: fine) {
  .board-search-options button:hover {
    background: #f6f8ff;
    color: var(--brand-primary);
  }
}

.board-search-options button[aria-selected="true"]::after {
  width: 7px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.board-search-box {
  display: flex;
  align-items: center;
  width: min(360px, 34vw);
  height: 48px;
  border: 1px solid #c8ccd4;
  background: #fff;
}

.board-search-box input {
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 16px;
}

.board-search-box input:focus {
  outline: none;
}

.board-search-box button {
  position: relative;
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 100%;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.board-search-box button::before,
.board-search-box button::after {
  content: none;
}

.board-search-box button .tabler-icon {
  display: block;
  width: 25px;
  height: 25px;
  stroke-width: 2.5;
}

.board-search-reset {
  display: inline-flex;
  min-width: 96px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-weight: 700;
}

.board-action-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 116px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 157, 154, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .board-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 157, 154, 0.26);
  }
}

.faq-section {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.faq-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
}

.faq-search-box {
  display: flex;
  width: min(620px, 100%);
  height: 56px;
  align-items: center;
  border: 1px solid #dfe4ec;
  border-radius: 28px;
  background: #fff;
  padding-left: 22px;
  box-shadow: 0 14px 34px rgba(31, 42, 68, 0.06);
}

.faq-search-box input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.faq-search-box button {
  position: relative;
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 100%;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.faq-search-box button::before,
.faq-search-box button::after {
  content: none;
}

.faq-search-box button .tabler-icon {
  display: block;
  width: 25px;
  height: 25px;
  stroke-width: 2.45;
}

.faq-search-reset {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e3e7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 42, 68, 0.05);
}

.faq-item summary {
  display: grid;
  min-height: 78px;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span,
.faq-answer > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-size: 15px;
  font-weight: 900;
}

.faq-item summary strong {
  min-width: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
}

.faq-item summary::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid #5d6675;
  border-bottom: 2px solid #5d6675;
  content: "";
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.faq-item[open] summary::after {
  border-color: var(--brand-primary);
  transform: translateY(3px) rotate(225deg);
}

.faq-answer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid #d9efef;
  background: #f2fbfb;
  padding: 22px 24px 26px;
}

.faq-answer .board-detail-rich {
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.faq-answer .board-detail-rich > :first-child {
  margin-top: 0;
}

.faq-answer .board-detail-rich > :last-child {
  margin-bottom: 0;
}

.faq-search-highlight {
  border-radius: 4px;
  background: #fff2a8;
  color: inherit;
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.faq-empty {
  border: 1px solid #e3e7ef;
  border-radius: 18px;
  background: #fff;
  padding: 42px;
  text-align: center;
}

.board-table {
  border-top: 2px solid #111;
}

.board-table-head,
.board-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 100px;
  align-items: center;
}

.board-table-head {
  min-height: 58px;
  border-bottom: 1px solid #dcdfe6;
  background: #f6f6f6;
  color: #111;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.board-table-row {
  min-height: 74px;
  border-bottom: 1px solid #e1e4ea;
  transition: background 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .board-table-row:hover {
    background: #fafbff;
  }
}

.board-table-title {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 20px 22px;
}

.board-table-title.has-thumb {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.board-table-thumb {
  display: block;
  width: 96px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f7;
}

.board-table-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-table-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.board-table-title em {
  color: var(--brand-primary);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.board-table-title strong {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.board-table-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-table-title small {
  overflow: hidden;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-table-date,
.board-table-views {
  color: #111;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.board-table-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  border-bottom: 1px solid #e1e4ea;
}

.board-detail-image {
  overflow: hidden;
  margin: 0 0 26px;
  border-radius: 14px;
  background: #eef2f7;
}

.board-detail-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.board-pagination {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px auto 0;
}

.board-pagination a,
.board-pagination span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #111;
  font-size: 24px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .board-pagination a:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
  }
}

.board-pagination .is-disabled {
  color: #b8bdc8;
}

.board-page-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px !important;
  min-width: 82px;
  border: 0 !important;
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

.board-page-status b {
  color: var(--brand-primary);
}

.board-detail-breadcrumb {
  width: min(var(--detail-max), calc(100vw - 40px));
  margin: 28px auto 0;
  padding: 22px 0;
  border-bottom: 1px solid #e5e8ef;
}

.board-detail-path {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
}

.board-detail-path a,
.board-detail-path strong,
.board-detail-path span {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.board-detail-path strong {
  font-weight: 700;
}

.board-detail-path span {
  color: #9aa0aa;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.board-detail-path i {
  position: relative;
  display: block;
  width: 18px;
  height: 16px;
}

.board-detail-path i::before,
.board-detail-path i::after {
  position: absolute;
  content: "";
}

.board-detail-path i::before {
  left: 1px;
  bottom: 0;
  width: 16px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
}

.board-detail-path i::after {
  left: 2px;
  top: 0;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.sub-hero-path i,
.board-detail-path i {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7'%2F%3E%3Cpath d='M5.5 10v10h13V10'%2F%3E%3Cpath d='M9.5 20v-6h5v6'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7'%2F%3E%3Cpath d='M5.5 10v10h13V10'%2F%3E%3Cpath d='M9.5 20v-6h5v6'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.sub-hero-path i::before,
.sub-hero-path i::after,
.board-detail-path i::before,
.board-detail-path i::after {
  display: none;
  content: none;
}

.board-detail {
  margin-top: 48px;
  margin-bottom: 110px;
}

.board-detail-head {
  position: relative;
  border-bottom: 2px solid #111;
  padding-bottom: 28px;
}

.board-detail-head h1 {
  max-width: 1080px;
  margin: 0;
  color: #050505;
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.25;
}

.board-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 0;
  color: #111;
  font-size: 16px;
  line-height: 1.4;
}

.board-detail-meta dt {
  margin: 0;
  color: #777;
  font-weight: 700;
}

.board-detail-meta dd {
  margin: 0 28px 0 12px;
  color: #111;
  font-weight: 500;
}

.board-detail-meta dd:not(:last-child)::after {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-left: 28px;
  background: #d8dce3;
  vertical-align: -2px;
  content: "";
}

.board-detail-body {
  min-height: 360px;
  padding: 58px 0 72px;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

.board-detail-body p {
  margin: 0 0 24px;
}

.board-detail-rich {
  display: grid;
  gap: 18px;
}

.board-detail-rich p,
.board-detail-rich ul,
.board-detail-rich ol,
.board-detail-rich blockquote {
  margin: 0;
}

.board-detail-rich h2,
.board-detail-rich h3,
.board-detail-rich h4 {
  margin: 0;
  line-height: 1.35;
}

.board-detail-rich ul,
.board-detail-rich ol {
  padding-left: 1.4em;
}

.board-detail-rich a {
  color: var(--brand-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.board-detail-rich img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.board-detail-rich hr {
  width: 100%;
  height: 1px;
  border: 0;
  background: #dfe4ec;
  margin: 10px 0;
}

.board-detail-lead {
  color: #1d3da5;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}

.board-detail-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  width: min(720px, 100%);
  align-items: center;
  margin-top: 32px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #f8fafc;
  padding: 20px 22px;
}

.board-detail-file-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.board-detail-file-label {
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.board-detail-file strong {
  min-width: 0;
  color: var(--brand-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.file-type-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dde8;
  border-radius: 10px;
  background: #fff;
  color: #667085;
  line-height: 1;
}

.file-type-icon .tabler-icon {
  display: block;
  width: 21px;
  height: 21px;
}

.board-table-title .file-type-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.board-table-title .file-type-icon .tabler-icon {
  width: 19px;
  height: 19px;
}

.board-detail-file > .file-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.board-detail-file > .file-type-icon .tabler-icon {
  width: 27px;
  height: 27px;
}

.file-type-pdf {
  border-color: #ffd1cf;
  background: #fff1f0;
  color: #d92d20;
}

.file-type-excel {
  border-color: #c7ecd8;
  background: #eefbf3;
  color: #087443;
}

.file-type-word {
  border-color: #c9dcff;
  background: #eff5ff;
  color: #1d4ed8;
}

.file-type-ppt {
  border-color: #ffd9c5;
  background: #fff4ed;
  color: #c2410c;
}

.file-type-zip {
  border-color: #ead7ff;
  background: #f7f0ff;
  color: #7e22ce;
}

.file-type-image {
  border-color: #c8f0ec;
  background: #effcf9;
  color: var(--brand-primary-deep);
}

.file-type-text {
  border-color: #d8dee9;
  background: #f6f8fb;
  color: #475467;
}

.board-detail-replies {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  border-top: 1px solid #e5e8ef;
  padding-top: 28px;
}

.board-detail-replies h2 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 22px;
  font-weight: 800;
}

.board-detail-replies .reply {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe8ef;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 157, 154, 0.08), #fff 52%);
  padding: 22px 24px;
}

.board-detail-replies .reply strong {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(0, 157, 154, 0.1);
  color: var(--brand-primary);
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 800;
}

.board-detail-replies .reply small {
  color: #7b8190;
  font-size: 14px;
  font-weight: 700;
}

.board-detail-replies .reply p {
  margin: 4px 0 0;
  color: #111;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.board-detail-neighbors {
  border-top: 1px solid #dfe3ea;
  border-bottom: 2px solid #111;
}

.board-detail-neighbors div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 74px;
  border-top: 1px solid #e5e8ef;
  padding: 0 72px;
}

.board-detail-neighbors div:first-child {
  border-top: 0;
}

.board-detail-neighbors strong {
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.board-detail-neighbors a,
.board-detail-neighbors span {
  overflow: hidden;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-detail-neighbors span {
  color: #8a909b;
}

.board-detail-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.board-detail-actions a {
  display: inline-flex;
  min-width: 96px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 800;
}

.board-detail-actions a:first-child:not(:last-child) {
  background: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(0, 157, 154, 0.2);
}

.qna-edit-section {
  margin-top: -72px;
}

.qna-edit-page,
.qna-auth-section {
  margin-top: 13px;
}

.qna-edit-card {
  max-width: 760px;
  margin-left: auto;
}

.qna-auth-card,
.qna-edit-page .qna-edit-card {
  max-width: 760px;
  margin: 0 auto;
}

.qna-write-section {
  margin-top: -46px;
}

.qna-write-page {
  margin-top: 13px;
}

.qna-write-card {
  max-width: 760px;
  margin-left: auto;
}

.qna-write-page .qna-write-card {
  margin: 0 auto;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.form-help {
  margin: 0;
  color: #667085;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.form-card,
.admin-form {
  display: grid;
  gap: 14px;
  border-radius: 0;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #444;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  color: #111;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  border-radius: 0;
  padding: 24px;
}

.meta-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 18px;
  border: 1px solid var(--brand-border);
  border-radius: 0;
  background: #fff;
  padding: 24px;
}

.lead {
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

.error-text {
  color: #dc2626;
  font-weight: 800;
}
