body.academy-community-page .app-header { grid-template-columns: 82px minmax(0, 1fr) 82px; }
.academy-community-page .app-header > strong { grid-column: 2; grid-row: 1; }
.academy-community-page .app-header > a:first-child:not(.group-header-link) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
body.academy-community-page .app-header > .group-header-link {
  grid-column: 3;
  grid-row: 1;
  color: #0d625a;
  white-space: nowrap;
}
.community {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 14px 30px;
  color: #182831;
  overflow-wrap: anywhere;
}
.community h1 { margin: 0 0 9px; font-size: 22px; line-height: 1.35; }
.community h2 { margin: 0 0 12px; font-size: 16px; }
.community p { margin: 8px 0; }
.group-panel {
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid #e0e8e9;
  border-radius: 12px;
  background: #fff;
}
.group-hero { border-top: 3px solid #13746e; }
.group-row { padding: 13px 0; border-top: 1px solid #e9eff0; }
.group-row:last-of-type { padding-bottom: 4px; }
.group-row-title { color: #172f36; font-size: 16px; font-weight: 700; }
.group-meta { color: #52676e; font-size: 13px; }
.group-meta a { color: #0d625a; }
.group-summary, .group-comment-body { color: #293e46; font-size: 14px; }
.group-body { line-height: 1.65; }
.group-tag {
  display: inline-block;
  color: #105c56;
  background: #e7f4f0;
  padding: 3px 6px;
  border-radius: 5px;
  margin: 2px 4px;
  font-size: 12px;
}
.group-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; }
.group-actions form { margin: 0; }
.group-header-link, .group-link { color: #0d625a; font-weight: 650; font-size: 14px; }
.group-link { display: inline-flex; align-items: center; min-height: 40px; }
.group-source {
  display: grid;
  gap: 5px;
  background: #edf6f5;
  color: #0d625a;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
}
.group-source span { font-size: 13px; color: #405b63; }
.group-event { font-weight: 650; font-size: 14px; }
.group-field, .group-search { display: grid; gap: 8px; margin-bottom: 14px; }
.group-field label, .group-search label { font-size: 14px; font-weight: 650; }
.community input, .community select, .community textarea {
  width: 100%;
  padding: 10px;
  min-height: 42px;
  border: 1px solid #c9d8da;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.community textarea { resize: vertical; }
.community button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  background: #0e6b63;
  color: #fff;
  min-height: 42px;
  padding: 7px 14px;
  font-weight: 650;
}
.group-comment-form { margin: 14px 0; }
.group-reply-preview { padding-inline-start: 12px; border-inline-start: 2px solid #d9ece8; }
.group-reply-preview:empty { display: none; }
.group-pages { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; }
.group-pages a { color: #0d625a; text-decoration: underline; }
.community .errorlist { color: #a62935; margin: 4px 0; font-size: 13px; }
@media (min-width: 640px) {
  .community { padding-top: 24px; }
  .group-panel { padding: 20px; }
  .group-search { grid-template-columns: minmax(0, 1fr) auto; }
  .group-search label { grid-column: 1 / -1; }
}

.group-thread-row { padding-block: 16px; }
.group-comment {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}
.group-comment-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e7f1ef;
  color: #0d625a;
  font-size: 14px;
  font-weight: 650;
}
.group-comment-author { color: #172f36; font-size: 14px; font-weight: 650; }
.group-comment-content > p { margin: 0 0 5px; }
.group-comment-body { white-space: pre-wrap; line-height: 1.6; }
.group-comment-meta { display: flex; align-items: center; gap: 10px; color: #52676e; font-size: 12px; }
.group-comment-meta .group-like-form { margin-inline-start: auto; }
.group-thread-row .group-reply-preview { margin-inline-start: 48px; padding-inline-start: 12px; }
.group-reply-preview .group-comment { grid-template-columns: 26px minmax(0, 1fr); }
.group-reply-preview .group-comment-avatar { width: 26px; height: 26px; }
.community .group-like-form button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #52676e;
  padding-inline: 6px;
  font-size: 13px;
}
.community .group-like-form button[aria-pressed="true"] { color: #0879ad; }
.group-like-form svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.4; }
