/* =====================================================
   공유공유 게시판 스킨 CSS
   경로: /var/www/html/theme/gongyu/css/gongyu-board.css
   ===================================================== */

/* ── 목록 헤더 ── */
.gw-list-head {
  display: grid;
  grid-template-columns: 82px 1fr 52px 90px 98px 70px 92px;
  padding: 8px 12px;
  background: var(--bg3);
  border-radius: 10px 10px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  border: 1.5px solid var(--line);
  border-bottom: none;
}
/* ── 목록 행 ── */
.gw-list-row {
  display: grid;
  grid-template-columns: 82px 1fr 52px 90px 98px 70px 92px;
  padding: 10px 12px;
  background: white;
  border: 1.5px solid var(--line);
  border-top: none;
  font-size: 13px;
  align-items: center;
  cursor: pointer;
  transition: background .12s;
  text-decoration: none;
  color: var(--text);
}
.gw-list-row:last-child { border-radius: 0 0 10px 10px; }
.gw-list-row:hover { background: var(--bg2); }
.gw-sch { font-weight: 700; color: var(--sky-dk); }
.gw-t-cell { display: flex; align-items: center; gap: 5px; min-width: 0; }
.gw-t-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-dl-cell { display: flex; flex-direction: column; gap: 3px; }
.gw-badges { display: flex; gap: 3px; flex-wrap: wrap; }
.gw-dlcnt { font-size: 11px; color: var(--text3); }

/* ── 상세 메타 ── */
.gw-detail-meta {
  background: var(--bg2);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  margin-bottom: 18px;
}
.gw-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 13px;
}
.gw-meta-lbl { font-size: 11px; color: var(--text3); margin-bottom: 3px; }
.gw-meta-val { font-size: 14px; font-weight: 700; }

/* 반응형 목록 */
@media (max-width: 900px) {
  .gw-list-head,
  .gw-list-row {
    grid-template-columns: 78px 1fr 80px;
  }
  .gw-list-head span:nth-child(n+4),
  .gw-list-row > *:nth-child(n+4) { display: none; }
  .gw-detail-meta-grid { grid-template-columns: repeat(2,1fr); }
}
