/* V5 stronger separation for posts/comments */
.app .social-community .social-feed {
  gap: 28px !important;
}

.app .social-community article.social-post {
  background: #ffffff !important;
  border: 3px solid #cfd6e6 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  overflow: hidden;
  margin-bottom: 26px !important;
}

.app .social-community article.social-post + article.social-post {
  margin-top: 8px !important;
}

.app .social-community article.social-post > header,
.app .social-community article.social-post .social-post-copy,
.app .social-community article.social-post .social-post-flags {
  background: #ffffff !important;
}

.app .social-community article.social-post > header {
  padding: 20px 22px 12px !important;
  border-bottom: 2px solid #e1e6f0 !important;
}

.app .social-community article.social-post .social-post-copy {
  padding: 14px 22px 20px !important;
}

.app .social-community article.social-post .social-post-counts {
  margin: 0 18px !important;
  padding: 14px 8px !important;
  border-top: 2px solid #e7ebf3 !important;
  border-bottom: 2px solid #e7ebf3 !important;
  background: #fff !important;
}

.app .social-community article.social-post .social-post-actions {
  padding: 12px 18px 16px !important;
  border-bottom: 2px solid #e7ebf3 !important;
  background: #fff !important;
}

.app .social-community article.social-post .social-comments {
  margin: 16px 18px 18px !important;
  padding: 18px !important;
  border: 3px solid #bfc9dd !important;
  border-radius: 18px !important;
  background: #f8fbff !important;
}

.app .social-community article.social-post .social-comments::before {
  content: "التعليقات" !important;
  display: inline-flex !important;
  align-items: center;
  margin-bottom: 14px !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 2px solid #c7d3ea !important;
  background: #ffffff !important;
  color: #38507a !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.app .social-community article.social-post .social-comment {
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 0 !important;
}

.app .social-community article.social-post .social-comment + .social-comment {
  border-top: 2px dashed #d5dceb !important;
}

.app .social-community article.social-post .social-comment > div {
  flex: 1 1 auto;
}

.app .social-community article.social-post .social-comment > div > div {
  background: #ffffff !important;
  border: 2px solid #d8e0ee !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
}

.app .social-community article.social-post .social-comment b {
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

.app .social-community article.social-post .social-comment p {
  font-size: 14px !important;
  line-height: 1.9 !important;
}

.app .social-community article.social-post .social-comment time {
  display: inline-block;
  margin-top: 6px !important;
  font-size: 12px !important;
}

.app .social-community article.social-post .social-comment-form {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 2px solid #dce4f0 !important;
}

.app .social-community article.social-post .social-comment-form textarea {
  border: 2px solid #cdd8ea !important;
  background: #ffffff !important;
}

@media (max-width: 760px) {
  .app .social-community article.social-post {
    border-radius: 18px !important;
    margin-bottom: 20px !important;
  }
  .app .social-community article.social-post > header {
    padding: 16px 16px 10px !important;
  }
  .app .social-community article.social-post .social-post-copy,
  .app .social-community article.social-post .social-post-actions {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .app .social-community article.social-post .social-post-counts {
    margin: 0 12px !important;
  }
  .app .social-community article.social-post .social-comments {
    margin: 12px !important;
    padding: 14px !important;
  }
}
