/* =========================
   COMMENTS (Gazeta-like)
   ========================= */

.ghCSection{
  margin:30px 0;
  background:#fff;
}

.ghCHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.ghCTitle{
  margin:0;
  font-size:22px;
  font-weight:900;
  letter-spacing:.2px;
}

.ghCTitle__n{ font-weight:900; }

.ghCDemo{
  margin-top:6px;
  font-size:12px;
  color:#6b6b6b;
}

.ghCSort{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:2px;
}

.ghCSort__label{
  color:#6b6b6b;
  font-size:12px;
}

.ghCSort__btn{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
  color:#111;
  padding:4px 6px;
}

.ghCSort__chev{
  margin-left:4px;
  font-weight:900;
}

.ghCSort__menu{
  position:absolute;
  right:0;
  top:26px;
  min-width:170px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
  border-radius:10px;
  overflow:hidden;
  z-index:50;
}

.ghCSort__item{
  width:100%;
  text-align:left;
  padding:10px 12px;
  border:0;
  background:#fff;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}

.ghCSort__item:hover{ background:#f6f6f6; }
.ghCSort__item.is-active{ background:#f1f1f1; }

/* Composer */
.ghCComposer{
  border:1px solid rgba(0,0,0,.14);
}

.ghCComposer__ta{
  width:100%;
  min-height:86px;
  border:0;
  resize:none;
  padding:14px;
  font-size:14px;
  outline:none;
  background:#fff;
}

.ghCComposer__bar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:10px 12px;
  border-top:1px solid rgba(0,0,0,.14);
  background:#fff;
}

.ghCComposer__login{
  border:0;
  cursor:pointer;
  background:#b6ff6b; /* лаймовый, как на скрине */
  color:#0b0b0b;
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  padding:10px 14px;
}

.ghCComposer__login:hover{ filter:brightness(.98); }

/* List */
.ghCList{
  border-top:1px solid rgba(0,0,0,.10);
  margin-top:14px;
}

.ghCItem{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  padding:14px 0;
  border-top:1px solid rgba(0,0,0,.10);
}

.ghCItem:first-child{ border-top:0; }
.ghCMain{ min-width:0; }

.ghCMeta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.ghCUser{
  font-weight:900;
  font-size:14px;
  color:#111;
}

.ghCTime{
  font-size:12px;
  color:#6b6b6b;
}

.ghCText{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:#111;
}

/* actions (icons) */
.ghCActions{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#6b6b6b;
  font-size:12px;
}

.ghCIcon{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:2px 4px;
  color:#6b6b6b;
}

.ghCIcon:hover{ color:#111; }

/* Q/A block */
.ghCThread{
  margin-top:10px;
  padding-left:18px;
  border-left:2px solid rgba(0,0,0,.10);
}

.ghCQA{
  margin-top:10px;
}

.ghCQATag{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  color:#111;
  margin:0 0 6px;
}

.ghCProof{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ghCProof a{
  display:block;
  width:180px;
  max-width:45vw;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#f3f3f3;
  text-decoration:none;
}

.ghCProof img{
  display:block;
  width:100%;
  height:auto;
}

/* New item highlight */
.ghCItem.is-new{
  animation: ghCIn .45s ease;
}
@keyframes ghCIn{
  from{ background: rgba(24,130,72,.10); }
  to{ background: transparent; }
}

.ghCMore{
  margin:14px 0 0;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
  padding:10px 12px;
}

/* Mobile */
@media (max-width: 820px){
  .ghCTitle{ font-size:18px; }
  .ghCComposer__login{ width:100%; }
  .ghCComposer__bar{ justify-content:stretch; }
  .ghCItem{ grid-template-columns: 1fr; }
  .ghCActions{ justify-content:flex-end; }
}
