/* HoleSnap-branded presentation for bbPress forum and discussion pages. */
.hcs-community-page {
  --hcs-ink: var(--hs-ink, #111318);
  --hcs-muted: var(--hs-muted, #666b76);
  --hcs-line: var(--hs-line, #dfe2e8);
  --hcs-paper: var(--hs-paper, #fff);
  --hcs-warm: var(--hs-warm, #fffdf8);
  --hcs-lavender: var(--hs-lavender, #f2f0ff);
  --hcs-orange: var(--hs-action, #e8921f);
  --hcs-violet: var(--hs-violet, #6748e8);
}

.hcs-eyebrow {
  margin: 0 0 14px;
  color: #a65b06;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hcs-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.hcs-button-primary {
  color: #fff !important;
  background: #111318;
  border-color: #111318;
  box-shadow: none;
}

.hcs-button-primary:hover {
  color: #fff !important;
  background: #30343d;
  border-color: #30343d;
}

.hcs-button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
}

.hcs-community-section {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
  background: var(--hcs-paper);
}

.hcs-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.hcs-section-heading h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hcs-section-heading > div > p:last-child {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--hcs-muted);
  font-size: 15px;
  line-height: 1.65;
}

.hcs-forums-panel,
.hcs-community-shell {
  min-width: 0;
}

.hcs-community-content {
  padding: 20px 0 clamp(72px, 9vw, 116px);
  background: var(--hcs-warm);
}

.hcs-community-subnav {
  padding: 22px 0 0;
  background: var(--hcs-warm);
}

.hcs-community-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hcs-muted);
  font-size: 14px;
  font-weight: 650;
}

.hcs-community-subnav a:hover {
  color: var(--hcs-ink);
}

.hcs-community-subnav a span {
  color: #a65b06;
  font-size: 18px;
}

.hcs-community-page-header {
  padding: 28px 0 42px;
  background: var(--hcs-lavender);
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hcs-community-page-header-inner > div {
  min-width: 0;
}

.hcs-community-page-header h1 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.hcs-community-page-description {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--hcs-muted);
  font-size: 16px;
  line-height: 1.65;
}

.hcs-topic-page-header {
  padding-bottom: 34px;
}

/* Scope the bbPress output so normal blog and support pages keep their styling. */
.hcs-community #bbpress-forums,
.hcs-community-page #bbpress-forums {
  width: 100%;
  margin: 0;
  color: var(--hcs-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
}

.hcs-community #bbpress-forums a,
.hcs-community-page #bbpress-forums a {
  color: inherit;
  text-decoration: none;
}

.hcs-community #bbpress-forums a:hover,
.hcs-community-page #bbpress-forums a:hover {
  color: #a65b06;
}

.hcs-community #bbpress-forums p,
.hcs-community-page #bbpress-forums p {
  margin-top: 0;
}

.hcs-community #bbpress-forums ul,
.hcs-community-page #bbpress-forums ul {
  margin-left: 0;
  padding-left: 0;
}

.hcs-community #bbp-search-form,
.hcs-community-page #bbp-search-form {
  margin: 0 0 20px;
}

.hcs-community #bbpress-forums #bbp_search,
.hcs-community-page #bbpress-forums #bbp_search {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hcs-line);
  border-radius: 9px;
  background: var(--hcs-paper);
}

.hcs-community #bbpress-forums #bbp_search_submit,
.hcs-community-page #bbpress-forums #bbp_search_submit {
  min-height: 44px;
  padding: 0 16px;
  color: var(--hcs-ink);
  background: var(--hcs-orange);
  border: 1px solid var(--hcs-orange);
  border-radius: 9px;
  font-weight: 750;
  cursor: pointer;
}

.hcs-community #bbp-breadcrumbs,
.hcs-community-page #bbp-breadcrumbs {
  margin: 0 0 18px;
  color: var(--hcs-muted);
  font-size: 13px;
}

.hcs-community #bbp-breadcrumbs a,
.hcs-community-page #bbp-breadcrumbs a {
  color: #8c4e08;
  font-weight: 650;
}

.hcs-community #bbpress-forums .bbp-forum-title,
.hcs-community #bbpress-forums .bbp-topic-permalink,
.hcs-community-page #bbpress-forums .bbp-forum-title,
.hcs-community-page #bbpress-forums .bbp-topic-permalink {
  color: var(--hcs-ink);
  font-size: 17px;
  font-weight: 740;
  line-height: 1.35;
}

.hcs-community #bbpress-forums .bbp-forum-content,
.hcs-community #bbpress-forums .bbp-topic-meta,
.hcs-community #bbpress-forums .bbp-forum-freshness,
.hcs-community-page #bbpress-forums .bbp-forum-content,
.hcs-community-page #bbpress-forums .bbp-topic-meta,
.hcs-community-page #bbpress-forums .bbp-forum-freshness {
  color: var(--hcs-muted);
  font-size: 13px;
}

.hcs-community #bbpress-forums .bbp-topic-meta,
.hcs-community-page #bbpress-forums .bbp-topic-meta {
  margin: 7px 0 0;
}

.hcs-community #bbpress-forums .bbp-forum-content,
.hcs-community-page #bbpress-forums .bbp-forum-content {
  margin-top: 5px;
}

.hcs-community #bbpress-forums li.bbp-forum-info,
.hcs-community-page #bbpress-forums li.bbp-forum-info {
  min-width: 0;
}

.hcs-forum-preview {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--hcs-line);
}

.hcs-forum-preview-heading {
  margin: 0 0 8px !important;
  color: var(--hcs-ink);
  font-size: 12px;
  font-weight: 760;
}

.hcs-community #bbpress-forums .hcs-forum-preview-list,
.hcs-community-page #bbpress-forums .hcs-forum-preview-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hcs-community #bbpress-forums .hcs-forum-preview-list li,
.hcs-community-page #bbpress-forums .hcs-forum-preview-list li {
  min-width: 0;
  color: var(--hcs-muted);
  font-size: 13px;
  text-align: left;
}

.hcs-community #bbpress-forums .hcs-forum-preview-list a,
.hcs-community-page #bbpress-forums .hcs-forum-preview-list a {
  display: block;
  overflow: hidden;
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hcs-community #bbpress-forums .hcs-forum-preview-list a:hover,
.hcs-community-page #bbpress-forums .hcs-forum-preview-list a:hover {
  color: #a65b06;
}

.hcs-forum-preview-empty {
  margin: 0 0 12px !important;
  color: var(--hcs-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hcs-forum-post-button {
  margin-top: 12px;
}

.hcs-forum-post-button,
.hcs-forum-post-button:hover {
  color: var(--hcs-ink) !important;
  background: var(--hcs-orange);
  border-color: var(--hcs-orange);
  box-shadow: none;
}

.hcs-forum-post-button:hover {
  background: #dc8214;
  border-color: #dc8214;
}

.hcs-category-forums {
  display: grid;
  gap: 12px;
  margin-top: 17px;
}

.hcs-subforum-card,
.hcs-subforum-group {
  min-width: 0;
  padding: 17px;
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
}

.hcs-subforum-card h3,
.hcs-subforum-group > h3 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 16px;
  font-weight: 740;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hcs-subforum-card h3 a,
.hcs-subforum-group > h3 a {
  color: inherit;
  text-decoration: none;
}

.hcs-subforum-card h3 a:hover,
.hcs-subforum-group > h3 a:hover {
  color: #a65b06;
}

.hcs-subforum-group > .hcs-category-forums {
  margin-top: 13px;
}

.hcs-community #bbpress-forums ul.bbp-forums,
.hcs-community #bbpress-forums ul.bbp-topics,
.hcs-community-page #bbpress-forums ul.bbp-forums,
.hcs-community-page #bbpress-forums ul.bbp-topics {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.hcs-community #bbpress-forums ul.bbp-forums > .bbp-header,
.hcs-community #bbpress-forums ul.bbp-topics > .bbp-header,
.hcs-community #bbpress-forums ul.bbp-forums > .bbp-footer,
.hcs-community #bbpress-forums ul.bbp-topics > .bbp-footer,
.hcs-community-page #bbpress-forums ul.bbp-forums > .bbp-header,
.hcs-community-page #bbpress-forums ul.bbp-topics > .bbp-header,
.hcs-community-page #bbpress-forums ul.bbp-forums > .bbp-footer,
.hcs-community-page #bbpress-forums ul.bbp-topics > .bbp-footer {
  display: none;
}

.hcs-community #bbpress-forums ul.bbp-forums > .bbp-body,
.hcs-community #bbpress-forums ul.bbp-topics > .bbp-body,
.hcs-community-page #bbpress-forums ul.bbp-forums > .bbp-body,
.hcs-community-page #bbpress-forums ul.bbp-topics > .bbp-body {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.hcs-community #bbpress-forums ul.forum,
.hcs-community #bbpress-forums ul.topic,
.hcs-community-page #bbpress-forums ul.forum,
.hcs-community-page #bbpress-forums ul.topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 82px minmax(160px, 0.34fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 22px 24px;
  list-style: none;
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
  box-shadow: none;
}

.hcs-community-archive #bbpress-forums ul.forum {
  grid-template-columns: minmax(0, 1fr);
}

.hcs-community-archive #bbpress-forums ul.forum > .bbp-forum-topic-count,
.hcs-community-archive #bbpress-forums ul.forum > .bbp-forum-reply-count,
.hcs-community-archive #bbpress-forums ul.forum > .bbp-forum-freshness {
  display: none;
}

.hcs-community #bbpress-forums ul.forum > li:not(.bbp-forum-info),
.hcs-community #bbpress-forums ul.topic > li:not(.bbp-topic-title),
.hcs-community-page #bbpress-forums ul.forum > li:not(.bbp-forum-info),
.hcs-community-page #bbpress-forums ul.topic > li:not(.bbp-topic-title) {
  color: var(--hcs-muted);
  font-size: 13px;
  text-align: center;
}

.hcs-community #bbpress-forums .bbp-forum-freshness,
.hcs-community #bbpress-forums .bbp-topic-freshness,
.hcs-community-page #bbpress-forums .bbp-forum-freshness,
.hcs-community-page #bbpress-forums .bbp-topic-freshness {
  min-width: 0;
  color: var(--hcs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hcs-community #bbpress-forums .bbp-forum-freshness p,
.hcs-community #bbpress-forums .bbp-topic-freshness p,
.hcs-community-page #bbpress-forums .bbp-forum-freshness p,
.hcs-community-page #bbpress-forums .bbp-topic-freshness p {
  margin: 5px 0 0;
}

.hcs-community #bbpress-forums .bbp-forum-freshness a,
.hcs-community #bbpress-forums .bbp-topic-freshness a,
.hcs-community-page #bbpress-forums .bbp-forum-freshness a,
.hcs-community-page #bbpress-forums .bbp-topic-freshness a {
  color: var(--hcs-muted);
}

.hcs-community #bbpress-forums .bbp-forum-freshness img.avatar,
.hcs-community #bbpress-forums .bbp-topic-freshness img.avatar,
.hcs-community-page #bbpress-forums .bbp-forum-freshness img.avatar,
.hcs-community-page #bbpress-forums .bbp-topic-freshness img.avatar {
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
}

.hcs-community #bbpress-forums .bbp-forum-status-closed .bbp-forum-title::after,
.hcs-community-page #bbpress-forums .bbp-forum-status-closed .bbp-forum-title::after {
  content: " · Closed";
  color: var(--hcs-muted);
  font-size: 12px;
  font-weight: 600;
}

.hcs-community #bbpress-forums .bbp-template-notice,
.hcs-community-page #bbpress-forums .bbp-template-notice {
  margin: 16px 0;
  padding: 13px 16px;
  color: #644600;
  background: #fff7e5;
  border: 1px solid #f2dba8;
  border-radius: 10px;
}

.hcs-community #bbpress-forums .bbp-template-notice ul,
.hcs-community-page #bbpress-forums .bbp-template-notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hcs-community #bbpress-forums .bbp-template-notice p,
.hcs-community #bbpress-forums .bbp-template-notice li,
.hcs-community-page #bbpress-forums .bbp-template-notice p,
.hcs-community-page #bbpress-forums .bbp-template-notice li {
  margin: 0;
}

