/* =========================================================
   FILE: /css/legacy/fgh.comments.css
   FGH v2 — COMMENTS PARCHMENT
   Phase 9 Step 4 — Canonical Namespace Alignment
   ========================================================= */

/* =========================================================
   COMMENTS ROOT
   ========================================================= */

.comments-mount {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* WRITE ZONE */

.fgh-comment-writezone {
  margin-bottom: 1.25rem;
}

.fgh-comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  opacity: 0.9;
}

/* =========================================================
   META GRID
   ========================================================= */

.fgh-comment-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .fgh-comment-meta {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAPER AREA
   ========================================================= */

.fgh-comment-paper {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.fgh-comment-paper textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;

  min-height: 70px;
  resize: vertical;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.25rem;
}

/* =========================================================
   FIELDS
   ========================================================= */

.fgh-comment-field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(90, 52, 24, 0.28);
  background: transparent;
  outline: none;
  padding: 0.35rem 0.1rem;
  font-size: 1rem;
}

/* =========================================================
   BUTTON
   ========================================================= */

.fgh-comment-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.fgh-comment-btn {
  display: inline-block;
  border: none;
  cursor: pointer;

  padding: 0.45rem 0.9rem;
  border-radius: 8px;

  font-weight: 700;
  font-size: 0.9rem;

  background: rgba(90, 52, 24, 0.18);
  color: #5a3418;
  line-height: 1.2;
}

.fgh-comment-btn:hover {
  background: rgba(90, 52, 24, 0.28);
}

.fgh-comment-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* =========================================================
   DIVIDER
   ========================================================= */

.fgh-comment-divider {
  height: 1px;
  background: rgba(90, 52, 24, 0.22);
  margin: 1rem 0 1.25rem;
}

/* =========================================================
   COMMENTS LIST
   ========================================================= */

.fgh-comment-item {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.fgh-comment-item:last-child {
  margin-bottom: 0;
}

.fgh-comment-headline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.fgh-comment-author {
  font-weight: 800;
}

.fgh-comment-date {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.9rem;
}

.fgh-comment-body {
  margin-top: 0.3rem;
  line-height: 1.6;
}

.comment-pending-note {
  margin-top: 0.4rem;
  font-style: italic;
  font-weight: 700;
  opacity: 0.8;
  font-size: 0.9rem;
}

.fgh-comment-feedback {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
