@charset "UTF-8";
.nv-comments {
  direction: rtl;
  text-align: right;
  padding: 2.3rem 1.7rem 2.7rem;
  margin: 2rem auto;
  max-width: 900px;
  background: linear-gradient(145deg, #f9fafb, #eef2ff);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.06);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 100%;
}
.nv-comments::before {
  content: "";
  position: absolute;
  inset-inline: 16px;
  top: 10px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 10% 0%, rgba(92, 107, 192, 0.16), transparent 60%), radial-gradient(circle at 90% 0%, rgba(34, 197, 94, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 600px) {
  .nv-comments {
    padding: 1.6rem 1.25rem 2.1rem;
    margin: 1.4rem 1rem;
    border-radius: 20px;
  }
}
.nv-comments .nv-comments__title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.15rem, 1.2vw + 1rem, 1.45rem);
  font-weight: 700;
  color: #111827;
  margin: 0 0 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
}
.nv-comments .nv-comments__title::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #5c6bc0;
  box-shadow: 0 0 0 6px rgb(94, 168, 255);
}
.nv-comments .nv-comments__message {
  margin-bottom: 1.1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.7;
  border: 1px solid transparent;
  background: rgba(34, 197, 94, 0.09);
  color: #5c6bc0;
  display: none;
}
.nv-comments .nv-comments__message.is-error {
  background: rgba(220, 38, 38, 0.06);
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.15);
}
.nv-comments .nv-comments__message.is-visible {
  display: block;
  animation: nv-fade-in-up 0.18s ease-out;
}
.nv-comments .nv-comments__list {
  list-style: none;
  margin: 0 0 2.1rem;
  padding: 0;
}
.nv-comments .nv-comment {
  margin: 0;
  padding: 1.15rem 0;
}
.nv-comments .nv-comment + .nv-comment {
  border-top: 1px dashed rgba(17, 24, 39, 0.06);
}
.nv-comments .nv-comment.depth-2 {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding-inline: 0.8rem;
  margin-top: 0.6rem;
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.nv-comments .nv-comment.depth-3, .nv-comments .nv-comment.depth-4, .nv-comments .nv-comment.depth-5 {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding-inline: 0.8rem;
  margin-top: 0.55rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
}
.nv-comments .nv-comment.bypostauthor .nv-comment__body {
  border-inline-start: 3px solid #5c6bc0;
  padding-inline-start: 0.9rem;
}
.nv-comments .nv-comment.bypostauthor .nv-comment__author-name::after {
  content: "نویسنده";
  display: inline-flex;
  margin-inline-start: 0.4rem;
  padding: 0 0.5rem;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  color: #5c6bc0;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.nv-comments .nv-comment .nv-comment__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  align-items: flex-start;
}
.nv-comments .nv-comment .nv-comment__author {
  grid-row: 1/span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.nv-comments .nv-comment .nv-comment__author .nv-comment__avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgb(94, 168, 255);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  object-fit: cover;
  margin-bottom: 0.3rem;
  background: #e5e7eb;
}
.nv-comments .nv-comment .nv-comment__author .nv-comment__author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  margin-inline: 0.1rem;
}
.nv-comments .nv-comment .nv-comment__author .nv-comment__author-label {
  font-size: 0.72rem;
  color: #6b7280;
}
.nv-comments .nv-comment .nv-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  margin-top: 0.1rem;
}
.nv-comments .nv-comment .nv-comment__meta-data {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
}
.nv-comments .nv-comment .nv-comment__meta-data a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease-out, transform 0.18s ease-out;
}
.nv-comments .nv-comment .nv-comment__meta-data a:hover {
  color: #5c6bc0;
  transform: translateY(-1px);
}
.nv-comments .nv-comment .nv-comment__meta-data .nv-comment__edit-link a {
  margin-inline-start: 0.3rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.75rem;
  color: #5c6bc0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgb(94, 168, 255);
  text-decoration: none;
  transition: background 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.nv-comments .nv-comment .nv-comment__meta-data .nv-comment__edit-link a:hover {
  background: #5c6bc0;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(92, 107, 192, 0.35);
}
.nv-comments .nv-comment .nv-comment__content {
  grid-column: 2/-1;
  background: #f8fafc;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.06);
  position: relative;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.08);
  transition: box-shadow 0.18s ease-out, transform 0.18s ease-out, border-color 0.18s ease-out, background 0.18s ease-out;
}
.nv-comments .nv-comment .nv-comment__content::before {
  content: "";
  position: absolute;
  inset-inline-start: -6px;
  top: 16px;
  width: 10px;
  height: 10px;
  background: #f8fafc;
  border-inline-start: 1px solid rgba(17, 24, 39, 0.06);
  border-block-start: 1px solid rgba(17, 24, 39, 0.06);
  transform: rotate(45deg);
}
.nv-comments .nv-comment .nv-comment__content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #111827;
}
.nv-comments .nv-comment .nv-comment__content em {
  font-size: 0.84rem;
  color: #6b7280;
}
.nv-comments .nv-comment .nv-comment__content:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 107, 192, 0.14);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(148, 163, 184, 0.16);
}
.nv-comments .nv-comment .nv-comment__reply {
  grid-column: 2/-1;
  margin-top: 0.55rem;
}
.nv-comments .nv-comment .nv-comment__reply .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.95rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgb(94, 168, 255);
  background: rgba(255, 255, 255, 0.9);
  color: #5c6bc0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}