.hcs-community #bbpress-forums .bbp-pagination,
.hcs-community-page #bbpress-forums .bbp-pagination {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0;
  color: var(--hcs-muted);
  font-size: 13px;
}

.hcs-community #bbpress-forums .bbp-pagination-links a,
.hcs-community #bbpress-forums .bbp-pagination-links span,
.hcs-community-page #bbpress-forums .bbp-pagination-links a,
.hcs-community-page #bbpress-forums .bbp-pagination-links span {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  padding: 0 8px;
  color: var(--hcs-ink);
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
}

.hcs-community #bbpress-forums .bbp-pagination-links .current,
.hcs-community-page #bbpress-forums .bbp-pagination-links .current {
  background: var(--hcs-lavender);
  border-color: rgba(103, 72, 232, 0.25);
}

.hcs-community #bbpress-forums .bbp-form,
.hcs-community-page #bbpress-forums .bbp-form {
  margin: 24px 0 0;
  padding: clamp(20px, 3vw, 32px);
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17, 19, 24, 0.045);
}

.hcs-community #bbpress-forums .bbp-form legend,
.hcs-community-page #bbpress-forums .bbp-form legend {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  color: var(--hcs-ink);
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.hcs-community #bbpress-forums .bbp-form label,
.hcs-community-page #bbpress-forums .bbp-form label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 700;
}

.hcs-community #bbpress-forums .bbp-form input[type="text"],
.hcs-community #bbpress-forums .bbp-form input[type="email"],
.hcs-community #bbpress-forums .bbp-form input[type="url"],
.hcs-community #bbpress-forums .bbp-form select,
.hcs-community #bbpress-forums .bbp-form textarea,
.hcs-community-page #bbpress-forums .bbp-form input[type="text"],
.hcs-community-page #bbpress-forums .bbp-form input[type="email"],
.hcs-community-page #bbpress-forums .bbp-form input[type="url"],
.hcs-community-page #bbpress-forums .bbp-form select,
.hcs-community-page #bbpress-forums .bbp-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--hcs-ink);
  background: var(--hcs-paper);
  border: 1px solid #d7dbe3;
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
}

.hcs-community #bbpress-forums .bbp-form textarea,
.hcs-community-page #bbpress-forums .bbp-form textarea {
  min-height: 190px;
  resize: vertical;
}

.hcs-community #bbpress-forums .bbp-form input:focus,
.hcs-community #bbpress-forums .bbp-form select:focus,
.hcs-community #bbpress-forums .bbp-form textarea:focus,
.hcs-community-page #bbpress-forums .bbp-form input:focus,
.hcs-community-page #bbpress-forums .bbp-form select:focus,
.hcs-community-page #bbpress-forums .bbp-form textarea:focus {
  border-color: var(--hcs-violet);
  outline: 3px solid rgba(103, 72, 232, 0.16);
  outline-offset: 1px;
}

.hcs-community #bbpress-forums .wp-editor-wrap,
.hcs-community-page #bbpress-forums .wp-editor-wrap {
  overflow: hidden;
  border: 1px solid #d7dbe3;
  border-radius: 10px;
}

.hcs-community #bbpress-forums .wp-editor-container,
.hcs-community-page #bbpress-forums .wp-editor-container {
  border: 0;
}

.hcs-community #bbpress-forums .wp-editor-area,
.hcs-community-page #bbpress-forums .wp-editor-area {
  padding: 13px;
  font: inherit;
  font-size: 15px;
}

/* Join the native Quicktags toolbar and editor into one quiet composer. */
.hcs-community-page #bbpress-forums .bbp-form .wp-editor-container:has(> .quicktags-toolbar) {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 11px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-container:has(> .quicktags-toolbar):focus-within {
  border-color: var(--hcs-orange);
  box-shadow: 0 0 0 3px rgba(232, 146, 31, 0.16);
}

.hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar {
  display: flex;
  min-height: 42px;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #faf9f6;
  border: 0;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar input.ed_button {
  display: inline-flex;
  min-width: 30px;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 8px;
  color: #555b66;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar input.ed_button:hover {
  color: var(--hcs-ink);
  background: #fff;
  border-color: #e5e7eb;
}

.hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar input.ed_button:focus-visible {
  outline: 2px solid rgba(232, 146, 31, 0.45);
  outline-offset: 1px;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-container textarea.wp-editor-area {
  display: block;
  width: 100%;
  height: 240px;
  min-height: 180px;
  max-height: 65vh;
  margin: 0;
  padding: 15px 16px;
  color: var(--hcs-ink);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
  resize: vertical;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-container textarea.wp-editor-area:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* Keep the visual editor in the same simple, single-panel composer style. */
.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap:has(.mce-tinymce) {
  overflow: hidden;
  border: 1px solid var(--hcs-line);
  border-radius: 11px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap:has(.mce-tinymce):focus-within {
  border-color: var(--hcs-orange);
  box-shadow: 0 0 0 3px rgba(232, 146, 31, 0.16);
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-tinymce {
  border: 0 !important;
  box-shadow: none !important;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-top-part::before {
  box-shadow: none;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-toolbar-grp {
  padding: 6px 10px;
  background: #faf9f6;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-toolbar .mce-btn {
  margin: 0 2px 0 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-toolbar .mce-btn:hover,
.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-toolbar .mce-btn:focus-within {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: none;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-edit-area {
  border-top: 0 !important;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-edit-area iframe {
  min-height: 240px;
}

.hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-statusbar {
  display: none;
}

.hcs-community #bbpress-forums .bbp-submit-wrapper,
.hcs-community-page #bbpress-forums .bbp-submit-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.hcs-community #bbpress-forums .bbp-submit-wrapper button,
.hcs-community #bbpress-forums .bbp-submit-wrapper input[type="submit"],
.hcs-community-page #bbpress-forums .bbp-submit-wrapper button,
.hcs-community-page #bbpress-forums .bbp-submit-wrapper input[type="submit"] {
  min-height: 46px;
  padding: 0 22px;
  color: var(--hcs-ink);
  background: var(--hcs-orange);
  border: 1px solid var(--hcs-orange);
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
}

.hcs-community #bbpress-forums .bbp-submit-wrapper button:hover,
.hcs-community #bbpress-forums .bbp-submit-wrapper input[type="submit"]:hover,
.hcs-community-page #bbpress-forums .bbp-submit-wrapper button:hover,
.hcs-community-page #bbpress-forums .bbp-submit-wrapper input[type="submit"]:hover {
  background: #d68018;
  border-color: #d68018;
}

.hcs-community #bbpress-forums .bbp-replies,
.hcs-community-page #bbpress-forums .bbp-replies {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.hcs-community #bbpress-forums .bbp-replies > .bbp-header,
.hcs-community #bbpress-forums .bbp-replies > .bbp-footer,
.hcs-community-page #bbpress-forums .bbp-replies > .bbp-header,
.hcs-community-page #bbpress-forums .bbp-replies > .bbp-footer {
  display: none;
}

.hcs-community #bbpress-forums .bbp-replies > .bbp-body,
.hcs-community-page #bbpress-forums .bbp-replies > .bbp-body {
  display: grid;
  gap: 12px;
}

.hcs-community #bbpress-forums .bbp-reply-header,
.hcs-community-page #bbpress-forums .bbp-reply-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0 2px;
  color: var(--hcs-muted);
  background: transparent;
  border: 0;
  font-size: 12px;
  line-height: 1.5;
}

.hcs-community #bbpress-forums .bbp-reply-header a,
.hcs-community-page #bbpress-forums .bbp-reply-header a {
  color: var(--hcs-muted);
}

.hcs-community #bbpress-forums .bbp-reply-header .bbp-admin-links,
.hcs-community-page #bbpress-forums .bbp-reply-header .bbp-admin-links {
  margin-left: 10px;
  line-height: 1.7;
}

.hcs-community #bbpress-forums .bbp-replies .bbp-body > div,
.hcs-community-page #bbpress-forums .bbp-replies .bbp-body > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  padding: 24px;
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
}

.hcs-community #bbpress-forums .bbp-reply-author,
.hcs-community-page #bbpress-forums .bbp-reply-author {
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 700;
}

.hcs-community #bbpress-forums .bbp-reply-author img.avatar,
.hcs-community-page #bbpress-forums .bbp-reply-author img.avatar {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 0 9px;
  border-radius: 50%;
}

.hcs-community #bbpress-forums .bbp-reply-author .bbp-author-role,
.hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-role {
  display: block;
  margin-top: 4px;
  color: var(--hcs-muted);
  font-size: 11px;
  font-weight: 500;
}

.hcs-community #bbpress-forums .bbp-reply-content,
.hcs-community-page #bbpress-forums .bbp-reply-content {
  min-width: 0;
  color: #30343d;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.hcs-community #bbpress-forums .bbp-reply-content > :last-child,
.hcs-community-page #bbpress-forums .bbp-reply-content > :last-child {
  margin-bottom: 0;
}

.hcs-community #bbpress-forums .bbp-topic-tags,
.hcs-community-page #bbpress-forums .bbp-topic-tags {
  margin: 10px 0 16px;
  color: var(--hcs-muted);
  font-size: 13px;
}

.hcs-community #bbpress-forums .bbp-topic-tags a,
.hcs-community-page #bbpress-forums .bbp-topic-tags a {
  display: inline-flex;
  margin: 0 4px 4px 0;
  padding: 4px 9px;
  color: #583aca;
  background: var(--hcs-lavender);
  border-radius: 999px;
}

.hcs-community #bbpress-forums .bbp-forum-subscription,
.hcs-community #bbpress-forums .bbp-topic-subscription,
.hcs-community #bbpress-forums .bbp-topic-favorite,
.hcs-community-page #bbpress-forums .bbp-forum-subscription,
.hcs-community-page #bbpress-forums .bbp-topic-subscription,
.hcs-community-page #bbpress-forums .bbp-topic-favorite {
  color: #8c4e08;
  font-size: 13px;
  font-weight: 700;
}

.hcs-community-page #bbpress-forums :focus-visible {
  outline: 3px solid rgba(103, 72, 232, 0.28);
  outline-offset: 3px;
}

/* Reddit-inspired directory, topic feed, and discussion layout. */
.hcs-community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  align-items: start;
  gap: 26px;
}

.hcs-community-main,
.hcs-community-sidebar {
  min-width: 0;
}

.hcs-community-sidebar {
  position: sticky;
  top: 24px;
}

.hcs-sidebar-card {
  padding: 22px;
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
  box-shadow: none;
}

.hcs-sidebar-eyebrow {
  margin: 0 0 8px !important;
  color: #a65b06;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hcs-sidebar-card h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.hcs-sidebar-card > p:not(.hcs-sidebar-eyebrow) {
  margin: 12px 0 0;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hcs-sidebar-card .hcs-sidebar-note {
  padding-top: 13px;
  border-top: 1px solid var(--hcs-line);
  font-size: 12px;
}

.hcs-sidebar-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--hcs-line);
}

.hcs-sidebar-stats > div {
  min-width: 0;
}

.hcs-sidebar-stats dt {
  color: var(--hcs-muted);
  font-size: 11px;
}

.hcs-sidebar-stats dd {
  margin: 2px 0 0;
  color: var(--hcs-ink);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.2;
}

.hcs-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  color: #874a05 !important;
  border-top: 1px solid var(--hcs-line);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.hcs-sidebar-link:hover {
  color: var(--hcs-ink) !important;
}

.hcs-topic-forum-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.hcs-topic-forum-line a {
  color: #874a05;
  text-decoration: none;
}

.hcs-topic-forum-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hcs-community #bbpress-forums ul.forum,
.hcs-community-page #bbpress-forums ul.forum,
.hcs-community #bbpress-forums ul.topic,
.hcs-community-page #bbpress-forums ul.topic {
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 140ms ease;
}

.hcs-community #bbpress-forums ul.topic,
.hcs-community-page #bbpress-forums ul.topic {
  grid-template-columns: minmax(0, 1fr) 68px 68px minmax(130px, 0.3fr);
  padding: 21px 22px;
}

