/* comment */
.node--view-mode-full > .comment-wrapper {
  margin-top: 2rem;
}

.comment {
  margin: 20px 0;
}

.comment .comment-user-data {
  float: left;
  width: 48px;
}

.comment .comment-user-data img {
  border-radius: 50%;
}
.comment .comment-user-data .user-picture {
  width: 48px;
  display: block;
}

.comment .comment-user-data .user-picture img {
  width: 100%;
  height: auto;
}

.comment .comment-content-wrapper {
  position: relative;
  padding: 3px;
  background: #f2f2f2;
  border-radius: 0.5rem;
}

.comment .comment-content-wrapper .comment-content {
  background: #f2f2f2;
}

.comment .comment-content-wrapper .comment-content .comment-footer,
.comment .comment-content-wrapper .comment-content .comment-header {
  font-size: 14px;
  background-color: #fff;
  padding: 10px 15px;
}

.comment .comment-content-wrapper .comment-content .comment-header {
  background: #f2f2f2;
  overflow: hidden;
  position: relative;
}

.comment .comment-user-data-mobile {
  float: left;
  width: 48px;
  margin: 0 8px 0 -7px;
}

.comment .comment-inner,
.comment .comment-inner p {
  word-break: break-word;
}

.comment .comment-content-wrapper .comment-content .comment-inner {
  background-color: #fff;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  padding: 1rem;
}

/* When there's no footer wrapper, apply border-radius to all corners */
.comment
  .comment-content-wrapper
  .comment-content:not(:has(.comment-footer-wrapper))
  .comment-inner {
  border-radius: 0.375rem;
}

.comment .comment-inner p img {
  border-radius: 0.375rem;
}

.comment .comment-inner p img:has(+ img),
.comment .comment-inner p img:has(+ br + img) {
  margin-bottom: 0.5rem;
}

.comment .comment-inner a:has(~ a img) img {
  margin-bottom: 0.5rem;
}

.comment .comment-inner p > br:first-of-type + a img {
  margin-top: 0.5rem;
}

.comment .username {
  font-weight: 700;
}

section.comment-wrapper
  .comment
  .comment-content-wrapper
  .comment-header-right {
  display: block;
}

.comment .comment-inner,
.comment .comment-inner p {
  word-break: break-word;
}

.comment .comment-content-wrapper .comment-content .comment-footer-wrapper {
  background-color: #fff;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  overflow: hidden;
  position: relative;
}

.comment ul.links {
  border: none;
  background: 0 0;
  margin: 0;
  float: right;
  padding: 0;
  line-height: 20px;
}

.comment .comment-content-wrapper .comment-content .comment-footer ul.links {
  float: right;
  font-size: 14px;
  margin: 0;
}

.comments .comment-edit {
  display: none;
}

.comment.forum-topic .comment-header-right {
  display: block;
}

.comment
  .comment-content-wrapper
  .comment-content
  .comment-header
  .field--name-taxonomy-forums {
  display: inline;
}

.comment
  .comment-content-wrapper
  .comment-content
  .comment-header
  .field--name-taxonomy-forums
  a {
  background-color: #008a93;
  border-radius: 0.25rem;
  color: #fff;
  display: inline-block;
  font-family: Signika, Tahoma, Verdana, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-left: 0.3125rem;
  padding: 0.25rem 0.375rem;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  vertical-align: baseline;
  white-space: nowrap;
}

section.comment-wrapper .indented {
  margin-left: 20px;
}

section.comment-wrapper .indented .indented {
  margin-left: 10px;
}

.comment .comment-header-date {
  text-transform: uppercase;
  color: #9d9d9d;
}

.comment .comment-header-date .at {
  text-transform: lowercase;
}

@media screen and (min-width: 568px) {
  .comment .comment-content-wrapper {
    margin-left: 60px;
  }

  .comment .comment-content-wrapper:before {
    content: "";
    display: block;
    height: 0;
    width: 0;
    border: 10px solid #f2f2f2;
    border-width: 10px 10px 10px 0;
    border-color: rgba(242, 242, 242, 0) #f2f2f2 rgba(242, 242, 242, 0)
      rgba(242, 242, 242, 0);
    position: absolute;
    left: -10px;
    top: 15px;
  }

  .comment .comment-user-data-mobile {
    display: none;
  }

  section.comment-wrapper
    .comment
    .comment-content-wrapper
    .comment-header-right {
    display: inline;
    float: right;
  }

  section.comment-wrapper .indented {
    margin-left: 61px;
  }

  section.comment-wrapper .indented .indented {
    margin-left: 15px;
  }
}

@media screen and (min-width: 640px) {
  .comment.forum-topic .comment-header-right {
    float: right;
    display: inline;
  }
}

@media screen and (max-width: 567px) {
  .comment .comment-user-data {
    display: none;
  }
}

/* comment badge */
.comment-count,
.views-field-comment-count {
  display: inline-block;
  position: relative;
  top: -2px;
  min-width: 1.25rem;
  background: #00cddb;
  border-radius: 2px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  padding: 0.0625rem 0.1875rem;
  color: #fff;
  margin-left: 0.625rem;
}

.comment-count .text:after,
.views-field-comment-count .field-content:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -4.5px;
  margin-bottom: -4px;
  border: 5px solid transparent;
  border-top-color: #00cddb;
  border-bottom: 0;
  border-left: 0;
  box-shadow: none !important;
}

.drupal-article-list-item .views-field-comment-count {
  position: absolute;
  top: 6px;
  margin-left: 0;
  right: 20px;
}

.drupal-article-list-item .views-field-comment-count,
.drupal-article-list-item .views-field-comment-count {
  position: absolute;
  top: 7px;
  margin-left: 0;
  right: 20px;
  background: #ffffff;
  font-size: 12px;
  color: #333;
  opacity: 0.6;
  -webkit-box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 49%);
  box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 49%);
}

.drupal-article-list-item .views-field-comment-count .field-content:after {
  border-top-color: #ffffff;
  -webkit-box-shadow: 0px 0px 1px 0px rgb(0 0 0 / 49%);
  box-shadow: 0px 0px 1px 0px rgb(0 0 0 / 49%);
}

.view-latest-comments-concise,
.views-latest-forum-posts {
  /* padding: .625rem 0; */
  font-size: 14.2px;
  margin-bottom: 2.5rem;
}

.view-latest-comments-concise .views-row,
.views-latest-forum-posts .views-row {
  padding: 0.625rem 0.425rem;
  border-top: 1px solid #f1f2f3;
}

.view-latest-comments-concise .views-row:nth-child(odd),
.views-latest-forum-posts .views-row:nth-child(odd) {
  background-color: #fbfcfd;
}

.field--name-comment-body ul.tips,
.field--name-comment-body .js-filter-guidelines {
  display: none !important;
}

a.coppy-link {
  width: 16px;
  display: inline-flex;
  text-indent: 0;
  overflow: hidden;
  gap: 10px;
  white-space: nowrap;
}
a.coppy-link:before {
  content: "\f0c1";
  font-weight: normal;
  font-family: FontAwesome;
}