.nv-comments .nv-comment .nv-comment__reply .comment-reply-link::before {
  content: "↩";
  font-size: 0.85rem;
}
.nv-comments .nv-comment .nv-comment__reply .comment-reply-link:hover {
  background: linear-gradient(135deg, #5c6bc0, #7C8CEA);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(92, 107, 192, 0.45);
  transform: translateY(-1px);
}
.nv-comments .nv-comment .nv-comment__reply .comment-reply-link:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(92, 107, 192, 0.35);
}
.nv-comments .nv-comment .children {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px dashed rgba(17, 24, 39, 0.06);
}
@media (min-width: 640px) {
  .nv-comments .nv-comment .children {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: none;
    margin-inline-end: 2.1rem;
    border-inline-end: 2px solid rgb(94, 168, 255);
    padding-inline-end: 1rem;
  }
}
.nv-comments .nv-comment .children .nv-comment {
  padding-top: 0.7rem;
  border-top: none;
}
.nv-comments .comment-respond {
  margin-top: 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px dashed rgba(17, 24, 39, 0.06);
}
.nv-comments #reply-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nv-comments #reply-title::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5c6bc0, #7C8CEA);
}
.nv-comments #reply-title small {
  font-weight: 400;
  font-size: 0.8rem;
}
.nv-comments #reply-title small a {
  color: #6b7280;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  border: 1px dashed rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.8);
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}
.nv-comments #reply-title small a:hover {
  background: rgb(94, 168, 255);
  color: #111827;
  border-color: rgba(92, 107, 192, 0.14);
}
.nv-comments .nv-comments__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nv-comments .nv-comments__form .logged-in-as {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.nv-comments .nv-comments__form .logged-in-as a {
  color: #5c6bc0;
  text-decoration: none;
  font-weight: 500;
}
.nv-comments .nv-comments__form .logged-in-as a:hover {
  text-decoration: underline;
}
.nv-comments .nv-comments__form .logged-in-as .required-field-message {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
}
.nv-comments .nv-comments__form .logged-in-as .required-field-message .required {
  color: #DC2626;
}
.nv-comments .nv-comments__form .comment-form-comment {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nv-comments .nv-comments__form .comment-form-comment label {
  font-size: 0.86rem;
  font-weight: 500;
  color: #111827;
}
.nv-comments .nv-comments__form .comment-form-comment label .required {
  color: #DC2626;
}
.nv-comments .nv-comments__form .comment-form-comment textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out, transform 0.18s ease-out;
}
.nv-comments .nv-comments__form .comment-form-comment textarea:focus {
  outline: none;
  border-color: #5c6bc0;
  box-shadow: 0 0 0 1px rgba(92, 107, 192, 0.25), 0 16px 35px rgba(148, 163, 184, 0.25);
  background: #ffffff;
  transform: translateY(-1px);
}
.nv-comments .nv-comments__form .nv-comments__actions {
  margin-top: 0.3rem;
  display: flex;
  justify-content: flex-start;
}
.nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit {
  border: none;
  border-radius: 999px;
  padding: 0.62rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #5c6bc0, #7C8CEA);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 14px 32px rgba(92, 107, 192, 0.4);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
}
.nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit::after {
  content: "✉";
  font-size: 0.9rem;
}
.nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.03);
  box-shadow: 0 18px 38px rgba(92, 107, 192, 0.5);
}
.nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(92, 107, 192, 0.35);
}
.nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  box-shadow: none;
}
.nv-comments a:focus-visible {
  outline: 2px solid #5c6bc0;
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================
   نسخه موبایل (max 640px)
   ========================= */
@media (max-width: 640px) {
  .nv-comments {
    padding: 1.4rem 1rem 1.9rem;
    margin: 1rem 0.75rem;
    border-radius: 18px;
  }
  .nv-comments::before {
    inset-inline: 10px;
    height: 38px;
  }
  .nv-comments .nv-comments__title {
    width: 100%;
    margin-bottom: 1.3rem;
    padding: 0.4rem 0.8rem;
    justify-content: space-between;
    font-size: 1rem;
  }
  .nv-comments .nv-comments__list {
    margin-bottom: 1.6rem;
  }
  .nv-comments .nv-comment {
    padding: 0.85rem 0;
  }
  .nv-comments .nv-comment + .nv-comment {
    border-top-style: solid;
  }
  .nv-comments .nv-comment .nv-comment__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-row-gap: 0.55rem;
  }
  .nv-comments .nv-comment .nv-comment__author {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: auto;
  }
  .nv-comments .nv-comment .nv-comment__author .nv-comment__avatar {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    margin-inline-end: 0.5rem;
  }
  .nv-comments .nv-comment .nv-comment__author .nv-comment__author-name {
    font-size: 0.86rem;
  }
  .nv-comments .nv-comment .nv-comment__author .nv-comment__author-label {
    font-size: 0.7rem;
  }
  .nv-comments .nv-comment .nv-comment__meta {
    margin-top: 0;
    margin-bottom: 0.15rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }
  .nv-comments .nv-comment .nv-comment__content {
    grid-column: 1/-1;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(148, 163, 184, 0.12);
  }
  .nv-comments .nv-comment .nv-comment__content::before {
    inset-inline-start: 14px;
    top: -5px;
    border-inline-start: none;
    border-block-start: none;
    border-inline-end: 1px solid rgba(17, 24, 39, 0.06);
    border-block-end: 1px solid rgba(17, 24, 39, 0.06);
  }
  .nv-comments .nv-comment .nv-comment__content p {
    font-size: 0.88rem;
    line-height: 1.8;
  }
  .nv-comments .nv-comment .nv-comment__reply {
    grid-column: 1/-1;
    margin-top: 0.45rem;
  }
  .nv-comments .nv-comment .nv-comment__reply .comment-reply-link {
    padding-inline: 0.85rem;
    font-size: 0.76rem;
  }
  .nv-comments .nv-comment .children {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(17, 24, 39, 0.06);
    margin-inline-end: 0;
    border-inline-end: none;
    padding-inline-end: 0;
  }
  .nv-comments .comment-respond {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
  }
  .nv-comments #reply-title {
    font-size: 0.94rem;
    gap: 0.4rem;
  }
  .nv-comments #reply-title small {
    margin-inline-start: auto;
  }
  .nv-comments #reply-title small a {
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }
  .nv-comments .nv-comments__form {
    gap: 0.8rem;
  }
  .nv-comments .nv-comments__form .comment-form-comment textarea {
    min-height: 120px;
    font-size: 0.88rem;
  }
  .nv-comments .nv-comments__form .nv-comments__actions {
    margin-top: 0.2rem;
  }
  .nv-comments .nv-comments__form .nv-comments__actions .nv-comments__submit {
    padding: 0.55rem 1.4rem;
    font-size: 0.86rem;
    box-shadow: 0 10px 24px rgba(92, 107, 192, 0.35);
  }
}
.nv-comment__reply-to {
  font-size: 12px;
  opacity: 0.75;
  margin: 4px 0 8px;
}

/*# sourceMappingURL=front-comments.css.map */
