.communityPage {
  background-color: var(--background-gray);
  height: 100%;
  font-size: 14px;
}
.siteLayout:has(.communityPage) .content {
  min-height: 0;
}
.communityPage .communitySidebar {
  border-right: 1px solid var(--border-divider-color);
  padding: 8px 0;
  scrollbar-gutter: stable both-edges;
  overflow: auto;
  width: var(--site-left-sidebar-width);
  height: 100%;
}
.communityPage .communityGroup {
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 2px;
}
.communityPage .communityHeading {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-color-faded);
  padding: 10px 4px 2px 4px;
  margin-bottom: 2px;
  border-radius: 5px;
  min-height: 28px;
}
.communityPage .communityHeading .bold {
  font-weight: 600;
}
.communityPage .communityChannelName {
  padding-left: 4px;
  font-size: 15px;
  overflow-x: hidden;
}
.communityPage .communityChannel {
  padding: 2px 4px 2px 4px;
  border-radius: 6px;
  height: 32px;
  color: inherit !important;
  text-decoration: none !important;
}
.communityPage .communityChannel:hover {
  background-color: var(--hover-color-darker) !important;
  color: inherit !important;
  text-decoration: none !important;
}
.communityPage .communityChannel:focus {
  color: inherit !important;
  text-decoration: none !important;
}
.communityPage .communityChannel.selected {
  background-color: var(--selected-color-darker) !important;
  font-weight: normal !important;
}
.communityPage .communityChannelIcon {
  width: 28px;
  height: 28px;
}
.communityPage .communityContentWrapper {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}
.communityPage .communityContentWrapper .headerWrapper {
  padding: 22px 16px;
  min-height: 84px;
}
.communityPage .communityContentWrapper .communityName {
  font-weight: bold;
  font-size: 28px;
  margin: 0 !important;
}
.communityPage .communityContentWrapper .communityDescription {
  padding: 0 16px 24px;
  margin-top: -12px;
}
.communityPage .communityContent {
  padding: 0 15px 20px;
}
.communityPage .communityPageContent {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.communityPage .communityPageContent:has(.filterTabsBar) {
  overflow: visible;
}
.communityPage .communityPageContent:has(.filterTabsBar) > :first-child {
  border-radius: 10px 10px 0 0;
}
.communityPage .communityPageContent:has(.filterTabsBar) > :last-child,
.communityPage .communityPageContent:has(.filterTabsBar) > .communityPreviewPostWrapper:last-child .communityPreviewPost {
  border-radius: 0 0 10px 10px;
}
.communityPage .communityPageContent:has(.filterTabsBar) > .filterTabsBar:last-child {
  border-bottom: 0;
  border-radius: 10px;
}
.communityPage .noPostContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 20px;
  text-align: center;
}
.communityPage .noPostContent h2,
.communityPage .noPostContent h3 {
  font-size: 21px;
  margin-bottom: 8px;
  margin-top: 0;
}
.communityPage .groupTitleWrapper {
  margin-bottom: 10px;
}
.communityPage .postGroup:not(:first-child) .groupTitleWrapper {
  padding-top: 25px;
}
.communityPage .groupName {
  font-size: 18px;
  display: inline-flex;
}
.communityContent .formatted p {
  margin-bottom: 30px;
}
.communityContent .formatted ul {
  padding-bottom: 30px;
  line-height: 2;
}
.communityPage .postHeader {
  padding: 14px 16px;
}
.communityPage .postLikeBtn {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  min-height: 24px;
  transition: background-color 0.2s ease;
}
.communityPage .communityPostReplies {
  margin-top: 12px;
  border-top: 1px solid var(--border-divider-color);
  margin-left: -25px;
  margin-right: -25px;
  padding: 30px 20px 0 24px;
}
.communityPage .communityReply {
  margin-left: -25px;
  margin-right: -25px;
  padding: 30px 25px 0 25px;
}
.communityPage .communityComment {
  margin-bottom: 20px;
  margin-right: -16px;
  padding-right: 16px;
}
.communityPage .communityCommentName {
  font-weight: bold;
  font-size: 17px;
}
.communityPage .replyInput {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.communityPage .userProfileHeader {
  padding: 22px 16px;
  min-height: 84px;
}
.communityPage .userProfileDisplayName {
  font-size: 24px;
  font-weight: bold;
}
.communityPage .userProfileTabs {
  padding: 0;
}
.communityPage .userProfileTab {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  color: inherit !important;
  text-decoration: none !important;
}
.communityPage .userProfileTab.active {
  color: #f66727 !important;
  border-bottom: 2px solid #f66727;
}
.communityPage .userProfileTab:hover:not(.active) {
  color: #6b7280 !important;
}
.ql-editor .img-border {
  border: 2px solid rgb(136, 136, 136);
}
.ql-editor .ql-video {
  border-radius: 16px;
}
.ql-editor p img {
  margin-top: 5px;
}
.communityPage .filterTabsBar {
  border-bottom: 1px solid var(--border-divider-color);
  min-height: 46px;
}
.communityPage .filterTabsList {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.communityPage .filterTabsList::-webkit-scrollbar {
  display: none;
}
.communityPage .filterTab {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.communityPage .filterTab.active {
  color: #f66727;
  border-bottom: 2px solid #f66727;
}
.communityPage .filterTab:hover:not(.active) {
  color: #6b7280;
  text-decoration: none;
}
.communityPage .filterTabsExtras {
  margin-left: auto;
  padding: 0 16px;
}
.communityPage .filterTagsBar {
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-divider-color);
}
.communityPage .communityFilterBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--background-color);
  color: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.communityPage .communityFilterBtn:hover {
  background: var(--hover-color);
}
.communityPage .ssrMenu {
  position: relative;
}
.communityPage .ssrMenu > summary {
  list-style: none;
}
.communityPage .ssrMenu > summary::-webkit-details-marker {
  display: none;
}
.communityPage .ssrCaret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .7;
}
.communityPage .ssrMenuList {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 20;
  min-width: 200px;
  max-height: 360px;
  overflow-y: auto;
  padding: 5px 0;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}