.hcs-community #bbpress-forums ul.topic:hover,
.hcs-community-page #bbpress-forums ul.topic:hover,
.hcs-community #bbpress-forums ul.forum:hover,
.hcs-community-page #bbpress-forums ul.forum:hover {
  border-color: #c8cdd6;
}

.hcs-community #bbpress-forums ul.topic > li.bbp-topic-title,
.hcs-community-page #bbpress-forums ul.topic > li.bbp-topic-title {
  min-width: 0;
  text-align: left;
}

.hcs-community #bbpress-forums .bbp-topic-title .bbp-topic-permalink,
.hcs-community-page #bbpress-forums .bbp-topic-title .bbp-topic-permalink {
  display: inline-block;
  font-size: 17px;
  line-height: 1.42;
}

.hcs-community #bbpress-forums .bbp-topic-title .bbp-topic-meta,
.hcs-community-page #bbpress-forums .bbp-topic-title .bbp-topic-meta {
  color: var(--hcs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hcs-community #bbpress-forums .bbp-topic-title .bbp-topic-meta a,
.hcs-community-page #bbpress-forums .bbp-topic-title .bbp-topic-meta a {
  color: #874a05;
}

.hcs-community #bbpress-forums ul.topic > li:not(.bbp-topic-title),
.hcs-community-page #bbpress-forums ul.topic > li:not(.bbp-topic-title) {
  font-size: 12px;
}

.hcs-community #bbpress-forums ul.forum > li.bbp-forum-info,
.hcs-community-page #bbpress-forums ul.forum > li.bbp-forum-info {
  padding: 2px 0;
}

.hcs-community #bbpress-forums ul.forum .bbp-forum-title,
.hcs-community-page #bbpress-forums ul.forum .bbp-forum-title {
  font-size: 19px;
}

.hcs-community #bbpress-forums .hcs-forum-preview,
.hcs-community-page #bbpress-forums .hcs-forum-preview {
  margin-top: 16px;
  padding-top: 14px;
}

.hcs-community #bbpress-forums .bbp-template-notice.info:has(.bbp-forum-description),
.hcs-community-page #bbpress-forums .bbp-template-notice.info:has(.bbp-forum-description) {
  display: none;
}

.hcs-community #bbpress-forums > .bbp-template-notice:not(.info),
.hcs-community-page #bbpress-forums > .bbp-template-notice:not(.info) {
  padding: 18px 20px;
  color: #4c3b8a;
  background: #f7f5ff;
  border-color: #ded8ff;
  border-radius: 13px;
  font-size: 14px;
}

.hcs-community #bbpress-forums .bbp-replies,
.hcs-community-page #bbpress-forums .bbp-replies {
  margin: 22px 0;
}

.hcs-community #bbpress-forums .bbp-replies::before,
.hcs-community-page #bbpress-forums .bbp-replies::before {
  display: block;
  margin: 0 0 14px;
  color: var(--hcs-ink);
  content: "Discussion";
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.hct-lang-zh .hcs-community #bbpress-forums .bbp-replies::before,
.hct-lang-zh .hcs-community-page #bbpress-forums .bbp-replies::before {
  content: "讨论";
}

.hcs-community #bbpress-forums .bbp-replies > .bbp-body,
.hcs-community-page #bbpress-forums .bbp-replies > .bbp-body {
  display: block;
}

.hcs-community #bbpress-forums .bbp-replies .bbp-body > .bbp-reply-header,
.hcs-community-page #bbpress-forums .bbp-replies .bbp-body > .bbp-reply-header {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 16px 0 9px;
  padding: 0 3px;
  color: var(--hcs-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
}

.hcs-community #bbpress-forums .bbp-reply-header .bbp-meta,
.hcs-community-page #bbpress-forums .bbp-reply-header .bbp-meta {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
}

.hcs-community #bbpress-forums .bbp-reply-header .bbp-admin-links,
.hcs-community-page #bbpress-forums .bbp-reply-header .bbp-admin-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: transparent;
  font-size: 0;
}

.hcs-community #bbpress-forums .bbp-reply-header .bbp-admin-links a,
.hcs-community-page #bbpress-forums .bbp-reply-header .bbp-admin-links a {
  padding: 3px 7px;
  color: var(--hcs-muted);
  background: #f3f4f6;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.hcs-community #bbpress-forums .bbp-replies .bbp-body > .loop-item,
.hcs-community-page #bbpress-forums .bbp-replies .bbp-body > .loop-item {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  clear: both;
  margin: 0 0 22px;
  padding: 22px;
  background: var(--hcs-paper);
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
  box-shadow: none;
}

.hcs-community #bbpress-forums .bbp-reply-author,
.hcs-community-page #bbpress-forums .bbp-reply-author {
  float: none;
  width: auto;
  min-width: 0;
  clear: none;
  margin: 0;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.hcs-community #bbpress-forums .bbp-reply-author .bbp-author-link,
.hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--hcs-ink);
}

.hcs-community #bbpress-forums .bbp-reply-author .bbp-author-avatar,
.hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-avatar {
  display: block;
  line-height: 0;
}

.hcs-community #bbpress-forums .bbp-reply-author img.avatar,
.hcs-community-page #bbpress-forums .bbp-reply-author img.avatar {
  width: 42px;
  height: 42px;
  margin: 0;
  object-fit: cover;
  border-radius: 50%;
}

.hcs-community #bbpress-forums .bbp-reply-author .bbp-author-name,
.hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-name {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hcs-community #bbpress-forums .bbp-reply-author .bbp-author-role,
.hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-role {
  margin-top: 5px;
}

.hcs-community #bbpress-forums .bbp-reply-ip,
.hcs-community-page #bbpress-forums .bbp-reply-ip {
  display: none;
}

.hcs-community #bbpress-forums .bbp-reply-content,
.hcs-community-page #bbpress-forums .bbp-reply-content {
  float: none;
  width: auto;
  min-width: 0;
  clear: none;
  margin: 0;
  padding: 0;
  color: #30343d;
  text-align: left;
  overflow-wrap: anywhere;
}

.hcs-community #bbpress-forums .bbp-form .bbp-template-notice,
.hcs-community-page #bbpress-forums .bbp-form .bbp-template-notice {
  margin: 0 0 18px;
  padding: 10px 13px;
  color: var(--hcs-muted);
  background: #f7f8fa;
  border-color: var(--hcs-line);
  font-size: 12px;
}

@media (max-width: 760px) {
  .hcs-community-section {
    padding-top: 46px;
  }

  .hcs-community-page-header {
    padding: 22px 0 32px;
  }

  .hcs-community-page-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hcs-community-page-header h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hcs-section-heading {
    margin-bottom: 22px;
  }

  .hcs-community-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hcs-community-sidebar {
    position: static;
    order: -1;
  }

  .hcs-topic-layout .hcs-community-sidebar {
    order: initial;
  }

  .hcs-sidebar-card {
    padding: 18px;
  }

  .hcs-community #bbpress-forums ul.forum,
  .hcs-community #bbpress-forums ul.topic,
  .hcs-community-page #bbpress-forums ul.forum,
  .hcs-community-page #bbpress-forums ul.topic {
    grid-template-columns: minmax(0, 1fr) 54px 54px;
    gap: 8px 10px;
    padding: 17px;
  }

  .hcs-community-archive #bbpress-forums ul.forum {
    grid-template-columns: minmax(0, 1fr);
  }

  .hcs-community #bbpress-forums .bbp-forum-freshness,
  .hcs-community #bbpress-forums .bbp-topic-freshness,
  .hcs-community-page #bbpress-forums .bbp-forum-freshness,
  .hcs-community-page #bbpress-forums .bbp-topic-freshness {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--hcs-line);
  }

  .hcs-community #bbpress-forums .bbp-topic-title,
  .hcs-community #bbpress-forums .bbp-forum-info,
  .hcs-community-page #bbpress-forums .bbp-topic-title,
  .hcs-community-page #bbpress-forums .bbp-forum-info {
    min-width: 0;
  }

  .hcs-community #bbpress-forums .bbp-replies .bbp-body > div,
  .hcs-community-page #bbpress-forums .bbp-replies .bbp-body > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .hcs-community #bbpress-forums .bbp-replies .bbp-body > .bbp-reply-header,
  .hcs-community-page #bbpress-forums .bbp-replies .bbp-body > .bbp-reply-header {
    margin: 15px 0 8px;
    padding: 0 2px;
  }

  .hcs-community #bbpress-forums .bbp-replies .bbp-body > .loop-item,
  .hcs-community-page #bbpress-forums .bbp-replies .bbp-body > .loop-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .hcs-community #bbpress-forums .bbp-reply-author,
  .hcs-community-page #bbpress-forums .bbp-reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .hcs-community #bbpress-forums .bbp-reply-author img.avatar,
  .hcs-community-page #bbpress-forums .bbp-reply-author img.avatar {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .hcs-community #bbpress-forums .bbp-reply-author .bbp-author-role,
  .hcs-community-page #bbpress-forums .bbp-reply-author .bbp-author-role {
    margin: 0 0 0 auto;
  }

  .hcs-community #bbpress-forums .bbp-reply-header,
  .hcs-community-page #bbpress-forums .bbp-reply-header {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
  }

  .hcs-community #bbpress-forums .bbp-reply-header .bbp-admin-links,
  .hcs-community-page #bbpress-forums .bbp-reply-header .bbp-admin-links {
    margin-left: 0;
  }

  .hcs-community #bbpress-forums .bbp-form legend,
  .hcs-community-page #bbpress-forums .bbp-form legend {
    font-size: 19px;
  }
}

/* Give member portraits and generated initials a quiet HoleSnap accent. */
.hcs-community-page .hcs-discussion-avatar img.avatar,
.hcs-community-page .hcs-topic-post-avatar img.avatar,
.hcs-community-page .hcs-topic-discussion .bbp-reply-author img.avatar {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(233, 154, 27, 0.38);
}

@media (max-width: 430px) {
  .hcs-community #bbpress-forums .bbp-form,
  .hcs-community-page #bbpress-forums .bbp-form {
    padding: 18px;
  }

  .hcs-community #bbpress-forums .bbp-submit-wrapper,
  .hcs-community-page #bbpress-forums .bbp-submit-wrapper {
    justify-content: stretch;
  }

  .hcs-community #bbpress-forums .bbp-submit-wrapper button,
  .hcs-community #bbpress-forums .bbp-submit-wrapper input[type="submit"],
  .hcs-community-page #bbpress-forums .bbp-submit-wrapper button,
  .hcs-community-page #bbpress-forums .bbp-submit-wrapper input[type="submit"] {
    width: 100%;
  }
}

/* Flarum-inspired community navigation and discussion feed. */
.hcs-community-page {
  --hcs-community-bg: #fff;
  --hcs-community-soft: #faf9f6;
  --hcs-community-accent: #e8921f;
  background: var(--hcs-community-bg);
}

body.hct-site.hcs-community-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

body.hct-site.hcs-community-page > .hct-main {
  width: 100%;
  flex: 1 0 auto;
  padding-top: var(--hct-header-height, 76px);
}

.hcs-community-page .hcs-community-intro {
  padding: 27px 0 25px;
  background: var(--hcs-community-soft);
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page .hcs-community-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hcs-community-page .hcs-community-intro .hcs-eyebrow,
.hcs-community-page .hcs-forum-heading .hcs-eyebrow {
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: .1em;
}

.hcs-community-page .hcs-community-intro h1,
.hcs-community-page .hcs-forum-heading h1,
.hcs-community-page .hcs-topic-heading h1 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 740;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.hcs-community-page .hcs-community-intro > .hct-shell > div > p:last-child,
.hcs-community-page .hcs-forum-heading > div > p:not(.hcs-eyebrow) {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hcs-community-page .hcs-community-content {
  padding: 28px 0 76px;
  background: #fff;
}

.hcs-community-page .hcs-discussion-layout {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 54px);
}

.hcs-community-page .hcs-community-main,
.hcs-community-page .hcs-community-sidebar {
  min-width: 0;
}

.hcs-community-page .hcs-community-sidebar {
  position: sticky;
  top: calc(var(--hct-header-height, 76px) + 24px);
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  background: #fcfbf8;
  border: 1px solid #ebe9e3;
  border-radius: 12px;
}

body.admin-bar.hcs-community-page .hcs-community-sidebar {
  top: calc(var(--hct-header-height, 76px) + 56px);
}

.hcs-community-page .hcs-sidebar-navigation {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.hcs-community-page .hcs-sidebar-all,
.hcs-community-page .hcs-sidebar-manage-link,
.hcs-community-page .hcs-sidebar-forum-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  color: #424651;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 580;
  line-height: 1.35;
  text-decoration: none;
}

.hcs-community-page .hcs-sidebar-all:hover,
.hcs-community-page .hcs-sidebar-manage-link:hover,
.hcs-community-page .hcs-sidebar-forum-link:hover {
  color: var(--hcs-ink);
  background: #f5f5f3;
}

.hcs-community-page .hcs-sidebar-all.is-active,
.hcs-community-page .hcs-sidebar-manage-link.is-active,
.hcs-community-page .hcs-sidebar-forum-link.is-active {
  color: #7a4300;
  background: #fff4df;
}

.hcs-community-page .hcs-sidebar-nav-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  color: #858a94;
  font-size: 15px;
  line-height: 1;
}

