/* SCRUM-1086 — LO posts: comments panel + composer (input, post, attach, thumb, heading) */

/* ---- Comments panel (Figma node 6749-22937) ---- */
.lo-post-card__comments {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #c7cbd9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Composer: [avatar] [input] [post] row + "Attach a photo" below */
.lo-post-comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.lo-post-comment-form__main {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.lo-post-comment-form__attach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  cursor: pointer;
  color: #000000;
  font-family: 'Wavehaus', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.lo-post-comment-form__attach-ico {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d8dceb;
  border-radius: 6px;
  color: #000000;
}

.lo-post-comment-form__attach-ico svg { display: block; }
.lo-post-comment-form__attach:hover .lo-post-comment-form__attach-ico { border-color: #002bc6; color: #002bc6; }

.lo-post-comment-form__thumb { position: relative; display: inline-block; align-self: flex-start; margin-left: 50px; }
.lo-post-comment-form__thumb img { max-width: 160px; max-height: 160px; border-radius: 8px; display: block; }
.lo-post-comment-form__thumb button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: #13151a;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lo-post-comment-form__avatar,
.lo-post-comment__avatar {
  box-sizing: border-box;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d8dceb;
  border: 1.614px solid #ffffff;
  color: #002bc6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', 'Wavehaus', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.lo-post-comment-form__input {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  min-height: 50px;
  padding: 15px 16px;
  border: 1px solid #c7cbd9;
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Wavehaus', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #393e4d;
  line-height: 1.3;
  resize: none;
  outline: none;
}

.lo-post-comment-form__input::placeholder { color: #393e4d; opacity: 0.5; }
.lo-post-comment-form__input:focus { border-color: #002bc6; }

.lo-post-comment-form__input--guest {
  display: flex;
  align-items: center;
  text-align: left;
  color: #393e4d;
  opacity: 0.5;
  cursor: pointer;
}

.lo-post-comment-form__post {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #002bc6;
  color: #ffffff;
  font-family: 'Wavehaus', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
  cursor: pointer;
}

.lo-post-comment-form__post:hover { background: #0023a6; }

/* "COMMENTS • N" heading */
.lo-post-card__comments-heading {
  margin: 0;
  font-family: 'Wavehaus', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #73788c;
}

.lo-post-card__comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

