.comments {
  margin: 30px 0;
  border-top: 1px solid var(--secondary-dark-alpha);
}

/* COMMENT LIST */
.comment_list,
.comment_list .children {
  padding: 0;
  list-style: none;
}

.comment-body {
  margin: 20px 0;
  padding: 15px 25px;
  background-color: var(--primary-light);
  transition: box-shadow 0.5s;
}

.comment-body:hover {
  box-shadow: 0 0 15px 2px var(--dark);
}

.comment-author {
  font-size: 1.1em;
}

.comment-meta {
  margin-bottom: 10px;
  font-size: 0.8em;
}

.comment-meta a {
  color: var(--primary-extra-light);
  text-decoration: none;
}

.comment-meta a.comment-edit-link {
  color: var(--secondary-light);
}

.reply {
  display: flex;
  justify-content: flex-end;
  font-size: 0.8em;
}

.comment-reply-link {
  position: relative;
  display: inline-block;
  padding: 8px 17px;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8em;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s;
}

.comment-reply-link:hover::before {
  right: -15px;
}

.comment-reply-link::before {
  position: absolute;
  content: "";
  display: block;
  top: -2px;
  right: calc(100% + 15px);
  width: calc(100% + 30px);
  height: 115%;
  transform: skewX(-20deg);
  background-color: var(--secondary);
  z-index: -1;
  transition: right 0.4s;
}

.says {
  display: none;
}

.depth-2 {
  padding-left: 40px;
}

.depth-3 {
  padding-left: 60px;
}

.depth-4 {
  padding-left: 80px;
}

.bypostauthor > .comment-body > .vcard > .fn {
  color: var(--secondary-light);
}

.wpulike-default button.wp_ulike_btn {
  position: relative;
  padding: 17px 34px;
  background-color: transparent;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}

.wpulike-default button.wp_ulike_btn:hover {
  background-color: transparent;
}

.wpulike-default button.wp_ulike_btn:hover::before {
  right: -15px;
}

.wpulike-default button.wp_ulike_btn::before {
  position: absolute;
  content: "";
  display: block;
  top: -2px;
  right: calc(100% + 15px);
  width: calc(100% + 30px);
  height: 115%;
  transform: skewX(-20deg);
  background-color: var(--secondary);
  z-index: 1;
  transition: right 0.4s;
}

.wpulike-default .wp_ulike_put_image::after {
  filter: brightness(0) saturate(100%) invert(95%) sepia(99%) saturate(0%)
    hue-rotate(151deg) brightness(108%) contrast(100%);
  z-index: 2;
}

.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active::after {
  filter: brightness(0) saturate(100%) invert(73%) sepia(26%) saturate(5651%)
    hue-rotate(342deg) brightness(101%) contrast(96%);
}

.wpulike-default .count-box {
  padding: 2px 17px;
  background-color: transparent;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  color: var(--warning);
  box-shadow: none;
}

.wpulike-default .count-box::before {
  display: none;
}

.wpulike-notification .wpulike-message.wpulike-success {
  background-color: var(--success);
}

.wpulike-notification .wpulike-message.wpulike-info {
  background-color: var(--info);
}

.comment-body .wpulike-default button.wp_ulike_btn {
  padding: 17px 14px;
}

.comment-body .wpulike,
.comment-body .reply {
  display: inline-block;
  vertical-align: top;
  margin-top: 10px;
  margin-right: 20px;
  padding: 0;
  opacity: 0.3;
  transition: opacity 0.4s;
}

@media (max-width: 900px) {
  .comment-body .wpulike,
  .comment-body .reply {
    opacity: 1;
  }
}

.comment-body:hover .wpulike,
.comment-body:hover .reply {
  opacity: 1;
}
/* END COMMENT LIST */

/* COMMENT FORM */
.comment-respond {
  margin-top: 50px;
  border-top: 1px solid var(--secondary-dark-alpha);
}

.comment-reply-title {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 0;
  font-size: 2em;
  font-weight: 500;
}

@media (max-width: 400px) {
  .comment-reply-title {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
}

.comment-reply-title small {
  margin: 15px 0;
  font-size: 0.3em;
}

.comment-reply-title small a {
  position: relative;
  display: inline-block;
  border: 2px solid var(--secondary);
  padding: 8px 17px;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}

.comment-reply-title small a:hover::before {
  right: -15px;
}

.comment-reply-title small a::before {
  position: absolute;
  content: "";
  display: block;
  top: -2px;
  right: calc(100% + 15px);
  width: calc(100% + 30px);
  height: 115%;
  transform: skewX(-20deg);
  background-color: var(--secondary);
  z-index: -1;
  transition: right 0.4s;
}

.comment-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.8em;
}

.comment-form textarea {
  height: 150px;
  resize: none;
}

.comment-form textarea,
.comment-form input {
  width: 100%;
  padding: 7px;
  background-color: var(--primary-light);
  border: 0;
  color: var(--white);
  font-size: 1.1em;
}

.comment-form input {
  padding: 15px 7px;
}

.comment-form textarea:focus,
.comment-form input:focus {
  outline: 2px solid var(--secondary);
}

.comment_form_comment,
.comment_form_author {
  width: 100%;
}

.comment_form_comment {
  margin: 30px 0 10px 0;
}

.form-submit {
  position: relative;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}

.form-submit .submit {
  padding: 8px 17px;
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
  cursor: pointer;
}

.form-submit:hover::before {
  right: -15px;
}

.form-submit::before {
  position: absolute;
  content: "";
  display: block;
  top: -2px;
  right: calc(100% + 15px);
  width: calc(100% + 30px);
  height: 115%;
  transform: skewX(-20deg);
  background-color: var(--secondary);
  z-index: -1;
  transition: right 0.4s;
}

.comment_form_error {
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 7px;
  background-color: var(--error);
}

.comment_show_error {
  display: block;
}

.comment_hidden_error {
  display: none;
}
/* END COMMENT FORM */