.hcs-community-page .hcs-sidebar-nav-heading {
  margin: 21px 10px 7px;
  color: #858a94;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hcs-community-page .hcs-sidebar-forum-list,
.hcs-community-page .hcs-sidebar-forum-list ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hcs-community-page .hcs-sidebar-forum-list ul {
  padding-left: 12px;
}

.hcs-community-page .hcs-sidebar-forum-link {
  min-height: 36px;
  gap: 8px;
  font-size: 12px;
}

.hcs-community-page .hcs-sidebar-all,
.hcs-community-page .hcs-sidebar-manage-link,
.hcs-community-page .hcs-sidebar-forum-link {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.hcs-community-page .hcs-sidebar-forum-name {
  min-width: 0;
  flex: 1;
}

.hcs-community-page .hcs-sidebar-forum-count {
  color: #888d96;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hcs-community-page .hcs-sidebar-guideline {
  margin: 18px 10px 0;
  padding-top: 14px;
  color: var(--hcs-muted);
  border-top: 1px solid var(--hcs-line);
  font-size: 11px;
  line-height: 1.55;
}

.hcs-community-page .hcs-feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 8px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page .hcs-feed-heading h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 20px;
  font-weight: 730;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.hcs-community-page .hcs-feed-heading p {
  margin: 4px 0 0;
  color: var(--hcs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hcs-community-page .hcs-feed-search {
  display: flex;
  width: min(100%, 230px);
  align-items: center;
  gap: 5px;
}

.hcs-community-page .hcs-feed-search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  color: var(--hcs-ink);
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
}

.hcs-community-page .hcs-feed-search button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--hcs-ink);
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.hcs-community-page .hcs-discussion-feed {
  display: grid;
}

.hcs-community-page .hcs-discussion-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: start;
  gap: 13px;
  padding: 18px 2px;
  border-bottom: 1px solid #eceef1;
}

.hcs-community-page .hcs-discussion-avatar {
  display: none;
}

.hcs-community-page .hcs-discussion-avatar img.avatar {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.hcs-community-page .hcs-discussion-copy {
  min-width: 0;
}

.hcs-community-page .hcs-discussion-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  color: #777d87;
  font-size: 11px;
  line-height: 1.4;
}

.hcs-community-page .hcs-discussion-forum {
  color: #955307;
  font-weight: 700;
  text-decoration: none;
}

.hcs-community-page .hcs-discussion-copy h3 {
  margin: 4px 0 0;
  color: var(--hcs-ink);
  font-size: 16px;
  font-weight: 690;
  letter-spacing: -.015em;
  line-height: 1.42;
}

.hcs-community-page .hcs-discussion-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.hcs-community-page .hcs-discussion-copy h3 a:hover {
  color: #8d4e00;
}

.hcs-community-page .hcs-discussion-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: #666c76;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hcs-community-page .hcs-discussion-replies {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: 4px;
  padding: 5px 3px;
  color: #777d87;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.2;
  text-decoration: none;
}

.hcs-community-page .hcs-discussion-replies:hover {
  color: #7a4300;
  background: #fff4df;
}

.hcs-community-page .hcs-discussion-replies strong {
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 700;
}

.hcs-community-page .hcs-discussion-replies > span:first-child {
  font-size: 14px;
}

.hcs-community-page .hcs-feed-empty {
  padding: 26px 0;
  color: var(--hcs-muted);
  border-bottom: 1px solid var(--hcs-line);
  font-size: 14px;
}

.hcs-community-page .hcs-feed-pagination ul {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hcs-community-page .hcs-feed-pagination a,
.hcs-community-page .hcs-feed-pagination span {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--hcs-ink);
  border: 1px solid var(--hcs-line);
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
}

.hcs-community-page .hcs-feed-pagination .current {
  background: #fff4df;
  border-color: #f1d6aa;
}

.hcs-community-page .hcs-start-discussion {
  position: relative;
  flex: 0 0 auto;
}

.hcs-community-page a.hcs-start-discussion {
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.hcs-community-page .hcs-composer-toggle::-webkit-details-marker,
.hcs-community-page .hcs-moderation > summary::-webkit-details-marker {
  display: none;
}

.hcs-community-page .hcs-composer-toggle::marker,
.hcs-community-page .hcs-moderation > summary::marker {
  content: "";
}

.hcs-community-page .hcs-community-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #8a8f98;
  font-size: 12px;
}

.hcs-community-page .hcs-community-breadcrumb a {
  color: #727883;
  text-decoration: none;
}

.hcs-community-page .hcs-community-breadcrumb a:hover {
  color: #8d4e00;
}

.hcs-community-page .hcs-forum-heading,
.hcs-community-page .hcs-topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 17px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page .hcs-forum-heading > div,
.hcs-community-page .hcs-topic-heading > div {
  min-width: 0;
}

.hcs-community-page .hcs-forum-heading .hcs-eyebrow {
  color: #858a94;
}

.hcs-community-page .hcs-forum-heading h1,
.hcs-community-page .hcs-topic-heading h1 {
  font-size: clamp(25px, 3vw, 33px);
}

.hcs-community-page .hcs-forum-heading > div > p:not(.hcs-eyebrow) {
  font-size: 13px;
}

.hcs-community-page .hcs-forum-counts {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  color: #7a808a;
  font-size: 11px;
}

.hcs-community-page .hcs-topic-forum-tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8c4e08;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-heading > div > p {
  margin: 7px 0 0;
  color: #858a94;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hcs-community-page .hcs-topic-heading .hcs-button,
.hcs-community-page .hcs-forum-heading .hcs-button {
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 12px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums,
.hcs-community-page .hcs-forum-topics #bbpress-forums {
  margin-top: 0;
}

.hcs-community-page .hcs-topic-discussion #bbp-breadcrumbs,
.hcs-community-page .hcs-forum-topics #bbp-breadcrumbs,
.hcs-community-page .hcs-topic-discussion .bbp-breadcrumb,
.hcs-community-page .hcs-forum-topics .bbp-breadcrumb {
  display: none;
}

.hcs-community-page .hcs-forum-topics #bbp-search-form {
  margin: 0 0 16px;
}

.hcs-community-page .hcs-forum-topics .bbp-pagination {
  margin: 10px 0;
}

.hcs-community-page .hcs-forum-topics ul.bbp-topics > .bbp-body {
  gap: 0;
}

.hcs-community-page .hcs-forum-topics ul.topic {
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 12px;
  padding: 16px 3px;
  border: 0;
  border-bottom: 1px solid #eceef1;
  border-radius: 0;
}

.hcs-community-page .hcs-forum-topics ul.topic:hover {
  border-color: #eceef1;
}

.hcs-community-page .hcs-forum-topics .bbp-topic-freshness {
  display: none;
}

.hcs-community-page .hcs-forum-topics .bbp-topic-voice-count,
.hcs-community-page .hcs-forum-topics .bbp-pagination-count,
.hcs-community-page .hcs-topic-discussion .bbp-pagination-count {
  display: none;
}

.hcs-community-page .hcs-forum-topics .bbp-topic-reply-count {
  color: #777d87;
  font-size: 11px;
  text-align: right;
}

.hcs-community-page .hcs-forum-topics .bbp-topic-reply-count::after {
  margin-left: 3px;
  color: #8a8f98;
  content: "replies";
  font-size: 10px;
}

.hct-lang-zh .hcs-community-page .hcs-forum-topics .bbp-topic-reply-count::after {
  content: "条回复";
}

.hcs-community-page .hcs-forum-topics .bbp-topic-title .bbp-topic-permalink {
  font-size: 15px;
}

