.commentlist .comment_container {
  @media (width<768px) {
    padding-inline: 0 !important;
  }
}

/* .section__comment {
  margin-block: 65px 0;
  @media (width>=992px) {
    margin-block: 150px 0;
  }
} */

#commentform {
  background-color: var(--color3);
  padding: 20px 14px;
  border-radius: 20px;
  position: relative;
  /* margin-bottom: 40px; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  @media (width>=768px) {
    border-radius: 38px;
    /* margin-bottom: 50px; */
  }
  @media (width>=992px) {
    padding: 40px;
  }
}

#comments .commentlist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  @media (width>=768px) {
    gap: 40px;
    padding-top: 64px;
  }
}

.commentlist ul.children {
  position: relative;
  margin-top: 10px;
  /* margin-bottom: 10px; */
  padding-right: 18px;
  border-right: 2px solid rgba(38, 70, 83, 0.2);
  @media (width>=768px) {
    margin-top: 20px;
    /* margin-bottom: 20px; */
  }
}

.commentlist ul.children > li {
  position: relative;
  margin: 0 !important;
  border-radius: 0;
  background: transparent;
}

.commentlist ul.children > li .comment_container {
  width: 100%;
}

.icon__reply.icon-top:before {
  content: "\e902";
  font-family: "icomoon";
}

.commentlist ul.children .icon__reply {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -12px;
  top: 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--color3);
  color: #fff;
  font-size: 10px;
  z-index: 2;
  pointer-events: none;
  @media (width>=768px) {
    right: -13px;
    top: 28px;
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

.commentlist ul.children .head-comment {
  @media (width>=768px) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

.icon__reply {
  display: none;
}

.commentlist {
  margin-block: 0px !important;
}

.commentlist > li {
  display: flex;
  flex-direction: column;
  padding: 20px !important;
  border-radius: 14px;
  background: var(--color5);
  margin: 0 !important;
  @media (width>=768px) {
    padding: 25px clamp(12px, 2vw, 24px) 24px !important;
    border-radius: 24px;
  }
}

/* .commentlist > li.byadmin {
  padding: 0 !important;
} */

.head-comment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  border: 0;
  background: var(--color3);
  border-radius: 10px;
  padding: 6px 15px;
  @media (width>=768px) {
    gap: 16px;
    margin-bottom: 20px;
    border: 1px solid #264653;
    background: var(--color3);
    border-radius: 34px;
    padding: 8px 20px 8px 8px;
  }
}

.byadmin .cm__icon::before {
  content: "\e941";
  font-size: 30px;
}

.byadmin .cm__icon {
  background-color: unset;
  color: var(--color1);
}

.byadmin .head-comment .name_comment {
  font-family: var(--main_font);
  font-variation-settings: var(--w-600);
}

.head-comment .name_comment {
  color: white !important;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  @media (width>=768px) {
    font-size: 13.5px;
    gap: 8px;
  }
}

.head-comment .time_comment {
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: end;
  color: #ffffffbf;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  min-width: 0;
  white-space: nowrap;
  @media (width>=768px) {
    font-size: 13px;
    line-height: 22px;
    color: #252525;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 30px;
    background-color: #e2ecf0;
    min-width: 0;
  }
}

.head-comment .time_comment i {
  display: none;
  font-size: 14px;
  color: #252525;
  line-height: 1;
  @media (width>=768px) {
    display: inline-block;
  }
}

.byadmin .head-comment .time_comment i {
  color: #252525;
}

a.comment-reply-link::after {
  content: "\e910";
  font-family: "icomoon";
  z-index: 0;
  top: 0px;
  left: 7px;
  font-size: 10px;
  position: absolute;
  transition: width 400ms;
}

a.comment-reply-link:hover {
  color: white !important;
  background: #e76f51 !important;
}

a.comment-reply-link {
  background: #ffffff;
  overflow: hidden;
  z-index: 1;
  transition: 0.25s all linear;
  border-radius: 85px;
  font-size: 13px;
  line-height: 26px;
  display: block;
  text-align: center;
  color: #e76f51;
  border: 1px solid var(--color1);
  position: relative;
  min-width: 48px;
  min-height: 28px;
  align-self: flex-end;
  padding-left: 10px;
  min-width: 70px;
  @media (width>=768px) {
    font-size: 13px;
    line-height: 32px;
    min-width: 65px;
    min-height: 36px;
    padding-left: 12px;
  }
}

.comment-reply-link i {
  font-size: 11px;
  font-weight: bold;
  transition: 0.3s;
}

.comment-reply-link:hover i {
  margin-left: -10px;
  padding-right: 10px;
}

.commentlist #reply-title {
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  margin-block: 20px;
  font-size: 13px;
  align-items: center;
  background: #fff;
}

