.comments__title {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 20px;
  line-height: 25px;
}

.comments__buttons {
  display: flex;
  margin-bottom: 25px;
}

.comments__button {
  display: inline-block;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #1B1F2F;
  background-color: var(--khi-base-color);
  border-radius: 20px;
}

.comments__button:hover {
  color: #1B1F2F;
  background-color: #e2d605;
}

.comment {
  margin-bottom: 15px;
}

.comment > .comment {
  margin-top: 15px;
  margin-bottom: 0;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px dashed #4F5670;
}

.comment__inside {
  display: flex;
  flex-direction: column;
  /*height: 100%;*/
  padding: 15px;
  background-color: #1C1F31;
  border-radius: 5px;
}

.comment__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.comment__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment__user-image-wrapper {
  flex-shrink: 0;
  margin-right: 10px;
}

.comment__user-image {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.comment__user-image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D3D3DA;
}

.comment__user-image--empty > svg {
  width: 100%;
  height: 100%;
}

.comment__user-name {
  max-width: 120px;
  font-size: 16px;
  line-height: 32px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comment__date {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: #D3D3DA;
  text-transform: uppercase;
  white-space: nowrap;
}

.comment__rating {
  flex-shrink: 0;
}

.comment__rating-logo {
  margin: 0 auto;
}

.comment__rating-logo--smile {
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
}

.comment__rating-logo--smile > svg {
  max-width: 100%;
  max-height: 100%;
}

.comment__rating-logo-link {
  display: block;
  text-decoration: none;
}

.comment__rating-logo-link:hover {
  text-decoration: underline;
}

.comment__rating-logo-text {
  display: block;
  font-size: 16px;
  line-height: 32px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.sidebar .comment__rating-logo-text {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment__rating-stars .rating-stars__star{
  width: 14px;
  height: 14px;
}

.comment__rating-stars .screen-reader-text {
  display: none;
}

.comment__text {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  word-break: break-word;
}

.comment__text-more {
  margin-left: 5px;
  vertical-align: baseline;
}
svg.comment__text-arrow {
  width: 15px;
  height: 15px;
  fill: #fff;
}
.comment__footer {
  margin-top: auto;
}

.comment__footer-links {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.comment__footer-links a {
  margin-right: 10px;
}

.comment-reply-link,
.comment__all-link,
.comment-edit-link {
  margin-right: 5px;
  font-size: 16px;
  line-height: 24px;
  color: var(--khi-base-color);
}

.comment-reply-link:hover,
.comment__all-link:hover,
.comment-edit-link:hover {
  color: var(--khi-base-color);
}

.comment + .comment-respond {
  margin-bottom: 30px;
}

.comment-respond,
.auth-comment {
  margin-top: 30px;
  padding: 15px 10px;
  background-color: #1C1F31;
}

.comment-respond .comment-reply-title {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 25px;
  font-weight: bold;
}

.comment-respond .comment-reply-title a {
  margin-left: 15px;
  font-size: 14px;
}

.comment-respond .rating-wrap {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.comment-respond label {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
}

.comment-respond label[for="rating"] {
  margin-bottom: 0;
}

.comment-respond .rating-stars .rating-stars__star {
  font-size: 20px;
}

.comment-respond .rating-stars .rating-stars__star {
  font-size: 20px;
  cursor: pointer;
}

.comment-respond input[type="text"] {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  line-height: 22px;
  color: #86878E;
  border: 0;
  background-color: #383A48;
  border-radius: 3px;
}

.comment-respond textarea {
  max-height: 140px;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  line-height: 22px;
  color: #86878E;
  border: 0;
  background-color: #383A48;
  border-radius: 3px;
  resize: none;
}

.comment-respond .comment-form-cookies-consent {
  display: none;
}

.comment-respond .form-submit {
  margin: 0;
}

.comment-respond input[type="submit"] {
  display: inline-block;
  min-width: 180px;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #1B1F2F;
  background-color: var(--khi-base-color);
  border-radius: 20px;
  border: 0;
  cursor: pointer;
}

.comment-respond input[type="submit"]:hover {
  color: #1B1F2F;
  background-color: #e2d605;
}

.comments__empty {
  display: flex;
  align-items: center;
}

.comments__empty img {
  margin: 0 10px 0 0;
}

.comments__empty-text {
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 576px) {
  .comments__buttons {
    justify-content: flex-end;
    margin-top: -30px;
  }

  .comment-respond,
  .auth-comment {
    padding: 15px;
  }
}

@media(min-width: 768px) {
  .comment-respond input[type="text"] {
    width: initial;
  }

  .comment-respond textarea {
    max-height: initial;
  }
}

@media (min-width: 1280px) {
  .comments__title {
    font-size: 24px;
    line-height: 25px;
  }

  .comments__buttons {
    justify-content: flex-end;
    margin-top: -45px;
  }
}