.hcs-community-page .hcs-forum-topics .bbp-topic-meta {
  font-size: 11px;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies {
  margin: 13px 0 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies::before {
  margin-bottom: 5px;
  color: #858a94;
  content: "";
  font-size: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies .bbp-body > .bbp-reply-header {
  min-height: 26px;
  justify-content: flex-start;
  margin: 7px 0 0;
  padding: 0 2px;
  font-size: 11px;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies .bbp-body > .loop-item {
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 15px;
  padding: 18px;
  border-radius: 7px;
}

.hcs-community-page .hcs-topic-discussion .bbp-reply-author .bbp-author-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0 9px;
}

.hcs-community-page .hcs-topic-discussion .bbp-reply-author img.avatar {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  margin: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-reply-author .bbp-author-role {
  grid-column: 2;
  margin: 1px 0 0;
  font-size: 10px;
}

.hcs-community-page .hcs-topic-discussion .bbp-reply-content {
  font-size: 14px;
  line-height: 1.65;
}

.hcs-community-page .hcs-moderation {
  position: relative;
  margin-left: auto;
  color: #737985;
  font-size: 11px;
}

.hcs-community-page .hcs-moderation > summary {
  padding: 4px 8px;
  color: #737985;
  background: #f5f6f7;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.hcs-community-page .hcs-moderation:not([open]) > .bbp-admin-links {
  display: none !important;
}

.hcs-community-page .hcs-moderation[open] > .bbp-admin-links {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  right: 0;
  display: grid !important;
  min-width: 156px;
  max-width: min(240px, calc(100vw - 24px));
  max-height: min(280px, calc(100vh - 24px));
  overflow-y: auto;
  gap: 2px !important;
  margin: 0 !important;
  padding: 7px !important;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(17, 19, 24, .16), 0 2px 6px rgba(17, 19, 24, .06);
}

.hcs-community-page .hcs-moderation.hcs-moderation-open-up[open] > .bbp-admin-links {
  top: auto;
  bottom: calc(100% + 6px);
}

.hcs-community-page .hcs-moderation .bbp-admin-links a {
  display: block;
  padding: 5px 7px !important;
  color: #555b66 !important;
  background: transparent !important;
  border-radius: 4px;
  font-size: 11px !important;
  font-weight: 550 !important;
  text-align: left;
  text-decoration: none;
}

.hcs-community-page .hcs-moderation .bbp-admin-links a:hover {
  color: var(--hcs-ink) !important;
  background: #f5f6f7 !important;
}

.hcs-community-page .hcs-composer {
  margin: 20px 0 0;
  padding: 0;
  border: 1px solid var(--hcs-line);
  border-radius: 8px;
  background: #fff;
}

.hcs-community-page .hcs-composer-toggle {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.hcs-community-page .hcs-composer:not([open]) > form#new-post {
  display: none !important;
}

.hcs-community-page .hcs-composer-toggle::after {
  content: "+";
  color: #965606;
  font-size: 18px;
  font-weight: 500;
}

.hcs-community-page .hcs-composer[open] .hcs-composer-toggle {
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page .hcs-composer[open] .hcs-composer-toggle::after {
  content: "−";
}

.hcs-community-page .hcs-composer .bbp-form {
  margin: 0;
  padding: 19px;
  border: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: none;
}

.hcs-community-page .hcs-composer .bbp-form legend {
  margin-bottom: 14px;
  font-size: 17px;
}

.hcs-community-page .hcs-composer .bbp-form textarea {
  min-height: 145px;
}

.hcs-community-page .hcs-composer .bbp-submit-wrapper {
  margin-top: 13px;
}

.hcs-community-page .hcs-composer .bbp-submit-wrapper button,
.hcs-community-page .hcs-composer .bbp-submit-wrapper input[type="submit"] {
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: #111318;
  border-color: #111318;
  border-radius: 6px;
  font-size: 12px;
}

.hcs-community-page #bbpress-forums :focus-visible,
.hcs-community-page .hcs-composer-toggle:focus-visible,
.hcs-community-page .hcs-moderation > summary:focus-visible {
  outline: 3px solid rgba(232, 146, 31, .35);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  body.hct-site.hcs-community-page > .hct-main {
    padding-top: 66px;
  }

  .hcs-community-page .hcs-community-intro {
    padding: 23px 0;
  }

  .hcs-community-page .hcs-community-intro-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hcs-community-page .hcs-community-intro h1 {
    font-size: 30px;
  }

  .hcs-community-page .hcs-community-content {
    padding: 22px 0 54px;
  }

  .hcs-community-page .hcs-discussion-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .hcs-community-page .hcs-community-sidebar {
    position: static;
    order: 2;
    padding-top: 15px;
    border-top: 1px solid var(--hcs-line);
  }

  .hcs-community-page .hcs-sidebar-guideline {
    display: none;
  }

  .hcs-community-page .hcs-feed-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hcs-community-page .hcs-feed-search {
    width: 100%;
  }

  .hcs-community-page .hcs-forum-heading,
  .hcs-community-page .hcs-topic-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hcs-community-page .hcs-topic-discussion .bbp-replies .bbp-body > .loop-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .hcs-community-page .hcs-forum-topics ul.topic {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 8px;
    padding: 14px 0;
  }
}

@media (max-width: 440px) {
  .hcs-community-page .hcs-discussion-item {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 9px;
    padding: 15px 0;
  }

  .hcs-community-page .hcs-discussion-copy h3 {
    font-size: 14px;
  }

  .hcs-community-page .hcs-discussion-excerpt {
    font-size: 11px;
  }

  .hcs-community-page .hcs-topic-heading .hcs-button,
  .hcs-community-page .hcs-forum-heading .hcs-button {
    width: 100%;
  }
}

/* Dedicated topic creation page. */
.hcs-topic-form-page .hcs-new-topic-content {
  padding-top: clamp(44px, 5vw, 58px);
}

.hcs-topic-form-page .hcs-create-topic-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-topic-form-page .hcs-create-topic-header h1 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.hcs-topic-form-page .hcs-create-topic-header > div > p:last-child {
  margin: 9px 0 0;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hcs-topic-form-page .hcs-create-topic-header .hcs-eyebrow {
  display: block;
  margin: 0 0 12px;
  line-height: 1.4;
}

.hcs-topic-form-page .hcs-create-topic-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #8c4e08;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hcs-topic-form-page .hcs-topic-access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 10px;
}

.hcs-topic-form-page .hcs-topic-access-card h2,
.hcs-topic-form-page .hcs-topic-access-card p {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.hcs-topic-form-page dialog.hcs-access-dialog {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 36px));
  max-width: none;
  margin: auto;
  padding: 34px 30px 28px;
  color: var(--hcs-ink);
  text-align: center;
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(17, 19, 24, .2);
}

.hcs-topic-form-page dialog.hcs-access-dialog::backdrop {
  background: rgba(17, 19, 24, .48);
  backdrop-filter: blur(3px);
}

.hcs-topic-form-page .hcs-access-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--hcs-muted);
  font-size: 24px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.hcs-topic-form-page .hcs-access-dialog-close:hover {
  color: var(--hcs-ink);
  background: #f4f5f7;
}

.hcs-topic-form-page .hcs-access-dialog-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  place-items: center;
  color: #9a570b;
  font-size: 22px;
  font-weight: 750;
  background: #fff3df;
  border: 1px solid #f4d29b;
  border-radius: 50%;
}

.hcs-topic-form-page .hcs-access-dialog h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hcs-topic-form-page .hcs-access-dialog p {
  margin: 10px 0 23px;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hcs-topic-form-page .hcs-access-dialog .hcs-button {
  justify-content: center;
  min-height: 46px;
  gap: 9px;
}

.hcs-topic-form-page .hcs-new-topic-form #bbpress-forums {
  margin: 0;
}

.hcs-topic-form-page .hcs-new-topic-form #bbp-breadcrumbs,
.hcs-topic-form-page .hcs-new-topic-form .bbp-topic-form > .bbp-breadcrumb {
  display: none;
}

.hcs-topic-form-page .hcs-new-topic-form .bbp-topic-form {
  margin-top: 0;
}

.hcs-community-page #bbpress-forums .hcs-image-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-in-toolbar {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 4px;
  vertical-align: top;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-trigger {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #343942;
  background: #fff;
  border: 1px solid var(--hcs-line);
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-in-toolbar .hcs-image-upload-trigger {
  min-height: 30px;
  padding: 0 8px;
  background: transparent;
  border-color: transparent;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-trigger svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-trigger:hover:not(:disabled) {
  background: #f7f7f5;
  border-color: #c8cdd6;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-trigger:disabled {
  cursor: wait;
  opacity: .65;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-input {
  display: none !important;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-status {
  color: var(--hcs-muted);
  font-size: 12px;
}

.hcs-community-page #bbpress-forums .hcs-image-upload-in-toolbar .hcs-image-upload-status {
  max-width: 150px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hcs-topic-form-page .hcs-new-topic-form #bbp_stick_topic,
.hcs-topic-form-page .hcs-new-topic-form #bbp_topic_status,
.hcs-topic-form-page .hcs-new-topic-form #bbp_stick_topic_select,
.hcs-topic-form-page .hcs-new-topic-form #bbp_topic_status_select {
  display: none !important;
}

.hcs-topic-form-page .hcs-new-topic-form p:has(#bbp_stick_topic),
.hcs-topic-form-page .hcs-new-topic-form p:has(#bbp_topic_status),
.hcs-topic-form-page .hcs-new-topic-form p:has(#bbp_stick_topic_select),
.hcs-topic-form-page .hcs-new-topic-form p:has(#bbp_topic_status_select),
.hcs-topic-form-page .hcs-new-topic-form p:has(#bbp_topic_tags) {
  display: none !important;
}

.hcs-community-page #bbpress-forums form#new-post p:has(#bbp_topic_tags),
.hcs-community-page #bbpress-forums form#new-post p:has(#bbp_topic_subscription) {
  display: none !important;
}

@media (max-width: 760px) {
  .hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar {
    gap: 3px;
    padding: 6px 7px;
  }

  .hcs-community-page #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar input.ed_button {
    min-height: 32px;
    padding: 0 7px;
  }

  .hcs-community-page #bbpress-forums .bbp-form .wp-editor-container textarea.wp-editor-area {
    height: 210px;
    min-height: 160px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-toolbar-grp {
    padding: 5px 7px;
  }

  .hcs-community-page #bbpress-forums .bbp-form .wp-editor-wrap .mce-edit-area iframe {
    min-height: 210px;
  }

  .hcs-topic-form-page .hcs-new-topic-content {
    padding-top: 36px;
  }

  .hcs-topic-form-page .hcs-create-topic-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hcs-topic-form-page .hcs-topic-access-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reddit-inspired topic detail: one readable post card, then compact replies. */
.hcs-community-page .hcs-topic-post-card {
  margin: 0 0 26px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e1e3e7;
  border-radius: 11px;
}

.hcs-community-page .hcs-topic-post-byline {
  display: flex;
  min-height: 34px;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #737985;
  font-size: 12px;
  line-height: 1.4;
}

.hcs-community-page .hcs-topic-post-forum,
.hcs-community-page .hcs-topic-post-author a {
  color: #343942;
  font-weight: 700;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-post-forum:hover,
.hcs-community-page .hcs-topic-post-author a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hcs-community-page .hcs-topic-post-avatar,
.hcs-community-page .hcs-topic-post-avatar img.avatar {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.hcs-community-page .hcs-topic-post-separator {
  color: #a0a4ab;
}

.hcs-community-page .hcs-topic-post-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.hcs-community-page .hcs-topic-post-tools .hcs-moderation {
  margin-left: 0;
}

.hcs-community-page .hcs-topic-post-title {
  margin: 14px 0 13px;
  color: var(--hcs-ink);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.hcs-community-page .hcs-topic-related-app {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
  color: var(--hcs-muted);
  font-size: 12px;
}

.hcs-community-page .hcs-topic-related-app strong {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 10px;
  color: #8a4b08;
  background: #fff5e5;
  border: 1px solid #f6d59f;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.hcs-community-page .hcs-topic-post-content {
  color: #30343d;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hcs-community-page .hcs-topic-post-content > :first-child {
  margin-top: 0;
}

.hcs-community-page .hcs-topic-post-content > :last-child {
  margin-bottom: 0;
}

.hcs-community-page .hcs-topic-post-content img,
.hcs-community-page .hcs-topic-post-content video,
.hcs-community-page .hcs-topic-post-content iframe {
  max-width: 100%;
  border-radius: 8px;
}

.hcs-community-page .hcs-topic-post-content img {
  height: auto;
}

.hcs-community-page .hcs-topic-post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #eceef1;
}

.hcs-community-page .hcs-topic-post-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #343942;
  background: #f2f3f5;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s ease;
}

.hcs-community-page .hcs-topic-post-action:hover {
  color: #252932;
  background: #e8eaed;
}

.hcs-community-page .hcs-topic-post-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hcs-community-page .hcs-topic-post-action strong {
  font-weight: 700;
}

.hcs-community-page .hcs-topic-login-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 17px 19px;
  background: #fff8e9;
  border: 1px solid #f1d59b;
  border-radius: 10px;
}

.hcs-community-page .hcs-topic-login-card p {
  margin: 0;
  color: #65400d;
  font-size: 13px;
  line-height: 1.55;
}

.hcs-community-page .hcs-topic-login-button {
  display: inline-flex;
  min-height: 39px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  color: #fff;
  background: #111318;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-login-button:hover {
  color: #fff;
  background: #282b32;
}

.hcs-community-page .hcs-topic-login-button:focus-visible {
  outline: 2px solid #e99a1b;
  outline-offset: 2px;
}

.hcs-community-page .hcs-topic-replies-section {
  scroll-margin-top: 90px;
}

.hcs-community-page .hcs-topic-replies-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
}

.hcs-community-page .hcs-topic-replies-heading h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hcs-community-page .hcs-topic-replies-heading > span {
  display: inline-flex;
  min-width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #626873;
  background: #f0f1f3;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}

.hcs-community-page .hcs-topic-empty-replies {
  margin: 0 0 14px;
  padding: 15px 17px;
  color: #686e78;
  background: #fff;
  border: 1px solid #e7e9ed;
  border-radius: 9px;
  font-size: 13px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums > .bbp-template-notice.info,
.hcs-community-page .hcs-topic-discussion .bbp-replies::before,
.hcs-community-page .hcs-topic-discussion .hcs-topic-lead-duplicate {
  display: none !important;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies {
  margin: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies > .bbp-body {
  display: grid;
  gap: 10px;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list,
.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list > li,
.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
  margin: 12px 0 0 26px;
  padding-left: 17px;
  border-left: 2px solid #e99a1b;
}

.hcs-community-page .hcs-topic-discussion .hcs-topic-thread-item > .hcs-topic-reply-card {
  background: #fffaf1;
}

.hcs-community-page .hcs-topic-reply-card {
  position: relative;
  margin: 0;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
}

.hcs-community-page .hcs-topic-reply-card.hcs-moderation-active,
.hcs-community-page .hcs-topic-discussion li.hcs-moderation-active {
  z-index: 30;
}

.hcs-community-page .hcs-topic-reply-card > .bbp-reply-header {
  position: absolute;
  top: 12px;
  right: 13px;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-header .bbp-meta {
  width: auto;
}

.hcs-community-page .hcs-topic-reply-card .hcs-guest-reply-link {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #65400d;
  background: #fff3dc;
  border: 1px solid #f3dfba;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-reply-card .hcs-guest-reply-link:hover {
  color: #4c2e05;
  background: #ffe9bd;
}

.hcs-community-page .hcs-topic-reply-card .hcs-guest-reply-link:focus-visible {
  outline: 2px solid #e99a1b;
  outline-offset: 2px;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-permalink {
  display: none;
}

.hcs-community-page .hcs-topic-reply-card > [class*="bbp-reply-position-"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 42px;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author .bbp-author-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author img.avatar {
  width: 30px;
  height: 30px;
}

.hcs-community-page .hcs-topic-reply-card .bbp-author-role {
  display: none;
}

.hcs-community-page .hcs-topic-reply-card .hcs-reply-date {
  color: #7d828c;
  font-size: 11px;
  font-weight: 400;
}

.hcs-community-page .hcs-topic-reply-card .hcs-comment-reply-link {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #4d535d;
  background: #f2f3f5;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-reply-card .hcs-comment-reply-link:hover {
  color: #252932;
  background: #e8eaed;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-content {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.hcs-community-page .hcs-topic-discussion .hcs-composer {
  margin-top: 14px;
}

.hcs-community-page .hcs-topic-discussion .hcs-composer:not([open]),
.hcs-community-page .hcs-topic-discussion .hcs-composer-toggle {
  display: none;
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-topic-login-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hcs-community-page .hcs-topic-login-button {
    width: 100%;
  }

  .hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
    margin-left: 12px;
    padding-left: 11px;
  }

  .hcs-community-page .hcs-topic-discussion .hcs-topic-thread-item > .hcs-topic-reply-card {
    padding: 12px;
  }

  .hcs-community-page .hcs-topic-post-card {
    margin-bottom: 21px;
    padding: 16px;
    border-radius: 9px;
  }

  .hcs-community-page .hcs-topic-post-title {
    margin-top: 12px;
    font-size: 22px;
  }

  .hcs-community-page .hcs-topic-post-content {
    font-size: 14px;
  }

  .hcs-community-page .hcs-topic-reply-card {
    padding: 14px;
  }
}

/* Topic reading view: the post and its comments share one calm canvas. */
.hcs-community-page .hcs-topic-main {
  width: 100%;
  max-width: 920px;
}

.hcs-community-page .hcs-topic-post-card {
  margin-bottom: 23px;
  padding: 0 0 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e7e9ed;
  border-radius: 0;
}

.hcs-community-page .hcs-topic-post-byline {
  min-height: 36px;
  flex-wrap: nowrap;
  gap: 9px;
}

.hcs-community-page .hcs-topic-post-back {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
  color: #3d444e;
  background: #f0f2f4;
  border-radius: 50%;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-post-back:hover {
  color: #111318;
  background: #e5e8eb;
}

.hcs-community-page .hcs-topic-post-back svg {
  width: 19px;
  height: 19px;
}

.hcs-community-page .hcs-topic-post-avatar,
.hcs-community-page .hcs-topic-post-avatar img.avatar {
  width: 32px;
  height: 32px;
}

.hcs-community-page .hcs-topic-post-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.hcs-community-page .hcs-topic-post-forum {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hcs-community-page .hcs-topic-post-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #777e88;
  font-size: 11px;
}

.hcs-community-page .hcs-topic-post-meta .hcs-topic-post-author,
.hcs-community-page .hcs-topic-post-meta .hcs-topic-post-author a {
  color: #777e88;
  font-weight: 500;
}

.hcs-community-page .hcs-topic-post-title {
  margin: 17px 0 12px;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.24;
}

.hcs-community-page .hcs-topic-post-content {
  font-size: 15px;
  line-height: 1.68;
}

.hcs-community-page .hcs-topic-post-actions {
  gap: 7px;
  margin-top: 21px;
  padding-top: 0;
  border-top: 0;
}

.hcs-community-page .hcs-topic-post-action {
  min-height: 32px;
  padding: 0 11px;
}

.hcs-community-page .hcs-topic-post-more {
  position: relative;
  margin-left: auto;
}

.hcs-community-page .hcs-topic-post-more[hidden] {
  display: none;
}

.hcs-community-page .hcs-topic-post-more > summary {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  color: #555d67;
  background: #f2f3f5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.hcs-community-page .hcs-topic-post-more > summary::-webkit-details-marker {
  display: none;
}

.hcs-community-page .hcs-topic-post-more > summary::marker {
  content: '';
}

.hcs-community-page .hcs-topic-post-more > summary svg {
  width: 17px;
  height: 17px;
}

.hcs-community-page .hcs-topic-post-more > summary:hover,
.hcs-community-page .hcs-topic-post-more[open] > summary {
  color: #252932;
  background: #e8eaed;
}

.hcs-community-page .hcs-topic-post-more-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 19, 24, .12);
}

.hcs-community-page .hcs-topic-post-more:not([open]) .hcs-topic-post-more-menu {
  display: none;
}

.hcs-community-page .hcs-topic-post-more-menu a {
  display: block;
  padding: 8px 10px;
  color: #343942;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-post-more-menu a:hover {
  background: #f5f6f7;
}

.hcs-community-page .hcs-topic-replies-heading {
  margin-bottom: 13px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-replies {
  margin: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list > .hcs-topic-lead-item {
  display: none;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies > .bbp-body,
.hcs-community-page .hcs-topic-discussion .bbp-replies-list,
.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies {
  display: block;
}

.hcs-community-page .hcs-topic-discussion .bbp-pagination {
  margin: 0 0 12px;
}

.hcs-community-page .hcs-topic-discussion .bbp-pagination:not(:has(.bbp-pagination-links a)) {
  display: none;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list > li {
  padding-bottom: 12px;
  border-bottom: 1px solid #eceef1;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list > li + li {
  padding-top: 12px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
  position: relative;
  margin: 2px 0 0 16px;
  padding-left: 18px;
  border-left: 1px solid #d9dde3;
}

.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies > li + li {
  margin-top: 7px;
}

.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies.is-collapsed > li {
  display: none;
}

.hcs-community-page .hcs-topic-discussion .hcs-thread-toggle {
  position: absolute;
  top: 14px;
  left: -10px;
  display: flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #67707b;
  background: #fff;
  border: 1px solid #bfc6cf;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.hcs-community-page .hcs-topic-discussion .hcs-thread-toggle:hover {
  color: #111318;
  border-color: #7e8793;
}

.hcs-community-page .hcs-topic-discussion .hcs-topic-thread-item > .hcs-topic-reply-card,
.hcs-community-page .hcs-topic-reply-card {
  margin: 0;
  padding: 11px 0 9px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hcs-community-page .hcs-topic-reply-card:target {
  background: transparent;
  box-shadow: none;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author {
  min-height: 32px;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 0;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author .bbp-author-link {
  gap: 8px;
  color: #242932;
  font-size: 12px;
  font-weight: 700;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-author img.avatar {
  width: 32px;
  height: 32px;
}

.hcs-community-page .hcs-topic-reply-card .hcs-reply-date-link {
  color: #7d848e;
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-reply-card .hcs-reply-date-link:hover {
  color: #8c4e08;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-content {
  margin: 3px 0 0 40px;
  font-size: 14px;
  line-height: 1.6;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-content > :first-child {
  margin-top: 0;
}

.hcs-community-page .hcs-topic-reply-card .bbp-reply-content > :last-child {
  margin-bottom: 0;
}

.hcs-community-page .hcs-reply-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0 35px;
}

.hcs-community-page .hcs-topic-reply-card .hcs-reply-actions .hcs-comment-reply-link,
.hcs-community-page .hcs-topic-reply-card .hcs-reply-actions .hcs-guest-reply-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  color: #5c6470;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}

.hcs-community-page .hcs-topic-reply-card .hcs-reply-actions .hcs-comment-reply-link:hover,
.hcs-community-page .hcs-topic-reply-card .hcs-reply-actions .hcs-guest-reply-link:hover {
  color: #252932;
  background: #f1f2f4;
}

.hcs-community-page .hcs-reply-actions svg {
  width: 15px;
  height: 15px;
}

.hcs-community-page .hcs-reply-actions .hcs-moderation {
  margin-left: 0;
}

.hcs-community-page .hcs-moderation > summary {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6c7480;
  background: transparent;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

.hcs-community-page .hcs-moderation > summary:hover,
.hcs-community-page .hcs-moderation[open] > summary {
  color: #8b5108;
  background: #fff3dc;
}

.hcs-community-page .hcs-moderation > summary:focus-visible {
  outline: 2px solid rgba(233, 154, 27, .55);
  outline-offset: 2px;
}

.hcs-community-page .hcs-topic-login-card {
  margin-top: 20px;
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e7e9ed;
  border-radius: 0;
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-topic-post-card {
    margin-bottom: 20px;
    padding: 0 0 20px;
    border-radius: 0;
  }

  .hcs-community-page .hcs-topic-post-title {
    font-size: 23px;
  }

  .hcs-community-page .hcs-topic-post-more > summary span {
    display: none;
  }

  .hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
    margin-left: 12px;
    padding-left: 13px;
  }

  .hcs-community-page .hcs-topic-discussion .hcs-topic-thread-item > .hcs-topic-reply-card,
  .hcs-community-page .hcs-topic-reply-card {
    padding: 10px 0 8px;
  }

  .hcs-community-page .hcs-topic-reply-card .bbp-reply-content {
    margin-left: 40px;
  }
}

/* Reply identity: author and portrait first, timestamp on a quiet second line. */
.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-reply-author {
  display: grid;
  min-height: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: 28px auto;
  align-items: center;
  gap: 1px 8px;
  padding: 0;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-link {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  grid-column: 1 / -1;
  grid-row: 1;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-link img.avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin: 0;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-name {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .hcs-reply-date-link {
  display: block;
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  line-height: 1.3;
}

/* Shared list and editor polish after the four-page audit. */
.hcs-community-page .hcs-feed-search {
  width: min(100%, 270px);
}

.hcs-community-page .hcs-feed-search input[type="search"],
.hcs-community-page .hcs-feed-search button {
  height: 40px;
}

.hcs-community-page .hcs-feed-search button {
  width: 40px;
  flex-basis: 40px;
}

.hcs-community-page .hcs-feed-search button svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}

.hcs-community-page .hcs-discussion-meta {
  color: #626a75;
  font-size: 12px;
}

.hcs-community-page .hcs-discussion-excerpt {
  color: #606773;
  font-size: 13px;
}

.hcs-community-page .hcs-discussion-replies {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0 7px;
  font-size: 12px;
}

.hcs-community-page .hcs-discussion-replies svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic {
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
  padding: 17px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eceef1;
  border-radius: 0;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums .bbp-pagination:not(:has(.bbp-pagination-links a)) {
  display: none;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic:hover {
  background: transparent;
  border-color: #eceef1;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic > .bbp-topic-title,
.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic > .bbp-topic-reply-count {
  width: auto;
  float: none;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic > .bbp-topic-reply-count {
  justify-self: end;
  align-self: center;
  font-size: 12px;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic .bbp-topic-meta {
  color: #6d7480;
  font-size: 11px;
}

.hcs-community-page .hcs-new-topic-content {
  margin-top: var(--hct-header-height, 76px);
  padding-top: 42px;
}

body.admin-bar.hcs-topic-form-page .hcs-new-topic-content {
  margin-top: calc(var(--hct-header-height, 76px) + var(--wp-admin--admin-bar--height, 32px));
}

.hcs-topic-edit-page .hcs-new-topic-content {
  margin-top: 0;
  padding-top: 32px;
}

body.admin-bar.hcs-topic-edit-page .hcs-new-topic-content {
  margin-top: 0;
}

.hcs-topic-edit-page .hcs-edit-topic-form #bbpress-forums #bbp-breadcrumbs,
.hcs-topic-edit-page .hcs-edit-topic-form #bbpress-forums > .bbp-breadcrumb,
.hcs-topic-edit-page .hcs-edit-topic-form .bbp-template-notice:has(.bbp-topic-description) {
  display: none !important;
}

.hcs-topic-form-page .hcs-new-topic-form #bbpress-forums form#new-post > fieldset.bbp-form {
  margin: 25px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hcs-topic-form-page .hcs-new-topic-form #bbpress-forums form#new-post > fieldset.bbp-form > legend {
  display: none;
}

.hcs-topic-edit-page #bbpress-forums form#new-post > fieldset.bbp-form > div > fieldset.bbp-form {
  margin: 20px 0 0;
  padding: 16px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hcs-line);
  border-radius: 0;
  box-shadow: none;
}

.hcs-topic-edit-page #bbpress-forums form#new-post > fieldset.bbp-form > div > fieldset.bbp-form > legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0;
}

.hcs-topic-edit-page #bbpress-forums #bbp_log_topic_edit {
  width: 15px;
  min-height: 15px;
  margin: 0;
  padding: 0;
  accent-color: var(--hcs-orange);
}

.hcs-topic-edit-page #bbpress-forums form#new-post > fieldset.bbp-form > div > fieldset.bbp-form > div {
  margin-top: 12px;
}

.hcs-topic-edit-page #bbpress-forums #bbp_topic_edit_reason {
  max-width: 520px;
}

@media (max-width: 760px) {
  .hcs-topic-edit-page .hcs-new-topic-content {
    padding-top: 24px;
  }
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-pagination:not(:has(.bbp-pagination-links a)) {
  display: none;
  margin: 0;
}

.hcs-community-page #bbpress-forums .hcs-topic-reply-card .bbp-author-role {
  display: none;
}

.hcs-community-page #bbpress-forums .hcs-topic-reply-card .bbp-reply-content {
  margin: 3px 0 0 40px;
}

.hcs-community-page .hcs-topic-reply-card {
  scroll-margin-top: calc(var(--hct-header-height, 76px) + 16px);
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-composer .bbp-form > legend {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 650;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer {
  margin-top: 16px;
  border-radius: 10px;
  scroll-margin-top: calc(var(--hct-header-height, 76px) + 24px);
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form {
  margin: 0;
  padding: 20px 24px;
  border: 0;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums form#new-post {
  scroll-margin-top: calc(var(--hct-header-height, 76px) + 24px);
}

body.admin-bar.hcs-community-page .hcs-topic-discussion #bbpress-forums form#new-post {
  scroll-margin-top: calc(var(--hct-header-height, 76px) + var(--wp-admin--admin-bar--height, 32px) + 24px);
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-replies-list li > .bbp-reply-form {
  margin: 8px 0 18px 40px;
}

.hcs-community-page #bbpress-forums .bbp-form input:focus,
.hcs-community-page #bbpress-forums .bbp-form select:focus,
.hcs-community-page #bbpress-forums .bbp-form textarea:focus {
  border-color: var(--hcs-orange);
  outline-color: rgba(232, 146, 31, .2);
}

@media (max-width: 980px) {
  .hcs-community-page .hcs-discussion-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .hcs-community-page .hcs-community-sidebar {
    position: static;
    order: 0;
    padding: 0 0 12px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--hcs-line);
  }

  .hcs-community-page .hcs-community-main {
    order: 1;
  }

  .hcs-community-page .hcs-sidebar-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hcs-community-page .hcs-sidebar-navigation::-webkit-scrollbar {
    display: none;
  }

  .hcs-community-page .hcs-sidebar-nav-heading,
  .hcs-community-page .hcs-sidebar-guideline {
    display: none;
  }

  .hcs-community-page .hcs-sidebar-all,
  .hcs-community-page .hcs-sidebar-manage-link,
  .hcs-community-page .hcs-sidebar-forum-link {
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    white-space: nowrap;
  }

  .hcs-community-page .hcs-sidebar-forum-list,
  .hcs-community-page .hcs-sidebar-forum-list ul {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .hcs-community-page .hcs-sidebar-forum-count {
    display: none;
  }
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-new-topic-content {
    padding-top: 24px;
  }

  .hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-replies-list li > .bbp-reply-form {
    margin-left: 0;
  }
}

/* Keep community actions compact, accessible, and clear of clipped ancestors. */
.hcs-community-page #subscription-toggle,
.hcs-community-page .bbp-topic-subscription,
.hcs-community-page .bbp-forum-subscription {
  display: none !important;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle {
  display: inline-flex;
  align-items: center;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle {
  display: inline-flex;
  position: relative;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #5d6572;
  background: #f2f3f5;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  text-decoration: none;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle:hover,
.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle:focus-visible,
.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle.is-active,
.hcs-community-page .hcs-topic-post-actions > #favorite-toggle > .is-favorite a.favorite-toggle {
  color: #8b5108;
  background: #fff3dc;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle:focus-visible {
  outline: 2px solid #ef9a24;
  outline-offset: 2px;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle a.favorite-toggle.is-active svg path,
.hcs-community-page .hcs-topic-post-actions > #favorite-toggle > .is-favorite a.favorite-toggle svg path {
  fill: currentColor;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle .hcs-bookmark-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hcs-community-page .hcs-topic-post-actions > #favorite-toggle .hcs-favorite-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hcs-community-page #bbpress-forums #bbp-cancel-reply-to-link {
  display: none !important;
}

.hcs-community-page #bbpress-forums .bbp-submit-wrapper .hcs-form-cancel {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #4e5561;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.hcs-community-page #bbpress-forums .bbp-submit-wrapper .hcs-form-cancel:hover {
  color: #20242b;
  background: #f7f8f9;
  border-color: #cbd1d9;
}

.hcs-topic-form-page .hcs-new-topic-form #bbpress-forums .bbp-submit-wrapper .hcs-form-cancel {
  min-height: 46px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form {
  padding: 18px 20px 17px;
  background: #fff;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form > legend {
  max-width: 100%;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  color: #252932;
  font-size: 15px;
  line-height: 1.45;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form #bbp_reply_content {
  min-height: 168px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .wp-editor-wrap .mce-edit-area iframe {
  height: 168px !important;
  min-height: 168px !important;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .bbp-submit-wrapper {
  align-items: center;
  margin-top: 15px;
}

.hcs-community-page .hcs-moderation[open] > .bbp-admin-links {
  position: fixed !important;
  z-index: 1000 !important;
  top: -10000px;
  right: auto !important;
  bottom: auto !important;
  left: -10000px;
  box-sizing: border-box;
  width: max-content;
  min-width: 156px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow-x: hidden;
  visibility: hidden;
}

.hcs-community-page .hcs-moderation.hcs-moderation-positioned[open] > .bbp-admin-links {
  visibility: visible;
}

.hcs-community-page .hcs-moderation[open] > .bbp-admin-links a {
  float: none !important;
  box-sizing: border-box;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Topic bylines use two clear rows; reply identities keep a small portrait column. */
.hcs-community-page .hcs-topic-post-byline {
  flex-wrap: nowrap;
  align-items: center;
}

.hcs-community-page .hcs-topic-post-avatar,
.hcs-community-page .hcs-topic-post-avatar img.avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.hcs-community-page .hcs-topic-post-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.25;
}

.hcs-community-page .hcs-topic-post-forum,
.hcs-community-page .hcs-topic-post-meta {
  min-width: 0;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-reply-author {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 9px;
  padding: 0;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-avatar {
  display: flex;
  width: 30px;
  height: 30px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-avatar img.avatar {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .bbp-author-name {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums .hcs-topic-reply-card .hcs-reply-date-link {
  display: block;
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  line-height: 1.3;
}

.hcs-community-page .hcs-topic-post-more {
  display: none !important;
}

@media (max-width: 430px) {
  .hcs-community-page #bbpress-forums .bbp-submit-wrapper {
    justify-content: flex-end;
  }

  .hcs-community-page #bbpress-forums .bbp-submit-wrapper .hcs-form-cancel {
    flex: 0 0 auto;
    width: auto !important;
  }

  .hcs-community-page #bbpress-forums .bbp-submit-wrapper #bbp_topic_submit,
  .hcs-community-page #bbpress-forums .bbp-submit-wrapper #bbp_reply_submit {
    flex: 1 1 auto;
    width: auto;
  }

  .hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form {
    padding: 15px 14px;
  }

  .hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form #bbp_reply_content,
  .hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .wp-editor-wrap .mce-edit-area iframe {
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* Mobile community directory: turn the navigation and discussion stream into clear touch-friendly cards. */
@media (max-width: 760px) {
  .hcs-community-page .hcs-community-content {
    padding: 18px 0 44px;
  }

  .hcs-community-page .hcs-discussion-layout {
    gap: 16px;
  }

  .hcs-community-page .hcs-community-sidebar {
    order: 0;
    overflow: visible;
    margin: 0;
    padding: 12px;
    background: #f8f8f6;
    border: 1px solid #ebe9e3;
    border-radius: 14px;
  }

  .hcs-community-page .hcs-community-main {
    order: 1;
    display: grid;
    min-width: 0;
    gap: 11px;
  }

  .hcs-community-page .hcs-sidebar-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    overflow: visible;
  }

  .hcs-community-page .hcs-sidebar-nav-heading,
  .hcs-community-page .hcs-sidebar-guideline {
    display: none;
  }

  .hcs-community-page .hcs-sidebar-forum-list,
  .hcs-community-page .hcs-sidebar-forum-list ul,
  .hcs-community-page .hcs-sidebar-forum-list li {
    display: contents;
  }

  .hcs-community-page .hcs-sidebar-forum-list,
  .hcs-community-page .hcs-sidebar-forum-list ul {
    margin: 0;
    padding: 0;
  }

  .hcs-community-page .hcs-sidebar-all,
  .hcs-community-page .hcs-sidebar-manage-link,
  .hcs-community-page .hcs-sidebar-forum-link {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    gap: 7px;
    padding: 9px 10px;
    white-space: normal;
    background: #fff;
    border: 1px solid #e5e5e1;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hcs-community-page .hcs-sidebar-all:hover,
  .hcs-community-page .hcs-sidebar-manage-link:hover,
  .hcs-community-page .hcs-sidebar-forum-link:hover {
    background: #fff;
    border-color: #d8d6d0;
  }

  .hcs-community-page .hcs-sidebar-all.is-active,
  .hcs-community-page .hcs-sidebar-manage-link.is-active,
  .hcs-community-page .hcs-sidebar-forum-link.is-active {
    background: #fff3dd;
    border-color: #f0d39d;
  }

  .hcs-community-page .hcs-sidebar-nav-icon {
    width: 15px;
    height: 18px;
    flex-basis: 15px;
    font-size: 13px;
  }

  .hcs-community-page .hcs-sidebar-forum-name {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hcs-community-page .hcs-sidebar-forum-count {
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: #777d87;
    background: #f2f3f4;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
  }

  .hcs-community-page .hcs-feed-heading {
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    padding: 0 0 13px;
    border: 0;
    border-bottom: 1px solid var(--hcs-line);
  }

  .hcs-community-page .hcs-feed-heading h2 {
    font-size: 19px;
  }

  .hcs-community-page .hcs-feed-search {
    width: 100%;
    gap: 7px;
  }

  .hcs-community-page .hcs-feed-search input[type="search"],
  .hcs-community-page .hcs-feed-search button {
    height: 40px;
    border-radius: 9px;
  }

  .hcs-community-page .hcs-feed-search button {
    width: 40px;
    flex-basis: 40px;
  }

  .hcs-community-page .hcs-discussion-feed {
    gap: 10px;
  }

  .hcs-community-page .hcs-discussion-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    min-width: 0;
    padding: 13px;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 19, 24, .025);
  }

  .hcs-community-page .hcs-discussion-avatar {
    display: none !important;
  }

  .hcs-community-page .hcs-discussion-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hcs-community-page .hcs-discussion-meta {
    gap: 3px 7px;
    font-size: 11px;
  }

  .hcs-community-page .hcs-discussion-meta > span[aria-hidden="true"] {
    display: none;
  }

  .hcs-community-page .hcs-discussion-copy h3 {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  .hcs-community-page .hcs-discussion-excerpt {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hcs-community-page .hcs-discussion-replies {
    display: flex;
    min-width: 36px;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0 7px;
    color: #656b75;
    background: #f3f4f5;
    border-radius: 8px;
    font-size: 11px;
  }

  .hcs-community-page .hcs-discussion-replies svg {
    width: 14px;
    height: 14px;
  }

  .hcs-community-page .hcs-discussion-replies strong {
    font-size: 11px;
  }

  .hcs-community-page .hcs-discussion-replies:hover {
    background: #fff3dd;
  }
}

@media (max-width: 440px) {
  .hcs-community-page .hcs-discussion-item {
    padding: 12px;
  }

  .hcs-community-page .hcs-discussion-copy h3 {
    font-size: 14px;
  }
}

/* Keep the reply target title aligned with the editor content. */
.hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form > legend {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 18px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid #e7e9ed;
  text-align: left;
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-topic-discussion #bbpress-forums .bbp-reply-form .hcs-composer .bbp-form > legend {
    margin-bottom: 16px;
    padding: 8px 8px 10px;
  }
}

/* Personal activity: keep topic, reply, and favorite management in one private view. */
.hcs-community-page .hcs-sidebar-nav-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* Keep symbol and SVG icons aligned to the same center line as sidebar labels. */
.hcs-community-page .hcs-sidebar-all,
.hcs-community-page .hcs-sidebar-manage-link,
.hcs-community-page .hcs-sidebar-forum-link {
  align-items: center;
}

.hcs-community-page .hcs-sidebar-nav-icon {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hcs-community-page .hcs-my-activity-heading {
  margin: 18px 0 22px;
}

.hcs-community-page .hcs-my-activity-heading .hcs-eyebrow {
  margin: 0 0 8px;
  color: #a65d00;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .11em;
}

.hcs-community-page .hcs-my-activity-heading h1 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.hcs-community-page .hcs-my-activity-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hcs-community-page .hcs-activity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--hcs-line);
}

.hcs-community-page .hcs-activity-empty {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: center;
  align-items: start;
  column-gap: 16px;
  row-gap: 18px;
  width: min(100%, 760px);
  min-height: 218px;
  margin-top: 22px;
  padding: 28px;
  background: #fcfbf8;
  border: 1px solid #ebe9e3;
  border-radius: 14px;
}

.hcs-community-page .hcs-activity-empty-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #a65d00;
  background: #fff3dd;
  border: 1px solid #f0d39d;
  border-radius: 12px;
}

.hcs-community-page .hcs-activity-empty-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hcs-community-page .hcs-activity-empty-copy {
  align-self: center;
  min-width: 0;
  padding-top: 1px;
}

.hcs-community-page .hcs-activity-empty-copy h2 {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.hcs-community-page .hcs-activity-empty-copy p {
  margin: 6px 0 0;
  color: var(--hcs-muted);
  font-size: 13px;
  line-height: 1.65;
}

.hcs-community-page .hcs-activity-empty-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hcs-community-page .hcs-activity-empty-actions .hcs-button {
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
}

.hcs-community-page .hcs-activity-empty-actions .hcs-button-secondary {
  color: #343944;
  background: #fff;
  border-color: #dfe2e8;
}

.hcs-community-page .hcs-activity-empty-actions .hcs-button-secondary:hover {
  background: #f5f5f3;
  border-color: #cbd0d9;
}

.hcs-community-page .hcs-activity-tab {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #535a66;
  background: #f4f5f6;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hcs-community-page .hcs-activity-tab:hover {
  color: var(--hcs-ink);
  background: #eceef0;
}

.hcs-community-page .hcs-activity-tab.is-active {
  color: #7a4300;
  background: #fff3dd;
  border-color: #f0d39d;
}

.hcs-community-page .hcs-activity-tab:focus-visible,
.hcs-community-page .hcs-sidebar-manage-link:focus-visible {
  outline: 2px solid #ef9a24;
  outline-offset: 2px;
}

.hcs-community-page .hcs-activity-feed {
  display: grid;
  min-width: 0;
}

.hcs-community-page .hcs-activity-item {
  min-width: 0;
  padding: 19px 0 18px;
  border-bottom: 1px solid #e7e9ed;
}

.hcs-community-page .hcs-activity-item-meta,
.hcs-community-page .hcs-activity-item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
}

.hcs-community-page .hcs-activity-item-meta {
  color: var(--hcs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hcs-community-page .hcs-activity-item-meta a {
  color: #a65d00;
  font-weight: 650;
  text-decoration: none;
}

.hcs-community-page .hcs-activity-item-meta a:hover,
.hcs-community-page .hcs-activity-item-footer a:hover {
  text-decoration: underline;
}

.hcs-community-page .hcs-activity-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  color: #7a520d;
  background: #fff4df;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}

.hcs-community-page .hcs-activity-item h2 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 690;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hcs-community-page .hcs-activity-item h2 a {
  color: var(--hcs-ink);
  text-decoration: none;
}

.hcs-community-page .hcs-activity-item h2 a:hover {
  color: #a65d00;
}

.hcs-community-page .hcs-activity-item > p {
  margin: 7px 0 0;
  color: #626977;
  font-size: 13px;
  line-height: 1.65;
}

.hcs-community-page .hcs-activity-item-footer {
  justify-content: space-between;
  margin-top: 12px;
  color: var(--hcs-muted);
  font-size: 12px;
}

.hcs-community-page .hcs-activity-item-footer a {
  color: #7a4300;
  font-weight: 640;
  text-decoration: none;
}

.hcs-community-page .hcs-my-activity-login {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--hcs-line);
  border-radius: 12px;
}

.hcs-community-page .hcs-my-activity-login p {
  margin: 0;
  color: var(--hcs-ink);
  font-size: 16px;
  font-weight: 650;
}

.hcs-community-page .hcs-my-activity-login > span {
  color: var(--hcs-muted);
  font-size: 13px;
  line-height: 1.6;
}

.hcs-community-page .hcs-my-activity-login .hcs-button {
  justify-self: start;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-my-activity-heading {
    margin: 6px 0 12px;
  }

  .hcs-community-page .hcs-activity-tabs {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 11px;
    scrollbar-width: none;
  }

  .hcs-community-page .hcs-activity-tabs::-webkit-scrollbar {
    display: none;
  }

  .hcs-community-page .hcs-activity-tab {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hcs-community-page .hcs-activity-item {
    padding: 15px 0;
  }

  .hcs-community-page .hcs-activity-item h2 {
    font-size: 15px;
  }

  .hcs-community-page .hcs-activity-empty {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 16px;
    min-height: 0;
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .hcs-community-page .hcs-activity-empty-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hcs-community-page .hcs-activity-empty-icon svg {
    width: 19px;
    height: 19px;
  }

  .hcs-community-page .hcs-activity-empty-copy h2 {
    font-size: 15px;
  }

  .hcs-community-page .hcs-activity-empty-actions {
    grid-column: 1 / -1;
  }
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-topic-context-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 18px;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-topic-context-fields > p {
  min-width: 0;
  margin: 0;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-topic-context-fields > .hcs-related-app-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-field > legend {
  display: block;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  color: var(--hcs-ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-help {
  margin: -2px 0 10px;
  color: var(--hcs-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.hcs-topic-form-page .hcs-related-app-options {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: stretch;
  gap: 8px;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 11px;
  color: #454b55;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.25;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option.is-selected {
  color: #8a4b08;
  background: #fff5e5;
  border-color: #f2c77f;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option input[type="checkbox"] {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  place-content: center;
  appearance: none;
  color: #fff;
  background: #fff;
  border: 1.5px solid #aeb4bf;
  border-radius: 4px;
  cursor: pointer;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option input[type="checkbox"]::before {
  width: 8px;
  height: 4px;
  content: "";
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option input[type="checkbox"]:checked {
  background: #a65b06;
  border-color: #a65b06;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option input[type="checkbox"]:checked::before {
  opacity: 1;
}

.hcs-topic-form-page #bbpress-forums .bbp-form .hcs-related-app-option:focus-within {
  outline: 3px solid rgba(232, 146, 31, .2);
  outline-offset: 2px;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-topic-context-fields select {
  width: 100%;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-required-indicator {
  margin-left: 4px;
  color: #c2410c;
  font-weight: 750;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-field-validation-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.5;
}

.hcs-topic-form-page .hcs-new-topic-form .hcs-topic-content-label {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--hcs-ink);
  font-size: 13px;
  font-weight: 650;
}

.hcs-community-page .hcs-community-action-menu form {
  margin: 0;
}

.hcs-community-page .hcs-community-action-menu .hcs-community-action-submit {
  display: block;
  width: 100%;
  padding: 5px 7px;
  color: #555b66;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.hcs-community-page .hcs-community-action-menu .hcs-community-action-submit:hover {
  color: var(--hcs-ink);
  background: #f5f6f7;
}

.hcs-community-page .hcs-activity-item-footer .hcs-owner-topic-actions {
  margin-left: auto;
}

.hcs-community-page .hcs-activity-item-footer .hcs-community-action-menu {
  margin-left: auto;
}

.hcs-community-page .hcs-activity-item-footer .hcs-owner-topic-actions > summary {
  min-width: 28px;
  text-align: center;
}

@media (max-width: 760px) {
  .hcs-topic-form-page .hcs-new-topic-form .hcs-topic-context-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hcs-community-page .hcs-topic-post-byline {
    flex-wrap: wrap;
  }

  .hcs-community-page .hcs-topic-related-app {
    margin-left: 41px;
  }
}
.hcs-community-page dialog.hcs-confirm-dialog {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: 30px 28px 24px;
  color: #17191f;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e3e9;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(17, 19, 24, .2);
}

.hcs-community-page dialog.hcs-confirm-dialog::backdrop {
  background: rgba(17, 19, 24, .5);
  backdrop-filter: blur(3px);
}

.hcs-community-page .hcs-confirm-dialog-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  place-items: center;
  color: #9a570b;
  font-size: 21px;
  font-weight: 750;
  background: #fff3df;
  border: 1px solid #f4d29b;
  border-radius: 50%;
}

.hcs-community-page .hcs-confirm-dialog h2 {
  margin: 0;
  color: #17191f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hcs-community-page .hcs-confirm-dialog p {
  margin: 10px 0 23px;
  color: #687080;
  font-size: 14px;
  line-height: 1.65;
}

.hcs-community-page .hcs-confirm-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hcs-community-page .hcs-confirm-dialog-actions button {
  min-width: 104px;
  min-height: 44px;
  padding: 0 18px;
  color: #4f5664;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  cursor: pointer;
}

.hcs-community-page .hcs-confirm-dialog-actions button:hover {
  background: #f7f8fa;
}

.hcs-community-page .hcs-confirm-dialog-actions .hcs-confirm-accept {
  color: #fff;
  background: #111318;
  border-color: #111318;
}

.hcs-community-page .hcs-confirm-dialog-actions .hcs-confirm-accept:hover {
  background: #292c33;
}

@media (max-width: 480px) {
  .hcs-community-page dialog.hcs-confirm-dialog {
    padding: 28px 22px 22px;
  }

  .hcs-community-page .hcs-confirm-dialog-actions button {
    flex: 1;
  }
}

/* Keep pinned discussions visually quiet; identify them with a text label. */
.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic:has(.hcs-topic-sticky-label),
.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic.bbp-sticky,
.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic.bbp-topic-status-sticky,
.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic.bbp-topic-super-sticky {
  background: transparent !important;
}

.hcs-community-page .hcs-forum-topics #bbpress-forums ul.topic:has(.hcs-topic-sticky-label) > li {
  background: transparent !important;
}

.hcs-community-page .hcs-forum-topics .hcs-topic-sticky-label {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 9px;
  padding: 2px 7px;
  color: #9a570b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
  background: transparent;
  border: 1px solid #ead2b2;
  border-radius: 999px;
}

/* Give replies room to breathe without threaded connector decorations. */
.hcs-community-page .hcs-topic-discussion .bbp-replies-list > li {
  padding-bottom: 14px;
  border-bottom: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-replies-list > li + li {
  padding-top: 14px;
}

.hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
  margin: 14px 0 0 20px;
  padding-left: 0;
  border-left: 0;
}

.hcs-community-page .hcs-topic-discussion .bbp-threaded-replies > li + li {
  margin-top: 14px;
}

.hcs-community-page .hcs-topic-reply-card:target {
  background: transparent;
  box-shadow: none;
}

@media (max-width: 760px) {
  .hcs-community-page .hcs-topic-discussion #bbpress-forums ul.bbp-threaded-replies {
    margin-left: 14px;
    padding-left: 0;
    border-left: 0;
  }
}
