/**
 * @file
 * Basic styling for comment module.
 * @see css/components/indented.css
 */
section.comment-wrapper {
  border-top: 1px solid var(--colour-dividers);
  margin-top: 5%;
}
section.comment-wrapper h2 {
  margin-top: 5%;
  line-height: 1em;
}
section.comment-wrapper form {
  max-width: initial;
}
section.comment-wrapper form .form-type-item,
section.comment-wrapper form .form-type-textfield {
  display: table-row;
}
section.comment-wrapper form .form-type-item > *,
section.comment-wrapper form .form-type-textfield > * {
  display: table-cell;
}
section.comment-wrapper form .form-type-item > label,
section.comment-wrapper form .form-type-textfield > label {
  padding: 0.3em 0.8em 0.3em 0;
}
section.comment-wrapper a[role=button] {
  overflow: hidden;
  transition: all 0.4s ease;
  width: 20px;
}
section.comment-wrapper a[aria-disabled=true] {
  width: 0%;
}
section.comment-wrapper .defaultSkin [role=toolbar] {
  width: 100%;
}

.comment {
  background: white;
  border-left: solid 3px #EBEBEB;
  margin: 1em auto;
  padding-left: 1em;
  display: grid;
  gap: 1em;
  max-width: var(--text-max-width);
  font-size: 0.85em;

  @media (min-width: 650px) {
    grid-template-columns: 12em 1fr;
  }
  /**
   * Indent threaded comments.
   */
  /*&.is-reply {
    margin-left: 2em;
  }
  [dir="rtl"] &.is-reply {
    margin-left: 0;
    margin-right: 2em;
  }*/
}
.comment mark {
  float: right;
  margin-top: 1em;
}
.comment h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
}
.comment p {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
.comment .date {
  font-size: 0.85em;
}
.comment .commenter {
  display: flex;
  align-items: center;
  gap: 1em;
}
.comment .commenter article.profile {
  margin: initial;
  width: initial;
}
.comment .commenter img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 100%;
}
.comment .links {
  font-size: 0.85em;
}

/**
 * Indent threaded comments.
 * .indented is a container of replies to a comment.
 */
* ~ .indented {
  margin-left: 18px; /* LTR */

  @media (min-width: 500px) {
    margin-left: 25px; /* LTR */
  }
}

[dir=rtl] ~ .indented {
  margin-right: 25px;
  margin-left: 0;
}

/*# sourceMappingURL=comment.css.map */
