.glidy--comment-form p input,
.glidy--comment-form p textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.glidy--comment-form .comment-form-cookies-consent input {
  width: auto;
}

.glidy--comment-form .form-submit input {
  width: auto;
}

.glidy--comment-form .submit {
  transition: all 0.3s;
}

.glidy--comment-form form {
  display: grid;
}

.glidy--comment-form label {
  display: inline-block;
}

.glidy--comment-form p.form-submit {
  margin: 0;
}

/* Comment List Styles */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  margin-bottom: 24px;
  position: relative;
}

.comment-list .comment:last-child {
  margin-bottom: 0;
}

/* Comment Author and Meta */
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-author .fn {
  font-weight: 500;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  margin-right: 4px;
  text-transform: capitalize;
}

.comment-author .fn:hover {
  color: #333;
}

.comment-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.comment-meta .comment-date {
  margin-right: 12px;
}

.comment-meta .comment-date a {
  color: #666;
  text-decoration: none;
}

.comment-meta .comment-date a:hover {
  color: #856404;
}

.comment-meta .reply {
  font-size: 14px;
}

.comment-meta .reply a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}

.comment-meta .reply a:hover {
  color: #856404;
}

/* Comment Content */
.comment-content {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 12px;
}

.comment-content p {
  margin: 0 0 12px 0;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

/* Nested Comments */
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 32px;
  border-left: 1px solid #e8e8e8;
  padding-left: 16px;
}

.comment-list .children .comment {
  margin-bottom: 16px;
  padding: 12px 0;
}

.comment-list .children .comment:last-child {
  margin-bottom: 0;
}

/* Comment Reply Link */
.comment-reply-link {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  color: #856404;
}

/* Comment Moderation */
.comment-awaiting-moderation {
  background: #fff3cd;
  color: #856404;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 12px;
  margin-top: 8px;
  display: inline-block;
}

/* Comment Navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid #e8e8e8;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
  font-size: 13px;
}

.comment-navigation a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}

.comment-navigation a:hover {
  color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
  .comment-list .children {
    margin-left: 16px;
    padding-left: 12px;
  }

  .comment-list .depth-2,
  .comment-list .depth-3,
  .comment-list .depth-4,
  .comment-list .depth-5 {
    margin-left: 16px;
  }

  .comment-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-author .avatar {
    margin-bottom: 8px;
    margin-right: 0;
  }

  .comment-navigation {
    flex-direction: column;
    gap: 8px;
  }
}