/* General Styles */
#comments {
  color: #484848;
  clear: both;
  font-size: 14px;
  line-height: 1.8;
  margin: 1.5rem 0;
  border-radius: 10px;
  padding: 15px 25px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 6px;
}

#comments a {
    text-decoration: none;
}

#comments ol,
#comments ul {
  list-style: none;
}

#comments .avatar {
    border: medium none;
    border-radius: 4px;
    height: 50px;
    width: 50px;
    padding: 0;
    position: absolute;
    top: initial;
    left: 0;
}

#comments .comment-body {
  position: relative;
  padding-top: 1.5em;
  border-bottom: 1px solid #eee;
  background-color: transparent;
  margin-bottom: 0;
  padding-left: 70px;
}

#comments .comment-author {
    padding: 0;
    position: initial;
}

#comments .comment-meta {
  margin-bottom: 1.5em;
  margin-left: 65px;
}

#comments .comment-reply-link:before,
#comments .comment-reply-login:before {
    content: "";
    margin-right: initial;
}

#comments .fa.fa-reply,
#comments .says {
  display: none;
}

#comments .fn {
  color: #0c0f21;
}

#comments .reply {
  position: absolute;
  right: 10px;
  top: 21px;
  z-index: 2;
  color: var(--wpcomp-primary-color);
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  text-transform: initial;
}

#comments .comment-body p {
  margin-top: 0;
  margin-bottom: 1rem;
}

#comments textarea.d-content {
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  width: 100%;
  border: none;
}

#comments .loadmore-comments {
  display: none;
}

#comments .loadmore-comments.active {
  display: block;
}

/* Comment Titles */
.comment-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--wpcomp-primary-color);
  text-transform: uppercase;
}

.comment-title span {
  color: var(--wpcomp-primary-color);
}

.comments-title {
  font-size: 1.55556rem;
  margin-bottom: 1.5em;
}

/* Comment List */
.comment-list {
  margin: 0 0 2em;
  padding: 0;
  position: relative;
  word-break: break-word;
}

.comment-list .children {
  margin: 0;
  padding: 0;
  margin-left: 4em !important;
}

/* Comment Actions */
.comment-action {
  display: flex;
  justify-content: center;
  align-items: center;
}

.comment-action .comment-more {
  outline: none;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--wpcomp-primary-color);
  cursor: pointer;
}

/* Comment Choice */
.comment-choise {
  background: #f7f3e5;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Comment Submit */
.cmtSubmit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.comment input.d-phone {
  width: 80%;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
}

.comment button.d-send {
  outline: none;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  color: #fff;
  background: #e0b638;
  cursor: pointer;
  width: 30%;
  height: 40px;
}

/* Textarea Container */
.textarea-container {
  display: none;
  margin-top: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 991.98px) {
  .cmtSubmit {
    flex-direction: column;
  }

  .comment input.d-phone,
  .comment button.d-send {
    width: 100%;
  }

  .c_title {
    font-size: 1.3rem;
  }

  #comments {
    padding: 15px 12px;
  }

  #comments .comment-body {
    padding-left: 50px;
  }

  #comments .avatar {
    height: 40px;
    width: 40px;
  }

  #comments .comment-body p {
    margin-bottom: 0.5rem;
  }

  .comment-list .children {
    margin-left: 1em !important;
  }
}
