/* Comments area styling */
.comments-area {
  padding: 40px 0;
  width: 100%;
  margin: 2rem auto 0;
  font-family: "SVN-Gilroy", sans-serif;
  display: flex;
  gap: 2rem;
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: 600;
  color: #000000;
}

.comments-area .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comments-area .comment-list .comment {
  margin-bottom: 40px;
}

.comments-area .comment-body {
  display: flex;
  gap: 20px;
}

.comments-area .comment-author-avatar {
  flex-shrink: 0;
}

.comments-area .comment-author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.comments-area .comment-content {
  flex: 1;
}

.comments-area .comment-author {
  font-size: 16px;
  font-weight: 600;
  color: #545454;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comments-area .comment-author .comment-posted-label {
  color: #545454;
  font-weight: 400;
  font-size: 14px;
}

.comments-area .comment-author a {
  color: inherit;
  text-decoration: none;
}

.comments-area .comment-date {
  font-size: 14px;
  color: #545454;
  margin-bottom: 10px;
}

.comments-area .comment-text {
  font-size: 16px;
  line-height: 1.6;
  color: #545454;
  font-weight: 400;
  margin-bottom: 15px;
}

.comments-area .comment-text p:last-child {
  margin-bottom: 0;
}

.comments-area .form-comments {
  width: 50%;
  font-family: "Nunito sans", sans-serif;
  color: #545454;
}

.comments-area .form-comments label {
  font-size: 16px;
  color: #545454;
}

.comments-area .form-comments input {
  border-radius: 3px;
  min-width: 45%;
}

.comments-area .form-comments .checkbox {
  margin: 1rem 0 2rem;
}

.comments-area .form-comments .checkbox input {
  min-width: auto;
}

.comments-area .form-comments .cmt-inline-two {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.comments-area .form-comments .cmt-inline-two .cmt-field {
  width: 45%;
}

.comments-area .reply a {
  font-size: 14px;
  color: #36775e;
  text-decoration: none;
  font-weight: 500;
}

.comments-area .reply a:hover {
  text-decoration: underline;
}

.comments-area .comments-list-section {
  width: 50%;
  margin-bottom: 50px;
}

.comments-area .comment-notes {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

.comments-area .comment-form {
  margin: 2rem 0 0;
  display: block !important;
}

.comments-area .comment-form .comment-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.comments-area .comment-form .comment-form-row .input-wrapper {
  flex: 1;
  position: relative;
}

.comments-area .comment-form .comment-form-row .input-wrapper::after {
  content: "*";
  color: #36775e;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.comments-area .comment-form .comment-form-comment {
  width: 100%;
  margin-bottom: 20px;
}

.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"] {
  width: 100%;
  height: 48px;
  padding: 12px 30px 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  color: #333333;
  background: #ffffff;
  transition: all 0.3s ease;
}

.comments-area .comment-form input[type="text"]:focus,
.comments-area .comment-form input[type="email"]:focus {
  outline: none;
  border-color: #36775e;
}

.comments-area .comment-form input[type="text"]::placeholder,
.comments-area .comment-form input[type="email"]::placeholder {
  color: #999999;
}

.comments-area .comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  color: #333333;
  background: #ffffff;
  resize: vertical;
  transition: all 0.3s ease;
}

.comments-area .comment-form textarea:focus {
  outline: none;
  border-color: #36775e;
}

.comments-area .comment-form textarea::placeholder {
  color: #999999;
}

.comments-area .comment-form .form-submit {
  width: 100%;
  margin: 0;
  text-align: right;
}

.comments-area .comment-form .submit .btn-comment {
  width: 100%;
  height: 48px;
  background-color: #36775e;
  color: #ffffff;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comments-area .comment-form .submit .btn-comment:hover {
  background-color: var(--wd-primary-color);
}

.comments-area .comment-form .comment-notes {
  margin-bottom: 24px;
  font-size: 14px;
  color: #666666;
}

.comments-area .comment-form #reply-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 16px;
}

.comments-area .comment-list,
.comments-area .comment-list ol,
.comments-area .comment-list .children {
  list-style: none !important;
}

.comments-area .comment-list .children {
  margin: 0 0 0 3rem;
}

.comments-area .comment-list li {
  list-style: none !important;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .comments-area {
    flex-direction: column;
    gap: 40px;
  }

  .comments-area .form-comments,
  .comments-area .comments-list-section {
    width: 100%;
  }

  .comments-area .comments-list-section {
    order: 1;
  }

  .comments-area .form-comments {
    order: 2;
  }

  .comments-area .form-comments .cmt-inline-two {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .comments-area {
    padding: 30px 0;
  }

  .comments-area .comment-body {
    flex-direction: column;
    gap: 15px;
  }

  .comments-area .comment-form .comment-form-author,
  .comments-area .comment-form .comment-form-email {
    width: 100%;
  }
}