.editor-content .commentlist li {
  position: relative;
}

.comment-wrapper #review_form_wrapper .heading-inner {
  @media (width<992px) {
    margin-bottom: -10px !important;
  }
}

.section-comment .heading-inner {
  @media (width<576px) {
    margin-bottom: 12px;
  }
}

#review_form_wrapper .heading-inner,
#review_form_wrapper .heading-inner h4 {
  display: block !important;
  margin-bottom: 0 !important;
}

.editor-content .comment-notes,
.editor-content .comment-form-mobile {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
}
@media (width<768px) {
  #cancel-comment-reply-link {
    min-width: auto;
    user-select: none;
    height: 32px;
    font-size: 12px;
  }
}
.editor-content .comment-form-author,
.editor-content .comment-form-email {
  flex: 1 0 100%;
  flex-wrap: wrap;
  display: flex;
  @media (width>=576px) {
    flex: 0 0 49%;
  }
}

.editor-content .comment-form .field-ltr {
  text-align: left;
  direction: ltr;
}

.comment-form-comment {
  flex: 0 0 100%;
}

.editor-content label,
.comment-form label {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 15px;
  line-height: 34px;
  margin: 0 3px 3px !important;
  @media (width>=454px) {
    font-size: 17px;
    margin: 0 0 8px !important;
  }
}

.comment-awaiting-moderation {
  font-size: 13px;
  display: block;
  width: 100%;
  border: 1px solid #c6303e;
  color: #c6303e;
  background-color: #f8d7da;
  line-height: 2;
  padding: 8px;
  border-radius: 8px;
  /* margin-block: 12px 0; */
  text-align: center;
}

.cm__icon {
  display: none !important;
  background-color: var(--color1);
  color: #fff;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.cm__icon::before {
  content: "\e904";
  font-family: "icomoon";
  font-size: 14px;
}

.body-comment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  /* padding: 0 0 4px; */
  word-break: break-word;
  line-height: 2;
  @media (width>=768px) {
    gap: 14px;
    /* padding-bottom: 8px; */
  }
}

.body-comment p {
  font-size: 14px !important;
  line-height: 2;
  text-align: justify;
  color: var(--color4);
  margin: 0;
  @media (width>=768px) {
    font-size: 15px !important;
    line-height: 2.2;
  }
}

.item-comment {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgb(242, 240, 247);
  padding: 18px;
  position: relative;
}

.text_comment p {
  font-size: 13px;
  padding: 10px 0px;
}

.comment-custom-field {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  @media (width<576px) {
    flex-direction: column;
  }
}

.websima-contact-title,
#review_form_wrapper h4.heading__title {
  @media (width<992px) {
    margin-inline: 16px !important;
    font-size: 22px !important;
    padding-bottom: 28px !important;
  }
}

.websima-contact-title,
#review_form_wrapper .heading__title {
  background-color: #5895cc4d;
  /* font-size: 24px !important; */
  /* line-height: 40px; */
  /* color: #252525; */
  text-align: center;
  border-radius: 30px 30px 0 0;
  margin-inline: 52px;
  padding: 18px 23px;
  min-width: 90%;
  width: max-content;
  margin: 0 auto;
}