.communityPage .ssrMenuList.right {
  left: auto;
  right: 0;
}
.communityPage .ssrMenuItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 28px;
  position: relative;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}
.communityPage .ssrMenuItem:hover {
  background: var(--hover-color);
  text-decoration: none;
}
.communityPage .ssrMenuItem.checked::before {
  content: "\2713";
  position: absolute;
  left: 11px;
  font-size: .8em;
}
.communityPage .ssrMenuDivider {
  height: 1px;
  margin: 5px 0;
  background: var(--border-divider-color);
}
.communityPage .postTag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 8px;
  border: 1px solid var(--border-lighter-color);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-color);
  white-space: nowrap;
  text-decoration: none;
}
.communityPage a.postTag:hover {
  text-decoration: none;
  background: var(--hover-color);
}
.darkMode .communityPage .postTag {
  border-color: #555;
  color: #bbb;
}
.communityPage .postTag .postTagRemove {
  margin-left: 2px;
  font-size: 14px;
  line-height: 1;
  color: var(--text-color-faded);
  text-decoration: none;
}
.communityPage .postTags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 8px;
}
.communityPage .postFooter > * {
  max-width: 100%;
}
.communityPage .postFooter .postTags {
  margin-top: 0;
  margin-left: auto;
}
.communityPage .reactions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  color: inherit;
  text-decoration: none;
}
.communityPage .reactions:hover {
  text-decoration: none;
}
.communityPage .reaction {
  padding: 4px;
  border-radius: 8px;
  background: var(--selected-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.communityPage .reactionEmoji {
  font-size: 15px;
  line-height: 1;
}
.communityPage .reactionCount {
  font-size: 12px;
  margin: 0 3px;
}
.communityPage .communitySearchRow {
  padding: 0 16px;
  margin-top: -12px;
  margin-bottom: 12px;
}
.communityPage .communityFilterIconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--background-color);
  cursor: pointer;
  list-style: none;
}
.communityPage .filterIconWrapper {
  padding-right: 16px;
}
.communityPage .filterIconWrapper .active .filterIconPath,
.communityPage .communityFilterIconBtn .active .filterIconPath {
  fill: #f66727 !important;
}
.communityPage .communitySearchInput {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--background-color);
  color: var(--text-color);
  font-size: 14px;
}
.communityPage .communitySearchInput:focus {
  outline: none;
  border-color: #999;
}
