.qanda {
  padding-top: 40px;
  padding-bottom: 40px;
}
.qanda .ct-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 856px;
}
.qanda__titel__des {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qanda__titel__des h4 {
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: #212121;
  margin-bottom: 0;
}
.qanda__titel__des p {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #616161;
  margin-bottom: 0;
}
#qadna-form {
  padding: 24px;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#qadna-form textarea {
  width: 100%;
  min-height: 116px;
  padding: 16px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background-color: #ffffff;
}
#qadna-form .form-fields {
  display: grid;
  grid-template-columns: 2.5fr 4fr 4fr 1.5fr;
  gap: 12px;
  align-items: center;
}
.gender-group-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.gender-group-child span {
  font-size: 16px;
  color: #9e9e9e;
  font-weight: 400;
  line-height: 150%;
}
.gender-group {
  display: flex;
  gap: 24px;
}
#qadna-form input {
  width: 100%;
  max-width: 283px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
   background-color: #ffffff;
}
#qadna-form input::placeholder,
#qadna-form textarea::placeholder {
  color: #bdbdbd;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}
#qadna-form button {
  padding: 12px 20px;
  background-color: #238B00;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  border: none;
}
#qadna-form .error {
  border: 1px solid #f44336 !important;
}

#qadna-form .gender-group.error {
  padding: 4px;
  border-radius: 4px;
}
.qanda__list__comment {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.have__or__havent {
  display: grid;
  grid-template-columns: 32px auto; /* avatar + content */
  gap: 12px;
}

.qanda__list__comment__item__avt img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.qanda__list__comment__item__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qanda__list__comment__item__content .name {
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: #212121;
}

.qanda__list__comment__item__content .des {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #424242;
}

.qanda__list__comment__item__content .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qanda__list__comment__item__content .bottom .action {
  display: flex;
  gap: 32px;
}

.qanda__list__comment__item__content .bottom .action .rep__comment {
  color: #757575;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  cursor: pointer;
}

.qanda__list__comment__item__content .bottom .action .like img {
  width: 24px;
  height: 24px;
}

.qanda__list__comment__item__content .bottom .action .like {
  color: #757575;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qanda__list__comment__item__content .bottom .date__time span {
  color: #757575;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
}

.qanda__replies {
  margin-left: 40px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  border-left: 2px solid #eeeeee;
}
.reply-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.reply-form textarea,
.reply-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 6px;
   background-color: #ffffff;
}
.reply-form textarea.error,
.reply-form input.error {
  border: 1px solid #f44336;
}
.reply-form button {
  align-self: flex-start;
  padding: 6px 14px;
  background: #238B00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.like {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like img {
    width: 16px;
    height: 16px;
}

.like.liked {
    background-color: #e0f7fa;
    padding: 2px 5px;
    border-radius: 3px;
}
@media screen and (max-width: 768px) {
  #qadna-form .form-fields {
    grid-template-columns: 1fr;
  }
  #qadna-form input {
    max-width: 100%;
  }
}
