/* SeeOzTogether — community forums (§55). Colors come from the site
   CSS custom properties so light/dark themes both work. */
.forum-wrap { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
.forum-title { font-size: 1.6rem; margin: 0 0 0.25rem; }
.forum-sub { color: var(--text-muted, #777); margin: 0 0 1.5rem; }
.board-card { display: block; background: var(--bg-white, #fff); border: 1px solid var(--border, #ddd);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.9rem; color: inherit; text-decoration: none; }
.board-card:hover { border-color: var(--primary, #2a7); }
.board-name { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.2rem; }
.board-desc { color: var(--text-muted, #777); font-size: 0.9rem; margin: 0; }
.board-meta { font-size: 0.8rem; color: var(--text-muted, #999); margin-top: 0.5rem; }
.thread-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--bg-white, #fff); border: 1px solid var(--border, #ddd); border-radius: 10px;
  padding: 0.8rem 1.25rem; margin-bottom: 0.6rem; color: inherit; text-decoration: none; }
.thread-row:hover { border-color: var(--primary, #2a7); }
.thread-title { font-weight: 600; }
.thread-title .pin { font-size: 0.75rem; color: var(--primary, #2a7); margin-right: 0.4rem; }
.thread-title .lock { font-size: 0.75rem; margin-left: 0.4rem; }
.thread-meta { font-size: 0.8rem; color: var(--text-muted, #999); white-space: nowrap; }
.post-card { background: var(--bg-white, #fff); border: 1px solid var(--border, #ddd);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.9rem; }
.post-head { font-size: 0.85rem; color: var(--text-muted, #777); margin-bottom: 0.5rem; }
.post-head strong { color: var(--text, #222); }
.post-body { white-space: pre-wrap; word-wrap: break-word; line-height: 1.5; }
.forum-form { background: var(--bg-white, #fff); border: 1px solid var(--border, #ddd);
  border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1.5rem; }
.forum-form input[type=text], .forum-form textarea { width: 100%; box-sizing: border-box;
  padding: 0.6rem; border: 1px solid var(--border, #ccc); border-radius: 6px;
  background: var(--bg, #fff); color: var(--text, #222); font: inherit; margin-bottom: 0.75rem; }
.forum-form textarea { min-height: 120px; resize: vertical; }
.forum-btn { display: inline-block; padding: 0.55rem 1.2rem; border: none; border-radius: 6px;
  background: var(--primary, #2a7); color: #fff; font: inherit; cursor: pointer; }
.forum-btn:disabled { opacity: 0.6; cursor: default; }
.forum-crumb { font-size: 0.85rem; margin-bottom: 1rem; }
.forum-crumb a { color: var(--primary, #2a7); text-decoration: none; }
.forum-error { padding: 1rem; border-radius: 8px; background: var(--danger-bg, #fdd); color: var(--danger, #c00); }
.forum-note { font-size: 0.85rem; color: var(--text-muted, #777); }

/* §56.6 post head: avatar twice as big, name to its right, larger */
.post-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.post-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-avatar-initial { display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-secondary, #eee); color: var(--primary); font-weight: 700; font-size: 1.4rem; }
.post-who { display: flex; flex-direction: column; line-height: 1.25; }
.post-author { font-weight: 700; font-size: 1.1rem; color: var(--text, #222); }
.post-when { font-size: 0.8rem; opacity: 0.7; }
