.comment-form-avatar {
  display: block;
  margin: 0 0 16px;
}
.comment-form-avatar label {
  line-height: 1.8;
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 16px;
}

.comment-avatars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-avatar input[type=radio] {
  display: none;
}
.comment-avatar input[type=radio]:checked + img {
  border: 1px solid rgb(234, 88, 12);
  box-shadow: 0 0 0 2px rgb(234, 88, 12);
}
.comment-avatar img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.cct-comments-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.cct-comments__title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cct-comments .comment {
  border: 1px solid #ccc;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  list-style: none;
}
.cct-comments .comment:has(.children) > .comment-body {
  padding-bottom: 8px;
}
.cct-comments .comment-body {
  padding: 16px;
  margin: 0;
}
.cct-comments .comment-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cct-comments .comment-metadata-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.cct-comments .comment-author {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0 0 8px;
  width: 100%;
  border-bottom: 1px solid #ccc;
}
.cct-comments .avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}
.cct-comments .comment-author-name {
  font-size: 16px;
  font-weight: normal;
  display: block;
  line-height: 1.5;
}
.cct-comments .comment-metadata {
  line-height: 1.5;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
.cct-comments .comment-metadata a {
  text-decoration: none;
  color: #666;
}
.cct-comments .comment-metadata a :hover {
  color: #333;
}
.cct-comments .comment-reply-link {
  flex-grow: 0;
  transition: opacity 0.15s;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  background-color: var(--comment-reply-link-bg, #ccc);
}
.cct-comments .comment-reply-link:hover {
  background-color: var(--comment-reply-link-bg, #ccc);
  color: #fff;
  opacity: 0.8;
}
.cct-comments .comment-content {
  padding: 8px 0 0;
  margin: 0;
  font-size: 16px;
}
.cct-comments .comment-content * {
  line-height: 1.6;
}
.cct-comments .comment-content > * {
  margin: 0 0 16px;
}
.cct-comments .comment-content > *:last-child {
  margin-bottom: 0;
}
.cct-comments .depth-1.parent {
  padding-bottom: 16px;
}
.cct-comments .children {
  margin: 0 0 0 32px;
  border-left: 1px solid #ccc;
  padding: 0;
}
.cct-comments .children .comment {
  border: none;
  border-radius: 0;
}
.cct-comments .comment-respond-container {
  padding: 16px;
  background-color: var(--comment-respond-container-bg, #efefef);
  border-radius: 4px;
}
.cct-comments .comment-respond {
  padding: 16px;
  background-color: #fff;
  border-radius: 4px;
  margin: 0;
}
.cct-comments .comment-reply-title {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cct-comments .comment-reply-title small {
  display: flex;
  align-items: center;
  margin: 0 0 0 16px;
  padding: 0;
  justify-content: center;
}
.cct-comments #cancel-comment-reply-link {
  margin: 0;
  padding: 8px 16px;
  font-size: 14px;
  background-color: transparent;
  border-color: 1px solid #ccc;
  color: #666;
  border-radius: 4px;
  font-style: normal;
  font-weight: bold;
  transition: background-color 0.15s;
}
.cct-comments #cancel-comment-reply-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #666;
  border: 1px solid #ccc;
}
.cct-comments .comment-form {
  border-radius: 4px;
}
.cct-comments .comment-form .comment-notes {
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.cct-comments .comment-form .comment-form-author {
  margin-bottom: 16px;
}
.cct-comments .comment-form .comment-form-author label {
  line-height: 1.8;
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 16px;
}
.cct-comments .comment-form .comment-form-author input[type=text] {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cct-comments .comment-form .comment-form-comment {
  margin: 0 0 32px;
}
.cct-comments .comment-form .comment-form-comment label {
  line-height: 1.8;
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 16px;
}
.cct-comments .comment-form .comment-form-comment textarea {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cct-comments .comment-form .form-submit {
  margin: 0;
}
.cct-comments .comment-form #submit {
  padding: 8px 16px;
  font-size: 16px;
  background-color: var(--comment-submit-bg, #0073aa);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  border-radius: 4px;
  font-weight: bold;
  width: auto;
}
.cct-comments .comment-form #submit:hover {
  opacity: 0.8;
}

.cct-comments-body__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .cct-comments__title {
    font-size: 28px;
  }
  .cct-comments .avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }
  .cct-comments .comment-body {
    padding: 8px;
  }
  .cct-comments .comment-respond-container {
    padding: 8px;
  }
  .cct-comments .comment-respond {
    padding: 8px;
  }
  .cct-comments .comment-reply-title {
    font-size: 28px;
  }
  .cct-comments .comment-form .comment-notes {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .cct-comments .comment-form .comment-form-avatar label {
    font-size: 14px;
  }
  .cct-comments .comment-form .comment-form-author label {
    font-size: 14px;
  }
  .cct-comments .comment-form .comment-form-comment label {
    font-size: 14px;
  }
  .cct-comments .comment-form #submit {
    font-size: 14px;
  }
  .cct-comments .comment-form .comment-form-comment {
    margin: 0 0 16px;
  }
}