body.community-board-page,
body.community-board-page #main-content,
body.community-board-page .page-section {
  background: #fff;
}

body.community-board-page .community-board-container {
  width: min(calc(100% - 28px), 880px);
  margin-inline: auto;
  color: #1c2533;
}

body.community-board-page .community-board-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin: 0;
  padding: 8px 6px;
  border-bottom: 1px solid #e1e5e8;
}

body.community-board-page .community-board-heading h3 {
  margin: 0;
  color: #17212b;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

body.community-board-page .community-board-heading p {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

body.community-board-page .notice-board-card,
body.community-board-page .hall-news-board-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.community-board-page .notice-board-toolbar,
body.community-board-page .hall-news-board-toolbar {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 6px;
  border-bottom: 1px solid #e1e5e8;
}

body.community-board-page .notice-board-count,
body.community-board-page .hall-news-board-count {
  margin: 0;
  color: #7a838d;
  font-size: 0.76rem;
}

body.community-board-page .notice-board-count strong,
body.community-board-page .hall-news-board-count strong {
  color: #334047;
  font-size: 0.8rem;
}

body.community-board-page .notice-board-header,
body.community-board-page .hall-news-board-header {
  display: none;
}

body.community-board-page .notice-board-row,
body.community-board-page .hall-news-board-row {
  display: block;
  min-height: 64px;
  padding: 13px 7px;
  border-bottom: 1px solid #e8ebed;
  background: #fff;
  transition: background-color 0.15s ease;
}

body.community-board-page .notice-board-row:hover,
body.community-board-page .hall-news-board-row:hover {
  background: #fafbfb;
}

body.community-board-page .notice-board-title-wrap,
body.community-board-page .hall-news-board-title-wrap {
  min-width: 0;
}

body.community-board-page .notice-board-title,
body.community-board-page .hall-news-board-title {
  display: block;
  overflow: hidden;
  color: #202c35;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.community-board-page .notice-board-title:hover,
body.community-board-page .hall-news-board-title:hover {
  color: #17636c;
}

body.community-board-page .community-board-item-meta {
  display: block;
  margin-top: 5px;
  color: #8a939a;
  font-size: 0.72rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

body.community-board-page .community-board-item-meta .notice-board-date,
body.community-board-page .community-board-item-meta .notice-board-views,
body.community-board-page .community-board-item-meta .hall-news-board-date {
  display: inline;
  color: inherit;
  font: inherit;
  text-align: left;
}

body.community-board-page .community-board-author {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font: inherit;
  text-align: left;
  vertical-align: middle;
}

body.community-board-page .community-board-item-meta span + span::before {
  content: " · ";
}

body.community-board-page .notice-pagination,
body.community-board-page .hall-news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 22px 10px 4px;
  border: 0;
}

body.community-board-page .notice-page-btn,
body.community-board-page .hall-news-page-btn {
  min-width: 32px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 8px;
  background: #fff;
  color: #68737c;
  font-size: 0.76rem;
  cursor: pointer;
}

body.community-board-page .notice-page-btn:hover,
body.community-board-page .hall-news-page-btn:hover {
  border-color: #cbd3d8;
  background: #fff;
}

body.community-board-page .notice-page-btn.is-active,
body.community-board-page .notice-page-btn:disabled,
body.community-board-page .hall-news-page-btn.is-active,
body.community-board-page .hall-news-page-btn:disabled {
  border-color: #173f45;
  background: #173f45;
  color: #fff;
}

body.community-board-page .hall-news-empty,
body.community-board-page .notice-board-row:only-child:not(:has(a)) {
  margin: 0;
  padding: 72px 16px;
  color: #8a9299;
  text-align: center;
  font-size: 0.86rem;
}

body.community-board-detail .community-board-detail-wrap {
  width: min(calc(100% - 28px), 880px);
  max-width: 880px;
  margin-inline: auto;
}

body.community-board-detail .community-board-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

body.community-board-detail .community-board-detail-actions .btn {
  min-width: 0;
  height: auto;
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: #59636b;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #aab2b8;
  text-underline-offset: 4px;
  box-shadow: none;
}

body.community-board-detail .community-board-detail-actions .btn:hover {
  background: transparent;
  color: var(--primary);
  text-decoration-color: currentColor;
}

body.community-board-detail .notice-detail-card,
body.community-board-detail #hall-news-detail-card {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 30px 6px 38px;
  background: #fff;
  box-shadow: none;
}

body.community-board-detail .notice-detail-head,
body.community-board-detail .hall-news-head-row {
  margin: 0;
}

body.community-board-detail .notice-detail-head h3,
body.community-board-detail .hall-news-head-row h2 {
  margin: 0;
  color: #17212b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

body.community-board-detail .notice-meta,
body.community-board-detail .hall-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e9eb;
  color: #7c858d;
  font-size: 0.78rem;
  font-weight: 400;
}

body.community-board-detail .notice-content,
body.community-board-detail .hall-news-content {
  min-height: 240px;
  margin-top: 0;
  padding: 28px 2px 8px;
  color: #28323a;
  font-size: 0.94rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

body.community-board-detail .notice-content {
  white-space: pre-wrap;
}

body.community-board-detail .hall-news-change h3 {
  color: #27343d;
}

@media (max-width: 640px) {
  body.community-board-page .page-section {
    padding-top: 18px;
  }

  body.community-board-page .community-board-container {
    width: calc(100% - 24px);
  }

  body.community-board-page .community-board-heading {
    min-height: 48px;
    padding-inline: 4px;
  }

  body.community-board-page .community-board-heading h3 {
    font-size: 1rem;
  }

  body.community-board-page .notice-board-row,
  body.community-board-page .hall-news-board-row {
    min-height: 62px;
    padding-inline: 4px;
  }

  body.community-board-page .notice-board-title,
  body.community-board-page .hall-news-board-title {
    font-size: 0.86rem;
  }

  body.community-board-detail .community-board-detail-wrap {
    width: calc(100% - 24px);
  }

  body.community-board-detail .notice-detail-card,
  body.community-board-detail #hall-news-detail-card {
    padding: 24px 4px 32px;
  }

  body.community-board-detail .notice-detail-head h3,
  body.community-board-detail .hall-news-head-row h2 {
    font-size: 1.14rem;
  }

  body.community-board-detail .notice-content,
  body.community-board-detail .hall-news-content {
    padding-top: 24px;
    font-size: 0.91rem;
  }
}
