/* Article comments and reply form. */
body.single-post #comments,
body.single-post .commentlist,
body.single-post #respond {
  width: min(100%, 860px);
  margin-inline: auto;
}

body.single-post #comments {
  margin-top: 54px;
  margin-bottom: 20px;
  color: #1b3b4a;
  font-size: 21px;
  line-height: 1.5;
}

body.single-post .commentlist {
  list-style: none;
  padding: 0;
}
body.single-post .commentlist li.comment,
body.single-post .commentlist li.pingback {
  list-style: none;
  margin: 0 0 16px;
}
body.single-post .commentlist .children {
  list-style: none;
  margin: 14px 28px 0 0;
  padding: 0;
}
body.single-post .comment-body {
  padding: 22px 24px;
  border: 1px solid #deeaed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 75, 90, .06);
}
body.single-post .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #193e4d;
  font-size: 14px;
}
body.single-post .comment-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
body.single-post .comment-author .says { display: none; }
body.single-post .comment-meta,
body.single-post .comment-metadata {
  color: #7a929b;
  font-size: 11px;
}
body.single-post .comment-meta a,
body.single-post .comment-metadata a { color: inherit; text-decoration: none; }
body.single-post .comment-body p { margin: 12px 0; color: #37515b; font-size: 13px; line-height: 2; }
body.single-post .comment-awaiting-moderation { color: #b47822; font-size: 12px; }
body.single-post .comment-reply-link {
  display: inline-flex;
  padding: 5px 13px;
  border-radius: 8px;
  background: #eaf8fa;
  color: #168e9a;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
body.single-post .comment-reply-link:hover { background: #d7f1f4; }

body.single-post #respond {
  margin-top: 42px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #d9e9ed;
  border-radius: 20px;
  background: linear-gradient(180deg, #f5fbfc, #fff 42%);
  box-shadow: 0 18px 42px rgba(26, 77, 93, .08);
  direction: rtl;
}
body.single-post #reply-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  color: #173e50;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}
body.single-post #reply-title::before {
  content: '';
  flex: 0 0 5px;
  height: 25px;
  border-radius: 5px;
  background: #29adb2;
}
body.single-post #reply-title small { margin-right: auto; font-size: 11px; font-weight: 500; }
body.single-post #reply-title small a { color: #178d9a; text-decoration: none; }

body.single-post #commentform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
body.single-post #commentform p { min-width: 0; margin: 0; }
body.single-post #commentform .comment-notes,
body.single-post #commentform .logged-in-as,
body.single-post #commentform .comment-form-comment,
body.single-post #commentform .comment-form-cookies-consent,
body.single-post #commentform .form-submit { grid-column: 1 / -1; }
body.single-post #commentform .comment-notes,
body.single-post #commentform .logged-in-as {
  padding: 10px 14px;
  border-right: 3px solid #66c4cb;
  border-radius: 9px;
  background: #eaf7f9;
  color: #55727d;
  font-size: 12px;
  line-height: 1.9;
}
body.single-post #commentform .logged-in-as a { color: #178b97; }
body.single-post #commentform label {
  display: block;
  margin-bottom: 7px;
  color: #2b4e5c;
  font-size: 12px;
  font-weight: 700;
}
body.single-post #commentform .required { color: #d45a5a; }
body.single-post #commentform input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]),
body.single-post #commentform textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #cfdee3;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #203d49;
  font: 13px/1.8 IRANSansX, Tahoma, sans-serif;
  text-align: right;
  transition: border-color .2s, box-shadow .2s;
}
body.single-post #commentform textarea { min-height: 155px; resize: vertical; }
body.single-post #commentform input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]):focus,
body.single-post #commentform textarea:focus {
  border-color: #29adb2;
  box-shadow: 0 0 0 3px rgba(41, 173, 178, .14);
}
body.single-post #commentform input[type="tel"] { direction: ltr; text-align: right; }
body.single-post #commentform .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 2px;
}
body.single-post #commentform .comment-form-cookies-consent input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: #29adb2;
}
body.single-post #commentform .comment-form-cookies-consent label {
  margin: 0;
  color: #607984;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
}
body.single-post #commentform .form-submit { padding-top: 3px; }
body.single-post #commentform #submit {
  min-width: 165px;
  min-height: 45px;
  padding: 9px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(110deg, #4fc3e8, #29adb2);
  box-shadow: 0 8px 18px rgba(41, 173, 178, .2);
  color: #fff;
  font: 700 13px IRANSansX, Tahoma, sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
body.single-post #commentform #submit:hover,
body.single-post #commentform #submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(41, 173, 178, .3);
}

@media (max-width: 640px) {
  body.single-post #comments { margin-top: 38px; font-size: 18px; }
  body.single-post #respond { margin-top: 30px; padding: 22px 17px; border-radius: 16px; }
  body.single-post #reply-title { font-size: 18px; }
  body.single-post #commentform { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.single-post #commentform .form-submit #submit { width: 100%; }
  body.single-post .comment-body { padding: 17px; }
  body.single-post .commentlist .children { margin-right: 14px; }
}
